Documentation / API reference / CoinGecko
Get CoinGecko Pair
Last reviewed 2026-09-18
Returns a TAO/subnet-token pair and its asset identifiers in the CoinGecko pair format. Supply the pair identifier as 0-{netuid}.
Try it
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | query | string | Yes | Subnet to compare with root. |
Responses
200 — Pair retrieved successfully
| Field | Type | Required | Description |
|---|---|---|---|
pair | object | Yes | |
pair.asset0Id | string | Yes | |
pair.asset1Id | string | Yes | |
pair.dexKey | string | Yes | |
pair.id | string | Yes | id must be 0-{netuid} where netuid is an integer |
Example response
json
{}Other responses
| Status | Meaning |
|---|---|
400 | Bad request |
404 | Pair not found |
500 | Internal server error |
Every request needs an Authorization header holding your API key — see Getting started with the Taostats API.