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
Range0 <= value

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v1/subnets/0/volume"
{  "data": {    "buy_count": 1,    "buy_volume_alpha": 0.5,    "buy_volume_tao": 0.5,    "net_volume_alpha": 0.5,    "netuid": 7,    "schema_version": 1,    "sell_count": 1,    "sell_volume_alpha": 0.5,    "sell_volume_tao": 0.5,    "sentiment": "bullish",    "sentiment_ratio": 0.9966,    "total_volume_alpha": 0.5,    "total_volume_tao": 0.5,    "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",    "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}