Skip to Content
Won.dev

Verify an email address

Whether an address can receive mail, without sending anything. Billed per verdict.

POST https://api.won.dev/v1/enrich/email/verify

Checks whether an email address can receive mail, without sending anything to it: verified (the mailbox exists), risky (the domain accepts every address, so this one cannot be confirmed), invalid (do not send) or unknown. Also says whether it is a webmail address and whether it is a shared mailbox such as info@. Costs $0.003 for a verdict; unknown is free. Check addresses you got elsewhere before a campaign: the emails the other endpoints return are already checked.

  • Billing: email_verification $0.003: One verdict on an address: verified, risky or invalid.
  • Mode: proxy (what the modes mean)

Parameters

Parameters go in the JSON body. POST requests also take an Idempotency-Key header, see Idempotency.

ParameterTypeRequiredDescription
emailstringyesThe address to check, such as jane@example.com.
max_costnumbernoSpending cap for this call in US dollars. If the call could cost more, it fails with budget_exceeded before anything is charged.
dry_runbooleannoIf true, only return the maximum cost of this call. Nothing runs, nothing is charged. Default: false.

Response

With dry_run: true nothing runs and data holds only the most the call can cost, see Dry runs. Errors are described in Errors.

FieldTypeDescription
dataobjectThe verdict on the address.
data.emailstringThe address, in lower case.
data.statusverified | risky | invalid | unknownverified: the mailbox exists. risky: the domain accepts every address, so this one cannot be confirmed. invalid: the mailbox does not exist; do not send. unknown: the mail server gave no answer; nothing is charged.
data.webmailbooleanThe address is at a webmail provider such as gmail.com, not at a company.
data.shared_mailboxbooleanThe address is a team's, such as info@ or sales@, not one person's.
queryobjectThe request as it was understood: country names as codes, the default dates filled in.
noticestring | nullA plain sentence when there is something to know about this result: why a part is missing, or what to try next. Null otherwise.
usageobjectWhat this call was charged, and the balance left.
usage.unitperson_record | person_profile | person_email | person_phone | email_verification | company_listing | company_record | company_channels | company_technologies | company_funding | company_news | company_lookalikes | job_postingWhat is counted.
usage.recordsintegerHow many were returned and charged.
usage.already_paidintegerHow many more were returned for free, because this organization paid for them in the last 30 days.
usage.costnumberWhat this call cost, in US dollars.
usage.balancenumberThe balance left after this call, in US dollars.
usage.replayedbooleanTrue when this is a repeat of a request from the last 24 hours. Repeats are free.

Example

curl https://api.won.dev/v1/enrich/email/verify \
  -H "Authorization: Bearer $WON_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "email": "jordan.lee@northfield-home.example"
}'
{
  "data": {
    "email": "jordan.lee@northfield-home.example",
    "status": "verified",
    "webmail": false,
    "shared_mailbox": false
  },
  "query": {
    "email": "jordan.lee@northfield-home.example"
  },
  "notice": null,
  "usage": {
    "unit": "email_verification",
    "records": 1,
    "already_paid": 0,
    "cost": 0.003,
    "balance": 48.997,
    "replayed": false
  }
}

A test key (won_test_...) answers this request with the same sample company and people, free of charge.

On this page