跳到正文
Won.dev
数据补全 API

找工作邮箱

查找某人在雇主域名下的工作邮箱,返回前先验证。找到才计费。

POST https://api.won.dev/v1/enrich/people/email/find

根据“姓名 + 雇主网站”、LinkedIn 主页,或者其他调用(如找人)返回的 person_id,查找某人在雇主自有域名下的工作邮箱。找到的邮箱会与该 ID 一起保留,之后可以直接用这个 ID 把此人加入发送活动。每个邮箱返回前都会验证。找到时收取 $0.03,找不到免费。数据源按固定顺序依次尝试,价格低的优先,直到某个数据源给出该域名下的地址,约 30 秒内返回。LinkedIn 主页会先解析成姓名和当前雇主,因此不会返回前雇主的邮箱,也不会返回 info@ 这类公共邮箱。默认只返回 verified 的邮箱;设置 min_email_status: "risky" 时,还会返回 catch-all 域名(接收所有地址的域名)下的邮箱。如需检查你已有的邮箱,请用 POST /enrich/email/verify。

  • 计费: person_email $0.03:在雇主域名下找到的一个工作邮箱,返回前已验证。
  • 数据模式: waterfall (各模式的含义)

参数

参数放在 JSON 请求体里。POST 请求还支持 Idempotency-Key 请求头,见幂等。

参数类型必填说明(API 原文)
first_namestring否First name, with last_name and domain.
last_namestring否Last name, with first_name and domain.
domainstring否The website of the person's employer, such as example.com. Only an address on this domain is returned.
company_idstring否A company ID from the trade data API, such as co_8f3k2m9x4p1q, instead of domain: the company's website on record is used.
linkedin_urlstring否The person's LinkedIn profile, instead of the name and the website, or with them.
person_idstring否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.
min_email_statusverified | risky否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. Default: verified.
max_costnumber否Spending cap for this call in US dollars. If the call could cost more, it fails with budget_exceeded before anything is charged.
dry_runboolean否If true, only return the maximum cost of this call. Nothing runs, nothing is charged. Default: false.

响应

传入 dry_run: true 时不执行查询,data 中只返回本次调用的最高费用,见预估费用。错误说明见错误码。

字段类型说明(API 原文)
dataobjectThe email, and who it is for.
data.emailobject | nullThe work email. Null when none was found.
data.email.emailstringWork email on the employer's own domain.
data.email.statusverified | riskyverified: the mailbox exists. risky: the domain accepts every address, so the mailbox cannot be confirmed.
data.personobject | nullWho the email is for. From a LinkedIn profile, the profile it was read from. Null when the profile was not found.
data.person.idstringPerson ID, such as per_4m7q2x9k1c8d. It is kept for your account for 90 days after it was last returned: pass it as person_id to find the person's email or phone, or as contact_id to add them to a campaign. The same person can come back under another ID from another endpoint; each one works. To match people across calls, compare linkedin_url.
data.person.namestring | nullFull name.
data.person.first_namestring | null
data.person.last_namestring | null
data.person.titlestring | nullCurrent job title.
data.person.seniorityowner | c_level | executive | manager | senior | staff | nullLevel, read from the title.
data.person.departmentpurchasing | sales | management | operations | marketing | finance | engineering | quality | it | hr | legal | nullDepartment, read from the title.
data.person.companystring | nullCurrent employer.
data.person.company_domainstring | nullThe employer's website, such as example.com.
data.person.linkedin_urlstring | nullThe person's LinkedIn profile.
data.person.locationstring | nullWhere the person is, as their profile says.
queryobjectThe request as it was understood, with the website that was searched.
query.domainstring | nullThe website the email was looked for on: domain when it was given, otherwise the one of the person's profile. Null when none is known.
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.

示例

curl https://api.won.dev/v1/enrich/people/email/find \
  -H "Authorization: Bearer $WON_API_KEY" \
  -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
  }
}

用测试 key(won_test_...)发送这个请求,会返回同一家样例公司和同一批样例人员,不收费。

本页内容