Skip to main content

Get NFT Statistics

This endpoint provides global statistics about NFTs on the Chia blockchain, including collection counts, total NFTs, trade volumes, and royalty information.

Endpoint

GET https://api.spacescan.io/nft/stats
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/nft/stats" \
-H "x-api-key: YOUR_API_KEY"

Live API Test

Request Example

Response Example

{
"status": "success",
"data": {
"collections_count": 4547,
"nft_count": 1637021,
"trades_count": 104329,
"traded_amount_xch": 4.680786556872335e-8,
"royalty_amount_xch": 2.202437563733082e-9,
"traded_amount_fiat": 9.77022e-7,
"royalty_amount_fiat": 4.5972e-8
}
}

Response Schema

FieldTypeDescription
statusstringThe status of the API request
dataobjectObject containing NFT statistics
collections_countnumberTotal number of NFT collections
nft_countnumberTotal number of NFTs
trades_countnumberTotal number of NFT trades
traded_amount_xchnumberTotal amount of XCH traded for NFTs
royalty_amount_xchnumberTotal amount of XCH collected as royalties
traded_amount_fiatnumberTotal amount traded in fiat currency
royalty_amount_fiatnumberTotal amount of royalties in fiat currency

Error Responses

HTTP Status CodeMeaning
400Bad Request -- Your request is invalid.
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.