Tokens API
Did the earliest buyers already leave
Who bought the token first and whether they still hold: the share still in, the median seconds to first sell and each buyer's amounts. Solana, and Robinhood Chain launchpad tokens.
GET
/api/external/token-analysis/first-buyers/{chain}/{mint}Chains
- Solana SOL
- 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/first-buyers/SOL/<mint>"
| Parameter | Description |
|---|---|
chainpath · string · required | SOL and RHC; every other chain returns 400. On RHC only tokens launched on one of the chain's launchpads answer; any other token answers with every field null. |
mintpath · string · required | The token address. On SOL a token launched before 2023-12-30 answers with every field null: its first buyers are not on record, and a list that starts later would not be its first buyers. |
Response fields
A JSON response. Every field is always present; null means the value could not be established, never zero.
| Field | Type | Description |
|---|---|---|
analysed | number | null | How many first buyers are listed: up to 100 on SOL, up to 20 on RHC. |
stillHolding | number | null | Of those, how many still hold any of it. On RHC: more than 1% of what the wallet bought in its first buy. |
stillHoldingPct | number | null | |
medianSecondsToFirstSell | number | null | |
buyers | object[] | |
buyers[].wallet | string | |
buyers[].firstBuyAt | number | null | |
buyers[].firstSellAt | number | null | |
buyers[].secondsToFirstSell | number | null | |
buyers[].investedUsd | number | null | |
buyers[].soldUsd | number | null | |
buyers[].realizedPnlUsd | number | null | |
buyers[].holding | number | null | |
buyers[].buys | number | null | null on RHC: trades are not counted there. |
buyers[].sells | number | null | null on RHC: trades are not counted there. |
buyers[].status | string | null | RHC only (null on SOL): what the wallet did with its first buy. holding_all holds exactly it, added holds more, sold_part sold some, sold_all has at most 1% of it left after selling, moved sent it to other wallets, burned burned it. Tokens moved away count only when they are at least 20% of the buy; less is set aside. null on RHC when the wallet sent the token out more than 20 times outside the market, too many to tell sales from moves. The RHC USD figures are null: the chain records amounts, not prices. |
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