Tech tool integration
Submit Email Check
Check whether one email address, or a list of up to 100, is a user of up to 20 products
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.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 asgong
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:
- Submit an email (or a list of emails) and a list of sources.
- Get back a
job_idper email and apoll_aftertime right away (202 Accepted). - Once
poll_afterhas passed, poll Get Email Check Result untilstatusiscompleted. - Read
sources[slug].is_user:true,false, ornull.
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.
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_aftersays so. - A check takes minutes, not seconds.
poll_aftercan be days away. In production, savejob_idandpoll_after. Check back from a scheduled job instead of keeping a process asleep.
Checking a List
Sendemails 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_LIMITEDandRATE_LIMIT_EXCEEDEDcarryRetry-After(seconds).QUOTA_EXCEEDEDdoesn’t, because it lasts until the term ends or the allowance is raised.
Errors
400 INVALID_PARAMETER is returned when:
emailis missing or malformed.- Both
emailandemailsare sent. domainordomainsis sent, alone or mixed withemail/emails. The message names the fields and asks you to send only one of them.emailsis empty, has over 100 entries, or has no valid address.sourcesis empty, not an array, has over 20 entries, or contains a non-string.
202 list reply, only the entries with a job_id were charged.Authorizations
Body
application/json
- Option 1
- Option 2
Send email for one address, or emails for a list of up to 100. Send exactly one of the two.
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 elementsExample:
Response
Accepted. Always 202. One job for email; a jobs list for emails.
- Option 1
- Option 2