Tokens API
Raw transfer events
Every transfer of a token in a window, including moves that are not swaps — airdrops, treasury sends, bridge movements — which is what separates it from the trade feed.
GET
/api/external/token-analysis/transfers/{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/transfers/SOL/<mint>?from=<from>&to=<to>&limit=<limit>"
| Parameter | Description |
|---|---|
fromquery · integer · required | Window start, Unix SECONDS. Inclusive. |
toquery · integer · required | Window end, Unix SECONDS. Inclusive. |
limitquery · integer · required | Most transfers to return, newest-first within the window. Capped at 50, a fixed ceiling of ours rather than whichever source answered deciding how many you got (enforced after the API-key gate; see above). On some chains a single upstream page holds fewer rows than this cap and has no way to ask for an older one — SOL and RHC both behave that way — so a request there can be answered with fewer rows than limit even when more exist. That is never silent: coveredFrom reports the oldest instant actually reached and truncated says the window was not fully covered. |
chainpath · string · required | The chain the token lives on. ARC returns 400 — no wired source reports raw transfers there. 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 |
|---|---|
transfers | object[] |
transfers[].at | number |
transfers[].from | string | null |
transfers[].to | string | null |
transfers[].amountToken | number | null |
transfers[].txHash | string | null |
coveredFrom | number | null |
truncated | boolean |
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