Skip to main content
POST
Availability: Agency plan, on https://app.gethuntd.com. Other plans receive 403 ENDPOINT_NOT_ON_PLAN. Each address counts against each source’s allowance for its 30-day term. Contact Huntd to set up your plan and sources.
Check whether a person uses up to 20 tools, from their email address. Use this endpoint for tools that answer per person, such as Gong. To ask whether a company uses a tool such as Okta or Duo, use Submit Company Check instead.

Overview

You can check one email address, or a list of up to 100, against up to 20 tools. In this API a tool is called a source (or function). Each source has a slug, a short ID such as gong or extend. List Functions shows the slugs your key can use. The check runs in the background. Each address becomes a job that you poll:
  1. Submit an email (or a list of emails) and a list of sources.
  2. Get back a job_id per email and a poll_after time right away (202 Accepted).
  3. Once poll_after has passed, poll Get Email Check Result until status is completed.
  4. Read sources[slug].is_user: true, false, or null.
The response is always 202 with a job. When every answer is ready at once, status is completed and poll_after is null. Your client only needs one code path.
Some sources check a company, not a person: Okta, Duo or Twilio answer for acme.com, not for an address. Send those to Submit Company Check (POST /verify/company) with a domain. Sent here, they return 400 SOURCE_NEEDS_DOMAIN.

Timing

  • Checks only run Monday to Friday, 09:00 to 18:00 in your account’s timezone. A job submitted on Friday evening starts on Monday morning, and its poll_after says so.
  • A check takes minutes, not seconds.
  • poll_after can be days away. In production, save job_id and poll_after. Check back from a scheduled job instead of keeping a process asleep.

Checking a List

Send emails instead of email to check up to 100 addresses in one request. Send one or the other, never both. jobs lists the checked addresses first, in the order you sent them, then the rejected entries.

Which Sources You Can Check

A source slug is accepted only when all of these are true. Each failure has its own error: Access is checked first, so you never learn about sources you haven’t bought. The sources you have access to are listed in the Huntd dashboard.

Limits

  • The per-source limit is all-or-nothing. If any source in the request is over its limit, the whole request is refused and nothing is used up.
  • Each function’s allowance runs for a 30-day term from when it was switched on for you. A function without a term counts from the start of the UTC calendar month instead. Ask your account manager to change the allowance or renew a term. List Functions shows each function’s cap, what’s left and when its term ends.
  • RATE_LIMITED and RATE_LIMIT_EXCEEDED carry Retry-After (seconds). QUOTA_EXCEEDED doesn’t, because it lasts until the term ends or the allowance is raised.

Errors

400 INVALID_PARAMETER is returned when:
  • email is missing or malformed.
  • Both email and emails are sent.
  • domain or domains is sent, alone or mixed with email/emails. The message names the fields and asks you to send only one of them.
  • emails is empty, has over 100 entries, or has no valid address.
  • sources is empty, not an array, has over 20 entries, or contains a non-string.
A request that returns an error created no job and used none of your allowance, so it’s always safe to retry. In a 202 list reply, only the entries with a job_id were charged.

Authorizations

X-API-Key
string
header
required

API key in format: hntd_{id}_{secret}. Create one in Settings → API & webhooks. Authorization: Bearer is also accepted.

Body

application/json

Send email for one address, or emails for a list of up to 100. Send exactly one of the two.

email
string<email>
required

One address to check. Lowercased and trimmed for you. Send this or emails, not both.

Maximum string length: 320
Example:

"dana@acme.com"

sources
string[]
required

Source slugs to check the address against (1 to 20). A source is a product such as gong or extend. Duplicates are ignored.

Required array length: 1 - 20 elements
Example:
emails
string[]

A list of up to 100 addresses, each checked as its own job. Lowercased and trimmed for you; repeats are checked once. An entry that isn't a valid address is listed back as rejected and not charged. The whole list counts as one request toward the per-minute limit, and every valid address counts toward each source's checks. Send this or email, not both.

Required array length: 1 - 100 elements
Example:

Response

Accepted. Always 202. One job for email; a jobs list for emails.

success
enum<boolean>
Available options:
true
job_id
string<uuid>

Pass to Get Email Check Result. Opaque: don't parse it.

Example:

"8f4c2a90-6c1e-4b58-9a2f-1d3e5b7c9011"

email
string

The address as it will be checked, after lowercasing and trimming.

Example:

"dana@acme.com"

sources
string[]

The sources this job covers, duplicates removed.

Example:
status
enum<string>

queued if at least one source still needs checking; completed if every answer is ready.

Available options:
queued,
completed
poll_after
string<date-time> | null

Earliest moment work can start (UTC). Don't poll before it. null when every answer is ready.