Replace
YOUR_API_KEY in each example with your actual API key. All
requests require the x-api-version: 2025-11-01 header.When to use autocomplete
Use this endpoint when you want to:- Build filter dropdowns or typeahead inputs in your product.
- Validate the exact values a Company Search filter expects.
- Explore the dataset vocabulary for a field before writing search queries.
Your first autocomplete request: discover industry values
Start with the field you want to query and a partial search string. Here,tech returns matching values from basic_info.industries.
Response trimmed for clarity.
Understanding the response
Autocomplete returns an object with one key:suggestions— an array of matching values, sorted by relevance. Each suggestion contains:value— the exact field value to reuse in a Company Search filter.document_count— how many companies contain that value.
value exactly as-is in your next search request. This avoids empty results caused by typos, casing differences, or unsupported variants.
When query is non-empty, suggestions are ranked by match relevance. When query is an empty string, suggestions are ranked by frequency.
Request fields
| Field | Type | Required | Description |
|---|---|---|---|
field | string | Yes | Searchable company field to autocomplete, such as basic_info.industries, taxonomy.linkedin_industry, or locations.hq_country. |
query | string | Yes | Partial text to match. Use "" to get the most common values. |
limit | integer | No | Maximum suggestions to return. Default: 20. Max: 100. |
filters | object | No | Optional condition or nested and/or group to narrow the suggestion pool. |
Current platform behavior — not specified in the OpenAPI contract: default
limit is 20, max is 100.Get the most common values for a field
Use an empty string forquery when you want the most frequent values instead of a text match. This is useful when you are exploring a field for the first time.
Narrow suggestions with filters
Autocomplete can scope results to a subset of companies. Thefilters field accepts either:
- a single condition with
field,type, andvalue - a logical group with
opandconditions
and/or groups. The filter structure is similar to Company Search but uses its own AutocompleteFilterCondition schema — filter values are always strings:
Common fields to autocomplete
| Field | Why you would use it |
|---|---|
basic_info.industries | Find exact industry labels before building industry filters. |
taxonomy.linkedin_industry | Match LinkedIn industry values used in company search. |
locations.hq_country | Discover country values used by the indexed dataset. |
basic_info.company_type | Explore company type labels used in the dataset. |
funding.last_round_type | Find valid funding stage labels before filtering by recent financing data. |
Use autocomplete with Company Search
A common workflow looks like this:- Call Autocomplete with a partial query.
- Copy the exact
valuefrom the response. - Use that value in Company Search.
Technology, Information and Media, use that exact string in a search filter instead of guessing another variant.
Common errors and edge cases
If no values match your query, the API returns an empty array:API reference summary
| Detail | Value |
|---|---|
| Endpoint | POST /company/search/autocomplete |
| Auth | Bearer token + x-api-version: 2025-11-01 |
| Required params | field, query |
| Optional params | limit (default: 20, max: 100), filters |
| Response | { "suggestions": [{ "value": "...", "document_count": N }] } |
| Empty result | 200 with "suggestions": [] |
| Errors | 400 (unsupported field), 401 (bad auth), 500 (server error) |
What to do next
- Company Search — use the discovered value in a structured company search.
- Company Enrich — enrich a company after you find it.
- Company examples — browse ready-to-copy request patterns.

