API sub account endpoints
- Source
Methods
managedSubAccountAssets(email, optionsopt)
Query managed sub-account asset details(For Investor Master Account)
GET /sapi/v1/managed-subaccount/asset
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
email | string | ||||||||||
options | object | <optional> | Properties
|
- Source
managedSubAccountDeposit(toEmail, asset, amount, optionsopt)
Deposit assets into the managed sub-account(For Investor Master Account)
POST /sapi/v1/managed-subaccount/deposit
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
toEmail | string | ||||||||||
asset | string | ||||||||||
amount | number | ||||||||||
options | object | <optional> | Properties
|
- Source
managedSubAccountSnapshot(email, type, optionsopt)
Query Managed Sub-account Snapshot(For Investor Master Account)
GET /sapi/v1/managed-subaccount/accountSnapshot
Name | Type | Attributes | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
email | string | ||||||||||||||||||||||
type | string | "SPOT", "MARGIN"(cross), "FUTURES"(UM) | |||||||||||||||||||||
options | object | <optional> | Properties
|
- Source
managedSubAccountWithdraw(fromEmail, asset, amount, optionsopt)
Withdrawl assets from the managed sub-account(For Investor Master Account)
POST /sapi/v1/managed-subaccount/withdraw
Name | Type | Attributes | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fromEmail | string | ||||||||||||||
asset | string | ||||||||||||||
amount | number | ||||||||||||||
options | object | <optional> | Properties
|
- Source
subAccountApiAddIp(email, subAccountApiKey, ipAddress, optionsopt)
Add IP List for a Sub-account API Key (For Master Account)
POST /sapi/v1/sub-account/subAccountApi/ipRestriction/ipList
Before the usage of this endpoint, please ensure POST /sapi/v1/sub-account/subAccountApi/ipRestriction was used to enable the IP restriction.
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
email | string | Sub-account email | |||||||||
subAccountApiKey | string | ||||||||||
ipAddress | string | Can be added in batches, separated by commas | |||||||||
options | object | <optional> | Properties
|
- Source
subAccountApiDeleteIp(email, subAccountApiKey, ipAddress, optionsopt)
Delete IP List for a Sub-account API Key (For Master Account)
DELETE /sapi/v1/sub-account/subAccountApi/ipRestriction/ipList
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
email | string | Sub-account email | |||||||||
subAccountApiKey | string | ||||||||||
ipAddress | string | Can be added in batches, separated by commas | |||||||||
options | object | <optional> | Properties
|
- Source
subAccountApiGetIpRestriction(email, subAccountApiKey, optionsopt)
Get IP Restriction for a Sub-account API Key (For Master Account)
GET /sapi/v1/sub-account/subAccountApi/ipRestriction
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
email | string | Sub-account email | |||||||||
subAccountApiKey | string | ||||||||||
options | object | <optional> | Properties
|
- Source
subAccountApiToggleIpRestriction(email, subAccountApiKey, ipRestrict, optionsopt)
Enable or Disable IP Restriction for a Sub-account API Key (For Master Account)
POST /sapi/v1/sub-account/subAccountApi/ipRestriction
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
email | string | Sub-account email | |||||||||
subAccountApiKey | string | ||||||||||
ipRestrict | boolean | true or false | |||||||||
options | object | <optional> | Properties
|
- Source
subAccountAssets(email, optionsopt)
Query Sub-account Assets(For Master Account)
GET /sapi/v3/sub-account/assets
https://binance-docs.github.io/apidocs/spot/en/#query-sub-account-assets-for-master-account
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
email | string | ||||||||||
options | object | <optional> | Properties
|
- Source
subAccountCreation(subAccountString, optionsopt)
Create a Virtual Sub-account(For Master Account)
POST /sapi/v1/sub-account/virtualSubAccount
https://binance-docs.github.io/apidocs/spot/en/#create-a-virtual-sub-account-for-master-account
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
subAccountString | string | ||||||||||
options | object | <optional> | Properties
|
- Source
subAccountDepositAddress(email, coin, optionsopt)
Get Sub-account Deposit Address (For Master Account)
GET /sapi/v1/capital/deposit/subAddress
https://binance-docs.github.io/apidocs/spot/en/#get-sub-account-deposit-address-for-master-account
Name | Type | Attributes | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
email | string | ||||||||||||||
coin | string | ||||||||||||||
options | object | <optional> | Properties
|
- Source
subAccountDepositHistory(email, optionsopt)
Get Sub-account Deposit History (For Master Account)
GET /sapi/v1/capital/deposit/subHisrec
https://binance-docs.github.io/apidocs/spot/en/#get-sub-account-deposit-address-for-master-account
Name | Type | Attributes | Description | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
email | string | ||||||||||||||||||||||||||||||||||
options | object | <optional> | Properties
|
- Source
subAccountEnableFutures(email, optionsopt)
Enable Futures for Sub-account (For Master Account)
GET /sapi/v1/sub-account/futures/enable
https://binance-docs.github.io/apidocs/spot/en/#enable-futures-for-sub-account-for-master-account
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
email | string | ||||||||||
options | object | <optional> | Properties
|
- Source
subAccountEnableMargin(email, optionsopt)
Enable Margin for Sub-account (For Master Account)
POST /sapi/v1/sub-account/margin/enable
https://binance-docs.github.io/apidocs/spot/en/#enable-margin-for-sub-account-for-master-account
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
email | string | Sub-account email | |||||||||
options | object | <optional> | Properties
|
- Source
subAccountFuturesAccount(email, optionsopt)
Get Detail on Sub-account's Futures Account (For Master Account)
GET /sapi/v1/sub-account/futures/account
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
email | string | ||||||||||
options | object | <optional> | Properties
|
- Source
subAccountFuturesAccountSummary(optionsopt)
Get Summary of Sub-account's Futures Account (For Master Account)
GET /sapi/v1/sub-account/futures/accountSummary
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options | object | <optional> | Properties
|
- Source
subAccountFuturesAccountSummaryV2(futuresType, optionsopt)
Get Summary of Sub-account's Futures Account V2 (For Master Account)
GET /sapi/v2/sub-account/futures/accountSummary
Name | Type | Attributes | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
futuresType | number | 1:USDT Margined Futures, 2:COIN Margined Futures | |||||||||||||||||
options | object | <optional> | Properties
|
- Source
subAccountFuturesAccountV2(email, futuresType, optionsopt)
Get Detail on Sub-account's Futures Account V2 (For Master Account)
GET /sapi/v2/sub-account/futures/account
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
email | string | Sub-account email | |||||||||
futuresType | number | 1:USDT Margined Futures, 2:COIN Margined Futures | |||||||||
options | object | <optional> | Properties
|
- Source
subAccountFuturesAssetTransfer(fromEmail, toEmail, futuresType, asset, amount, optionsopt)
Sub-account Futures Asset Transfer(For Master Account)
POST /sapi/v1/sub-account/futures/internalTransfer
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
fromEmail | string | Sender email | |||||||||
toEmail | string | Recipient email | |||||||||
futuresType | number | 1: USDT-margined Futures,2: Coin-margined Futures | |||||||||
asset | string | ||||||||||
amount | number | ||||||||||
options | object | <optional> | Properties
|
- Source
subAccountFuturesAssetTransferHistory(email, futuresType, optionsopt)
Query Sub-account Futures Asset Transfer History(For Master Account)
GET /sapi/v1/sub-account/futures/internalTransfer
Name | Type | Attributes | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
email | string | Sub-account email | |||||||||||||||||||||||||
futuresType | number | 1: USDT-margined Futures,2: Coin-margined Futures | |||||||||||||||||||||||||
options | object | <optional> | Properties
|
- Source
subAccountFuturesPositionRisk(email, optionsopt)
Get Futures Postion-Risk of Sub-account (For Master Account)
GET /sapi/v1/sub-account/futures/positionRisk
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
email | string | ||||||||||
options | object | <optional> | Properties
|
- Source
subAccountFuturesPositionRiskV2(email, futuresType, optionsopt)
Get Futures Position-Risk of Sub-account V2 (For Master Account)
GET /sapi/v2/sub-account/futures/positionRisk
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
email | string | Sub-account email | |||||||||
futuresType | number | 1:USDT Margined Futures, 2:COIN Margined Futures | |||||||||
options | object | <optional> | Properties
|
- Source
subAccountFuturesTransfer(email, asset, amount, type, optionsopt)
Futures Transfer for Sub-account(For Master Account)
POST /sapi/v1/sub-account/futures/transfer
https://binance-docs.github.io/apidocs/spot/en/#futures-transfer-for-sub-account-for-master-account
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
email | string | ||||||||||
asset | string | ||||||||||
amount | number | ||||||||||
type | number | 1: transfer from subaccount's spot account to its USDT-margined futures account | |||||||||
options | object | <optional> | Properties
|
- Source
subAccountLeverageToken(email, enableBlvt, optionsopt)
Enable Leverage Token for Sub-account (For Master Account)
POST /sapi/v1/sub-account/blvt/enable
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
email | string | ||||||||||
enableBlvt | boolean | ||||||||||
options | object | <optional> | Properties
|
- Source
subAccountList(optionsopt)
Query Sub-account List(For Master Account)
GET /sapi/v1/sub-account/list
https://binance-docs.github.io/apidocs/spot/en/#query-sub-account-list-sapi-for-master-account
Name | Type | Attributes | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | object | <optional> | Properties
|
- Source
subAccountMarginAccount(email, optionsopt)
Get Detail on Sub-account's Margin Account (For Master Account)
GET /sapi/v1/sub-account/margin/account
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
email | string | ||||||||||
options | object | <optional> | Properties
|
- Source
subAccountMarginAccountSummary(optionsopt)
Get Summary of Sub-account's Margin Account (For Master Account)
GET /sapi/v1/sub-account/margin/accountSummary
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
options | object | <optional> | Properties
|
- Source
subAccountMarginTransfer(email, asset, amount, type, optionsopt)
Margin Transfer for Sub-account(For Master Account)
POST /sapi/v1/sub-account/margin/transfer
https://binance-docs.github.io/apidocs/spot/en/#margin-transfer-for-sub-account-for-master-account
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
email | string | ||||||||||
asset | string | ||||||||||
amount | number | ||||||||||
type | number | 1: transfer from subaccount's spot account to margin account | |||||||||
options | object | <optional> | Properties
|
- Source
subAccountSpotSummary(optionsopt)
Query Sub-account Spot Assets Summary (For Master Account)
GET /sapi/v1/sub-account/spotSummary
Name | Type | Attributes | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | object | <optional> | Properties
|
- Source
subAccountStatus(optionsopt)
Get Sub-account's Status on Margin/Futures(For Master Account)
GET /sapi/v1/sub-account/status
Name | Type | Attributes | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | object | <optional> | Properties
|
- Source
subAccountTransferHistory(optionsopt)
Query Sub-account Transfer History(For Master Account)
GET /sapi/v1/sub-account/sub/transfer/history
Name | Type | Attributes | Description | ||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | object | <optional> | Properties
|
- Source
subAccountTransferSubAccountHistory(optionsopt)
Sub-account Transfer History (For Sub-account)
GET /sapi/v1/sub-account/transfer/subUserHistory
https://binance-docs.github.io/apidocs/spot/en/#sub-account-transfer-history-for-sub-account
Name | Type | Attributes | Description | ||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | object | <optional> | Properties
|
- Source
subAccountTransferToMaster(asset, amount, optionsopt)
Transfer to Master(For Sub-account)
POST /sapi/v1/sub-account/transfer/subToMaster
https://binance-docs.github.io/apidocs/spot/en/#transfer-to-master-for-sub-account
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
asset | string | ||||||||||
amount | number | ||||||||||
options | object | <optional> | Properties
|
- Source
subAccountTransferToSub(toEmail, asset, amount, optionsopt)
Transfer to Sub-account of Same Master(For Sub-account)
POST /sapi/v1/sub-account/transfer/subToSub
Name | Type | Attributes | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
toEmail | string | ||||||||||
asset | string | ||||||||||
amount | number | ||||||||||
options | object | <optional> | Properties
|
- Source
subAccountUniversalTransfer(fromAccountType, toAccountType, asset, amount, optionsopt)
Universal Transfer (For Master Account)
POST /sapi/v1/sub-account/universalTransfer
https://binance-docs.github.io/apidocs/spot/en/#universal-transfer-for-master-account
Name | Type | Attributes | Description | ||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
fromAccountType | string | "SPOT", "USDT_FUTURE", "COIN_FUTURE", "MARGIN"(Cross), "ISOLATED_MARGIN" | |||||||||||||||||||||||||
toAccountType | string | "SPOT", "USDT_FUTURE", "COIN_FUTURE", "MARGIN"(Cross), "ISOLATED_MARGIN" | |||||||||||||||||||||||||
asset | string | ||||||||||||||||||||||||||
amount | number | ||||||||||||||||||||||||||
options | object | <optional> | Properties
|
- Source
subAccountUniversalTransferHistory(optionsopt)
Query Universal Transfer History (For Master Account)
GET /sapi/v1/sub-account/universalTransfer
https://binance-docs.github.io/apidocs/spot/en/#query-universal-transfer-history-for-master-account
Name | Type | Attributes | Description | ||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | object | <optional> | Properties
|
- Source