Clone the repository with Postman Collections and Environments:
git clone https://github.com/binance/binance-api-postman.git
Open the root repository folder:
Enter API key and click “Save”:
Open a query and select the environment:
Rate Limits
From docs: The /api/v3/exchangeInfo
rateLimits
array contains objects related to the exchange’s RAW_REQUESTS
, REQUEST_WEIGHT
, and ORDERS
rate limits.
{
"timezone": "UTC",
"serverTime": 1654422900850,
"rateLimits": [
{
"rateLimitType": "REQUEST_WEIGHT",
"interval": "MINUTE",
"intervalNum": 1,
"limit": 1200
},
{
"rateLimitType": "ORDERS",
"interval": "SECOND",
"intervalNum": 10,
"limit": 50
},
{
"rateLimitType": "ORDERS",
"interval": "DAY",
"intervalNum": 1,
"limit": 160000
},
{
"rateLimitType": "RAW_REQUESTS",
"interval": "MINUTE",
"intervalNum": 5,
"limit": 6100
}
],
...
}
Query Current Margin Order Count Usage (TRADE):
{{url}}/sapi/v1/margin/rateLimit/order?timestamp={{timestamp}}&signature={{signature}}
[
{
"rateLimitType": "ORDERS",
"interval": "SECOND",
"intervalNum": 10,
"limit": 50,
"count": 0
},
{
"rateLimitType": "ORDERS",
"interval": "DAY",
"intervalNum": 1,
"limit": 160000,
"count": 0
}
]
https://api.binance.com/api/v3/order: response code: 200, headers:
[content-type, application/json;charset=UTF-8]
[date, Wed, 08 Jun 2022 19:16:17 GMT]
[server, nginx]
[x-mbx-uuid, 52542479-ff01-4776-86b6-b907d6366381]
[x-mbx-used-weight, 2]
[x-mbx-used-weight-1m, 2]
[x-mbx-order-count-10s, 1]
[x-mbx-order-count-1d, 63]
[content-encoding, gzip]
[strict-transport-security, max-age=31536000; includeSubdomains]
[x-frame-options, SAMEORIGIN]
[x-xss-protection, 1; mode=block]
[x-content-type-options, nosniff]
[content-security-policy, default-src 'self']
[x-content-security-policy, default-src 'self']
[x-webkit-csp, default-src 'self']
[cache-control, no-cache, no-store, must-revalidate]
[pragma, no-cache]
[expires, 0]
[access-control-allow-origin, *]
[access-control-allow-methods, GET, HEAD, OPTIONS]
[x-cache, Miss from cloudfront]
[via, 1.1 803246727539350977d724c9e4a027c6.cloudfront.net (CloudFront)]
[x-amz-cf-pop, FRA56-P4]
[x-amz-cf-id, fnAWZgA6q2GUAbjTa_QAvXFtOZgfVAe8M9pz6howoLTjNE_0NBPgsw==]
Sample Queries
Isolated Margin Account Transfer (MARGIN):
{{url}}/sapi/v1/margin/isolated/transfer?asset=BTC&symbol=ANTBTC&transFrom=ISOLATED_MARGIN&transTo=SPOT&amount=0.00000697×tamp={{timestamp}}&signature={{signature}}
{
"tranId": 108962155436,
"clientTag": ""
}
Query Enabled Isolated Margin Account Limit (USER_DATA):
{{url}}/sapi/v1/margin/isolated/accountLimit?timestamp={{timestamp}}&signature={{signature}}
{
"enabledAccount": 46,
"maxAccount": 10
}