v1

latestOpenAPI 3.0.02026-07-24374582.1 KB
Markets

Get historical pricing for a security.

Get historical pricing for a specific security. This data will usually cover the entire lifetime of the company if sending reasonable start/end times. You can fetch historical pricing for options by passing the OCC option symbol (ex. AAPL220617C00270000) as the symbol.

get/v1/markets/history

Query parameters

symbolstring required

The security symbol

interval'daily' | 'weekly' | 'monthly'

The interval for the data

startstring date

The start date for the data (YYYY-MM-DD)

endstring date

The end date for the data (YYYY-MM-DD)

Headers

Accept'application/json' required

Response format

Response

Historical pricing data