On-chain balances per coin for one exchange
On-chain balances per coin for one exchange
/api/exchange-balances/exchange/:exRequest
Query parameters
| Name | Type | Required | Default | Allowed values | Description |
|---|---|---|---|---|---|
| ex path | string | Required | — | — | Exchange id; 404 if unknown. Example: binance |
| limit | integer | Optional | 20 | ≤ 100 | Number of rows to return. |
Parameters marked “path” are part of the URL.
Example request
curl -s "https://www.coinboss.com/api/exchange-balances/exchange/binance"Response fields
The field table is generated from real responses, so it lists exactly what the endpoint returns. Paths use a[] for array items and {*} for objects keyed by a dynamic name such as a coin or an exchange.
| Field | Type | Unit | Description |
|---|---|---|---|
| success | boolean | — | true when the request succeeded. On failure the body is `{ success: false, code, error, request_id }`. |
| exchange | object | — | Exchange id, lower case (for example `binance`). |
| exchange.ex | string | — | Exchange id, lower case. |
| exchange.name | string | — | Name. |
| exchange.tvl_usd | number | USD | Total value locked. |
| total_usd | number | USD | Total. |
| data | array | — | Payload. |
| data[] | object | — | Payload. |
| data[].symbol | string | — | Instrument symbol as normalised by CoinBoss (for example BTCUSDT). |
| data[].balance | number | — | Balance in coins. |
| data[].balance_usd | number | USD | Balance value. |
| data[].share_pct | number | % | Share of the total. |
| data[].snapshot_ts | number | ms | Time of the snapshot. |
Generated 2026-11-11 23:00 UTC from 2 real responses.
Example response
/api/exchange-balances/exchange/binance · Real response captured 2026-11-13 04:02:48 UTC. Long arrays and maps are shortened for display: data had 20 items.
- "success"true
- "exchange"
- "ex""binance"
- "name""Binance"
- "tvl_usd"120908816738.32
- "total_usd"120908816738
- "data"
Verified samples
Besides the example above, the probe calls this endpoint with these parameters and checks the schema each time.
| Parameters | HTTP | Latency | Result |
|---|---|---|---|
| ex=okx | 200 | 3 ms | Pass |
Checked 2026-11-13 03:58:10 UTC
Details
- Authentication
- None. Public endpoint.
- Rate limit
- 1200 requests per minute per IP
- Server cache
- 60s
- Edge micro-cache
- 10s
- Update frequency
- every 6 hours
- Window
- latest snapshot
- Data sources
- Token balances held by one exchange, from a public on-chain transparency dataset.
- Exchange coverage
- About 78 centralized exchanges that publish wallet addresses (as tracked by the upstream dataset); exchanges without disclosed wallets (e.g. Coinbase, Upbit, Bithumb, Kraken) are missing. Daily history starts 2022-11. 404 for unknown exchanges.
- Pagination
- `limit` default 20, max 100; no offset.
- Sorting
- balance (USD) descending
- Units
- coins and USD
- Timestamps
- Unix epoch milliseconds (UTC) unless the field description says otherwise
- Response format
- json
- Stability
- Stable
Live status
Availability, last 30 days
100% of 411 checks passed
Errors
Failed calls share one shape on every endpoint. The full list is on the errors page. Errors and rate limits →
| Code | HTTP | Meaning | What to do |
|---|---|---|---|
| INVALID_PARAM | 400 | A required parameter is missing or a value is not accepted. `param` names the parameter when it is known. | Do not retry unchanged; fix the request. |
| UNAUTHORIZED | 401 | The `CB-API-KEY` header was sent but the key is unknown or revoked. Public data needs no key — drop the header or use a valid key. | Do not retry unchanged. |
| FORBIDDEN | 403 | The route is not part of the public API (internal or account-only). | Do not retry. |
| NOT_FOUND | 404 | Unknown route, or the requested coin / exchange / fund does not exist. | Do not retry; check the path and identifiers against the catalog. |
| RATE_LIMITED | 429 | More requests than the per-minute limit. `Retry-After` gives the seconds to wait. | Wait for `Retry-After`, then retry with backoff. |
| INTERNAL | 500 | Unexpected server error. The message is generic by design; quote `request_id` when reporting it. | Retry once after a few seconds; report it with the request id if it persists. |
| UPSTREAM_FAILED | 503 | The data source behind this endpoint did not answer in time. No stale or substitute numbers are returned in its place. | Retry with backoff; check the status page. |
| UNAVAILABLE | 501 / 503 | The dataset is temporarily not ready (cache warming) or the endpoint has no lawful public source yet. | Retry later; the catalog marks endpoints that are unavailable by design. |
| REQUEST_FAILED | 200 | Some older endpoints answer HTTP 200 with `success: false`. Always check `success`, not only the HTTP status. | Depends on the message; treat as a failed request. |
Try it
/api/exchange-balances/exchange/:exAvailablestring — Exchange id; 404 if unknown.
integer · default 20 · max 100 — Number of rows to return.
https://www.coinboss.com/api/exchange-balances/exchange/binanceMore in this category
- Exchange on-chain balances for one coin /api/exchange-balances
- Exchange balance detail /api/exchange-balances/exchange-detail
- On-chain balances per coin for one exchange /api/exchange-balances/exchange/:ex
- Exchanges with on-chain balance data /api/exchange-balances/exchanges-list
- Exchange balance history /api/exchange-balances/history
- Exchange balance list /api/exchange-balances/list
- Symbols supported by exchange balances /api/exchange-balances/symbols
- Derivatives overview for one exchange /api/exchanges/detail
- Derivatives market list for one exchange /api/exchanges/markets
- Top movers within one exchange /api/exchanges/movers
- Open-interest history for one exchange /api/exchanges/oi-history
- Derivatives exchange ranking /api/exchanges/ranking
- Homepage exchange BTC balance summary /api/home/exchange-btc-balances
- Per-exchange volume-share history /api/p3/volume/exchange-history
- Exchange reserves history /api/reserves/history
- Exchange reserves overview /api/reserves/overview
- Exchange asset transparency /api/transparency
- Exchange share of BTC volume /api/volume/btc-ex-share
- Exchange share of one coin's volume /api/volume/coin-ex-share
- Exchange share of spot volume /api/volume/spot-ex-share
- US vs offshore exchange volume /api/volume/us-vs-offshore