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.
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/datasets/sec-companies/facets
- Auth: API key in header x-api-key
Query parameters
Facet enum: sic, sic_description, exchange, state_of_incorporation, entity_type, reporting_currency, revenue_band, forms_filed
Full-text query over the company name, or an exact ticker match, max 256 characters
Exact ticker filter (case-insensitive), max 32 characters
Exact SIC industry-code filter, max 32 characters
Exact exchange filter as reported by EDGAR, max 64 characters
Exact state/country-of-incorporation filter, max 32 characters
Exact entity-type filter, max 64 characters
Exact reporting-currency filter, ISO-4217 code, e.g. USD, JPY, EUR
When true, keep only companies that have XBRL financial statements
Minimum latest-annual revenue in USD (normalized at reference rates), 0 or greater
Exact form-type filter, e.g. 10-K, 8-K
Headers
API key required
Response
OK
Example response
{
"code": 200,
"msg": "OK"
}Changes
No recorded changes to this operation across all 2 revisions of this API.