Account Operations
resource: account — asset balances and your current order rate-limit usage
getAccountInfo (ACC01)
Returns your spot account's asset balances. Signed; requires credentialId.
| Field | Required | Description |
|---|---|---|
| No operation-specific config keys. | ||
Output: items[] — one entry per asset.
{
"items": [
{ "asset": "BTC", "free": "0.50000000", "locked": "0.00000000" },
{ "asset": "USDT", "free": "1250.35000000", "locked": "50.00000000" }
]
}
| Response Field | Meaning |
|---|---|
asset | Asset ticker (e.g. BTC, USDT). |
free | Balance available to trade or withdraw. |
locked | Balance currently tied up in an open order. |
getOrderRateLimit (ACC02)
Returns your account's current order-related rate-limit buckets and usage. Signed; requires credentialId.
| Field | Required | Description |
|---|---|---|
| No operation-specific config keys. | ||
Output: items[] — one entry per rate-limit bucket.
{
"items": [
{ "rateLimitType": "ORDERS", "interval": "SECOND", "intervalNum": 10, "limit": 50, "count": 3 },
{ "rateLimitType": "ORDERS", "interval": "DAY", "intervalNum": 1, "limit": 160000, "count": 412 }
]
}
Use before a burst of order calls: Call
getOrderRateLimit before a
workflow step that places or cancels many orders in a row, and compare count against
limit to decide whether to slow down. See Rate Limiting
for the account-wide request-weight budget these operations also consume.