SEC Company Financials API: income, balance sheet, cash flow
sec_company_financialsGet clean financial statements of any US-listed company from the SEC's own XBRL data: revenue, profit, EPS, balance sheet, cash flow, free cash flow and margins, per fiscal year or per quarter, by ticker or CIK. For analysts, finance apps and AI agents that need a company's numbers over 5-20 years without parsing filings. Every value cites the XBRL tag and the SEC filing it came from.
Price: $0.005 per company-period.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ciks | No | SEC Central Index Keys as digits, leading zeros optional, e.g. ["320193"] for Apple | |
| years | No | How many of the latest fiscal years to return per company, e.g. 5 (5 rows annual, up to 20 rows quarterly; 2 with quarterly = the last 8 quarters) | |
| period | No | "annual" = one row per fiscal year (FY) | annual |
| metrics | No | Only these output fields, e.g. ["revenue", "net_income", "free_cash_flow", "operating_margin"] | |
| tickers | No | US tickers as listed by the SEC, e.g. ["AAPL", "MSFT"]; share classes with a dash or dot, e.g. "BRK-B" | |
| includeSources | No | true = each row has `sources` (per value: the XBRL tag and the SEC accession number it came from, plus how it was derived) and `filings` (form, filing date and URL of each filing cited) |