Market Data
Get historical stock price data
Changed onGet end-of-day (EOD) historical price data for stocks.
get/prices
Request
- Base URLhttps://api.financialdatasets.ai
- AuthAPI key in header X-API-KEY
Query parameters
tickerstring required
The stock ticker symbol (e.g. AAPL, MSFT).
interval'day' | 'week' | 'month' | 'year' required
The time interval for the price data.
start_datestring date required
The start date for the price data (format: YYYY-MM-DD).
end_datestring date required
The end date for the price data (format: YYYY-MM-DD).
cursorstring
Opaque pagination cursor from a previous response's next_page_url. When provided, all other query parameters are ignored: the cursor carries the original request's filters. Treat it as opaque; do not construct or modify it.
Response
Price data response
Changes
- info
added the new optional
queryrequest parametercursor - info
added the optional property
to the response with the status
- info