Get CAT Information
This endpoint allows you to fetch detailed information about a specific CAT (Chia Asset Token).
Endpoint
- Mainnet
- Testnet
GET https://api.spacescan.io/cat/info/{asset_id}
GET https://api-testnet11.spacescan.io/cat/info/{asset_id}
Parameters
Parameter | Type | Description |
---|---|---|
asset_id | string | The unique identifier of the CAT |
Use api.spacescan.io
for free tier access. See our API Plans for rate limits and features.
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/cat/info/{asset_id}" \
-H "x-api-key: YOUR_API_KEY"
Live API Test
- Mainnet
- Testnet
Request Example
- cURL
- Python
- JavaScript
- Mainnet
- Testnet
import requests
asset_id = "6d95dae356e32a71db5ddcb42224754a02524c615c5fc35f568c2af04774e589"
url = f"https://api.spacescan.io/cat/info/{asset_id}"
response = requests.get(url)
data = response.json()
print(data)
import requests
asset_id = "6d95dae356e32a71db5ddcb42224754a02524c615c5fc35f568c2af04774e589"
url = f"https://api-testnet11.spacescan.io/cat/info/{asset_id}"
response = requests.get(url)
data = response.json()
print(data)
- Mainnet
- Testnet
const assetId = "6d95dae356e32a71db5ddcb42224754a02524c615c5fc35f568c2af04774e589";
const url = https://api.spacescan.io/cat/info/${assetId}
;
fetch(url)
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
const assetId = "6d95dae356e32a71db5ddcb42224754a02524c615c5fc35f568c2af04774e589";
const url = https://api-testnet11.spacescan.io/cat/info/${assetId}
;
fetch(url)
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
Response
- Mainnet
- Testnet
Failed to load API response. Please try again later.
Failed to load API response. Please try again later.
Response Schema
Field | Type | Description |
---|---|---|
status | string | The status of the API request |
cat | object | Detailed information about the CAT |
cat.asset_id | string | The unique identifier of the CAT |
cat.name | string | The name of the CAT |
cat.symbol | string | The symbol/ticker of the CAT |
cat.total_supply | string | The total supply of the CAT |
cat.description | string | Description of the CAT |
cat.website_url | string | Official website URL |
cat.logo_url | string | URL of the CAT's logo |