Skip to content

Trading View History

GET /api/dtao/tradingview/udf/history
NameInTypeRequiredDescription
symbolquerystringSUB- followed by subnet netuid “SUB-19”
resolutionquerystringgranularity of data (possible values: 1,5,15,60 for minutes, 1D, 7D, 30D for days)
fromqueryintegerunix timestamp
toqueryintegerunix timestamp

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
}
}
}
}

Media: application/json

{
"type": "object",
"properties": {}
}

All Taostats API requests require an Authorization header containing your API key. See Getting Started.