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 search 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, or when paginating with a resolved_query.

Do not send query and semantic_query together.

semantic_query
string

Natural-language description of the companies to find. Mutually exclusive with query. The response includes resolved_query for deterministic pagination.

Maximum string length: 8000
filters
any
query
object

At least one filter required. Supported filters: home_page_text, bio_li, services, industry, number_of_employees, revenue, country_code, city, company_name, company_url. Exact lookup filters return 422 when values are not accepted.

pagination
object

Configurable page size. pagination.size min 1, default 10, max 100. Send pagination.size on the first request and with pagination.token on later pages. Keep the same query between pages.

Response

Company search results.

success
boolean
required
request_id
string
required
result
object
required
pagination
object
required
total
number
required

Total matching records for the submitted query. This can be larger than the number returned in this page.

price
number
required

Plan-specific amount multiplied by companies returned.

credits_remaining
number
required