Skip to main content
API referenceSubnets

Subnet Alpha Volume

Last updated

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

Fetch the rolling 24h buy/sell alpha volume for one subnet: unsigned totals (never netted) in both alpha and TAO for StakeAdded (buy) vs StakeRemoved (sell), plus event counts, summed live from the same account_events stream as GET /api/v1/subnets/{netuid}/stake-flow. Also returns a buy/sell sentiment indicator derived from the alpha totals: net_volume_alpha, a bounded sentiment_ratio, and a bullish/bearish/neutral label. Fixed 24h window, no query params — a canonical market-depth figure, not OHLC/price data.

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/volume"
{  "data": {    "buy_count": 1,    "buy_volume_alpha": 0.5,    "buy_volume_tao": 0.5,    "buy_volume_usd": 0.5,    "field_sources": {      "example": {        "kind": "measured",        "storage": "example"      }    },    "net_volume_alpha": 0.5,    "netuid": 7,    "schema_version": 1,    "sell_count": 1,    "sell_volume_alpha": 0.5,    "sell_volume_tao": 0.5,    "sell_volume_usd": 0.5,    "sentiment": "bullish",    "sentiment_ratio": 0.9966,    "tao_usd": {      "block_number": 5000000,      "observed_at": "2026-06-01T00:00:00.000Z",      "price_basis": "example",      "usd_per_tao": 0.5    },    "tao_usd_unavailable": "no_index_reading",    "total_volume_alpha": 0.5,    "total_volume_tao": 0.5,    "total_volume_usd": 0.5,    "usd_pricing_basis": "window_close_rate",    "vol_mcap_ratio": 0.9966,    "window": "24h"  },  "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}