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
}

Changes

Changed in 2 of the 26 revisions of this API.216

    • added the optional property enablePortfolioMarginTrading to the response with the 200 status

      response-optional-property-added

  • a484ce871a72215See the full diff
    • for the query request parameter recvWindow, the type/format was changed from integer/ to integer/int64

      request-parameter-type-changed

    • for the query request parameter timestamp, the type/format was changed from integer/ to integer/int64

      request-parameter-type-changed

    • the response property code became required for the status 400

      response-property-became-required

    • the response property code became required for the status 401

      response-property-became-required

    • the response property createTime became required for the status 200

      response-property-became-required

    • the response property enableFutures became required for the status 200

      response-property-became-required

    • the response property enableInternalTransfer became required for the status 200

      response-property-became-required

    • the response property enableMargin became required for the status 200

      response-property-became-required

    • the response property enableReading became required for the status 200

      response-property-became-required

    • the response property enableSpotAndMarginTrading became required for the status 200

      response-property-became-required

    • the response property enableVanillaOptions became required for the status 200

      response-property-became-required

    • the response property enableWithdrawals became required for the status 200

      response-property-became-required

    • the response property ipRestrict became required for the status 200

      response-property-became-required

    • the response property msg became required for the status 400

      response-property-became-required

    • the response property msg became required for the status 401

      response-property-became-required

    • the response property permitsUniversalTransfer became required for the status 200

      response-property-became-required

    • the response property tradingAuthorityExpirationTime became required for the status 200

      response-property-became-required