Skip to main content

Get NFT Events History

This endpoint allows you to fetch the complete event history of a specific NFT, including transfers, listings, and other on-chain activities.

Endpoint

GET https://api.spacescan.io/nfts/events/{nft_id}

Parameters

ParameterTypeRequiredDefaultDescription
nft_idstringYes-The unique identifier of the NFT
Free API

Use api.spacescan.io for free tier access. See our API Plans for rate limits and features.

Pro API

Use pro-api.spacescan.io with your API key in the x-api-key header. See our API Plans for details.

curl -X GET "https://pro-api.spacescan.io/nfts/events/{nft_id}" \
-H "x-api-key: YOUR_API_KEY"

Live API Test

Request Examples

curl -X GET "https://api.spacescan.io/nfts/events/nft10lutrplp2mqrp0wg27sjmjeezzluk9a7jgmjpdv6n5qalkpy8kxqrkqag7"

Response Schema

FieldTypeDescription
coin_namestringUnique identifier for the coin
nft_idstringThe NFT identifier
version_numbernumberVersion number of the event
confirmed_blockstringBlock height where event was confirmed
confirmed_timestringTimestamp of confirmation
spend_blockstringBlock height where coin was spent
spend_timestringTimestamp when coin was spent
owner_addressstringAddress of the owner
owner_didstringDID of the owner (if applicable)
parent_coinstringParent coin identifier
from_addressstringSource address of the transaction
is_ephemeralbooleanWhether the coin is ephemeral
memostringOptional memo attached to the transaction
spend_tagsarrayArray of spend tags
confirmed_txn_idstringTransaction ID of confirmation
spend_txn_idstringTransaction ID of spend
is_spendbooleanWhether the coin has been spent

Example Response

[
{
"coin_name": "d68dfe7118627cab63768f505285bdb86be78f5e5514b6218a1f0cdf6a4a4e01",
"nft_id": "nft10lutrplp2mqrp0wg27sjmjeezzluk9a7jgmjpdv6n5qalkpy8kxqrkqag7",
"version_number": 0,
"confirmed_block": "6200809",
"confirmed_time": "2024-11-12T19:00:50.000Z",
"spend_block": "0",
"spend_time": null,
"owner_address": "xch1u7jecspyllxzsz4srfvf0pzv489vr3n3tnd3kx2da3avftaq854s4ndhny",
"owner_did": "did:chia:1gw3wdgx2rs98x86vj3z9888kfu6jtgv5u39224m42crjk0t2rx2q4v06hh",
"parent_coin": "a71ce702f29eb59ab716b1f395490c856bb2bacaaafdf78134662cf2ec638598",
"from_address": "xch1u7jecspyllxzsz4srfvf0pzv489vr3n3tnd3kx2da3avftaq854s4ndhny",
"is_ephemeral": false,
"memo": null,
"spend_tags": null,
"confirmed_txn_id": "txn1nn8zvkmp0j8g5rqdajc9ps9acuympp9vekp2e3t29pguqw6shqnq2hpcgg",
"confirmed_txn_type": 3,
"is_spend": false
}
]

Response Headers

HeaderDescription
Content-Typeapplication/json
Cache-ControlCaching directives for the response

Error Responses

HTTP Status CodeMeaning
400Bad Request -- Your request is invalid
404Not Found -- The specified NFT could not be found
429Too Many Requests -- You're requesting too many times
500Internal Server Error -- We had a problem with our server
503Service Unavailable -- We're temporarily offline for maintenance

Notes

  • Events are returned in chronological order, with the most recent events first
  • Each event represents a state change of the NFT on the blockchain
  • The spend_tags field can help identify the type of event (transfer, listing, etc.)
  • owner_did may be null if the owner doesn't have an associated DID