Documentation / New API reference / CoinGecko
Get CoinGecko Asset
GET /v1/coingecko/asset — Taostats API endpoint in the CoinGecko group.
Reference
Last reviewed 2026-10-07
Try it
Parameters
| Name | In | Type | Required | Description |
|---|
id | query | string | Yes | Asset ID — the subnet netuid as a string (e.g. "1"). |
Responses
| Field | Type | Required | Description |
|---|
asset | object | Yes | The asset metadata object nested inside CoinGeckoAssetResponse. Field names and serde renames mirror the legacy CoinGeckoAsset struct exactly. Supply fields are decimal strings (e.g. "12345.678901234"), matching the legacy rust_decimal::Decimal serialisation output. |
asset.circulatingSupply | string | Yes | |
asset.decimals | integer (int32) | Yes | |
asset.id | string | Yes | |
asset.maxSupply | string | Yes | |
asset.name | string | Yes | |
asset.symbol | string | Yes | |
asset.totalSupply | string | Yes | |
400 — Invalid asset id
| Field | Type | Required | Description |
|---|
message | string | Yes | Plain-english message describing the failure from the caller's perspective. |
status_code | integer (int32) | Yes | HTTP status code (mirrored in the response status line for convenience). |
404 — Asset not found
| Field | Type | Required | Description |
|---|
message | string | Yes | Plain-english message describing the failure from the caller's perspective. |
status_code | integer (int32) | Yes | HTTP status code (mirrored in the response status line for convenience). |
500 — Internal server error
| Field | Type | Required | Description |
|---|
message | string | Yes | Plain-english message describing the failure from the caller's perspective. |
status_code | integer (int32) | Yes | HTTP status code (mirrored in the response status line for convenience). |
Every request needs an Authorization header holding your API key — see Getting started with the Taostats API.