跳到主要内容

Get Collection Information

This endpoint allows you to fetch detailed information about an collection.

Endpoint

GET https://api.spacescan.io/collection/info/{collection_id}

Parameters

ParameterTypeDescription
collection_idstringThe unique identifier of the NFT collection
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/collection/info/{collection_id}" \
-H "x-api-key: YOUR_API_KEY"

Live API Test

Request Example

Response

Failed to load API response. Please try again later.

Response Schema

FieldTypeDescription
statusstringThe status of the API request
collectionobjectDetailed information about the NFT collection
collection.idstringThe unique identifier of the collection
collection.namestringThe name of the collection
collection.descriptionstringDescription of the collection
collection.icon_uristringURI to the collection's icon
collection.banner_uristringURI to the collection's banner
collection.nft_countnumberTotal number of NFTs in the collection
collection.owner_countnumberTotal number of unique owners
collection.verifiedbooleanWhether the collection is verified
collection.created_atstringTimestamp when the collection was created

Error Responses

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