Get Metagraph
Endpoint
Section titled “Endpoint”GET /api/metagraph/latest/v1Parameters
Section titled “Parameters”| Name | In | Type | Required | Description |
|---|---|---|---|---|
netuid | query | integer | ✅ | Subnet |
search | query | string | Search across UID, hotkey, coldkey, axon_ip | |
uid | query | integer | Neuron ID | |
active | query | boolean | ||
hotkey | query | string | SS58 or hex format | |
coldkey | query | string | SS58 or hex format | |
validator_permit | query | boolean | Does the neuron have a validator permit? | |
is_immunity_period | query | boolean | In immunity? | |
is_child_key | query | boolean | Is parent hotkey | |
page | query | integer | The page number of the response. | |
limit | query | integer | The number of responses. max is 1024 | |
order | query | string |
Responses
Section titled “Responses”200 — 200
Section titled “200 — 200”Media: application/json
{ "type": "object", "properties": { "pagination": { "type": "object", "properties": { "current_page": { "type": "integer", "example": 1, "default": 0 }, "per_page": { "type": "integer", "example": 1024, "default": 0 }, "total_items": { "type": "integer", "example": 256, "default": 0 }, "total_pages": { "type": "integer", "example": 1, "default": 0 }, "next_page": {}, "prev_page": {} } }, "data": { "type": "array", "items": { "type": "object", "properties": { "hotkey": { "type": "object", "properties": { "ss58": { "type": "string", "example": "5F4tQyWrhfGVcNhoqeiNsR6KjD4wMZ2kfhLj4oHYuyHbZAc3" }, "hex": { "type": "string", "example": "0x84d83d08ca89f8e60424ffa286f165c16dd8752e4faa4d8977221e6720678d28" } } }, "coldkey": { "type": "object", "properties": { "ss58": { "type": "string", "example": "5HBtpwxuGNL1gwzwomwR7sjwUt8WXYSuWcLYN6f9KpTZkP4k" }, "hex": { "type": "string", "example": "0xe2a8d08674697d6ee2ccec36f0e207653788275b619392256e509be04d32950d" } } }, "netuid": { "type": "integer", "example": 19, "default": 0 }, "uid": { "type": "integer", "example": 140, "default": 0 }, "block_number": { "type": "integer", "example": 4336192, "default": 0 }, "timestamp": { "type": "string", "example": "2024-11-24T14:22:48Z" }, "stake": { "type": "string", "example": "792325581164158" }, "trust": { "type": "string", "example": "0" }, "validator_trust": { "type": "string", "example": "0.86720073243305104143" }, "consensus": { "type": "string", "example": "0" }, "incentive": { "type": "string", "example": "0" }, "dividends": { "type": "string", "example": "0.12471198596169985504" }, "emission": { "type": "string", "example": "1706598192" }, "active": { "type": "boolean", "example": true, "default": true }, "validator_permit": { "type": "boolean", "example": true, "default": true }, "updated": { "type": "integer", "example": 40, "default": 0 }, "daily_reward": { "type": "string", "example": "34131963840" }, "registered_at_block": { "type": "integer", "example": 2064863, "default": 0 }, "is_immunity_period": { "type": "boolean", "example": false, "default": true }, "rank": { "type": "integer", "example": 1, "default": 0 }, "is_child_key": { "type": "boolean", "example": false, "default": true }, "axon": {} } } } }}400 — 400
Section titled “400 — 400”Media: application/json
{ "type": "object", "properties": {}}Authentication
Section titled “Authentication”All Taostats API requests require an Authorization header containing your API key. See Getting Started.