Skip to main content

Get NFT Information

This endpoint allows you to fetch detailed information about a specific NFT.

Endpoint

GET https://api.spacescan.io/nfts/{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/{nft_id}" \
-H "x-api-key: YOUR_API_KEY"

Live API Test

Request Examples

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

Response Schema

FieldTypeDescription
idstringThe unique identifier of the NFT
namestringThe name of the NFT
preview_urlstringURL to the NFT's preview image
created_heightstringBlock height when the NFT was created
created_timestringTimestamp of NFT creation
collectionobjectCollection information
collection.idstringCollection identifier
collection.namestringCollection name
collection.descriptionstringCollection description
collection.preview_urlstringCollection preview image URL
pricestringCurrent listing price
creatorobjectCreator information including DID and address
ownerobjectCurrent owner information including DID and address
descriptionstringNFT description
data_urlarrayArray of URLs to NFT data
metadata_urlsarrayArray of URLs to NFT metadata
license_urlsarrayArray of URLs to license information
raritynumberRarity score
top_bidstringHighest bid amount
last_salestringLast sale price
current_pricestringCurrent listing price
attributesarrayArray of NFT attributes/traits

Example Response

{
"id": "nft10lutrplp2mqrp0wg27sjmjeezzluk9a7jgmjpdv6n5qalkpy8kxqrkqag7",
"name": "Chia Friends #6707",
"preview_url": "https://assets.spacescan.io/nft/95cdc50c1315791cacc318c8d45ebff64863f355ad833bc2144cabb7b47db271.webp",
"created_height": "2208201",
"created_time": "2022-07-04T05:01:44.000Z",
"collection": {
"id": "col1z0ef7w5n4vq9qkue67y8jnwumd9799sm50t8fyle73c70ly4z0ws0p2rhl",
"name": "Chia Friends",
"description": "10,000 eco-bit NFTs on Chia, from Chia.",
"preview_url": "https://assets.spacescan.io/col/a7f7513f445bf620d230d06442ea938cb0703a48ebbd0e16f8113c6472383f04.webp"
},
"price": "6.9000000000000",
"creator": {
"did": {
"id": "did:chia:19qf3g9876t0rkq7tfdkc28cxfy424yzanea29rkzylq89kped9hq3q7wd2",
"name": "Chia Network"
},
"address": {
"address": "xch1mvdvhnl9mmmqdl9e4nvvr6ak329vmv293k0t3hfy2p983t3lj4wqdgqu7j"
}
},
"attributes": [
{
"value": "Yak",
"trait_type": "Background"
},
{
"value": "Parakeet (Green)",
"trait_type": "Body"
}
]
}

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