Skip to content

Get CoinGecko Pair

GET /api/coingecko/pair
Get a free API key →
curl
NameInTypeRequiredDescription
idquerystringSubnet to compare with root.

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": "{}"
}
}

All Taostats API requests require an Authorization header containing your API key. See Getting Started.