curl --request POST \
--url https://api.tryhuntr.com/person-search \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"semantic_query": "VPs of Sales at cybersecurity companies",
"filters": {
"locality": {
"include": [
"US"
]
}
},
"has_email": true,
"pagination": {
"size": 10
}
}'{
"success": true,
"request_id": "req_1746123456_ps1x2y",
"result": {
"people": [
{
"name": "Jane Doe",
"first_name": "Jane",
"last_name": "Doe",
"title": "Chief Executive Officer",
"linkedin_url": "https://linkedin.com/in/janedoe",
"has_email": true,
"has_phone": false,
"company_url": "https://example.com",
"company_name": "Example Corp",
"email_domain": "example.com",
"home_page_email": "info@example.com",
"city": "San Francisco",
"locality": "San Francisco Bay Area",
"country_code": "US"
}
]
},
"pagination": {
"size": 1,
"token": "opaque-next-page-token",
"has_more": true
},
"total": 842,
"price": 0.0003,
"credits_remaining": 4.9997
}Contact APIs
People Search
Search contacts with structured filters, semantic_query, or email/phone availability flags. Returns one paginated page of people without email or phone values.
POST
/
person-search
curl --request POST \
--url https://api.tryhuntr.com/person-search \
--header 'x-api-key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"semantic_query": "VPs of Sales at cybersecurity companies",
"filters": {
"locality": {
"include": [
"US"
]
}
},
"has_email": true,
"pagination": {
"size": 10
}
}'{
"success": true,
"request_id": "req_1746123456_ps1x2y",
"result": {
"people": [
{
"name": "Jane Doe",
"first_name": "Jane",
"last_name": "Doe",
"title": "Chief Executive Officer",
"linkedin_url": "https://linkedin.com/in/janedoe",
"has_email": true,
"has_phone": false,
"company_url": "https://example.com",
"company_name": "Example Corp",
"email_domain": "example.com",
"home_page_email": "info@example.com",
"city": "San Francisco",
"locality": "San Francisco Bay Area",
"country_code": "US"
}
]
},
"pagination": {
"size": 1,
"token": "opaque-next-page-token",
"has_more": true
},
"total": 842,
"price": 0.0003,
"credits_remaining": 4.9997
}Authorizations
Body
application/json
Choose one people 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.
Optional: add has_email and/or has_phone to return only contacts with available email or phone data.
Do not send query and semantic_query together.
Response
Person search results.