- Seconds: 1S, 5S, 10S, 15S, 30S
- Minutes: 1, 5, 15, 30, 60, 240
- Daily/Weekly/Monthly: 1D, 1W, 1M
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Symbol identifier for the security
"AAPL"
Bar resolution/timeframe. Supported values: 1S, 5S, 10S, 15S, 30S (seconds), 1, 5, 15, 30, 60, 240 (minutes), 1D (day), 1W (week), 1M (month)
1S, 5S, 10S, 15S, 30S, 1, 5, 15, 30, 60, 240, 1D, 1W, 1M "1D"
Start time as Unix timestamp (seconds)
1672531200
End time as Unix timestamp (seconds)
1704067200
Flag indicating if this is the first data request (0 or 1). When set to 1, extends the date range backward by 5 days
0, 1 Response
Historical bars retrieved successfully
Status of the response
ok, no_data, error Error message if status is 'error'
Array of timestamps (Unix epoch in seconds)
Array of open prices
Array of high prices
Array of low prices
Array of close prices
Array of volume values
Timestamp of the next available bar (used when s='no_data')