Skip to main content
API referenceSubnets

Subnet Baskets

GET
/api/v1/subnets/{netuid}/baskets

Fetch the Root basket funds holding one subnet and the funds targeting it, as two distinct lists (#12021) -- a holding is what a fund owns, a target what it steers toward, and neither is inferred from the other. Holding funds come from the newest holdings capture (its block is holdings_block, named apart from the basket capture's), largest spot value first then by account id, each with its quantity, spot and realizable value in rao and whole-fund spot NAV; targeting funds carry their weight out of 65,535, and v497's funds hold none, so targeted is a measured empty list. Served live from the market store; a null capture with null counts is the decline.

Path Parameters

netuid*integer

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

Range0 <= value

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/subnets/1/baskets"
{  "data": {    "capture": {      "accepted_at": "2026-06-01T00:00:00.000Z",      "decoder_version": "2026-06-29.1",      "finalized_block": "example",      "finalized_block_hash": "a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1",      "runtime_spec_version": 1    },    "held": [      {        "account_id": "example",        "fund_spot_nav_rao": "example",        "hotkey": "example",        "quantity_atomic": "example",        "quantity_unit": "rao",        "realizable_value_rao": "example",        "spot_value_rao": "example"      }    ],    "held_count": 1,    "holdings_block": "example",    "netuid": 7,    "schema_version": 1,    "target_count": 1,    "targeted": [      {        "account_id": "example",        "hotkey": "example",        "weight": 1      }    ]  },  "meta": {    "artifact_path": "example",    "cache": "short",    "catalog_paging": {      "reason": "catalog_changed"    },    "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,      "snapshot": "v1.a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1a3f1",      "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}