Before you start
Create an API key at app.companyenrich.com/access-keys. The SDK examples assume aclient created like this, with the key in the COMPANYENRICH_API_KEY environment variable:
YOUR_API_TOKEN with your key.
A semantic search costs 2 credits for every company returned. To check a description for free first, see Count the matches for free.
Describe the companies you want
Write what the companies do in plain language. You do not need industry codes or keyword lists.See what the API inferred from your query
By default, the API reads attributes such as location and size from your description. This query returns only companies in Turkey and ranks companies categorized as SaaS higher.interpretation.filter holds the filters that were applied, and interpretation.boost holds the attributes that only affect ranking. See How your query is interpreted.
Combine a description with filters
Add exact criteria infilter. This search finds dental software companies in the United States and Canada with 11 to 200 employees.
Turn off inference
SetautoFilter to false when you want the description used only for semantic matching. The results are then limited only by the filters you send.
Give semantic similarity more weight
weight takes a number from 0 to 1. Larger values make semantic similarity count more in the ranking.
Count the matches for free
The count endpoint takes the samesemantic and filter fields as a search and costs nothing. Its response also includes the interpretation, so you can check how a description is read before you pay for results.
count is the number of companies your plan can access. For a semantic query, total describes the pool of candidates the semantic search draws from.
Export a semantic search to CSV
An export runs the search in the background and stores the results as one file. It costs the same per company as the search itself.Find people at companies that match a description
Put the description incompany.semantic on a people search. This request finds executives at companies that build AI tools for hospitals. It costs 2 credits per person.
Related pages
Semantic Company Search API
Query interpretation, pricing, limits, and V1 mapping.
Company Search API filters
Every filter you can add to a semantic search.
Similar Companies API examples
Find companies like ones you already know.
Credits
What each search and expansion costs.