Trading View History
Endpoint
Section titled “Endpoint”GET /api/dtao/tradingview/udf/historyParameters
Section titled “Parameters”| Name | In | Type | Required | Description |
|---|---|---|---|---|
symbol | query | string | ✅ | SUB- followed by subnet netuid “SUB-19” |
resolution | query | string | ✅ | granularity of data (possible values: 1,5,15,60 for minutes, 1D, 7D, 30D for days) |
from | query | integer | ✅ | unix timestamp |
to | query | integer | ✅ | unix timestamp |
Responses
Section titled “Responses”200 — 200
Section titled “200 — 200”Media: application/json
{ "type": "object", "properties": { "s": { "type": "string", "example": "ok" }, "t": { "type": "array", "items": { "type": "integer", "example": 1743975744, "default": 0 } }, "c": { "type": "array", "items": { "type": "number", "example": 0.112485, "default": 0 } }, "o": { "type": "array", "items": { "type": "number", "example": 0.121455, "default": 0 } }, "h": { "type": "array", "items": { "type": "number", "example": 0.126404, "default": 0 } }, "l": { "type": "array", "items": { "type": "number", "example": 0.107904, "default": 0 } }, "v": { "type": "array", "items": { "type": "number", "example": 10185.2743107528, "default": 0 } } }}400 — 400
Section titled “400 — 400”Media: application/json
{ "type": "object", "properties": {}}Authentication
Section titled “Authentication”All Taostats API requests require an Authorization header containing your API key. See Getting Started.