Request parameters.
Create a Virtual Sub-account
This request will generate a virtual sub account under your master account. You need to enable "trade" option for the API Key which requests this endpoint.
Weight: 1
Request parameters.
Delete IP List For a Sub-account API Key
You need to enable Enable Spot & Margin Trading option for the api key which requests this endpoint
Weight: 3000
Request parameters.
Deposit Assets Into The Managed Sub-account
You need to enable Enable Spot & Margin Trading
option for the api key which requests this endpoint
Weight: 1
Request parameters.
Enable Futures for Sub-account for Master Account
Weight: 1
Request parameters.
Enable Options for Sub-account (For Master Account).
Weight: 1
Request parameters.
Futures Transfer for Sub-account
You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
Weight: 1
Request parameters.
Get Detail on Sub-account's Futures Account
Weight: 10
Request parameters.
Get Detail on Sub-account's Futures Account
Weight: 1
Request parameters.
Get Detail on Sub-account's Margin Account
Weight: 10
Request parameters.
Get Futures Position-Risk of Sub-account
Weight: 10
Request parameters.
Get Futures Position-Risk of Sub-account V2
Weight: 1
Request parameters.
Get IP Restriction for a Sub-account API Key
Weight: 3000
Request parameters.
Get investor's managed sub-account deposit address.
If network
is not send, return with default network
of the coin
.
amount
needs to be sent if using LIGHTNING networkWeight: 1
Request parameters.
Query move position history
If startTime
and endTime
not sent, return records of the last 90 days by default with 1000 maximum limits
If startTime
is sent and endTime
is not sent, return records of [max(startTime, now-90d), now].
If startTime
is not sent and endTime
is sent, return records of [max(now,endTime-90d), endTime].
Weight: 150
Request parameters.
Fetch sub-account deposit address
amount
needs to be sent if using LIGHTNING network
Weight: 1
Request parameters.
Fetch sub-account deposit history
Weight: 1
Request parameters.
Get Sub-account's Status on Margin Or Futures
If no email sent, all sub-accounts' information will be returned.
Weight: 10
Request parameters.
Get Summary of Sub-account's Futures Account
Weight: 1
Request parameters.
Get Summary of Sub-account's Futures Account
Weight: 10
Request parameters.
Get Summary of Sub-account's Margin Account
Weight: 10
Request parameters.
Margin Transfer for Sub-account
You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
Weight: 1
Request parameters.
Move position between sub-master, master-sub, or sub-sub accounts when necessary
You need to Enable Trading permission for the API Key which requests this endpoint. This function only support VIP level 7-9. Only master account can use the function Quantity should be positive number only The function support normal account, PM PRO and PM PRO SPAN. Only support for from account has positions For all orders in the same orderArgs request, if any symbol’s total close position quantity is bigger than the symbol’s current position quantity, all batch orders in the same list will fail simultaneously. Only support cross margin mode The price for move position is MarkPrice only. Not support for MSA. Not support for the symbol under Reduce-Only.
Weight: 150
Request parameters.
Query Managed Sub-account Asset Details
Weight: 1
Request parameters.
Investor can use this api to query managed sub account futures asset details
Weight: 60
Request parameters.
Get investor's managed sub-account list.
Weight: 60
Request parameters.
Investor can use this api to query managed sub account margin asset details
Weight: 1
Request parameters.
Query Managed Sub-account Snapshot
The query time period must be less then 30 days Support query within the last one month only If startTimeand endTime not sent, return records of the last 7 days by default
Weight: 2400
Request parameters.
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: 1
Request parameters.
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: 60
Request parameters.
Query Managed Sub Account Transfer Log (For Trading Team Sub Account)
Weight: 60
Request parameters.
Fetch sub-account assets
Weight: 60
Request parameters.
Fetch sub-account assets
Weight: 60
Request parameters.
Query Sub-account Futures Asset Transfer History
Weight: 1
Request parameters.
Query Sub-account List
Weight: 1
Request parameters.
Get BTC valued asset summary of subaccounts.
Weight: 1
Request parameters.
Query Sub-account Spot Asset Transfer History
fromEmail and toEmail cannot be sent at the same time. Return fromEmail equal master account email by default.
Weight: 1
Request parameters.
Query Sub-account Transaction statistics (For Master Account).
Weight: 60
Request parameters.
Query Universal Transfer History
fromEmail and toEmail cannot be sent at the same time. Return fromEmail equal master account email by default. The query time period must be less than 7 days. If startTime and endTime not sent, return records of the last 7 days by default.
Weight: 1
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.
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.
A promise resolving to the response data object.
Sub-account Futures Asset Transfer
Master account can transfer max 2000 times a minute There must be sufficient margin balance in futures wallet to execute transferring.
Weight: 1
Request parameters.
Sub-account Transfer History
If type is not sent, the records of type 2: transfer out will be returned by default. If startTime and endTime are not sent, the recent 30-day data will be returned.
Weight: 1
Request parameters.
Transfer to Master
You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
Weight: 1
Request parameters.
Transfer to Sub-account of Same Master
You need to open Enable Spot & Margin Trading permission for the API Key which requests this endpoint.
Weight: 1
Request parameters.
Universal Transfer
You need to enable "internal transfer" option for the api key which requests this endpoint.
Transfer from master account by default if fromEmail is not sent.
Transfer to master account by default if toEmail is not sent.
At least either fromEmail or toEmail need to be sent when the fromAccountType and the toAccountType are the same.
Supported transfer scenarios:
SPOT
transfer to SPOT
, USDT_FUTURE
, COIN_FUTURE
(regardless of master or sub)
SPOT
, USDT_FUTURE
, COIN_FUTURE
transfer to SPOT
(regardless of master or sub)
Master account SPOT
transfer to sub-account MARGIN(Cross)
, ISOLATED_MARGIN
Sub-account MARGIN(Cross)
, ISOLATED_MARGIN
transfer to master account SPOT
Sub-account MARGIN(Cross)
transfer to Sub-account MARGIN(Cross)
ALPHA
to ALPHA
(regardless of master or sub)
Weight: 360
Request parameters.
Withdrawl Assets From The Managed Sub-account
You need to enable Enable Spot & Margin Trading
option for the api key which requests this endpoint
Weight: 1
Request parameters.
Add IP Restriction for Sub-Account API key
You need to enable Enable Spot & Margin Trading option for the api key which requests this endpoint
Weight: 3000