SEC financials and screener
sec_financialsReads US public company financials from SEC EDGAR XBRL. Company mode returns one company's reported history of a metric (revenue, net income, assets and 20 more, or any us-gaap tag) by ticker or CIK. Screen mode ranks every filer on one metric for one calendar period. Every figure carries period_type and a link to its filing. Reports figures, not advice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | screen ranks all companies for one period; company gives one company's history. Defaults to company when company is set, else screen. | |
| limit | No | Records to return, 1 to 100. Default 50. | |
| order | No | desc by default: largest value first in screen mode, newest period first in company mode. | |
| metric | No | A name such as revenue, net_income, gross_profit, operating_income, rd_expense, sga_expense, interest_expense, income_tax, or a raw us-gaap tag like Revenues. Default revenue. | |
| period | No | Screen mode: CY2023 or CY2023Q1 (calendar year, optional quarter). Default CY2024. | |
| company | No | Company mode: ticker or CIK number. | |
| max_value | No | Highest value to keep. | |
| min_value | No | Lowest value to keep. Negatives are legal. | |
| period_type | No | Keep only quarterly, half_year, nine_month, annual or instant figures. Default any. |