datasets_sec_companies_financials
Retrieve normalized financial statement history (income, balance, cash flow) for any SEC company by CIK. Filter by period (annual/quarterly) and fiscal year range.
Instructions
Get a SEC company's financial-statement history. Returns a company's normalized financial-statement history (income statement, balance sheet, cash flow) from the SEC companies dataset, newest fiscal year first. An unknown CIK or a company with no XBRL data returns an empty series rather than a 404 — most filers without a current ticker have no financial-statement history at all. lines keys are the same normalized concept names the live /sec/financials endpoint uses (e.g. revenue, net_income, total_assets); ratios keys include gross_margin, operating_margin, net_margin, revenue_growth_yoy, current_ratio, debt_to_equity, free_cash_flow where derivable. statement enum: income, balance, cash_flow. period enum: annual, quarterly.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Inclusive upper bound on fiscal_year | |
| cik | Yes | SEC CIK, numeric or zero-padded | |
| from | No | Inclusive lower bound on fiscal_year | |
| limit | No | Maximum points returned (most recent fiscal years first), default 100, max 400 | |
| period | No | Period-type enum: annual, quarterly. Omit to return both. | |
| statement | No | Statement enum: income, balance, cash_flow. Omit to return all three. |