Company Search Autocomplete
Get field value suggestions with document counts for company search filter fields (e.g. basic_info.industries, locations.country). Use to discover valid filter values before calling /company/search. 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: "/company/search/autocomplete",
body: {
"field": "example",
"query": "example"
}
});
console.log(output);Body parameters
The dataset API field name to get suggestions for. Valid fields include: basic_info.name, basic_info.primary_domain, basic_info.website, basic_info.professional_network_url, basic_info.professional_network_id, basic_info.company_type, basic_info.year_founded, basic_info.employee_count_range, basic_info.markets, basic_info.industries, revenue.estimated.lower_bound_usd, revenue.estimated.upper_bound_usd, revenue.acquisition_status, funding.total_investment_usd, funding.last_round_type, funding.last_fundraise_date, funding.investors, funding.tracxn_investors, headcount.latest_count, headcount.largest_headcount_country, locations.country, taxonomy.professional_network_industry, taxonomy.professional_network_specialities, taxonomy.categories, technographics.technologies.name, technographics.technologies.category, technographics.top_technologies, followers.latest_count, social_profiles.crunchbase.url, social_profiles.twitter_url, revenue.public_markets.stock_symbols, revenue.public_markets.fiscal_year_end. The dedicated field names technology (technology names) and technology_category (category slugs) are equivalent shorthands for the technographics paths.
The search query text (can be empty to get top values by frequency)
Maximum number of suggestions to return (default: 20)