Skip to main content

Get NFT Balance

This endpoint allows you to fetch the NFT balances for a given address.

Endpoint

GET https://api.spacescan.io/address/nft-balance/{address}

Parameters

ParameterTypeDescription
addressstringThe XCH address to fetch NFT balances for
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/address/nft-balance/{address}" \
-H "x-api-key: YOUR_API_KEY"

Live API Test

Request Examples

Response

Failed to load API response. Please try again later.

Response Schema

FieldTypeDescription
statusstringSuccess or failure status
balancearrayList of NFT balances
balance[].nft_idstringThe unique identifier of the NFT
balance[].namestringThe name of the NFT (null if not available)
balance[].collection_idstringThe collection ID the NFT belongs to
balance[].preview_urlstringURL to the NFT preview image (null if not available)