NFTs API
The transaction history of one compressed NFT, Solana only
Every transaction that minted, transferred or burnt a Solana compressed NFT, newest first: signature, instruction, slot and time.
/api/external/nft-analysis/compressed-nft-history/{chain}/{address}What it returns
The transactions that touched the compressed NFT address — its mint, every transfer, a burn — newest first, 20 per page: each one's signature, the compression instruction it ran, its slot and its time. A compressed NFT lives in a Merkle tree rather than in a token account of its own, so its history is read from the chain's asset index. A regular (uncompressed) NFT answers 404. Keep asking for nextPage until it is null. Pages past 50 (1000 transactions) 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/compressed-nft-history/SOL/<address>"
| Parameter | Description |
|---|---|
pagequery · integer · optional | The page, from 1. At most 50. |
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. |
addresspath · string · required | The compressed NFT's asset id, base58 — the id wallets and marketplaces show for it (a compressed NFT has no mint account). |
Response fields
A JSON response. Every field is always present; null means the value could not be established, never zero.
| Field | Type | Description |
|---|---|---|
asset | string | The asset id asked about. |
page | integer | The page this answer is. |
items | object[] | This page's transactions, newest first. An empty first page means no compressed NFT has that id. |
items[].signature | string | The transaction's signature. |
items[].instruction | string | The compression program's instruction it ran, e.g. MintToCollectionV1, Transfer, Burn. |
items[].slot | integer | null | The slot it landed in; null when the node no longer knows the transaction. |
items[].at | integer | null | When that slot's block was produced, in unix seconds; null when no time is known. |
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