Default
Stock Candles
Get candlestick data (OHLCV) for stocks.
Daily data will be adjusted for Splits. Intraday data will remain unadjusted. Only 1 month of intraday will be returned at a time. If you need more historical intraday data, please use the from and to params iteratively to request more data.
get/stock/candle
Query parameters
symbolstring required
Symbol.
resolutionstring required
Supported resolution includes <code>1, 5, 15, 30, 60, D, W, M </code>.Some timeframes might not be available depending on the exchange.
frominteger required
UNIX timestamp. Interval initial value.
tointeger required
UNIX timestamp. Interval end value.
Response
successful operation
Example response
{
"c": [
5.962134,
5.962134
],
"s": "s",
"t": [
2,
2
],
"v": [
5.637377,
5.637377
],
"h": [
6.0274563,
6.0274563
],
"l": [
1.4658129,
1.4658129
],
"o": [
0.8008282,
0.8008282
]
}