Get SEC XBRL financials
get_sec_financialsPull a company's reported financials (revenue, net income, EPS, cash flow, etc.) straight from SEC XBRL filings as an annual or quarterly time series, using audited as-filed data, not estimates.
Instructions
Reported financial line items straight from a US company's XBRL filings — revenue, net income, EPS, assets, cash, operating cash flow and more — as an annual or quarterly time series. These are as-filed audited figures, not analyst estimates or forecasts, so prefer this over any market-data tool for fundamentals. Use get_sec_filings instead when you want the documents rather than the numbers. Each row is labelled by the period it covers; where a later filing restated a period, the most recently filed value is returned. Filers tag the same concept differently, so a concept alias is tried against several us-gaap tags and the response names the tag actually used — expect the tag to differ between companies. US SEC registrants only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum periods to return, most recent first. 8 annual periods ≈ 8 fiscal years. | |
| period | No | "annual" returns full-year figures from 10-Ks, "quarterly" returns 10-Q periods, "all" returns both interleaved. Annual is the right default for trend questions. | annual |
| company | Yes | Ticker ("AAPL"), CIK, or company name | |
| concept | No | One of: revenue, net_income, gross_profit, operating_income, eps, assets, liabilities, equity, cash, operating_cash_flow, capex, rd_expense, long_term_debt, shares_outstanding — or an exact us-gaap tag like "NetIncomeLoss". | revenue |