datasets_sec_companies_facets
Facet the SEC companies dataset to get counts per category, such as SIC, exchange, revenue band, or entity type, with optional search filters.
Instructions
Facet the SEC companies dataset. Returns terms-aggregation counts for one facet of the SEC companies dataset, scoped to the same filters as search. Facet enum: sic, sic_description, exchange, state_of_incorporation, entity_type, reporting_currency, revenue_band, forms_filed. revenue_band buckets latest-annual revenue into: unknown, under_1m, 1m_10m, 10m_100m, 100m_1b, 1b_10b, over_10b.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Full-text query over the company name, or an exact ticker match, max 256 characters | |
| sic | No | Exact SIC industry-code filter, max 32 characters | |
| facet | Yes | Facet enum: sic, sic_description, exchange, state_of_incorporation, entity_type, reporting_currency, revenue_band, forms_filed | |
| ticker | No | Exact ticker filter (case-insensitive), max 32 characters | |
| exchange | No | Exact exchange filter as reported by EDGAR, max 64 characters | |
| form_filed | No | Exact form-type filter, e.g. 10-K, 8-K | |
| entity_type | No | Exact entity-type filter, max 64 characters | |
| min_revenue | No | Minimum latest-annual revenue in USD (normalized at reference rates), 0 or greater | |
| has_financials | No | When true, keep only companies that have XBRL financial statements | |
| reporting_currency | No | Exact reporting-currency filter, ISO-4217 code, e.g. USD, JPY, EUR | |
| state_of_incorporation | No | Exact state/country-of-incorporation filter, max 32 characters |