NFTs API
The numbered prints of a master edition NFT, Solana only
The prints of a Solana master edition NFT, 100 per page by edition number: each print's mint, edition account and number, plus the master's supply and max supply.
/api/external/nft-analysis/nft-editions/{chain}/{mint}What it returns
The prints (numbered editions) of the master edition NFT mint, 100 per page by ascending edition number: each print's own mint, its edition account and its number. Each page also carries the master's edition account and the counts its account records. Those counts and the list are read side by side and can disagree — a master measured with supply 3253 listed prints numbered 1 to 3332 — so both are passed on as read. Keep asking for nextPage until it is null. Pages past 100 (10000 prints) are not served.
Chains
- Solana SOL
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-editions/SOL/<mint>"
| Parameter | Description |
|---|---|
pagequery · integer · optional | The page, from 1. At most 100. |
chainpath · string · required | SOL only; every other chain returns 400, and so does SOL on a deployment with no Solana node configured — the message says which of the two it is. |
mintpath · string · required | The mint of the master edition NFT whose prints to list, base58. |
Response fields
A JSON response. Every field is always present; null means the value could not be established, never zero.
| Field | Type | Description |
|---|---|---|
mint | string | The master edition's mint asked about. |
page | integer | The page this answer is. |
masterEdition | string | The master edition account of that mint. |
supply | integer | The prints the master edition account says it has made. Read from the account, not counted from the list, which can hold more. |
maxSupply | integer | null | The most prints the master edition allows; null when it sets no cap. |
editions | object[] | This page's prints, by ascending edition number. Empty on a page past the last one. |
editions[].mint | string | The print's own mint. |
editions[].editionAddress | string | The print's edition account. |
editions[].edition | integer | Its edition number, from 1. |
nextPage | integer | null | The page to ask for next, or null when this page was not full or was the last one served. A full page can be followed by an empty one. |
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