v2

latestOpenAPI 3.1.02026-07-262653151.5 KB
companies

Search for companies ids

Search for companies ids using the ElasticSearch Query DSL format

post/companies/search

Request body

queryobject required

Search query in the ElasticSearch Query DSL format. Find mapping here

limitinteger

Limit the number of results. If you want to use stable_pagination this parameter must be set to 1000

paginationTokenstring

Pagination token received in the previous response

stable_paginationboolean

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

Example request

{
  "query": {
    "match": {
      "company_info.industry": {
        "query": "Financial Services"
      }
    }
  }
}

Response

A list of profile ids matching provided query

idsstring[] required

List of company ids

totalCountinteger required

Total number of profiles matching the query

paginationTokenstring

Pagination token for the next request