Tokens API

What was the first recorded price of this token, and when?

The earliest USD price on record for a token and when it was recorded; null when none is recorded. An asset tracked across chains carries its first price on any chain.

GET/api/external/token-analysis/first-price/{chain}/{mint}

What it returns

The first USD price on record for the token and the moment it was recorded. A token tracked as one asset across several chains (a major stablecoin, for one) carries that asset's first price, which can predate the token's arrival on the chain asked about. A token with no price on record answers null for both priceUsd and timestamp; that does not say it never traded.

Chains

  • Solana SOL
  • BNB Chain BNB
  • Ethereum ETH
  • 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/first-price/SOL/<mint>"
Parameters
ParameterDescription
chain

path · string · required

The chain the token lives on. SOL, ETH, BNB, BASE and RHC are served; STABLE and ARC return 400. CELO, ARB, OP and SCROLL return 400 here.
mint

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

Response fields of What was the first recorded price of this token, and when?
FieldTypeDescription
chainstringThe chain asked about.
tokenstringThe token asked about, as written.
priceUsdnumber | nullThe first USD price on record; null when none is recorded.
timestampinteger | nullWhen that price was recorded, in unix seconds; null when none is recorded.

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