Historical stock OHLCV bars (gzip required)
Requires Accept-Encoding: gzip. All intervals (1m through 1mo) cover regular-session bars back to 2000, ascending (oldest first; page forward with cursor). 1d is one US trading session, 1w is Monday-aligned, 1mo is a calendar month. Prices are as-traded (not adjusted for splits or dividends).
Request
- Base URLhttps://api.sifting.io
- Auth
- API key in header X-API-Key
- or API key in query parameter api_key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
US equity ticker (case-insensitive).
Query parameters
Inclusive lower bound (YYYY-MM-DD or RFC3339).
Inclusive upper bound. Default now.
Bar interval. Default 1m. Stocks additionally support 1d, 1w (Monday-aligned), and 1mo (calendar month), all aggregated from the same 1-minute history back to 2000. Prices are as-traded (not split/dividend adjusted). A 1d/1w/1mo bar opens at midnight UTC of the period start.
Opaque pagination cursor from a previous response's meta.next_cursor.
Headers
Must include gzip; this endpoint returns 406 otherwise.
Response
OHLCV bars.
Changes
No recorded changes to this operation across all 1 revision of this API.