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

搜索公司

按行业、总部所在国、员工规模和技术栈筛选公司,附带官网。按返回的公司数计费。

POST https://api.won.dev/v1/enrich/companies/search

按画像筛选公司:所属行业、总部所在地、员工人数,以及官网使用的软件。返回每家公司的名称和官网,我们掌握人员信息越多的公司排名越靠前,并用 total 给出市场规模。每返回一家公司收取 $0.002,没有结果免费。每个官网都会核实是否为公司自己的网站:电商平台、社交网络和邮箱服务商会被剔除,所以一页的结果可能少于 limit。如果要找某个产品的进口商或出口商,请改用基于海关记录的 POST /trade/companies/search。下一步:用 POST /enrich/companies/find 查看公司档案,用 POST /enrich/people/search 查找员工,用 POST /enrich/companies/website/read 获取官网上的联系方式。

  • 计费: company_listing $0.002:公司搜索结果中的一家公司:名称和官网。
  • 数据模式: proxy (各模式的含义)

参数

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

参数类型必填说明(API 原文)
industrystring[]否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.
countrystring[]否Where the headquarters are: ISO codes such as DE, or English names. Up to 10.
size(1-10 | 11-50 | 51-200 | 201-500 | 501-1000 | 1001-5000 | 5001-10000 | 10001+)[]否How many people work there, as the company states it: any of 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000, 10001+.
technologystring[]否Software the company's website runs, such as Shopify, WooCommerce or HubSpot: companies with any of them. Up to 10. Give it with an industry or a size.
exclude_domainsstring[]否Websites to leave out, such as the companies already in your CRM. Up to 100.
limitinteger否How many results to return, 1 to 100. You pay for the results returned. Default: 25.
cursorstring否To get the next page, pass next_cursor of the previous response back unchanged, with the same parameters.
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 companies of this page.
data[].namestringCompany name.
data[].domainstringIts website, such as example.com. Pass it as domain to the company and people endpoints.
totalintegerHow many companies match in all. Use it to size a market, or to decide between paging on and narrowing the search.
has_morebooleanWhether more companies follow this page.
next_cursorstring | nullPass it as cursor to get the next page. Null on the last page.
queryobjectThe request as it was understood: country names as codes, the default dates filled in.
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/companies/search \
  -H "Authorization: Bearer $WON_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "industry": [
    "furniture"
  ],
  "country": [
    "US"
  ],
  "size": [
    "51-200",
    "201-500"
  ],
  "limit": 3
}'
{
  "data": [
    {
      "name": "SAMPLE Northfield Home Furnishings",
      "domain": "northfield-home.example"
    },
    {
      "name": "SAMPLE Harborside Seating Co",
      "domain": "harborside-seating.example"
    },
    {
      "name": "SAMPLE Pine & Loom Interiors",
      "domain": "pineandloom.example"
    }
  ],
  "total": 1874,
  "has_more": true,
  "next_cursor": "cur_Qm4tR2x9LpZ0aWl1Lm1xNHo",
  "query": {
    "industry": [
      "Furniture",
      "Furniture and Home Furnishings Manufacturing",
      "Household and Institutional Furniture Manufacturing",
      "Office Furniture and Fixtures Manufacturing",
      "Retail Furniture and Home Furnishings",
      "Reupholstery and Furniture Repair",
      "Wholesale Furniture and Home Furnishings"
    ],
    "country": [
      "US"
    ],
    "size": [
      "51-200",
      "201-500"
    ],
    "limit": 3
  },
  "notice": null,
  "usage": {
    "unit": "company_listing",
    "records": 3,
    "already_paid": 0,
    "cost": 0.006,
    "balance": 48.994,
    "replayed": false
  }
}

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

本页内容