NFTs API
Which NFT collections lead by market cap, 24h volume or floor price right now?
The leading NFT collections ranked by market cap, 24h volume or floor price, with holders, supply, 24h sales and changes, across every chain or on SOL, ETH, BASE or BNB.
/api/external/nft-analysis/nft-collectionsWhat it returns
The leading NFT collections with floor price, market cap and 24h volume (in USD and in the chain's native coin), their 24h changes, holders, supply and 24h sales, ranked largest first by sort. Every chain by default, including networks this API does not otherwise cover (chain is then null and network names it); chain filters to SOL, ETH, BASE or BNB. Market cap is floor times supply, so a thinly traded collection with a high floor and a large supply can rank in the billions: read it with volume24hUsd and sales24h. Figures the source does not have are null, never 0. id answers ONE collection by the id a ranking publishes, in the same shape, including collections outside every top 250; with it sort and limit do not apply and chain is refused. includeMarketplaces=true, with id only, adds its floor and 24h volume per marketplace.
Chains
- Solana SOL
- Ethereum ETH
- Base BASE
- BNB Chain BNB
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-collections"
| Parameter | Description |
|---|---|
sortquery · string · optional | What to rank by, largest first, in USD: marketCap, volume24h or floorPrice. Defaults to marketCap.marketCapvolume24hfloorPrice |
chainquery · string · optional | Only the collections on this chain. Omit for every chain. |
limitquery · integer · optional | How many collections to return. Defaults to 50. limit ≤ 50 keeps the answer under 32 KB. |
idquery · string · optional | One collection by its id, e.g. bored-ape-yacht-club, instead of a ranking. The answer holds that one collection; chain cannot be combined with it. |
includeMarketplacesquery · boolean · optional | With id only: add marketplaces, the floor price and 24h volume on each marketplace listing the collection. Off by default: it is one more upstream call. |
Response fields
A JSON response. Every field is always present; null means the value could not be established, never zero.
| Field | Type | Description |
|---|---|---|
sort | string | The ranking answered. |
chain | string | null | The chain asked about, or null for every chain and with id. |
collections | object[] | Ranked, largest first. With id, exactly that one collection. |
collections[].id | string | The collection's id, e.g. cryptopunks. Unique within an answer. |
collections[].name | string | null | Display name. |
collections[].symbol | string | null | Ticker, e.g. PUNK. |
collections[].chain | string | null | The chain, when it is one this API covers; null otherwise (see network). |
collections[].network | string | null | The network the collection lives on, e.g. ethereum, solana, hyperevm. |
collections[].contractAddress | string | null | The contract address. Null on SOL. |
collections[].nativeCurrency | string | null | The coin the …Native figures are in, e.g. ETH, SOL, BNB. |
collections[].floorPriceUsd | number | null | Lowest listed price, in USD. |
collections[].floorPriceNative | number | null | Lowest listed price, in the native coin. |
collections[].marketCapUsd | number | null | Floor price times supply, in USD. See the endpoint description on outliers. |
collections[].marketCapNative | number | null | The same market cap in the native coin. |
collections[].volume24hUsd | number | null | Trailing 24h sales volume in USD. 0 is a real reading for a collection with no sale. |
collections[].volume24hNative | number | null | The same volume in the native coin. |
collections[].floorPriceChange24hPct | number | null | Percent change of the USD floor over 24h; negative is a fall. |
collections[].marketCapChange24hPct | number | null | Percent change of the USD market cap over 24h. |
collections[].volume24hChangePct | number | null | Percent change of the USD 24h volume against the day before. |
collections[].holders | number | null | Distinct holding addresses. |
collections[].totalSupply | number | null | Items in the collection. |
collections[].sales24h | number | null | Sales in the last 24h. Often null rather than 0 on collections with none. |
collections[].averageSalePrice24hNative | number | null | Average sale price over the last 24h, in the native coin. |
collections[].marketplaces | object[] | null | Only with includeMarketplaces=true, absent otherwise. The floor price and 24h volume on each marketplace that reported within the last 7 days, largest 24h volume first; a marketplace that stopped reporting is left out rather than shown with an old floor. Empty when the collection is listed but no marketplace reported in that window; null when no marketplace listing of the collection is known. |
collections[].marketplaces[].marketplaceId | string | null | The marketplace, e.g. opensea, blur, magiceden. |
collections[].marketplaces[].marketplace | string | null | Its display name, e.g. OpenSea. |
collections[].marketplaces[].floorPrice | number | null | The cheapest listing there, in currency. |
collections[].marketplaces[].volume24h | number | null | 24h volume there, in currency. 0 is a real reading. |
collections[].marketplaces[].currency | string | null | The chain's native coin the figures are in, e.g. ETH. |
collections[].marketplaces[].url | string | null | The collection's page on that marketplace. |
collections[].marketplaces[].updatedAt | string | When the marketplace last reported (ISO 8601). |
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