v47

latestOpenAPI 3.1.0Contact usraw.githubusercontent.com2026-07-1061131268.6 KB
Market Data

Get Historical Stock Prices

Get historical price data for a specified Stock. Each index in the array represents a single tick in a price chart.

get/api/v2/market_data/stocks/{stock_id}/historical_prices/

Query parameters

timespan'DAY' | 'WEEK' | 'MONTH' | 'YEAR' required

The timespan of the historical prices to query.

Response

OK

timestampinteger required

The UNIX timestamp in seconds for the start of the aggregate window.

opennumber required

Open price from the given time period.

closenumber required

Close price from the given time period.

highnumber required

Highest price from the given time period.

lownumber required

Lowest price from the given time period.