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>"
Parameters
ParameterDescription
chain

path · 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.
mint

path · 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.

Response fields of Did the earliest buyers already leave
FieldTypeDescription
analysednumber | nullHow many first buyers are listed: up to 100 on SOL, up to 20 on RHC.
stillHoldingnumber | nullOf those, how many still hold any of it. On RHC: more than 1% of what the wallet bought in its first buy.
stillHoldingPctnumber | null
medianSecondsToFirstSellnumber | null
buyersobject[]
buyers[].walletstring
buyers[].firstBuyAtnumber | null
buyers[].firstSellAtnumber | null
buyers[].secondsToFirstSellnumber | null
buyers[].investedUsdnumber | null
buyers[].soldUsdnumber | null
buyers[].realizedPnlUsdnumber | null
buyers[].holdingnumber | null
buyers[].buysnumber | nullnull on RHC: trades are not counted there.
buyers[].sellsnumber | nullnull on RHC: trades are not counted there.
buyers[].statusstring | nullRHC 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