Tokens API
A Solana token's last 1, 3 and 15 minutes of volume
USD volume on a Solana token's main pool over the last 1, 3 and 15 minutes, its 15-minute price change; unmeasured figures are null.
/api/external/token-analysis/token-momentum/{chain}/{mint}What it returns
The USD volume of the last 1, 3 and 15 minutes on the token's main pool, and its 15-minute price change. The figures cover that one pool only, named in pool, not every pool the token trades in. The main pool is usually, not always, the token's deepest, and it can change from one call to the next. A volume is published only when it was measured for this call, and is null when it was not or could not be confirmed: a 0 is only served when the pool did not trade in that window. The price change is null unless the pool traded in the last minute. A token the source does not know answers every field null. For the 5-minute to 24-hour windows across every pool, use the market endpoint.
Chains
- Solana SOL
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/token-momentum/SOL/<mint>"
| Parameter | Description |
|---|---|
chainpath · string · required | SOL only; every other chain returns 400. |
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 |
|---|---|---|
pool | string | null | The one pool the figures cover: the token's main pool, usually but not always its deepest. |
venue | string | null | Where that pool trades, lower case, e.g. pumpswap. |
volumeUsd | object | |
volumeUsd.m1 | number | null | USD volume on the pool in the last minute, whole dollars. |
volumeUsd.m3 | number | null | USD volume on the pool in the last 3 minutes, whole dollars. |
volumeUsd.m15 | number | null | USD volume on the pool in the last 15 minutes, whole dollars. |
priceChangePct | object | |
priceChangePct.m15 | number | null | Price change over the last 15 minutes, percent to two decimals. null when it is flat or unknown. |
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