Request parameters.
Create a Virtual Sub-account
Weight(IP): 1
Security Type: USER_DATA
Notes:
trade option enabled.Request parameters.
Create a new API Key for a sub-account.
Weight(UID): 3000
Security Type: USER_DATA
Notes:
status=2 requires ipAddressstatus=3 requires thirdPartyNameRequest parameters.
Delete IP List For a Sub-account API Key
Weight(UID): 3000
Security Type: USER_DATA
Notes:
Request parameters.
Delete an API Key of a sub-account.
Weight(UID): 3000
Security Type: USER_DATA
Notes:
Request parameters.
Deposit Assets Into The Managed Sub-account
Weight(IP): 1
Security Type: USER_DATA
Notes:
Enable Spot & Margin Trading option for the api key which requests this endpointRequest parameters.
Enable Futures for Sub-account for Master Account
Weight(IP): 1
Security Type: USER_DATA
Request parameters.
Enable Options for Sub-account (For Master Account).
Weight(IP): 1
Security Type: USER_DATA
Request parameters.
Futures Transfer for Sub-account
Weight(IP): 1
Security Type: USER_DATA
Notes:
Request parameters.
Get Detail on Sub-account's Futures Account
Weight(IP): 10
Security Type: USER_DATA
Request parameters.
Get Detail on Sub-account's Futures Account
Weight(IP): 1
Security Type: USER_DATA
Request parameters.
Get Detail on Sub-account's Margin Account
Weight(IP): 10
Security Type: USER_DATA
Request parameters.
Get Futures Position-Risk of Sub-account
Weight(IP): 10
Security Type: USER_DATA
Request parameters.
Get Futures Position-Risk of Sub-account V2
Weight(IP): 1
Security Type: USER_DATA
Request parameters.
Get IP Restriction for a Sub-account API Key
Weight(UID): 3000
Security Type: USER_DATA
Request parameters.
Get investor's managed sub-account deposit address.
Weight(UID): 1
Security Type: USER_DATA
Notes:
network is not sent, the default network for the coin is returned.LIGHTNING, amount must be provided.Request parameters.
Query move position history
Weight(IP): 1
Security Type: USER_DATA
Notes:
startTime and endTime are both omitted, records from the last 90 days are returned by default (up to 1000 records).startTime is sent and endTime is omitted, records in [max(startTime, now-90d), now] are returned.startTime is omitted and endTime is sent, records in [max(now, endTime-90d), endTime] are returned.Request parameters.
Fetch sub-account deposit address
Weight(IP): 1
Security Type: USER_DATA
Notes:
amount needs to be sent if using LIGHTNING networkRequest parameters.
Fetch sub-account deposit history
Weight(IP): 1
Security Type: USER_DATA
Request parameters.
Get Sub-account's Status on Margin Or Futures
Weight(IP): 10
Security Type: USER_DATA
Notes:
Request parameters.
Get Summary of Sub-account's Futures Account
Weight(IP): 1
Security Type: USER_DATA
Request parameters.
Get Summary of Sub-account's Futures Account
Weight(IP): 10
Security Type: USER_DATA
Request parameters.
Get Summary of Sub-account's Margin Account
Weight(IP): 10
Security Type: USER_DATA
Request parameters.
Margin Transfer for Sub-account
Weight(IP): 1
Security Type: USER_DATA
Notes:
Request parameters.
Modify the trading permissions of a sub-account API Key.
Weight(UID): 3000
Security Type: USER_DATA
Notes:
Request parameters.
Move position between sub-master, master-sub, or sub-sub accounts when necessary
Weight(IP): 1
Security Type: USER_DATA
Notes:
Trading permission for the API key used to call this endpoint.quantity must be a positive number.orderArgs request, if any symbol's total close position quantity exceeds current position quantity, all orders in that batch fail.MARK_PRICE only.Reduce-Only are not supported.Request parameters.
Query Managed Sub-account Asset Details
Weight(IP): 1
Security Type: USER_DATA
Request parameters.
Investor can use this api to query managed sub account futures asset details
Weight(UID): 60
Security Type: USER_DATA
Request parameters.
Get investor's managed sub-account list.
Weight(UID): 60
Security Type: USER_DATA
Request parameters.
Investor can use this api to query managed sub account margin asset details
Weight(IP): 1
Security Type: USER_DATA
Request parameters.
Query Managed Sub-account Snapshot
Weight(IP): 2400
Security Type: USER_DATA
Notes:
startTime and endTime are omitted, records from the last 7 days are returned by default.Request parameters.
Query Managed Sub Account Transfer Log For Investor Master Account
Investor can use this api to query managed sub account transfer log. This endpoint is available for investor of Managed Sub-Account. A Managed Sub-Account is an account type for investors who value flexibility in asset allocation and account application, while delegating trades to a professional trading team.
Please refer to link
Weight(IP): 1
Security Type: USER_DATA
Request parameters.
Query Managed Sub Account Transfer Log For Trading Team Master Account
Trading team can use this api to query managed sub account transfer log. This endpoint is available for trading team of Managed Sub-Account. A Managed Sub-Account is an account type for investors who value flexibility in asset allocation and account application, while delegating trades to a professional trading team.
Please refer to link
Weight(UID): 60
Security Type: USER_DATA
Request parameters.
Query Managed Sub Account Transfer Log (For Trading Team Sub Account)
Weight(UID): 60
Security Type: USER_DATA
Request parameters.
Query the API Key list of a sub-account.
Weight(UID): 3000
Security Type: USER_DATA
Request parameters.
Fetch sub-account assets
Weight(UID): 60
Security Type: USER_DATA
Request parameters.
Fetch sub-account assets
Weight(UID): 60
Security Type: USER_DATA
Request parameters.
Query Sub-account Futures Asset Transfer History
Weight(IP): 1
Security Type: USER_DATA
Request parameters.
Query Sub-account List
Weight(IP): 1
Security Type: USER_DATA
Request parameters.
Get BTC valued asset summary of subaccounts.
Weight(IP): 1
Security Type: USER_DATA
Request parameters.
Query Sub-account Spot Asset Transfer History
Weight(IP): 1
Security Type: USER_DATA
Notes:
fromEmail and toEmail cannot be sent at the same time.fromEmail and toEmail are omitted, records with fromEmail equal to the master account are returned by default.Request parameters.
Query Sub-account Transaction statistics (For Master Account).
Weight(IP): 60
Security Type: USER_DATA
Request parameters.
Query Universal Transfer History
Weight(IP): 1
Security Type: USER_DATA
Notes:
fromEmail and toEmail cannot be sent at the same time.fromEmail and toEmail are omitted, records with fromEmail equal to the master account are returned by default.startTime and endTime are omitted, records from the last 7 days are returned by default.Request parameters.
Generic function to send a request.
The API endpoint to call.
HTTP method to use (GET, POST, DELETE, etc.).
Query parameters for the request.
Body parameters for the request.
A promise resolving to the response data object.
Generic function to send a signed request.
The API endpoint to call.
HTTP method to use (GET, POST, DELETE, etc.).
Query parameters for the request.
Body parameters for the request.
A promise resolving to the response data object.
Sub-account Futures Asset Transfer
Weight(IP): 1
Security Type: USER_DATA
Notes:
Request parameters.
Sub-account Transfer History
Weight(IP): 1
Security Type: USER_DATA
Notes:
type is not sent, records of type 2 (transfer out) are returned by default.startTime and endTime are not sent, data from the most recent 30 days is returned.Request parameters.
Transfer to Master
Weight(IP): 1
Security Type: USER_DATA
Notes:
Request parameters.
Transfer to Sub-account of Same Master
Weight(IP): 1
Security Type: USER_DATA
Notes:
Request parameters.
Universal Transfer
Weight(IP): 1
Weight(UID): 360
Security Type: USER_DATA
Notes:
internal transfer option for the API key used to call this endpoint.fromEmail is not sent, transfer out from the master account by default.toEmail is not sent, transfer into the master account by default.fromAccountType and toAccountType are the same, at least one of fromEmail or toEmail must be sent.SPOT -> SPOT / USDT_FUTURE / COIN_FUTURE (master or sub-account).SPOT / USDT_FUTURE / COIN_FUTURE -> SPOT (master or sub-account).SPOT -> sub-account MARGIN(Cross) / ISOLATED_MARGIN.MARGIN(Cross) / ISOLATED_MARGIN -> master account SPOT.MARGIN(Cross) -> sub-account MARGIN(Cross).ALPHA -> ALPHA (master or sub-account).Request parameters.
Withdrawl Assets From The Managed Sub-account
Weight(IP): 1
Security Type: USER_DATA
Notes:
Enable Spot & Margin Trading.Request parameters.
Add IP Restriction for Sub-Account API key
Weight(UID): 3000
Security Type: USER_DATA
Notes: