Hunter.io Email Finder API
api.hunter.io · Company
Find professional email addresses — domain search returns all emails for a company, email finder guesses addresses from name + domain, email verifier checks deliverability. Free: 25 requests/month.
Authentication
API Key
Free API key at hunter.io. Pass as ?api_key= query parameter.
Sample Requests
GET
Domain search
Find email addresses associated with github.com.
https://api.hunter.io/v2/domain-search?limit=5&domain=github.com&api_key=YOUR_KEY
Hover any highlighted part to learn what it does
curl -X GET "https://api.hunter.io/v2/domain-search?limit=5&domain=github.com&api_key=YOUR_KEY"
import requests
params = {
"limit": "5",
"domain": "github.com",
"api_key": "YOUR_KEY"
}
response = requests.get(
"https://api.hunter.io/v2/domain-search",
params=params,
)
print(response.json())const url = new URL('https://api.hunter.io/v2/domain-search');
url.searchParams.set('limit', '5');
url.searchParams.set('domain', 'github.com');
url.searchParams.set('api_key', 'YOUR_KEY');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.hunter.io/v2/domain-search")
q := baseURL.Query()
q.Set("limit", "5")
q.Set("domain", "github.com")
q.Set("api_key", "YOUR_KEY")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.hunter.io/v2/domain-search")
uri.query = URI.encode_www_form({
"limit" => "5",
"domain" => "github.com",
"api_key" => "YOUR_KEY"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.hunter.io/v2/domain-search?" . http_build_query([
"limit" => "5",
"domain" => "github.com",
"api_key" => "YOUR_KEY"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));
GET
Email verifier
Verify if an email address is deliverable.
Hover any highlighted part to learn what it does
curl -X GET "https://api.hunter.io/v2/email-verifier?email=support%40github.com&api_key=YOUR_KEY"
import requests
params = {
"email": "[email protected]",
"api_key": "YOUR_KEY"
}
response = requests.get(
"https://api.hunter.io/v2/email-verifier",
params=params,
)
print(response.json())const url = new URL('https://api.hunter.io/v2/email-verifier');
url.searchParams.set('email', '[email protected]');
url.searchParams.set('api_key', 'YOUR_KEY');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.hunter.io/v2/email-verifier")
q := baseURL.Query()
q.Set("email", "[email protected]")
q.Set("api_key", "YOUR_KEY")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.hunter.io/v2/email-verifier")
uri.query = URI.encode_www_form({
"email" => "[email protected]",
"api_key" => "YOUR_KEY"
})
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.hunter.io/v2/email-verifier?" . http_build_query([
"email" => "[email protected]",
"api_key" => "YOUR_KEY"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- Get a free API key at hunter.io (25 req/month)
- Pass api_key=YOUR_KEY on every request
- Domain search: GET /domain-search?domain=stripe.com&api_key=KEY
- Email finder: GET /email-finder?domain=stripe.com&first_name=Patrick&last_name=Collison&api_key=KEY
- Verifier: GET /[email protected]&api_key=KEY