Skip to content

Get Price OHLC

GET /api/price/ohlc/v1
NameInTypeRequiredDescription
assetquerystring
periodquerystringOne hour, one day or one month.
timestamp_startqueryintegerStart of timestamp range in Unix timestamp (seconds since 1970-01-01) (inclusive)
timestamp_endqueryintegerStart of timestamp range in Unix timestamp (seconds since 1970-01-01) (inclusive)
pagequeryintegerThe page number of the response.
limitqueryintegerThe number of responses. max is 200,

Media: application/json

{
"type": "object",
"properties": {
"pagination": {
"type": "object",
"properties": {
"current_page": {
"type": "integer",
"example": 1,
"default": 0
},
"per_page": {
"type": "integer",
"example": 50,
"default": 0
},
"total_items": {
"type": "integer",
"example": 977,
"default": 0
},
"total_pages": {
"type": "integer",
"example": 20,
"default": 0
},
"next_page": {
"type": "integer",
"example": 2,
"default": 0
},
"prev_page": {}
}
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"period": {
"type": "string",
"example": "1d"
},
"timestamp": {
"type": "string",
"example": "2025-02-26T00:00:00Z"
},
"asset": {
"type": "string",
"example": "TAO"
},
"volume_24h": {
"type": "string",
"example": "263821126.1415"
},
"open": {
"type": "string",
"example": "379.5458"
},
"high": {
"type": "string",
"example": "385.8701"
},
"low": {
"type": "string",
"example": "363.6157"
},
"close": {
"type": "string",
"example": "366.4996"
}
}
}
}
}
}

Media: application/json

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

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