Get CoinGecko Pair
Endpoint
Section titled “Endpoint”GET /api/coingecko/pairTry it
Section titled “Try it”Parameters
Section titled “Parameters”| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | query | string | ✅ | Subnet to compare with root. |
Responses
Section titled “Responses”200 — Pair retrieved successfully
Section titled “200 — Pair retrieved successfully”Media: application/json
Schema
{ "type": "object", "required": [ "pair" ], "properties": { "pair": { "type": "object", "required": [ "id", "dexKey", "asset0Id", "asset1Id" ], "properties": { "asset0Id": { "type": "string" }, "asset1Id": { "type": "string" }, "dexKey": { "type": "string" }, "id": { "type": "string", "description": "id must be 0-{netuid} where netuid is an integer" } } } }}Examples
{ "Result": { "value": "{}" }}400 — Bad request
Section titled “400 — Bad request”404 — Pair not found
Section titled “404 — Pair not found”500 — Internal server error
Section titled “500 — Internal server error”Authentication
Section titled “Authentication”All Taostats API requests require an Authorization header containing your API key. See Getting Started.