Broker
Broker
Create Broker Sub-Account
Rate limit: 20/sec/UID
Only the master account with a user type of ND Broker can call this API endpoint.
Create Broker Sub-Account › Request Parameters
subaccountNameSub-account username.
labellabel up to a maximum of 50 characters.
Create Broker Sub-Account › Response Parameters
Successful response
codemsgrequestTimesubUidSub-account UID
subaccountNameSub-account username
subaccountEmailSub-account email By default a system-generated virtual email; if an email has been bound separately, the bound email will be displayed
statusSub-account status
normal
freeze
permListPermission list
withdraw
transfer
spot_trade spot trading
contract_trade futures trading
margin_trade margin trading
deposit deposit permission
labelLabel
cTimeAccount creation time Unix timestamp in milliseconds
Create Broker Sub-Account API Key
Rate limit: 20/sec/UID
Only the master account with a user type of ND Broker can call this API endpoint.
Create Broker Sub-Account API Key › Request Parameters
subUidSub-account UID
passphrasePassphrase Required to call the API. If lost, please create a new API key.
labellabel
ipListIP whitelist Up to 30 entries can be provided
permTypePermission type:
read_write read & write
read_only read-only
permListPermission list:
uta_trade UTA trading
uta_mgt UTA management
withdraw (permType must be read_write)
Create Broker Sub-Account API Key › Response Parameters
Successful response
codemsgrequestTimesubUidSub-account UID
labelLabel
apiKeyAPI Key
secretKeySecret Key
permTypePermission type:
read_write read & write
read_only read-only
permListPermission list:
uta_trade UTA trading
uta_mgt UTA management
withdraw (permType must be read_write)
ipListIP whitelist
Delete Broker Sub-Account API Key
Rate limit: 20/sec/UID
Only the master account with a user type of ND Broker can call this API endpoint.
- This endpoint has no response parameters.
- It returns the deletion result synchronously.
- Determine whether the deletion succeeded or failed (and the failure reason) based on the returned
codeandmsg.
Delete Broker Sub-Account API Key › Request Parameters
subUidSub-account UID
apiKeyAPI Key
Delete Broker Sub-Account API Key › Response Parameters
Successful response
codeCode
msgMessage
requestTimeRequest Time
Get All Broker Sub-Account Deposit Withdrawal
Rate limit: 20/sec/UID
Only the master account with a user type of ND Broker can call this API endpoint.
Request Parameters
startTimeRecord start time Unix timestamp in milliseconds. If both startTime and endTime are empty, the default query time range is yesterday 00:00–23:59 (UTC+0). The time range between startTime and endTime cannot exceed 7 days.
endTimeRecord end time Unix timestamp in milliseconds. If both startTime and endTime are empty, the default query time range is yesterday 00:00–23:59 (UTC+0). The time range between startTime and endTime cannot exceed 7 days.
limitNumber of items per page default 100, maximum 100.
cursorCursor ID.
statusStatus
pending Confirming
fail Failed
success Successful
Get All Broker Sub-Account Deposit Withdrawal › Response Parameters
Successful response
codemsgrequestTimeRecord list
endIdCursor ID for next page (the smallest record ID in current page)
Get Broker Commission
Rate limit: 20/sec/UID
Only the master account with a user type of ND Broker can call this API endpoint.
Request Parameters
startTimeQuery start time Unix timestamp in milliseconds. If both startTime and endTime are omitted, the default query range is yesterday 00:00–23:59 (UTC+0). The interval between startTime and endTime for a single query cannot exceed 30 days.
endTimeQuery end time Unix timestamp in milliseconds. If both startTime and endTime are omitted, the default query range is yesterday 00:00–23:59 (UTC+0). The interval between startTime and endTime for a single query cannot exceed 30 days.
pageSizeNumber of items per page default 100, maximum 1000
pageNoPage number default 1.
bizTypeBusiness type
spot
futures
If not provided, commission data for all types will be returned.
subBizTypeBusiness sub-type:
spot_trade spot trading
spot_margin spot margin
usdt_futures USDT futures
usdc_futures USDC futures
coin_futures coin-margin futures
When bizType=spot, this parameter can be spot_trade or spot_margin. When bizType=futures, this parameter can be usdt_futures, usdc_futures, or coin_futures.
Get Broker Commission › Response Parameters
Successful response
codemsgrequestTimeuidUser ID
coinCommission currency
symbolSymbol
dealtAmountTraded amount
totalFeeTotal fee
deductedFeeDeducted fee
paidFeeFee paid
markUpFeeMarkup fee
totalCommissionTotal commission
Get Broker Sub-Account API Key
Rate limit: 20/sec/UID
Only the master account with a user type of ND Broker can call this API endpoint.
Request Parameters
subUidSub-account UID
Get Broker Sub-Account API Key › Response Parameters
Successful response
codemsgrequestTimesubUidSub-account UID
labelLabel
apiKeyAPI Key
secretKeySecret Key
permTypePermission type:
read_write read & write
read_only read-only
permListPermission list:
uta_trade UTA trading
uta_mgt UTA management
withdraw (permType must be read_write)
ipListIP whitelist
Get Broker Sub-Account List
Rate limit: 20/sec/UID
Only the master account with a user type of ND Broker can call this API endpoint.
Request Parameters
limitNumber of items per page default 10, maximum 100.
cursorCursor ID
Used for pagination. Omit it on the first call. For subsequent calls, pass in the last subUid returned by the previous query.
statusAccount status:
normal normal
freeze frozen
Get Broker Sub-Account List › Response Parameters
Successful response
codemsgrequestTimeSub-account list
Modify Broker Sub-Account API Key
Rate limit: 20/sec/UID
Only the master account with a user type of ND Broker can call this API endpoint.
Modify Broker Sub-Account API Key › Request Parameters
subUidSub-account UID
passphrasePassphrase Required to call the API; if lost, please recreate the API key
apiKeyAPI Key
labellabel
ipListIP whitelist Up to 30 entries
permTypePermission type:
read_write read & write
read_only read-only
permListPermission list:
uta_trade UTA trading
uta_mgt UTA management
withdraw (permType must be read_write)
Modify Broker Sub-Account API Key › Response Parameters
Successful response
codemsgrequestTimesubUidSub-account UID
labelLabel
apiKeyAPI Key
permTypePermission type:
read_write read & write
read_only read-only
permListPermission list:
uta_trade UTA trading
uta_mgt UTA management
withdraw (permType must be read_write)
ipListIP whitelist
Modify Broker Sub-Account
Rate limit: 20/sec/UID
Only the master account with a user type of ND Broker can call this API endpoint.
Modify Broker Sub-Account › Request Parameters
subUidSub-account UID
statusSub-account status:
normal
freeze
permListPermission list
withdraw
transfer
spot_trade spot trading
contract_trade futures trading
margin_trade margin trading
deposit deposit permission
Modify Broker Sub-Account › Response Parameters
Successful response
codemsgrequestTimesubUidSub-account UID
statusSub-account status:
normal
freeze
subaccountNameSub-account username
labelLabel
permListPermission list
withdraw
transfer
spot_trade spot trading
contract_trade futures trading
margin_trade margin trading
deposit deposit permission
cTimeAccount creation time Unix timestamp in milliseconds
uTimeAccount update time Unix timestamp in milliseconds
languageSub-account language.
en_US
zh_CN
ja_JP
vi_VN
zh_TW
ru_RU
es_ES
tr_TR
fr_FR
de_DE
pt_PT
th_TH
Get Broker Sub-Account Deposit Address
Rate limit: 20/sec/UID
Only the master account with a user type of ND Broker can call this API endpoint.
Get Broker Sub-Account Deposit Address › Request Parameters
subUidSub-account UID
coinCoin name
chainChain name If this parameter is not provided, the default will be the coin's primary (main) chain
Get Broker Sub-Account Deposit Address › Response Parameters
Successful response
codemsgrequestTimesubUidSub-account UID
coinCoin name
chainChain name
addressDeposit address
tagTag Used for some chains (e.g., EOS memo, TON comment)
urlCustom order ID
cTimeCreation time
Broker Sub-Account Withdrawal
Rate limit: 20/sec/UID
Only the master account with a user type of ND Broker can call this API endpoint.
Broker sub-account withdrawal API has restrictions and currently supports only the following currencies:
BTC, ETH, USDT, USDC, TRX, XRP, LTC, SOL, BNB, FTM, DOGE, ADA, SHIB, UNI, SEI, SUI, POL, FIL, LINK, GRAM, ARB, OP, DOT, AVAX, BGB
Broker Sub-Account Withdrawal › Request Parameters
subUidSub-account UID
coinCoin name
destWithdrawal method:
on_chain on-chain withdrawal
internal_transfer internal transfer
addressWithdrawal address When using on-chain withdrawal, enter the on-chain address; when using internal transfer, enter the UID
amountWithdrawal amount
chainChain name If this parameter is not provided, it defaults to the coin's main chain
tagTag Used for some chains (e.g., EOS memo, GRAM comment)
clientOidCustom order ID
Broker Sub-Account Withdrawal › Response Parameters
Successful response
codemsgrequestTimeorderIdOrder ID
clientOidCustom order ID
