NFTs API
The daily floor price, volume and market cap of an NFT collection
One NFT collection's floor price, 24h volume and market cap, one point a day for up to a year, in USD and in the chain's native coin.
/api/external/nft-analysis/nft-collection-history/{chain}/{address}What it returns
One NFT collection's floor price, trailing 24h traded volume and market cap, one point a day over the last 1 to 365 days, oldest first, each in USD and in the chain's native coin (ETH on ETH and BASE, BNB on BNB). Each volume is the 24h volume as of that instant, not a period total. A collection that is not tracked returns 404.
Chains
- BNB Chain BNB
- Ethereum ETH
- Base BASE
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/nft-analysis/nft-collection-history/BNB/<address>"
| Parameter | Description |
|---|---|
daysquery · string · optional | The trailing window, a whole number of days from 1 to 365. Defaults to 30; anything else is a 400 (enforced after the API-key gate). |
chainpath · string · required | ETH, BASE or BNB. SOL, STABLE, RHC and ARC return 400: no wired source charts a collection's market there. CELO, ARB, OP and SCROLL return 400 here. |
addresspath · string · required | The NFT collection's contract address. |
Response fields
A JSON response. Every field is always present; null means the value could not be established, never zero.
| Field | Type | Description |
|---|---|---|
contract | string | The collection contract, lowercase. |
days | integer | The window answered, in days. |
currency | string | The native coin every …Native figure is in. |
points | object[] | One point a day, oldest first, stamped a few minutes after 00:00 UTC. A collection tracked for less than the window answers fewer points than days. |
points[].timestamp | integer | Unix seconds. |
points[].floorPriceUsd | number | null | The floor price in USD. |
points[].floorPriceNative | number | null | The floor price in currency. |
points[].volume24hUsd | number | null | The volume traded in the 24h before timestamp, in USD. 0 is a day with no sale. |
points[].volume24hNative | number | null | The same volume in currency. |
points[].marketCapUsd | number | null | The floor price times the supply, in USD. |
points[].marketCapNative | number | null | The same market cap in currency. |
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