Chain totals
const url = 'https://api.getchord.xyz/v1/chains/avalanche/overview';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.getchord.xyz/v1/chains/avalanche/overviewLast 24 hours (volume, swaps, tokens, venues), distinct wallets per UTC day, venue share, 24 hourly buckets and up to 14 daily rows.
Chain-keyed data for Avalanche C-Chain, Base and BNB Chain, served from Chord’s rollup tables for the chain (every swap summed by hour, token and venue). Only the trade tape, the prints ticker and the wallet read raw rows, scoped to one token or one wallet and bounded.
- Access. No key needed while the chain is public (all three are today). A chain whose tape is off, or that is not public yet, answers
400 UNSUPPORTED_CHAIN(“chain N is not served yet”) unless the request carries anX-API-Key; those answers are sentCache-Control: private. - Ingest floor. Every count, volume and print covers trades at or above the chain’s floor, returned as
ingestFloor. BNB Chain runs at $100 today; Avalanche and Base at 0. - Readiness.
503 NOT_READYuntil the chain’s rollup has run on this deployment;503 CHAIN_DATA_UNAVAILABLEwhen the store cannot be read. Never treat either as “no trades”.
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”The chain, by key or id: avalanche or 43114, base or 8453, bnb or 56, arbitrum or 42161, ethereum or 1 (case-insensitive). Arc, Robinhood Chain and Monad are refused with 400 UNSUPPORTED_CHAIN and a pointer to their own routes.
Responses
Section titled “ Responses ”object
object
Start of the window.
Calendar-day counts, never a sliding 24 hours. Null = no day row yet.
object
Unix time, seconds, UTC.
Distinct attributed wallets so far today (UTC); partial.
Biggest first.
One venue’s share of the window.
object
Venue id.
Oldest first.
object
Up to 14 days, oldest first. The first day of a young tape is partial.
object
Attributed wallets only.
When the rollup last ran.
object
Unix time, seconds, UTC.
True when the last rollup pass is more than 30 minutes old.
The tape’s ingest floor. BNB Chain runs at $100 today; Avalanche and Base at 0.
object
Trades under this USD value (at index time) are not in the index, so every count, volume and candle covers trades at or above it. 0 = every priced trade.
Floors in force over time, oldest first. Empty when the chain was never floored. Raising a floor does not remove older, smaller rows.
object
Floor in force.
Unix time, seconds, UTC.
Unix time, milliseconds — when the server built this answer.
Example
{ "chain": 56, "last24h": { "volUsd": 1014438316.7825807, "swaps": 1725125, "tokens": 4466, "venues": 57, "sinceHour": 1790935200 }, "wallets": { "day": 1790985600, "today": 52979, "yesterday": 110488 }, "venues24h": [ { "dex": "pancake_v3", "volUsd": 507002171.3116286, "trades": 802437, "tokens": 581, "sharePct": 49.97861012581327 }, { "dex": "pancake_v2", "volUsd": 243172605.08525935, "trades": 299915, "tokens": 2950, "sharePct": 23.971157345131836 } ], "hourly24": [ { "hour": 1790935200, "volUsd": 32855754.23107098, "swaps": 62895 }, { "hour": 1790938800, "volUsd": 37902743.56465449, "swaps": 74862 } ], "daily": [ { "day": 1790726400, "swaps": 352759, "volUsd": 201620870.33918935, "tokens": 1711, "wallets": 24991, "venues": 31 }, { "day": 1790812800, "swaps": 2017913, "volUsd": 1025889560.5733465, "tokens": 4523, "wallets": 95849, "venues": 55 } ], "coverage": { "recentAt": 1791020331, "stale": false }, "ingestFloor": { "minTradeUsd": 100, "history": [ { "usd": 100, "fromTs": 1790789196 } ] }, "updatedAt": 1791020818773}UNSUPPORTED_CHAIN (unknown chain, a chain with its own routes, or a chain not served to this caller yet).
Every non-2xx body.
object
Stable machine code, e.g. INVALID_PARAMS, NOT_READY, RATE_LIMIT_EXCEEDED.
For humans.
HTTP status, when included.
Example
{ "error": "INVALID_PARAMS", "message": "amount must be an integer string in the token's smallest unit"}Over the per-minute limit (RATE_LIMIT_EXCEEDED). Read X-RateLimit-Reset and back off.
Every non-2xx body.
object
Stable machine code, e.g. INVALID_PARAMS, NOT_READY, RATE_LIMIT_EXCEEDED.
For humans.
HTTP status, when included.
Example
{ "error": "INVALID_PARAMS", "message": "amount must be an integer string in the token's smallest unit"}NOT_READY (the chain’s rollup has not run on this deployment yet) or CHAIN_DATA_UNAVAILABLE (the store could not be read). Retry later; do not treat it as an empty answer.
Every non-2xx body.
object
Stable machine code, e.g. INVALID_PARAMS, NOT_READY, RATE_LIMIT_EXCEEDED.
For humans.
HTTP status, when included.
Example
{ "error": "INVALID_PARAMS", "message": "amount must be an integer string in the token's smallest unit"}