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

仕事用メールアドレスを探す

勤務先のドメインでの仕事用メールアドレスを探し、返す前に検証します。見つかったときだけ課金。

氏名と勤務先のWebサイト、LinkedInプロフィール、または人の検索などほかの呼び出しが返した person_id から、勤務先の自社ドメインでの仕事用メールアドレスを探します。見つかったメールアドレスはそのIDとともに保持されるので、以後はIDでその人をキャンペーンに追加できます。どのアドレスも返す前に検証します。見つかれば $0.03、見つからなければ無料です。データ提供元は決まった順に、安いものから試し、そのドメインのアドレスが見つかるまで続けます。約30秒以内に応答します。LinkedInプロフィールはまず氏名と現在の勤務先に変換されるため、前の勤務先のアドレスや、info@ のような共有メールボックスが返ることはありません。デフォルトでは verified のメールボックスだけを返します。min_email_status: "risky" を指定すると、どのアドレスも受け付けるドメインのアドレスも返ります。手元のアドレスを確認するには POST /enrich/email/verify を使ってください。

  • 課金: person_email $0.03:雇用主のドメインで見つかった仕事用メールアドレス1件。返す前に確認済みです。
  • モード: waterfall (各モードの意味)

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

POST
/enrich/people/email/find

認証

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
first_name?string

First name, with last_name and domain.

長さlength <= 80
last_name?string

Last name, with first_name and domain.

長さlength <= 80
domain?string

The website of the person's employer, such as example.com. Only an address on this domain is returned.

長さlength <= 253
company_id?string

A company ID from the trade data API, such as co_8f3k2m9x4p1q, instead of domain: the company's website on record is used.

長さlength <= 40
linkedin_url?string

The person's LinkedIn profile, instead of the name and the website, or with them.

長さlength <= 300
person_id?string

A person ID this account was given in the last 90 days, such as per_4m7q2x9k1c8d, instead of naming the person: their name, employer website and LinkedIn profile on file are used. What you pass besides it wins.

長さlength <= 40
min_email_status?string

verified (default) returns only mailboxes that were confirmed to exist. risky also returns addresses on domains that accept every address, which cannot be confirmed. Same price.

デフォルト"verified"
取りうる値"verified""risky"
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 email, and who it is for.

query*

The request as it was understood, with the website that was searched.

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/people/email/find' \  -H 'Content-Type: application/json' \  -d '{  "first_name": "Jordan",  "last_name": "Lee",  "domain": "northfield-home.example"}'
レスポンスの例
{  "data": {    "email": {      "email": "jordan.lee@northfield-home.example",      "status": "verified"    },    "person": {      "id": "per_4m7q2x9k1c8d",      "name": "Jordan Lee",      "first_name": "Jordan",      "last_name": "Lee",      "title": "Director of Global Sourcing",      "seniority": "executive",      "department": "purchasing",      "company": "SAMPLE Northfield Home Furnishings",      "company_domain": "northfield-home.example",      "linkedin_url": "https://www.linkedin.com/in/sample-jordan-lee",      "location": "Charlotte, North Carolina, United States"    }  },  "query": {    "first_name": "Jordan",    "last_name": "Lee",    "domain": "northfield-home.example",    "min_email_status": "verified"  },  "notice": null,  "usage": {    "unit": "person_email",    "records": 1,    "already_paid": 0,    "cost": 0.03,    "balance": 48.97,    "replayed": false  }}

最終更新日