跳到正文
Won.dev
海关数据 API

找公司联系人

找出公司里该联系的人,每人附带验证过的工作邮箱。按找到的联系人计费。

GET https://api.won.dev/v1/trade/companies/{id}/contacts

找出一家公司里该联系的人,每人都附带公司自有域名下、已通过验证的工作邮箱。每返回一位联系人收取 $0.03,找不到免费。数据源按固定顺序依次尝试,价格低的优先,凑够 limit 位即停止,约 20 秒内返回。不加筛选时,优先查找采购和管理层,也就是卖家最想联系的人;如果要联系供应商,请传 department=sales。resolution.exhausted 为 true 时,再查也不会有新结果。查找联系人需要知道公司官网:官网未知且无法确认时返回空列表,并在 notice 中说明;如果你知道官网,可以通过 domain 传入,或者用 GET /trade/companies/{id}?include=channels 获取公司的公共邮箱。

  • 计费: person_email $0.03:一位联系人,附带公司自有域名下、已通过验证的工作邮箱。
  • 数据模式: waterfall (各模式的含义)

参数

id 放在路径中,其余参数放在查询字符串里,多个值用英文逗号分隔。

参数类型必填说明(API 原文)
idstring是Company ID, such as co_8f3k2m9x4p1q. Search results carry it; GET /trade/companies/lookup?q= finds it by name.
seniority(owner | c_level | executive | manager | senior | staff)[]否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.
department(purchasing | sales | management | operations | marketing | finance | engineering | quality | it | hr | legal)[]否Only people in these departments. Default: purchasing and management first, which is whom a seller approaches. To reach a supplier, ask for sales.
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.
domainstring否The company's website, such as example.com, when you know it and we do not. Contacts are only returned with an email on this domain.
limitinteger否How many contacts to return, 1 to 25. You pay for the contacts returned. Default: 5.
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 原文)
dataobject[]The best people to approach first.
data[].idstringPerson ID, such as per_4m7q2x9k1c8d. Kept for your account for 90 days after it was last returned, with the email: pass it as contact_id to add the person to a campaign.
data[].namestring | nullFull name.
data[].titlestring | nullJob title.
data[].seniorityowner | c_level | executive | manager | senior | staff | nullLevel, read from the title.
data[].departmentpurchasing | sales | management | operations | marketing | finance | engineering | quality | it | hr | legal | nullDepartment, read from the title.
data[].emailstringWork email on the company's own domain.
data[].email_statusverified | riskyverified: the mailbox exists. risky: the domain accepts every address, so the mailbox cannot be confirmed.
data[].linkedin_urlstring | nullThe person's LinkedIn profile, when known.
data[].other_emailstring | nullAnother email address listed for the person. Often on the company's domain too, but it can be a private address, and it is not verified.
data[].phonesstring[]Phone numbers listed for the person: a direct line, a mobile or the company's switchboard. Not verified.
queryobjectThe request as it was understood, with the website that was searched and how the contacts were found.
query.domainstring | nullThe website the contacts were looked for on: domain when it was given, otherwise the company's own. Null when none is known.
query.resolutionobjectHow the result was found.
query.resolution.modewaterfall
query.resolution.steps_triedintegerHow many sources were tried, in order, cheapest first.
query.resolution.exhaustedbooleanTrue when every source was tried: asking again will not find more. False when the search stopped early (enough was found, a source did not answer, or time ran out), so asking again can find more.
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.unittrade_record | trade_company | trade_company_profile | trade_lookup | person_email | company_channels | trade_stats | trade_official_statsWhat 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/trade/companies/co_8f3k2m9x4p1q/contacts?department=purchasing&limit=1" \
  -H "Authorization: Bearer $WON_API_KEY"
{
  "data": [
    {
      "id": "per_4m7q2x9k1c8d",
      "name": "Jordan Lee",
      "title": "Director of Global Sourcing",
      "seniority": "executive",
      "department": "purchasing",
      "email_status": "verified",
      "linkedin_url": "https://www.linkedin.com/in/sample-jordan-lee",
      "email": "jordan.lee@northfield-home.example"
    }
  ],
  "query": {
    "id": "co_8f3k2m9x4p1q",
    "department": [
      "purchasing"
    ],
    "domain": "northfield-home.example",
    "min_email_status": "verified",
    "limit": 1,
    "resolution": {
      "mode": "waterfall",
      "steps_tried": 3,
      "exhausted": false
    }
  },
  "notice": null,
  "usage": {
    "unit": "person_email",
    "records": 1,
    "already_paid": 0,
    "cost": 0.03,
    "balance": 48.05,
    "replayed": false
  }
}

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

本页内容