本文へスキップ
Won.dev
ドキュメントAPIリファレンス
データエンリッチメントAPI

メールアドレスを検証

何も送らずに、アドレスがメールを受信できるかを確認します。判定ごとに課金。

メールを一切送らずに、メールアドレスがメールを受信できるかを確認します。verified(メールボックスが存在する)、risky(ドメインがどのアドレスも受け付けるため、このアドレスは確認できない)、invalid(送らないでください)、unknown のいずれかです。Webメールのアドレスかどうか、info@ のような共有メールボックスかどうかも示します。判定が出れば $0.003、unknown は無料です。ほかで入手したアドレスは、キャンペーンの前に確認してください。ほかのエンドポイントが返すメールアドレスは、すでに検証済みです。

  • 課金: email_verification $0.003:1つのアドレスに対する判定1回。verified、risky、invalid のいずれかです。
  • モード: proxy (各モードの意味)

テストキー(won_test_...)でこのリクエストを送ると、同じサンプル企業とサンプル人物が無料で返ります。

POST
/enrich/email/verify

認証

apiKey
headerAuthorizationBearer <APIキー>

Authorization: Bearer won_live_..., a key from the console.

ヘッダーパラメータ

Idempotency-Key?string

Any unique string. A retry with the same key and the same body returns the first response and is not charged again.

長さlength <= 255

リクエストボディ

application/json
  1. body
email*string

The address to check, such as jane@example.com.

長さlength <= 254
max_cost?number

Spending cap for this call in US dollars. If the call could cost more, it fails with budget_exceeded before anything is charged.

範囲0 < value
dry_run?boolean

If true, only return the maximum cost of this call. Nothing runs, nothing is charged.

デフォルトfalse

レスポンスボディ

The result. With dry_run, only the maximum cost.

application/json
  1. response
data*

The verdict on the address.

query*

The request as it was understood: country names as codes, the default dates filled in.

notice*|

A plain sentence when there is something to know about this result: why a part is missing, or what to try next. Null otherwise.

usage*

What this call was charged, and the balance left.

リクエストの例
curl -X POST 'https://api.won.dev/v1/enrich/email/verify' \  -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  }}

最終更新日