Retrieves historical price bars (OHLCV - Open, High, Low, Close, Volume) for a specific symbol within a date range. This endpoint supports various time resolutions from seconds to months. The data is returned in arrays format optimized for charting libraries, with timestamps in Unix format (seconds).
Documentation Index
Fetch the complete documentation index at: https://finance.dev/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Stock symbol to fetch historical data for
Bar resolution: '1', '5', '15', '30', '60' (minutes), '240' (4 hours), 'D'/'1D' (daily), 'W'/'1W' (weekly), 'M'/'1M' (monthly)
1, 5, 15, 30, 60, 240, D, W, M, 1D, 1W, 1M Start time as Unix timestamp in seconds (or milliseconds, will be auto-converted)
x >= 1End time as Unix timestamp in seconds (or milliseconds, will be auto-converted). Must be greater than 'from' parameter.
x >= 1Historical chart data retrieved successfully
Status of the response
ok, no_data, error Error message (only present if s='error' or s='no_data')
Array of bar timestamps (Unix time in seconds)
Array of close prices
Array of open prices
Array of high prices
Array of low prices
Array of volumes
Next expected bar time (optional)