Skip to main content

Get Collection Info

This endpoint returns detailed information about a specific NFT collection.

Endpoint

GET https://api.spacescan.io/collections/{collection_id}

Parameters

ParameterTypeRequiredDescription
collection_idstringYesThe unique identifier of the collection
include_nft_countbooleanNoInclude total NFTs count
include_tradesbooleanNoInclude total trades count
include_volumebooleanNoInclude total volume
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/collections/{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
dataobjectCollection details

Collection Object

FieldTypeDescription
idstringCollection ID
namestringCollection name
descriptionstringCollection description
preview_urlstringCollection icon URL
banner_urlstringCollection banner URL
creatorobjectCreator details
nft_countnumberTotal NFTs (if requested)
trade_countnumberTotal trades (if requested)
volumenumberTotal volume (if requested)

Error Responses

HTTP Status CodeMeaning
400Bad Request -- Invalid parameters
429Too Many Requests -- Rate limit exceeded
500Internal Server Error
503Service Unavailable