Reported history for a company
get_fundamentals_historyThe stored figures for one ticker, one row per metric and period, each with its period (fy, fp), period end, filing date and form. Use it for trends and for what was on file at a past date. Inputs: ticker, metric (comma-separated), from (earliest period end), as_of (only filings dated on or before that day), max_rows (1-250, default 250), compact (true leaves out market_notes and schema). Without a licence key, a company outside the full-history sample answers with its most recent reported fiscal year only: full_history false and history_depth say so, and older filings exist. Long histories are capped at max_rows, keeping the most recent rows of EVERY metric (per_metric says how many of each); metric and from select older rows. Figures are as filed, each keyed to its filing date (filed) as its market records it (how each market dates a filing: https://www.tradingagentapp.com/fundamentals/methodology). .TW quarterly values are already SINGLE-QUARTER amounts, so differencing adjacent quarters gives wrong figures. For a quarterly row (US, Taiwan) fy and fp are the CALENDAR quarter containing the period end, not the company's fiscal quarter. Each reply's market_notes and schema state the per-market caveats (solo or group accounts, lawful gaps, charities, flags in form). Detailed line items follow local accounting rules and keep the filed sign (capex is negative in Taiwan and Japan); get_data_dictionary defines them per market. The source licences require each reply's attribution and licence notices to accompany the figures.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Earliest period end to include, YYYY-MM-DD | |
| as_of | No | Filing-date cut-off, YYYY-MM-DD: only filings dated on or before that day | |
| metric | No | Comma-separated metrics, e.g. revenue,net_income | |
| ticker | Yes | Ticker symbol, e.g. AAPL or 2330.TW | |
| compact | No | true leaves out the long per-market notes (market_notes, schema) to save tokens; default false | |
| max_rows | No | Most rows to return, 1-250 (default 250); every metric keeps its most recent rows |