Tokens API
24h volume
How much of the token changed hands in the last 24 hours, in USD, plus the number of buys and sells.
GET
/api/external/token-analysis/volume/{chain}/{mint}Chains
- Solana SOL
- BNB Chain BNB
- Ethereum ETH
- Stable STABLE
- Base BASE
- Robinhood Chain RHC
Request
Send your key in the x-dex-data-key header. Replace each <placeholder> with a real value.
curl -H "x-dex-data-key: $DEXDATA_API_KEY" \ "https://api.dexdata.io/api/external/token-analysis/volume/SOL/<mint>"
| Parameter | Description |
|---|---|
chainpath · string · required | The chain the token lives on. Every trading chain but ARC is served; which source answers is an internal decision and is not part of this contract. CELO, ARB, OP and SCROLL return 400 here. |
mintpath · string · required | The token mint address (Solana) or contract address (EVM). |
Response fields
A JSON response. Every field is always present; null means the value could not be established, never zero.
| Field | Type | Description |
|---|---|---|
usd24h | number | null | USD traded in the last 24 hours across every pool the token trades in. null means no source reported the window, which is different from a window in which nothing traded. For a 7-day or 30-day figure, sum the daily candles of the ohlcv series when its volumeScope is all-pools — the same pools as this number. |
buys24h | number | null | |
sells24h | number | null |
Start building with DexData today
Sign in, create a key and make your first call in a minute. Free credits every month, and you only pay for calls that succeed.
Get a free API key