Stake-flow stats over a date range
Network-wide stake flow summed from daily totals, all time by default: trade counts and TAO volume into subnets, out of subnets, and between subnets, overall and per subnet. Unlike on /trades/, date_to is inclusive here, which filters.date_to_inclusive restates.
Rate limit: 300 requests per minute per IP (scope explore).
Authorizations
Section titled “Authorizations”- None
Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Inclusive lower bound, YYYY-MM-DD or an ISO instant. 400 otherwise.
Inclusive upper bound, YYYY-MM-DD or an ISO instant. 400 otherwise.
Responses
Section titled “Responses”The flow summed over the range, with the filters applied.
Daily stake-flow rows summed over [date_from, date_to], all time by default.
object
Stakes that brought TAO from a free balance into a subnet, the legs of swaps, moves and transfers left out.
object
Operations counted: stake legs, or on cross_subnet the swaps, moves and transfers themselves.
In rao. The TAO they moved; on totals, into and out of subnets only, cross_subnet left out.
In TAO. The same value as tao_volume_rao.
Unstakes that returned TAO to a free balance, the legs of swaps, moves and transfers left out.
object
Operations counted: stake legs, or on cross_subnet the swaps, moves and transfers themselves.
In rao. The TAO they moved; on totals, into and out of subnets only, cross_subnet left out.
In TAO. The same value as tao_volume_rao.
Swaps, moves and transfers of stake, one each, those within one subnet included: alpha changing place, no TAO entering or leaving.
object
Operations counted: stake legs, or on cross_subnet the swaps, moves and transfers themselves.
In rao. The TAO they moved; on totals, into and out of subnets only, cross_subnet left out.
In TAO. The same value as tao_volume_rao.
The three blocks added up, except the volume, which leaves cross_subnet out.
object
Operations counted: stake legs, or on cross_subnet the swaps, moves and transfers themselves.
In rao. The TAO they moved; on totals, into and out of subnets only, cross_subnet left out.
In TAO. The same value as tao_volume_rao.
tao_to_subnets minus subnets_to_tao.
object
TAO into subnets minus TAO out; negative on a net outflow.
In TAO. The same value as tao_volume_rao.
Keyed by netuid, as a string, ascending. Signed stake legs only (cross-subnet legs kept, same-subnet rebalances removed): unlike the candle volume, it leaves out the fund’s claim sells, rebalances and share purchases, which emit no stake event.
object
object
Stake legs into this subnet, the buy legs of cross-subnet swaps, moves and transfers included.
In rao. The TAO those legs put in.
In TAO. The same value as in_rao.
Stake legs out of this subnet, the sell legs of cross-subnet swaps, moves and transfers included.
In rao. The TAO those legs took out.
In TAO. The same value as out_rao.
Week-over-week change of the most recent day in range.
The date range applied, echoed back.
object
The first day summed, as sent; null for no lower bound.
The last day summed, INCLUSIVE, as sent; null for no upper bound.
Always true here; /trades/ reads the same name as exclusive.
Example generated
{ "tao_to_subnets": { "trades": 1, "tao_volume_rao": 1, "tao_volume": 1 }, "subnets_to_tao": { "trades": 1, "tao_volume_rao": 1, "tao_volume": 1 }, "cross_subnet": { "trades": 1, "tao_volume_rao": 1, "tao_volume": 1 }, "totals": { "trades": 1, "tao_volume_rao": 1, "tao_volume": 1 }, "net_tao_flow": { "tao_volume_rao": 1, "tao_volume": 1 }, "by_subnet": { "additionalProperty": { "in_count": 1, "in_rao": 1, "in_tao": 1, "out_count": 1, "out_rao": 1, "out_tao": 1 } }, "volume_change_7d_pct": 1, "filters": { "date_from": "2026-04-15", "date_to": "2026-04-15", "date_to_inclusive": true }}A parameter failed its check, which message names. code is usually VALIDATION_ERROR.
The error envelope every 4xx and 5xx response carries. The introduction lists the code values.
object
Always true. Lets a client branch without reading the status code.
Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.
One human-readable sentence.
Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.
Examples
VALIDATION_ERROR
{ "error": true, "code": "VALIDATION_ERROR", "message": "date_from must be YYYY-MM-DD", "detail": null}Rate limit exceeded (300/minute, per IP). Retry-After carries the seconds to wait.
The error envelope every 4xx and 5xx response carries. The introduction lists the code values.
object
Always true. Lets a client branch without reading the status code.
Machine-readable error code, such as VALIDATION_ERROR or RESOURCE_NOT_FOUND. Branch on it, not on message.
One human-readable sentence.
Extra context for some codes, such as the invalid fields of a VALIDATION_ERROR or retry_after on RATE_LIMITED; else null.
Examples
RATE_LIMITED
{ "error": true, "code": "RATE_LIMITED", "message": "Request was throttled", "detail": { "retry_after": 12 }}Headers
Section titled “Headers”Seconds before the next request is accepted.