Replace
YOUR_API_KEY in each example with your actual API key. All
requests require the x-api-version: 2025-11-01 header.Request fields
Response body
Rate limits and pricing
Pricing:
Free.- Rate limits: For current plan-specific limits, see Rate limits.
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.
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.
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.
Examples
Worked recipes you can copy, paste, and adapt. Each example is a full working request you can adapt to your own fields and filters.Autocomplete company names
Autocomplete company names
Use
basic_info.name to surface company names matching a partial string.Get the most common values for a field
Get the most common values for a field
Use an empty string for Suggestions are ranked by frequency, so you can quickly see the most common
values in the dataset.
query 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
Narrow suggestions with filters
Autocomplete can scope results to a subset of companies. The You can also use nested For the full list of supported operators, see
Supported filter operators.
filters field
accepts either:- a single condition with
field,type, andvalue - a logical group with
opandconditions
and/or groups. Filter values can be strings,
numbers, or booleans, and array values can contain strings or numbers — pass
numeric values as numbers rather than strings where the underlying field is
numeric.Full workflow: Autocomplete → Search → Enrich
Full workflow: Autocomplete → Search → Enrich
This is the canonical end-to-end Company API workflow. You do not know the
exact industry value the Search API expects. Autocomplete discovers it,
Search finds matching companies, and Enrich fills in the details.Extract: Take Extract: Take Extract: Each item in the top-level array corresponds to one input ID.
Access the profile via
Step 1: Discover valid industry values
suggestions[0].value → "Software Development". Use this
exact string in your Search filter.If empty: If suggestions is [], your query did not match any indexed
values. Try a broader term (for example, "tech" instead of
"software engineering").Step 2: Search for matching companies
companies[].crustdata_company_id values →
[12345, 67890, 628895]. Pass these to Enrich.If empty: If companies is [], no companies matched your filters.
Broaden your conditions or re-run autocomplete to verify filter values.To get more results: Pass next_cursor as cursor in the next request.
Stop paginating when next_cursor is null. See
Pagination & sorting.Step 3: Enrich the top matches
response[i].matches[0].company_data.If a match is empty: If matches is [] for an identifier, that company
was not found. The request still succeeds (200 OK) for the other
identifiers. See
Partial batch failure.Reference
Reference material for Company Autocomplete: common fields you can autocomplete, supported filter operators, errors, and the API summary.Common fields to autocomplete
The
field parameter accepts a broader set than this table — the table
highlights the most useful fields for building filter dropdowns. For the
full live allowlist, send a deliberately invalid field and read the
Valid fields list returned in the 400 error. The shape of that error
message is for debugging only and may change without notice.Supported filter operators
=, !=, <, =<, >, =>, in, not_in, contains.
Common errors and edge cases
If no values match your query, the API returns an empty array:400 with the list
of valid fields:
API reference summary
For pricing, see Pricing. For rate-limit guidance, see
Rate limits.
See the full API reference for the
complete OpenAPI schema.
What to do next
- Use values in a search — head to Company Search once you’ve picked a value.
- Enrich a company — use Company Enrich after you find a company.

