Skip to main content
POST

Authorizations

x-api-key
string
header
required

Your Huntr API key. Get one at tryhuntr.com. Pass as x-api-key header on all authenticated requests.

Body

application/json

Choose one company count input:

  • Natural-language mode: send semantic_query. Add filters only with semantic_query when you need hard constraints.
  • Structured-filter mode: send query when you already have exact filters.

Do not send query and semantic_query together. Count endpoints do not accept pagination.

semantic_query
string

Natural-language description of companies to count. Mutually exclusive with query.

filters
any
query
any

Response

Company count returned.

success
boolean
required
request_id
string
required
total
number
required

Total matching companies for the submitted query.

price
number
required

Always 0 for count endpoints.

credits_remaining
number
required