Endpoint
GET /oapi/priceboard/candlestick-data
Returns candlestick data for charting and time-series analysis.
Required query parameters
symbol— Symbol code. Example:ACBresolution— Candle resolution. Example:1Dfrom— Start time as Unix timestamp. Example:1735257600to— End time as Unix timestamp. Example:1774051200
Supported resolutions
1, 5, 15, 30, 60, 120, 1D, 1W, 1M
Field descriptions
t(number[]) — Time values as Unix timestamps. Example:1744685220,1744685280o(number[]) — Open prices. Example:64200,60000h(number[]) — High prices (giá cao nhất). Example:64200,60000l(number[]) — Low prices (giá thấp nhất). Example:64200,60000c(number[]) — Close prices. Example:64200,60000v(number[]) — Close volume (giá khớp gần nhất). Example:60400,1200s(string) — Status. Example:oknextTime(number | null) — Used for the next query (Dùng cho query next).
cURL
Python
Example response
Replace BASE_URL with your API host.