get_earnings_history
Quarterly earnings time series for a ticker. Chart-ready: each quarter row is {period, report_date, actual_eps, estimate_eps, eps_surprise_pct, prior_year_eps, eps_yoy_change_pct, actual_revenue, estimate_revenue, revenue_surprise_pct, net_income, ...}, ordered oldest-first so a bar chart of actual vs. estimate EPS, or a YoY trend line, plots directly.
Also returns next_quarter — the upcoming scheduled report with the
consensus estimate, low/high estimate band, and expected report date
— for forward-looking charts.
Use for: "AAPL earnings history", "earnings surprise trend", "did
NVDA beat last quarter", "EPS beat/miss the past 4 quarters".
Args:
ticker: Stock ticker (e.g. 'AAPL', 'NVDA').
quarters: Number of most-recent reported quarters to return
(default 8, max 40).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ticker | Yes | ||
| quarters | No |