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

人を探す

ある企業の在籍者、または役職、国、業種で企業を横断して人を探します。連絡先は含みません。返った人数ごとに課金。

Webサイトか貿易データAPIの企業の company_id で企業を指定してその在籍者を返すか、条件に合う人を企業を横断して返します。titles、seniority、department で探し、企業の所在国(company_country)、本人の所在地(location)、企業の業種(industry)、with_email で絞り込みます。氏名、役職、職位、部門、勤務先、LinkedInプロフィールを返し、連絡先は含みません。返った人物1人ごとに $0.005。0件なら無料です。企業を指定するか、titles、seniority、department のいずれかが必要で、ほかの条件は絞り込みにだけ使います。企業を指定した場合は、その自社ドメインで登録された人だけを返すので、似た名前の別の企業の社員が混ざることはありません。そのドメインに誰も登録されていなければ、かわりにその企業のLinkedInページに現在の社員として載っている人を1ページ分返します。ただし company_country、location、industry、with_email で絞り込んでいる場合はそうしません。各人物の id はあなたのアカウントのために保持されます。次のステップ:それを person_id として、仕事用メールアドレスなら POST /enrich/people/email/find、電話番号なら POST /enrich/people/phone/find、プロフィールとあわせて両方なら POST /enrich/people/find に渡します。検証済みのメールアドレスつきの人を1回で取得するには、GET /trade/companies/{id}/contacts を使ってください。

  • 課金: person_record $0.005:企業の在籍者リストに含まれる1人。連絡先は含みません。
  • モード: waterfall (各モードの意味)

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

POST
/enrich/people/search

認証

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

The company's website, such as example.com.

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

Job title words, such as buyer or purchasing manager: someone whose title has any of them. Up to 10.

要素items <= 10
デフォルト[]
seniority?array<>

Only people of these levels: owner, c_level, executive (VP, director, head), manager, senior (a senior individual role, such as Senior Buyer), staff (any other role). Default: any level.

要素items <= 6
デフォルト[]
department?array<>

Only people in these departments: purchasing, sales, management, operations, marketing, finance, engineering, quality, it, hr, legal. Default: any department.

要素items <= 11
デフォルト[]
company_country?array<>

Only people at companies headquartered in these countries: ISO codes such as US, or English names. Up to 10.

要素1 <= items <= 10
location?array<>

Only people who are in one of these places, as their profile writes it: a city, a region or a country, such as Vietnam or Bavaria. Up to 5.

要素1 <= items <= 5
industry?array<>

Industries, in your words or by name: furniture stands for every industry with that word (its makers, wholesalers and retailers), a full name such as Furniture and Home Furnishings Manufacturing for that one alone. Names are LinkedIn's. Up to 5; query.industry says which names were searched.

要素1 <= items <= 5
with_email?boolean

Only people a source has an email on record for, so that POST /enrich/people/email/find is more likely to find one. Same price.

デフォルトfalse
company_linkedin_url?string

The company's LinkedIn page, such as https://www.linkedin.com/company/acme, when you know it. It is used when nobody is filed under the website, or when no website is on record for company_id.

長さlength <= 300
limit?integer

How many people to return, 1 to 100. You pay for the people returned.

範囲1 <= value <= 100
デフォルト10
cursor?string

To get the next page, pass next_cursor of the previous response back unchanged, with the same parameters.

長さlength <= 200
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*array<>

The people of this page.

total*|

How many people the source lists for the company, the title words and the other filters, before the filters by level and department. Null when not known.

has_more*boolean

Whether more people follow this page.

next_cursor*|

Pass it as cursor to get the next page. Null on the last page.

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/search' \  -H 'Content-Type: application/json' \  -d '{  "domain": "northfield-home.example",  "department": [    "purchasing"  ],  "limit": 2}'
レスポンスの例
{  "data": [    {      "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"    },    {      "id": "per_7a0c3e6g9j2m",      "name": "Alex Morgan",      "first_name": "Alex",      "last_name": "Morgan",      "title": "Purchasing Manager",      "seniority": "manager",      "department": "purchasing",      "company": "SAMPLE Northfield Home Furnishings",      "company_domain": "northfield-home.example",      "linkedin_url": "https://www.linkedin.com/in/sample-alex-morgan",      "location": "Charlotte, North Carolina, United States"    }  ],  "total": 37,  "has_more": true,  "next_cursor": "cur_Zx81kQp4b2JtMW0uMXJ6ZzQ",  "query": {    "domain": "northfield-home.example",    "department": [      "purchasing"    ],    "limit": 2  },  "notice": null,  "usage": {    "unit": "person_record",    "records": 2,    "already_paid": 0,    "cost": 0.01,    "balance": 48.99,    "replayed": false  }}

最終更新日