get_fundamentals
Financial statements from SEC XBRL — income statement, balance sheet, cash flow.
metrics: revenue · cost_of_revenue · gross_profit · operating_income · net_income ·
eps_basic · eps_diluted · operating_cash_flow · assets · liabilities · equity · cash ·
shares_outstanding. Omit for all of them.
period: "annual" or "quarterly". Balance-sheet metrics are always point-in-time ("instant")
regardless, and must not be compared against a duration figure.
Each record names the XBRL concept it came from, since filers migrate between concepts and
the right one differs by era. Values are the most recently FILED for their period, so a
company's own restatement supersedes its original figure.
periods is how many periods to return PER METRIC; limit caps total rows. Omitting metrics
returns the headline set, not every available one.
When an investment case is cached, the response begins with that full case and one
metric_story per requested metric: latest value -> comparable-period change -> linked thesis
claim -> supports/challenges read -> limitation. The SEC-derived rows follow unchanged.
response_mode: "plain" returns a compact beginner-friendly explanation with exact comparison
values; "raw" returns only the source rows; "standard" and "deep" preserve the complete case.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| limit | No | ||
| start | No | ||
| entity | Yes | ||
| period | No | annual | |
| metrics | No | ||
| periods | No | ||
| reading_level | No | ||
| response_mode | No | standard |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |