TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/tiagosiebler/bitget-api/llms.txt
Use this file to discover all available pages before exploring further.
RestClientV3 exposes earn, crypto loan, P2P marketplace, and broker management capabilities alongside the core trading API. Earn Elite lets you subscribe to on-chain yield products directly from your unified account. Crypto Loans allow you to borrow assets against collateral with flexible or fixed durations. The P2P module enables you to create and manage peer-to-peer trading advertisements. Broker endpoints are restricted to ND Broker master accounts only. All endpoints on this page require authentication.
Earn (Elite On-Chain Products)
getEarnEliteProducts()
Returns the list of currently available Elite Earn products, including product IDs, yield rates, lock durations, and minimum subscription amounts. Endpoint:GET /api/v3/earn/elite-product
subscribeEarnElite(params)
Subscribes to an Elite Earn product. Returns a subscription result with a tracking order ID. Endpoint:POST /api/v3/earn/elite-subscribe
The specific sub-product ID to subscribe to (obtained from
getEarnEliteProducts()).Subscription amount as a decimal string.
Coin to subscribe with, if required by the product.
Source account for the subscription funds:
spot or unified.getEarnEliteSubscribeInfo(params)
Returns detailed information about a specific Earn product’s subscription settings, constraints, and current rates. Endpoint:GET /api/v3/earn/elite-subscribe-info
The product ID to query.
redeemEarnElite(params)
Initiates redemption of an active Earn Elite subscription. Endpoint:POST /api/v3/earn/elite-redeem
Product ID of the subscription to redeem.
The sub-product subscription ID.
Redemption speed:
fast (immediate, may incur penalty) or standard (normal settlement period).Amount to redeem.
Account to receive redeemed funds:
spot or unified.Whether to use advanced settlement:
yes or no.Coin for redemption, if required.
getEarnEliteRecords(params)
Returns a paginated history of Earn Elite events: subscriptions, redemptions, and interest credits. Endpoint:GET /api/v3/earn/elite-records
Record type to query:
subscribe, redeem, or interest.Start of the query window (Unix ms).
End of the query window (Unix ms).
Max records per page.
Pagination cursor.
getEarnEliteRedeemInfo(params)
Returns information about the redemption terms for a given product — settlement periods, applicable fees, and estimated payout. Endpoint:GET /api/v3/earn/elite-redeem-info
Product ID to query redemption terms for.
Crypto Loans
The crypto loan API (/api/v3/loan/*) allows you to borrow assets by pledging collateral at flexible, 7-day, or 30-day terms.
getLoanCoins(params)
Returns the list of supported borrowable coins and their available collateral pairs, LTV ratios, and interest rates. Endpoint:GET /api/v3/loan/coins
Optional coin filter to retrieve information for a specific borrowable asset.
loanBorrow(params)
Initiates a new crypto loan by specifying the borrow coin, pledge coin, duration, and either a pledge amount or loan amount. Endpoint:POST /api/v3/loan/borrow
Coin to borrow, e.g.
USDT.Collateral coin, e.g.
BTC.Loan duration:
SEVEN (7-day), THIRTY (30-day), or FLEXIBLE.Amount of collateral to pledge. Provide either
pledgeAmount or loanAmount.Amount to borrow. Provide either
pledgeAmount or loanAmount.getLoanBorrowOngoing(params)
Returns your currently active loan orders, optionally filtered by order ID or coin. Endpoint:GET /api/v3/loan/borrow-ongoing
Filter by specific loan order ID.
Filter by borrowed coin.
Filter by collateral coin.
loanRepay(params)
Repays an active loan, either partially or in full, using the borrowed coin or collateral. Endpoint:POST /api/v3/loan/repay
Loan order ID to repay.
Repayment method:
borrowed_coin or collateral.Whether to repay the full outstanding amount:
yes or no.Partial repayment amount. Required when
repayAll is no.Whether to unlock collateral after repayment:
yes or no.getLoanBorrowHistory(params)
Returns a paginated history of all completed loan orders within a time range. Endpoint:GET /api/v3/loan/borrow-history
Start of the query window (Unix ms).
End of the query window (Unix ms).
Filter by a specific order ID.
Filter by loan coin.
Filter by termination status:
ROLLBACK, FORCE, or REPAY.P2P Trading
The P2P module allows you to browse, create, and manage peer-to-peer trading advertisements directly through the API.getP2pAdList(params) / getP2pAdList
Browse public P2P advertisements. Filter by token, fiat currency, and trade side. Endpoint:GET /api/v3/p2p/ad-list
Crypto token to trade, e.g.
USDT.Fiat currency, e.g.
USD, EUR.Trade direction:
buy or sell.Page number for pagination.
Number of results per page.
createP2pAd(params)
Creates a new P2P advertisement to buy or sell crypto with your configured payment methods. Endpoint:POST /api/v3/p2p/ad-create
Crypto token for the ad, e.g.
USDT.Fiat currency for the ad, e.g.
USD.buy or sell.fixed (set a fixed price) or floating (use market premium/discount).Fixed price. Required when
priceType is fixed.Premium/discount percentage. Required when
priceType is floating.Minimum fiat amount per trade.
Maximum fiat amount per trade.
Total crypto quantity to list in the ad.
Array of payment method references:
[{ payMethodId: string, userPayMethodId?: string }].Payment time limit in minutes.
Broker Management
Broker endpoints are exclusively for master accounts with an ND Broker user type. All broker methods have a rate limit of 20 req/sec/UID.createBrokerSubAccount(params)
Creates a new sub-account under the broker master account. Endpoint:POST /api/v3/broker/create-sub
Username for the new broker sub-account.
A display label for the sub-account.
getBrokerSubAccountList(params)
Returns a paginated list of all broker-managed sub-accounts, optionally filtered by status. Endpoint:GET /api/v3/broker/sub-list
Max results per page.
Pagination cursor.
Filter by account status:
normal or freeze.