Get SEC financials
sec_get_financialsSEC XBRL financial data from 10-K, 10-Q, and 20-F filings by company CIK: income statement, balance sheet, cash flow as presented, any us-gaap/ifrs/dei concept over time, one concept across all companies (frames), reported and derived quarters, standard fields (revenue, net income, EPS, assets, ...), business segments, a filing's presentation roles. Use for numbers; for filing text use sec_read_filing, for HTML tables sec_get_tables. Input: view plus its arguments (cik, accession, concept such as us-gaap:Revenues, period YYYY-MM-DD or CY2024Q4). Example: {"view": "standard", "cik": "320193", "periods": "annual", "limit": 4}. Returns: values with period, unit, and the accession and acceptance time that reported them; paged with next_cursor. Limits: XBRL exists from 2009 (large filers) and 2011 (all); standard fields are not_applicable for banks, insurers, REITs, BDCs and IFRS filers. Values from different as_of or basis must not be combined.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"view": "<view>"
},
"name": "sec_get_financials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | view=standard, segments: last period end, YYYY-MM-DD. | |
| cik | No | The company: a ticker or CIK, e.g. "AAPL" or "320193". view=series and facts also take a list of up to 100, e.g. ["AAPL", "MSFT"]. Each row names its entity_cik. | |
| ttm | No | view=standard, standard_frame: add trailing-twelve-month values (default false). | |
| axis | No | view=segments: segment, product, geography, customer (default all). | |
| dims | No | none (default: facts without dimensions), any, or a dims_hash for one exact dimension set. | |
| from | No | view=standard, segments: first period end, YYYY-MM-DD, e.g. "2022-01-01". | |
| kind | No | view=statement: income, balance, cash_flow, equity, comprehensive, or cover. | |
| sort | No | view=frame: order of the companies (default cik). | |
| unit | No | Only this unit as stored, e.g. iso4217:USD, shares, iso4217:USD/shares. A frame without unit can mix units (see unit_norm on each row); sort compares values across them. | |
| view | Yes | series: one concept over time for a company; facts: one concept of a company (cik + concept) or every fact of a filing (accession); frame: one concept and period across companies; statement: statements as presented; periods: reported and derived quarters (Q4 = FY - 9M, H2, TTM) with formula and inputs; standard: a company's standard fields (revenue, net_income, total_assets, ...) by period, each with its source facts; standard_frame: one standard field across companies for a calendar period; segments: revenue, operating income, assets, and other values by business segment, product, geography, or customer; roles: every presentation role (statement, note, policy, table, detail) of a filing's XBRL with its R page. | |
| as_of | No | SEC acceptance time, inclusive (YYYY-MM-DD or YYYY-MM-DDTHH:MM:SSZ); absent = now. | |
| basis | No | view=series: latest (default), first_reported, or as_of (the latest known at as_of; needs as_of). view=standard, standard_frame, segments: latest (default) or first_reported. | |
| field | No | view=standard_frame: the standard field (required), e.g. "revenue". | |
| limit | No | Page size: series 1..1000 (default 200); facts of a filing 1..5000 (default 500); facts of a company 1..2000 (default 500); frame 1..1000 (default 500); standard 1..1000 period ends (default 8); standard_frame 1..5000 companies (default 100); segments 1..200 period ends (default 4); roles 1..500 (default 200). | |
| cursor | No | To get the next page: next_cursor from the previous answer, with the same other arguments. | |
| fields | No | view=standard: standard fields to return (default all): revenue, cost_of_revenue, gross_profit, operating_income, pretax_income, net_income, eps_basic, eps_diluted, total_assets, total_liabilities, total_equity, cash_and_equivalents, operating_cash_flow, capital_expenditure, shares_outstanding. | |
| period | No | YYYY-MM-DD (an instant, or periods ending that day) or YYYY-MM-DD/YYYY-MM-DD (that exact duration). view=frame also takes a calendar frame: CY2024Q4 (a quarter), CY2024 (a year) or CY2024Q4I (an instant in a quarter). Required for view=frame. view=standard_frame: a calendar frame (CY2024Q4, CY2024, CY2024Q4I), required. view=standard and segments: one period end. | |
| concept | No | XBRL concept as prefix:LocalName, e.g. us-gaap:Revenues (a name without prefix is read as us-gaap). Several only with view=facts and accession. | |
| periods | No | view=standard: annual, quarterly, ytd, instant, or all (default annual,quarterly); view=segments: annual (default) or quarterly. | |
| category | No | view=roles: Cover, Statements, Notes, Policies, Tables, Details, Other, or Uncategorized (default all). | |
| accession | No | view=facts, statement, or roles: the filing's accession, e.g. "0000320193-26-000026". | |
| segment_kind | No | view=segments: revenue, operating_income, assets, long_lived_assets, depreciation_amortization, capital_expenditure, expense (default all). |