跳到正文
Won.dev
信号 API

检查公司信号

检查一家公司是否在招人、刚融资或进口变多,决定先联系谁。按找到的信号类别计费。

POST https://api.won.dev/v1/signals/find

检查一家公司有没有值得现在联系的信号:hiring(发布了招聘;$0.03)、funding(宣布了一轮融资;$0.20)和 import_surge(海关记录月均增长至少 30%;$0.05)。公司有哪类信号就返回哪类的一行,附带 why_now(可以直接用作邮件开头的一句话)和最多 5 条信号,按时间倒序。每类信号只在公司确实有时计费,什么都没有免费;同一批信号 30 天内再次返回免费。用 domain 或海关数据中的公司 company_id 指定公司;import_surge 需要 company_id,funding 需要官网。默认 hiring 读取最近 30 天,funding 读取最近 180 天;since 同时设置两者,最多往前 365 天。如需检查最多 100 家公司,请以任务方式运行:POST /tasks 并传入 operation: "signals.find"。如果要找有信号的公司,请用 POST /signals/hiring/search、POST /signals/funding/search 或 POST /signals/import-surge/search。

  • 计费: signal_hiring $0.03:在所选时段内发布了招聘的一家公司,不论职位多少。signal_funding $0.20:在所选时段内宣布了融资的一家公司。signal_import_surge $0.05:进口量增长的一家公司,附带前后月份的对比。
  • 数据模式: proxy (各模式的含义)

参数

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

参数类型必填说明(API 原文)
domainstring否The company's website, such as example.com.
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.
namestring否The company's name, as it writes it. It finds the company in the job index when its website does not, and is enough alone for hiring.
types(hiring | funding | import_surge)[]否The kinds of signal to check: hiring, funding, import_surge. Default: hiring,funding,import_surge.
sincestring否First day of the period, YYYY-MM-DD, for hiring and funding. Default: 30 days ago for hiring, 180 for funding. At most 365 days back.
titlesstring[]否For hiring: only postings whose title has any of these words, such as buyer. Up to 10.
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[]A row for each kind of signal the company has, in the order of types. Empty when it has none.
data[].companyobjectThe company the signals are about.
data[].company.idstring | nullThe company's ID in the trade data API, such as co_8f3k2m9x4p1q, for a company found in customs records: pass it as company_id. Null for the others.
data[].company.namestringCompany name.
data[].company.domainstring | nullIts website, such as example.com: pass it as domain to the company and people endpoints. Always set for hiring and funding; often null for import_surge, where id stands for the company.
data[].company.countrystring | nullISO 3166 code: where the headquarters are, or for import_surge the country it imports into.
data[].company.employeesstring | nullHeadcount or a range, such as 51-200, when known.
data[].company.industrystring | nullIts industry, when known.
data[].typehiring | funding | import_surgeWhat kind of signal this company has.
data[].why_nowstringOne sentence on what happened, with numbers and dates, to open a message with or to decide whom to contact first.
data[].matchesintegerHow many signals of this kind the company has in the period. Up to 5 are listed.
data[].signalsobject[]The newest first, up to 5. Each has the fields of its type: job, round or imports.
data[].signals[].idstringSignal ID, such as sig_3k8m2x9p4q1w. The same event keeps its ID, so you can tell new signals from ones you saw.
data[].signals[].occurred_atstring | nullWhen it happened, YYYY-MM-DD: the day a job was posted or a round announced, or the last day of the latest month an import surge covers.
data[].signals[].titlestringWhat happened, in a few words.
data[].signals[].urlstring | nullWhere to read about it: the posting, or an article.
data[].signals[].typehiring | funding | import_surgeThe kind of signal, as the row's type.
data[].signals[].jobobjecthiring only: the posting.
data[].signals[].job.idstringJob ID, such as job_6t2m9x4p1q8w.
data[].signals[].job.titlestring
data[].signals[].job.urlstring | nullWhere to read the posting and apply.
data[].signals[].job.locationstring | nullWhere the job is, as the posting says.
data[].signals[].job.countriesstring[]The countries of its places, as English names.
data[].signals[].job.workplaceremote | hybrid | on_site | nullWhether the job is remote, hybrid or on site.
data[].signals[].job.employmentfull_time | part_time | contract | internship | nullThe kind of contract.
data[].signals[].job.senioritystring | nullThe level the posting asks for.
data[].signals[].job.posted_atstring | nullDate it was posted, YYYY-MM-DD.
data[].signals[].job.salaryobject | nullPay as the posting states it. Null when it states none.
data[].signals[].job.salary.minnumber | null
data[].signals[].job.salary.maxnumber | null
data[].signals[].job.salary.currencystring | null
data[].signals[].job.salary.periodstring | nullSuch as year or hour.
data[].signals[].job.departmentpurchasing | sales | management | operations | marketing | finance | engineering | quality | it | hr | legal | nullDepartment, read from the title.
data[].signals[].roundobjectfunding only: the round.
data[].signals[].round.stagepre_seed | seed | series_a | series_b | series_c | series_d | series_e_plus | debt | grant | other | nullSuch as seed or series_b.
data[].signals[].round.amount_usdnumber | nullMoney raised, in US dollars.
data[].signals[].round.valuation_usdnumber | nullValuation, in US dollars, when it was made public.
data[].signals[].round.lead_investorsstring[]The investors who led the round, when named.
data[].signals[].round.investorsstring[]Every investor named, the leads included. Empty when none is named.
data[].signals[].importsobjectimport_surge only: the customs records of the two periods compared.
data[].signals[].imports.hs_codestring | nullThe HS code the records were counted for. Null for all its imports.
data[].signals[].imports.recentobjectThe latest 3 complete months.
data[].signals[].imports.recent.sincestringFirst month, YYYY-MM.
data[].signals[].imports.recent.untilstringLast month, YYYY-MM.
data[].signals[].imports.recent.shipmentsintegerShipment records in these months.
data[].signals[].imports.baselineobjectThe 6 months before them.
data[].signals[].imports.baseline.sincestringFirst month, YYYY-MM.
data[].signals[].imports.baseline.untilstringLast month, YYYY-MM.
data[].signals[].imports.baseline.shipmentsintegerShipment records in these months.
data[].signals[].imports.growthnumber | nullHow much more it imported a month in recent than in baseline: 0.44 is 44% more. Null when baseline has none: it started importing.
data[].signals[].imports.by_monthobject[] | nullShipment records month by month, oldest first. Null in a search, which counts periods only.
data[].signals[].imports.by_month[].monthstringYYYY-MM
data[].signals[].imports.by_month[].shipmentsinteger
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.costnumberWhat this call cost, in US dollars.
usage.breakdownobject[]Every billing unit that came back, charged or not. Empty when nothing did.
usage.breakdown[].unitsignal_hiring | signal_funding | signal_import_surgeWhat is counted.
usage.breakdown[].recordsintegerHow many were returned and charged.
usage.breakdown[].already_paidintegerHow many more were returned for free, because this organization paid for them in the last 30 days.
usage.breakdown[].costnumberWhat they 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/signals/find \
  -H "Authorization: Bearer $WON_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "domain": "northfield-home.example",
  "types": [
    "hiring"
  ]
}'
{
  "data": [
    {
      "company": {
        "id": null,
        "name": "SAMPLE Northfield Home Furnishings",
        "domain": "northfield-home.example",
        "country": "US",
        "employees": "201-500",
        "industry": "Retail Furniture and Home Furnishings"
      },
      "type": "hiring",
      "why_now": "Posted 2 jobs in the last 30 days, the newest \"Senior Buyer, Upholstery\" (Charlotte, NC) on 2026-11-12.",
      "matches": 2,
      "signals": [
        {
          "id": "sig_3k8m2x9p4q1w",
          "type": "hiring",
          "occurred_at": "2026-11-12",
          "title": "Senior Buyer, Upholstery",
          "url": "https://careers.northfield-home.example/senior-buyer-upholstery",
          "job": {
            "id": "job_6t2m9x4p1q8w",
            "title": "Senior Buyer, Upholstery",
            "url": "https://careers.northfield-home.example/senior-buyer-upholstery",
            "location": "Charlotte, NC",
            "countries": [
              "United States"
            ],
            "workplace": "hybrid",
            "employment": "full_time",
            "seniority": "Senior",
            "posted_at": "2026-11-12",
            "salary": {
              "min": 85000,
              "max": 110000,
              "currency": "USD",
              "period": "year"
            },
            "department": "purchasing"
          }
        },
        {
          "id": "sig_7c1v5n8b2m6t",
          "type": "hiring",
          "occurred_at": "2026-11-03",
          "title": "Sourcing Manager, Vietnam",
          "url": "https://careers.northfield-home.example/sourcing-manager-vietnam",
          "job": {
            "id": "job_3k8n1v5c7x2z",
            "title": "Sourcing Manager, Vietnam",
            "url": "https://careers.northfield-home.example/sourcing-manager-vietnam",
            "location": "Ho Chi Minh City, Vietnam",
            "countries": [
              "Vietnam"
            ],
            "workplace": "on_site",
            "employment": "full_time",
            "seniority": "Mid-Level",
            "posted_at": "2026-11-03",
            "salary": null,
            "department": "purchasing"
          }
        }
      ]
    }
  ],
  "query": {
    "domain": "northfield-home.example",
    "types": [
      "hiring"
    ],
    "since": {
      "hiring": "2026-10-24"
    }
  },
  "notice": null,
  "usage": {
    "cost": 0.03,
    "breakdown": [
      {
        "unit": "signal_hiring",
        "records": 1,
        "already_paid": 0,
        "cost": 0.03
      }
    ],
    "balance": 48.97,
    "replayed": false
  }
}

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

本页内容