Job Search Autocomplete
Type-ahead value suggestions for a single /job/search field (e.g. title, category, company.name, location.country). Free.
Example code
// Using @orth/sdk - The simplest way to call APIs
// Install: npm install @orth/sdk
import Orthogonal from "@orth/sdk";
const orthogonal = new Orthogonal({
apiKey: process.env.ORTHOGONAL_API_KEY,
});
const output = await orthogonal.run({
api: "crustdata",
path: "/job/search/autocomplete",
body: {
"field": "example",
"query": "example"
}
});
console.log(output);Body parameters
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`,...
Partial text to match against the field's values. May be an empty string to return top values.
Maximum number of suggestions to return. Must be between 1 and 100. (default: 20)