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

人物情報を補う

メールアドレス、LinkedInプロフィール、または企業名と氏名から人物のプロフィールを取得します。必要に応じて仕事用メールアドレスと電話番号も。

わかっている情報から人物のプロフィールを補います。メールアドレス、LinkedInプロフィール、氏名と勤務先のWebサイト、またはほかの呼び出しが返した person_id です。プロフィールには、フルネーム、現在の役職と勤務先、所在地、LinkedInプロフィールが含まれるので、メールアドレスや名前だけからLinkedInのリンクがわかります。プロフィールが見つかれば $0.02、見つからなければ無料です。include で同じ呼び出しに次のものを加えられ、それぞれ見つかったときだけ課金されます。email:勤務先のドメインでの検証済みの仕事用メールアドレス($0.03)、phone:電話番号、多くは携帯電話($0.10)。名前で調べた場合、別の企業の同名の人は返りません。メールアドレスや電話番号だけが必要なら、プロフィールを取得しない POST /enrich/people/email/find と POST /enrich/people/phone/find を使ってください。

  • 課金: person_profile $0.02:見つかった個人プロフィール1件。person_email $0.03:雇用主のドメインで見つかった仕事用メールアドレス1件。返す前に確認済みです。person_phone $0.10:見つかった電話番号1件。番号計画のチェックを通ったものです。
  • モード: merge (各モードの意味)

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

POST
/enrich/people/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
email?string

The person's email address, such as jane@example.com.

長さlength <= 254
linkedin_url?string

The person's LinkedIn profile, such as https://www.linkedin.com/in/jane-doe.

長さlength <= 300
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, with first_name and last_name.

長さ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
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
include?array<>

Parts to add: email, phone. Each is billed by its own unit.

要素items <= 2
デフォルト[]
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 person, with the parts asked for in include.

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/people/find' \  -H 'Content-Type: application/json' \  -d '{  "linkedin_url": "https://www.linkedin.com/in/sample-jordan-lee",  "include": [    "email",    "phone"  ]}'
レスポンスの例
{  "data": {    "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"    },    "email": {      "email": "jordan.lee@northfield-home.example",      "status": "verified"    },    "phone": {      "number": "+17045550142",      "type": "mobile",      "country": "US",      "whatsapp_url": "https://wa.me/17045550142"    }  },  "query": {    "linkedin_url": "https://www.linkedin.com/in/sample-jordan-lee",    "include": [      "email",      "phone"    ],    "min_email_status": "verified"  },  "notice": null,  "usage": {    "cost": 0.15,    "breakdown": [      {        "unit": "person_profile",        "records": 1,        "already_paid": 0,        "cost": 0.02      },      {        "unit": "person_email",        "records": 1,        "already_paid": 0,        "cost": 0.03      },      {        "unit": "person_phone",        "records": 1,        "already_paid": 0,        "cost": 0.1      }    ],    "balance": 48.85,    "replayed": false  }}

最終更新日