Search Companies
Search the company database using OpenSearch DSL queries. Returns a list of company IDs that can be passed to the Fetch Company endpoint.
"query" with your OpenSearch DSL query and set the x-api-key header.
Search returns up to 1000 results per page. Pagination works the same as the Search Profiles endpoint.
Partner teams
Partners can execute a request in the context of a child team by passing the child team’s ID in thex-authenticate-team header:
- With the header — the search runs in the context of the child team.
- Without the header — the search runs in the context of the team that owns the API key (default).
child_team_id is returned when you create a child team.
Authorizations
Headers
Partner accounts only. When present, the request is executed in the context of the specified child team (use the team_id returned by Create Team). When omitted, the request runs as the team that owns the API key.
Body
Search query in the ElasticSearch Query DSL format. Find mapping here
Limit the number of results. If you want to use stable_pagination this parameter must be set to 1000
0 <= x <= 1000Pagination token received in the previous response
When set to true, ensures that pagination results remain consistent, even if the underlying data changes during retrieval. This is useful for retrieving large result sets reliably across multiple requests

