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 account methods cover the full lifecycle of a Unified Trading Account (UTA): reading balances and settings, adjusting leverage and account mode, moving funds between sub-accounts, depositing and withdrawing assets, and managing sub-account creation. Every method on this page requires a valid API key, secret, and passphrase passed to the client constructor.
getBalances()
Returns the unified account asset snapshot, including equity, available balance, margin, and per-coin breakdowns. Endpoint:GET /api/v3/account/assets
getFundingAssets(params)
Returns assets held in the funding account (separate from the UTA trading account). Optionally filter by coin. Endpoint:GET /api/v3/account/funding-assets
Optional coin filter, e.g.
USDT. Returns all coins if omitted.getAccountInfo()
Returns account metadata: UID, parent account UID, inviter code, channel, IP whitelist, and API key permissions. Endpoint:GET /api/v3/account/info
getAccountSettings()
Returns the current account configuration, including hold mode (one-way or hedge), margin mode, default leverage, and per-symbol/coin overrides. Endpoint:GET /api/v3/account/settings
adjustAccountMode(params)
Switches the account level betweenbasic, advanced, delta (delta-neutral), or isolated mode. Can also target a sub-account by passing targetUid.
Endpoint: POST /api/v3/account/adjust-account-mode
Target account mode:
basic, advanced, delta, or isolated.Sub-account UID. Use when the master account switches mode on behalf of a sub-account.
setLeverage(params)
Sets the leverage for a specific symbol or coin in a futures or margin category. Endpoint:POST /api/v3/account/set-leverage
One of
MARGIN, USDT-FUTURES, COIN-FUTURES, USDC-FUTURES.Leverage multiplier as a string, e.g.
"10".Trading symbol, e.g.
BTCUSDT. Required for symbol-level leverage.Base coin, e.g.
BTC. Used for coin-level leverage in COIN-FUTURES.Position side in hedge mode:
long or short.getFinancialRecords(params)
Returns a paginated ledger of account financial events (deposits, withdrawals, fees, funding, PnL settlements). Endpoint:GET /api/v3/account/financial-records
One of
SPOT, MARGIN, USDT-FUTURES, COIN-FUTURES, USDC-FUTURES.Filter by coin, e.g.
USDT.Event type filter string.
Start of the query window (Unix ms).
End of the query window (Unix ms).
Max records per page.
Pagination cursor for the next page.
submitTransfer(params)
Transfers funds between account sub-types (spot, UTA, P2P, futures, margin) for the current user. Endpoint:POST /api/v3/account/transfer
Source account type:
spot, p2p, coin-futures, usdt-futures, usdc-futures, crossed-margin, isolated-margin, or uta.Destination account type. Same valid values as
fromType.Coin to transfer, e.g.
USDT.Amount to transfer as a decimal string, e.g.
"100".Required for
isolated-margin transfers to specify the margin symbol.Whether to allow automatic margin borrowing if the balance is insufficient.
yes or no.getTransferableCoins(params)
Returns the list of coins that can currently be transferred between two specified account types. Endpoint:GET /api/v3/account/transferable-coins
Source account type.
Destination account type.
submitWithdraw(params)
Initiates a withdrawal — either on-chain or an internal transfer to another Bitget UID. Endpoint:POST /api/v3/account/withdraw
Coin to withdraw, e.g.
USDT.on_chain for a blockchain withdrawal or internal_transfer for a Bitget-to-Bitget transfer.Destination address (on-chain) or UID/email/phone (internal transfer).
Amount to withdraw as a decimal string.
Blockchain network, e.g.
TRC20, ERC20. Required for on-chain withdrawals.Memo or tag field for networks that require it (e.g. XRP).
Client-assigned order ID for idempotency.
getDepositAddress(params)
Returns the deposit address (and optionally additional addresses) for a given coin and blockchain network. Endpoint:GET /api/v3/account/deposit-address
Coin to generate or retrieve the deposit address for, e.g.
BTC, USDT.Blockchain network filter, e.g.
ERC20, TRC20.Number of addresses to return.
getDepositRecords(params)
Returns paginated deposit history for the account within a specified time range. Endpoint:GET /api/v3/account/deposit-records
Start of the query window (Unix ms).
End of the query window (Unix ms).
Filter by coin.
Filter by Bitget deposit order ID.
getWithdrawRecords(params)
Returns paginated withdrawal history within the specified time range. Endpoint:GET /api/v3/account/withdrawal-records
Start of the query window (Unix ms).
End of the query window (Unix ms).
Filter by coin.
Filter by Bitget withdrawal order ID.
Filter by client-assigned order ID.
createSubAccount(params)
Creates a new sub-account under the master account. Endpoint:POST /api/v3/user/create-sub
Username for the new sub-account.
Initial account mode for the sub-account:
classic or unified.An optional label or note for identifying the sub-account.
getSubAccountList(params)
Returns a paginated list of all sub-accounts belonging to the master account. Endpoint:GET /api/v3/user/sub-list
Max results per page.
Pagination cursor.
submitRepay(params)
Repays outstanding margin debt using a specified set of repayable and payment coins. Endpoint:POST /api/v3/account/repay
Array of coin symbols to repay, e.g.
["USDT", "BTC"].Array of coin symbols to use as payment, e.g.
["USDT"].