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.

GET/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>"
Parameters
ParameterDescription
page

query · integer · optional

The page, from 1. At most 100.
chain

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

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

Response fields of The numbered prints of a master edition NFT, Solana only
FieldTypeDescription
mintstringThe master edition's mint asked about.
pageintegerThe page this answer is.
masterEditionstringThe master edition account of that mint.
supplyintegerThe prints the master edition account says it has made. Read from the account, not counted from the list, which can hold more.
maxSupplyinteger | nullThe most prints the master edition allows; null when it sets no cap.
editionsobject[]This page's prints, by ascending edition number. Empty on a page past the last one.
editions[].mintstringThe print's own mint.
editions[].editionAddressstringThe print's edition account.
editions[].editionintegerIts edition number, from 1.
nextPageinteger | nullThe 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