Normalized financials (XBRL)
get_financialsRetrieve normalized SEC XBRL financial metrics for a company by ticker, CIK, or name, one row per fiscal period, annual or quarterly.
Instructions
Key financial metrics normalized from SEC XBRL companyfacts, one row per fiscal period (deduped; as-filed values from the filing that reported the period). Metrics: revenue, gross_profit, operating_income, net_income, eps_basic, eps_diluted, operating_cash_flow, capex, total_assets, total_liabilities, stockholders_equity, cash, long_term_debt, shares_outstanding, free_cash_flow (derived). Revenue tries common tags in order (Revenues, RevenueFromContractWithCustomerExcludingAssessedTax, SalesRevenueNet, ...) and tags_used reports which was used. period_type 'quarterly' returns 3-month values (cash-flow quarters derived from YTD; Q4 derived as FY minus 9M). Values are raw (e.g. 391035000000 = $391.0B).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of most recent periods | |
| company | Yes | Ticker (AAPL), CIK (320193 or 0000320193), or company name. Names must resolve unambiguously; use search_company first if unsure. | |
| metrics | No | Subset of metrics to return (default all) | |
| period_type | No | annual |