market_data
Retrieve raw financial data such as historical prices, income statements, balance sheets, and more. Select from over a dozen indicators to get the exact data you need.
Instructions
Raw financial data (historical prices, income statement, balance sheet, cash flow statement, company profile, quotes, analyst estimates, dividend/earnings calendars, statistics). Use this ONLY for raw data needs — for pre-computed ratios, performance, risk, or model metrics use the dedicated tools instead. Requires tickers='AAPL' — use comma-separated values for multiple tickers.
Available indicators: get_analyst_estimates, get_balance_sheet_statement, get_cash_flow_statement, get_dividend_calendar, get_earnings_calendar, get_historical_data, get_historical_statistics, get_income_statement, get_intraday_data, get_profile, get_quote, get_rating, get_revenue_geographic_segmentation, get_revenue_product_segmentation, get_statistics_statement, get_treasury_data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| indicator | Yes | Name of the specific metric to calculate, e.g. 'get_asset_turnover_ratio'. Required — omitting it returns the list of available indicators. | |
| tickers | No | Comma-separated ticker symbols, e.g. 'AAPL,MSFT,GOOGL'. | |
| start_date | No | Start of the date range in YYYY-MM-DD format. | 2021-06-22 |
| end_date | No | End of the date range in YYYY-MM-DD format. | 2026-06-21 |
| quarterly | No | Return quarterly data instead of annual when True. | |
| benchmark_ticker | No | Ticker used as the market benchmark, e.g. 'SPY' or '^GSPC'. | SPY |
| rounding | No | Number of decimal places to round results to. | |
| growth | No | Return period-over-period growth rates instead of absolute values. | |
| lag | No | Number of periods to lag when computing growth rates. | |
| enforce_source | No | Value for enforce_source. | |
| trailing | No | Number of trailing periods for rolling-window calculations. | |
| actual_dates | No | Value for actual_dates. | |
| period | No | Observation frequency, e.g. 'monthly', 'quarterly', or 'annual'. | daily |
| return_column | No | Value for return_column. | Adj Close |
| include_dividends | No | Value for include_dividends. | |
| fill_nan | No | Value for fill_nan. | |
| show_ticker_seperation | No | Value for show_ticker_seperation. | |
| risk_free_rate | No | Value for risk_free_rate. | |
| divide_ohlc_by | No | Value for divide_ohlc_by. | |
| show_errors | No | Value for show_errors. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |