get_financials
Retrieve US-GAAP financial statements—income statement, balance sheet, cash flow—for a company and fiscal year from SEC EDGAR, with point-in-time as-reported data and per-value source URLs.
Instructions
Retrieve normalized US-GAAP financial statements (income statement, balance sheet, cash flow) for one company and fiscal year, from SEC EDGAR XBRL.
Identify the company by ticker OR cik. Use as_of (ISO YYYY-MM-DD) to get
the figures as originally reported on that date — no look-ahead bias — for
backtests. Set include_provenance=true to attach, for every value, the SEC
accession, filed date, and a direct EDGAR source URL for citation. Set
include_ratios=true for margins, ROA/ROE, and leverage derived from the same
statements. Returns the normalized data object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cik | No | ||
| year | Yes | ||
| as_of | No | ||
| ticker | No | ||
| include_ratios | No | ||
| include_provenance | No |