v26

latestOpenAPI 3.0.2raw.githubusercontent.com2024-10-0834042975.6 KB
Wallet

Get API Key Permission (USER_DATA)

Weight(IP): 1

get/sapi/v1/account/apiRestrictions

Query parameters

recvWindowinteger
Example:5000

The value cannot be greater than 60000

timestampinteger required

UTC timestamp in ms

signaturestring required

Signature

Response

API Key permissions

ipRestrictboolean required
createTimeinteger required
enableInternalTransferboolean required

This option authorizes this key to transfer funds between your master account and your sub account instantly

enableFuturesboolean required

API Key created before your futures account opened does not support futures API service

enablePortfolioMarginTradingboolean

API Key created before your activate portfolio margin does not support portfolio margin API service

enableVanillaOptionsboolean required

Authorizes this key to Vanilla options trading

permitsUniversalTransferboolean required

Authorizes this key to be used for a dedicated universal transfer API to transfer multiple supported currencies. Each business's own transfer API rights are not affected by this authorization

enableReadingboolean required
enableSpotAndMarginTradingboolean required
enableWithdrawalsboolean required

This option allows you to withdraw via API. You must apply the IP Access Restriction filter in order to enable withdrawals

enableMarginboolean required

This option can be adjusted after the Cross Margin account transfer is completed

tradingAuthorityExpirationTimeinteger required

Expiration time for spot and margin trading permission

Example response

{
  "createTime": 1623840271000,
  "enableReading": true,
  "tradingAuthorityExpirationTime": 1628985600000
}