Stocks

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).

get/v1/hist/stocks/{ticker}/bars

Request

Path parameters

tickerstring required

US equity ticker (case-insensitive).

Query parameters

startstring

Inclusive lower bound (YYYY-MM-DD or RFC3339).

endstring

Inclusive upper bound. Default now.

interval'1m' | '5m' | '15m' | '30m' | '1h' | '1d' | '1w' | '1mo'

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.

cursorstring

Opaque pagination cursor from a previous response's meta.next_cursor.

limitinteger

Headers

Accept-Encoding'gzip' required

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.