Skip to main content

List Collections

This endpoint returns a paginated list of NFT collections with optional stats.

Endpoint

GET https://api.spacescan.io/collections

Parameters

ParameterTypeRequiredDefaultDescription
pagenumberNo1Page number for pagination
countnumberNo50Number of items per page
include_nft_countbooleanNofalseInclude total NFTs count
include_tradesbooleanNofalseInclude total trades count
include_volumebooleanNofalseInclude 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?page=1&count=50" \
-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
dataarrayList of collections
paginationobjectPagination information

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