Description
Historical OHLCV time series for a symbol at a chosen interval (1min…1month).
Parameters
{
"interval": {
"description": "Bar interval: 1min,5min,15min,30min,45min,1h,2h,4h,1day,1week,1month.",
"example": "1day",
"required": true,
"type": "string"
},
"outputsize": {
"description": "Number of bars (default 30).",
"example": "30",
"required": false,
"type": "integer"
},
"symbol": {
"description": "Ticker or pair.",
"example": "AAPL",
"required": true,
"type": "string"
}
}
Response schema
{
"properties": {
"meta": {
"description": "Symbol/interval/exchange metadata.",
"type": "object"
},
"status": {
"type": "string"
},
"values": {
"description": "Newest-first OHLCV bars.",
"items": {
"properties": {
"close": {
"type": "string"
},
"datetime": {
"type": "string"
},
"high": {
"type": "string"
},
"low": {
"type": "string"
},
"open": {
"type": "string"
},
"volume": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
}
Example response
{
"meta": {
"currency": "USD",
"exchange": "NASDAQ",
"interval": "1day",
"symbol": "AAPL",
"type": "Common Stock"
},
"status": "ok",
"values": [
{
"close": "307.39",
"datetime": "2026-07-02",
"high": "308.51",
"low": "293.89",
"open": "294.06",
"volume": "12780072"
}
]
}