Skip to main content
API referenceSubnets

Subnet Neuron History

Last updated

GET
/api/v1/subnets/{netuid}/neurons/{uid}/history

Fetch a UID's per-day metagraph history (stake, trust, consensus, incentive, dividends, emission, rank over time), computed live from the neuron_daily rollup tier. ?window=7d|30d|90d|1y|all.

Path Parameters

netuid*integer

The subnet's numeric id on the Bittensor network, as used by the chain itself.

Range0 <= value
uid*integer

A neuron's UID within its subnet's metagraph.

Range0 <= value

Query Parameters

window?string

Trailing lookback window the response is computed over, ending at the most recent data point rather than at today. Accepts 7d, 30d, 90d, 1y, all. A longer window is not a superset of a shorter one -- rankings and rates are recomputed over the whole window, not summed.

Default"30d"

Value in

  • "7d"
  • "30d"
  • "90d"
  • "1y"
  • "all"

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/subnets/1/neurons/0/history"
{  "data": {    "days_covered": 1,    "netuid": 7,    "newest_day": "example",    "oldest_day": "example",    "point_count": 1,    "points": [      {        "active": false,        "coldkey": "example",        "hotkey": "example",        "snapshot_date": "example",        "uid": 1,        "validator_permit": false      }    ],    "schema_version": 1,    "uid": 1,    "window": "30d"  },  "meta": {    "artifact_path": "example",    "cache": "short",    "contract_version": "2026-06-29.1",    "generated_at": "2026-06-01T00:00:00.000Z",    "observed_through": "2026-06-01T00:00:00.000Z",    "pagination": {      "collection": "example",      "cursor": 1,      "limit": 1,      "next_cursor": 1,      "order": "asc",      "returned": 1,      "sort": "example",      "total": 1    },    "published_at": "2026-06-01T00:00:00.000Z",    "source": "live-cron-prober",    "stale_contract": {      "built_under": "example",      "live": "example"    }  },  "ok": true,  "schema_version": 1}