Skip to main content
Use this when you need to discover valid filter values before building a Company Search query — for example, finding the exact industry label or country code the API expects. The Company Autocomplete API helps you discover the exact field values the indexed Company Search API expects. Use it before you build filters for industries, geographies, company types, funding stages, and more. Every request goes to the same endpoint:
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.
Use the returned 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.
Use basic_info.name to surface company names matching a partial string.
Use an empty string for 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.
Suggestions are ranked by frequency, so you can quickly see the most common values in the dataset.
Autocomplete can scope results to a subset of companies. The filters field accepts either:
  • a single condition with field, type, and value
  • a logical group with op and conditions
This example returns industry suggestions only for US-based companies.
Use indexed values in filters. Run autocomplete on a field first if you are not sure of the exact value the dataset uses.
You can also use nested 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.
For the full list of supported operators, see Supported filter operators.
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.

Step 1: Discover valid industry values

Extract: Take 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

Extract: Take 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

Extract: Each item in the top-level array corresponds to one input ID. Access the profile via 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.
revenue.public_markets.fiscal_year_end is a closed-enum static field — an empty query returns the twelve months (JanuaryDecember) in chronological order without any backend lookup. Use it to populate a static fiscal-year-end dropdown without an extra round-trip.

Supported filter operators

=, !=, <, =<, >, =>, in, not_in, contains.
The operators >= and <= are not supported. Use => and =< instead.

Common errors and edge cases

If no values match your query, the API returns an empty array:
If you send an unsupported field name, the API returns a 400 with the list of valid fields:
If that happens, double-check the field path against the supported list and use a field that is available in the indexed Company Search schema.

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.