Cross-company comparison (XBRL frames)
compare_companiesRank and compare companies on any XBRL financial concept for a calendar period using SEC data. Filter by tickers/CIKs or view top values.
Instructions
Compare one XBRL concept across ALL reporting companies for a calendar period (SEC frames API), e.g. rank by revenue for CY2024, or compare specific companies. Period: CY2024 (annual duration), CY2024Q2 (quarter), CY2024Q4I (instant, required for balance-sheet items like Assets). Pass companies to filter to specific tickers/CIKs; otherwise returns the top limit by value.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | e.g. 'Revenues', 'NetIncomeLoss', 'Assets' | |
| unit | No | USD, USD-per-shares, shares, pure | USD |
| limit | No | ||
| order | No | desc | |
| period | Yes | CY2024, CY2024Q3, or CY2024Q4I | |
| taxonomy | No | us-gaap | |
| companies | No | Tickers or CIKs to include (default: all) |