Tokens API
Recurring-order flow for a token
How many recurring (DCA) orders exist for this token and how many are still running. The order counts look forward; the volumes are cumulative over every order ever created.
GET
/api/external/token-analysis/dca-flow/{chain}/{mint}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/dca-flow/SOL/<mint>"
| Parameter | Description |
|---|---|
chainpath · string · required | The chain the token lives on. Solana only; every other chain returns 400 — this resource is not offered there. |
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 |
|---|---|---|
totalOrders | integer | null | Every recurring order ever created against this token, either direction, any status (including ones that finished or were cancelled), as recorded by one on-chain recurring-order index — other recurring-order mechanisms are not covered. 0 means none recorded by this index; null means the source has nothing at all on this token. |
uniqueOwners | integer | null | Distinct wallets that have run a recurring order against this token. |
buyOrdersTotal | integer | null | All buy-direction recurring orders ever created against this token, including ones that already finished or were cancelled. |
buyOrdersActive | integer | null | Buy-direction recurring orders CURRENTLY RUNNING — the figure that answers "programmed future demand", as opposed to buyOrdersTotal, which also counts orders that already finished. An active order is a standing instruction that can still be cancelled or fail before its next cycle; this count reflects the active flag reported by the source, which has been observed to disagree with counting active status directly in the per-order list for the same token. |
sellOrdersTotal | integer | null | All sell-direction recurring orders ever created against this token, including ones that already finished or were cancelled. |
sellOrdersActive | integer | null | Sell-direction recurring orders CURRENTLY RUNNING — the figure that answers "programmed future demand" for sells, as opposed to sellOrdersTotal, which also counts orders that already finished. An active order is a standing instruction that can still be cancelled or fail before its next cycle; this count reflects the active flag reported by the source, which has been observed to disagree with counting active status directly in the per-order list for the same token. |
buyVolume | number | null | Decimalized amount of THIS TOKEN bought across all recorded recurring orders. Native token units, NEVER USD. |
sellVolume | number | null | Decimalized amount of THIS TOKEN sold across all recorded recurring orders. Native token units, NEVER USD. |
netFlow | number | null | buyVolume - sellVolume, a CUMULATIVE all-time figure across every recurring order ever created in either direction, including ones that already finished or were cancelled — NOT the volume still scheduled to execute. POSITIVE means more of the token has moved through buy orders than sell orders historically; NEGATIVE means the opposite. For what is still scheduled to run, see buyOrdersActive/sellOrdersActive. null when either side is null, never a false 0. |
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