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
Request
- Base URLhttps://api.tradier.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
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
Changes
No recorded changes to this operation across all 1 revision of this API.