Use the Hunter CLI from KosmoKrator to call Hunter tools headlessly, return JSON, inspect schemas, and automate workflows from coding agents, scripts, and CI.
Hunter can be configured headlessly with `kosmokrator integrations:configure hunter`.
# Install KosmoKrator first if it is not available on PATH.curl -fsSL https://raw.githubusercontent.com/OpenCompanyApp/kosmokrator/main/install.sh | bash# Configure and verify this integration.kosmokrator integrations:configure hunter --set api_key="$HUNTER_API_KEY" --enable --read allow --write ask --jsonkosmokrator integrations:doctor hunter --jsonkosmokrator integrations:status --json
Credentials
Authentication type: API keyapi_key. Configure credentials once, then use the same stored profile from
scripts, coding CLIs, Lua code mode, and the MCP gateway.
Key
Env var
Type
Required
Label
api_key
HUNTER_API_KEY
Secret secret
yes
API Key
Call Hunter Headlessly
Use the generic call form when another coding CLI or script needs a stable universal interface.
Every function below can be called headlessly. The generic form is stable across all integrations;
the provider shortcut is shorter but specific to Hunter.
hunter.hunter_domain_search
Read read
Search for professional email addresses associated with a domain.
Returns email addresses found for the company, along with contact names,
positions, and social profiles. Supports filtering by email type (personal or generic).
Find the most likely professional email address for a person based on their
name and company domain. Returns the email with a confidence score and sources
where the email was found.
Verify the deliverability of an email address. Checks whether the email is valid,
the mailbox exists, and accepts mail. Returns a result status (deliverable, undeliverable,
risky, or unknown) along with confidence scores and SMTP details.
Get the total number of email addresses Hunter.io has found for a domain.
Returns counts broken down by email type (personal, generic) and department.
This endpoint does not consume API credits.
List leads stored in your Hunter.io account. Supports pagination with limit
and offset parameters. Returns lead details including email, name, and associated lists.
Retrieve detailed information about a single lead by its ID. Returns the lead's
email address, name, company, and any associated lists or custom fields.
Create a new lead in Hunter.io. Requires an email address. Optionally include
first name, last name, and a list ID to add the lead to a specific lead list.
Returns the created lead object with its ID.
Get information about the authenticated Hunter.io account, including the user's
name, email, plan details, and API usage (requests made and remaining).
Useful for verifying the API key works and checking usage limits.
Use these parameter tables when building CLI payloads without calling integrations:schema first.
hunter.hunter_domain_search
Search for professional email addresses associated with a domain.
Returns email addresses found for the company, along with contact names,
positions, and social profiles. Supports filtering by email type (personal or generic).
Maximum number of results to return (default: 10, max: 100).
offset
integer
no
Number of results to skip for pagination.
type
string
no
Filter by email type: "personal" or "generic".
hunter.hunter_email_finder
Find the most likely professional email address for a person based on their
name and company domain. Returns the email with a confidence score and sources
where the email was found.
Verify the deliverability of an email address. Checks whether the email is valid,
the mailbox exists, and accepts mail. Returns a result status (deliverable, undeliverable,
risky, or unknown) along with confidence scores and SMTP details.
Get the total number of email addresses Hunter.io has found for a domain.
Returns counts broken down by email type (personal, generic) and department.
This endpoint does not consume API credits.
The domain to count emails for (e.g., "example.com").
hunter.hunter_list_leads
List leads stored in your Hunter.io account. Supports pagination with limit
and offset parameters. Returns lead details including email, name, and associated lists.
Maximum number of leads to return (default: 20, max: 100).
offset
integer
no
Number of leads to skip for pagination.
hunter.hunter_get_lead
Retrieve detailed information about a single lead by its ID. Returns the lead's
email address, name, company, and any associated lists or custom fields.
Create a new lead in Hunter.io. Requires an email address. Optionally include
first name, last name, and a list ID to add the lead to a specific lead list.
Returns the created lead object with its ID.
Get information about the authenticated Hunter.io account, including the user's
name, email, plan details, and API usage (requests made and remaining).
Useful for verifying the API key works and checking usage limits.
Headless calls still follow the integration read/write permission policy. Configure read/write defaults
with integrations:configure. Add --force only for trusted automation that should bypass that policy.