Skip to main content
POST
/
company-search
curl --request POST \
  --url https://api.tryhuntr.com/company-search \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "query": {
    "industry": {
      "include": [
        "Software Development"
      ]
    },
    "headcount": {
      ">": 50
    },
    "location": {
      "include": [
        "US"
      ]
    }
  },
  "pagination": {
    "size": 10
  }
}
'
{
  "success": true,
  "request_id": "req_1746123456_cs1x2y",
  "companies": [
    {
      "name": "Stripe",
      "linkedin_slug": "stripe",
      "linkedin_url": "https://www.linkedin.com/company/stripe/",
      "website": "https://stripe.com",
      "description": "Financial infrastructure for the internet.",
      "headquarters": "San Francisco, California, United States",
      "employee_count": 8000,
      "industry": "Software Development",
      "organization_type": "Privately Held",
      "specialities": [
        "Payments",
        "API"
      ]
    }
  ],
  "total": 845,
  "pagination": {
    "token": "eyJ...",
    "size": 1
  },
  "price": 0.0003,
  "credits_remaining": 4.9997
}

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
query
object
required

At least one filter required. Combine multiple filters — all must match (AND). See each field for match rules. Invalid industry or type values return HTTP 400 with accepted_values. Use POST /company-search-count to preview total for free.

pagination
object

One page per request (no auto-fetch). size: companies/people returned this call (default 100, max 200). token: copy from the previous response pagination.token to get the next page — keep the same query. Tokens expire; do not change the query between pages.

Response

Company search results.

success
boolean
request_id
string
companies
object[]

Matching companies.

total
integer

Total companies matching the query in the database (not the length of companies).

pagination
object

Upstream pagination cursor when more pages exist. Pass pagination.token back on the next request with the same query.

price
number

Cost in USD. $0.0003 × number of companies returned.

credits_remaining
number