Skip to main content
POST
https://api.crustdata.com
/
job
/
search
/
autocomplete
curl --request POST \ --url https://api.crustdata.com/job/search/autocomplete \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --header 'x-api-version: <x-api-version>' \ --data ' { "field": "title", "query": "Software", "limit": 50 } '
{ "suggestions": [ { "value": "Software Engineer" }, { "value": "Software Engineering Manager" }, { "value": "Software Engineer II - Data Engineer" }, { "value": "Software Engineer in Test" } ] }

Authorizations

Authorization
string
header
required

API key passed as a Bearer token in the Authorization header.

Headers

x-api-version
enum<string>
default:2025-11-01
required

API version to use. This endpoint currently requires 2025-11-01.

Available options:
2025-11-01
Example:

"2025-11-01"

Body

application/json

The field to autocomplete, the partial query to match, and an optional result limit.

Request body for autocompleting the values of a single /job/search field.

field
string
required

The /job/search field whose values to autocomplete. Accepts the same names used in /job/search filters, plus their short aliases.

Common values: title, category, company.name, company.industries, location.country, location.city, location.state.

Full set of supported fields: category, city, company.basic_info.industries, company.basic_info.name, company.basic_info.primary_domain, company.funding.investors, company.funding.last_round_type, company.headcount.largest_country, company.headcount.range, company.industries, company.locations.city, company.locations.country, company.locations.state, company.name, company.revenue.acquisition_status, company.revenue.public_markets.fiscal_year_end, company.revenue.public_markets.stock_symbols, continent, country, country_code, district, fiscal_year_end, job_category, job_details.category, job_details.title, job_details.workplace_type, job_title, location, location.city, location.country, location.district, location.raw, location.state, locations.city, locations.country, locations.district, locations.location, locations.state, state, title, workplace_type.

Example:

"title"

query
string
required

Partial text to match against the field's values. May be an empty string to return top values.

Example:

"Software"

limit
integer
default:20

Maximum number of suggestions to return. Must be between 1 and 100.

Required range: 1 <= x <= 100
Example:

50

Response

Matching suggestions for the requested field and query.

Autocomplete suggestions for the requested field and query.

suggestions
object[]
required

Matching values for the requested field, ordered by relevance. Empty when nothing matches.

Example:
[
  { "value": "Software Engineer" },
  { "value": "Software Engineering Manager" }
]