Prices
Get ranged price data for a ticker to power stock charts and analyze price movements.
👋 Overview
The Prices API lets you pull historical prices for a given ticker like Apple, Microsoft, and more.
You can get prices by the second, minute, day, week, month, or year.
The prices are pulled directly from the exchanges like NASDAQ, NYSE, and AMEX.
The data is perfect for backtesting trading strategies, analyzing price patterns, rendering charts, and more.
To get started, please create an account and grab your API key at financialdatasets.ai.
You will use the API key to authenticate your API requests.
🚀 Getting Started
There are only 3 steps for making a successful API call:
- Add your API key to the header of the request as
X-API-KEY
. - Add query params like
ticker
to filter the data. - Execute the API request.
💻 Example
Authorizations
API key for authentication.
Query Parameters
The ticker symbol.
The time interval for the price data.
second
, minute
, day
, week
, month
, year
The multiplier for the interval.
x > 1
The start date for the price data (format: YYYY-MM-DD).
The end date for the price data (format: YYYY-MM-DD).
The maximum number of price records to return (default: 5000, max: 5000).
1 < x < 5000