Tokens API
The pool carrying a token
Depth, activity, swap fee and venue for ONE liquidity pool rather than the token in aggregate, and it says which pool it answered about.
GET
/api/external/token-analysis/pair/{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/pair/SOL/<mint>"
| Parameter | Description |
|---|---|
poolquery · string · optional | A specific pool/pair address to answer about, from this token's known pairs on this chain. Omit it to get the token's PRIMARY pool instead — the same pool /market, /liquidity and /volume treat as primary. A pool that is not one of this token's known pairs answers the same as a token with no pairs at all: every field null, including pool itself, rather than a 400 — this surface cannot tell "wrong address" from "a real pool not indexed yet" and does not guess which one it is. |
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 |
|---|---|
pool | string | null |
isPrimary | boolean | null |
dexId | string | null |
dexLabel | string | null |
quoteTokenSymbol | string | null |
quoteTokenAddress | string | null |
priceUsd | number | null |
liquidityUsd | number | null |
liquidityBase | number | null |
liquidityQuote | number | null |
volume24hUsd | number | null |
buys24h | number | null |
sells24h | number | null |
createdAt | integer | null |
feeBps | 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