Documentation / New API reference / Tax
Get Tax Active Tokens
Last reviewed 2026-10-07
The tokens a coldkey has tax rows for in a date range.
Try it
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
date_start | query | string | Yes | Start of the range, YYYY-MM-DD, inclusive. |
date_end | query | string | Yes | End of the range, YYYY-MM-DD, inclusive. At most 12 calendar months after date_start. |
coldkey | query | string | Yes | Coldkey, SS58 or 0x-prefixed hex. |
Responses
200 — Tokens with rows in the range; empty when there are none
| Field | Type | Required | Description |
|---|---|---|---|
data | array | Yes | TAO first if the coldkey has TAO rows in the range, then the subnet tokens by netuid. |
data[] | string | Yes | |
pagination | object | Yes | Always one page holding every token. |
pagination.current_page | integer (int32) | Yes | 1-indexed page that produced the rows in data. |
pagination.next_page | integer (int32), nullable | Yes | Next page number, or null if this is the last page. |
pagination.per_page | integer (int32) | Yes | Number of items requested per page. |
pagination.prev_page | integer (int32), nullable | Yes | Previous page number, or null if this is the first page. |
pagination.total_items | integer (int64) | Yes | Number of items matching the query across all pages. This is the exact count — every matching row, however many there are. It is not bounded by total_pages, so a listing can legitimately report far more items than total_pages × per_page. |
pagination.total_pages | integer (int32) | Yes | Number of pages at the current per_page that this API will serve: ceil(total_items / per_page), capped at ceil(1000000 / per_page) because the page parameter only reaches into the first 1,000,000 rows. When the cap bites, total_items is still the true total and this is the last page a request can ask for; reach deeper history with the endpoint's range filters instead of a larger page. |
400 — Invalid query parameter
| Field | Type | Required | Description |
|---|---|---|---|
message | string | Yes | Plain-english message describing the failure from the caller's perspective. |
status_code | integer (int32) | Yes | HTTP status code (mirrored in the response status line for convenience). |
500 — Internal server error
| Field | Type | Required | Description |
|---|---|---|---|
message | string | Yes | Plain-english message describing the failure from the caller's perspective. |
status_code | integer (int32) | Yes | HTTP status code (mirrored in the response status line for convenience). |
Every request needs an Authorization header holding your API key — see Getting started with the Taostats API.