Company Discovery (Beta)
Company Discovery API endpoint: find companies using natural language queries across 71M+ company profiles.
How It Works
Describe what companies you’re looking for in plain English. The API translates your description into a SQL query and returns matching companies. The generated SQL query is returned in thegenerated_query field of the response body so you can see exactly how your description was interpreted.
Example Queries
Pagination
To page through results beyond the first 100, setoffset to the number of rows to skip. Maximum offset is 10,000. Ordering is deterministic within a build, so paged requests don’t overlap or skip rows; builds run on a periodic cadence, so paginate within a single client session, not across days.
Authorizations
Body
Request model for natural language company discovery.
Natural language description of companies you're looking for
3 - 10001 <= x <= 100Number of results to skip for pagination (0-10000). Stable within a build; ordering may change across builds.
0 <= x <= 10000If true, format text fields in title case (names, company names, locations). Raw fields, IDs, URLs, codes, and confidence fields are excluded.
Comma-separated list of fields to include in response. If omitted, all fields are returned.
Comma-separated list of fields to exclude from response. Applied after include_fields filter.
If true, pretty-print JSON response with indentation.
Response
Success - companies found matching natural language query.
Company discover response with generated query.
List of matches sorted by confidence (descending). Capped at the request's limit.
For /company/search and /company/discover, the total number of rows matching the query's WHERE clause across the database (not just this page). For /company/enrich, the number of matches found for the input identifier. On search/discover, if the count subquery fails or times out, this falls back to the size of the returned page; the response header Total-Count-Status distinguishes the two cases.
SQL query generated from the natural language input