Pular para o conteúdo
Won.dev
DocumentaçãoReferência da API
API de sinais

Checar os sinais de uma empresa

Se uma empresa está contratando, captou investimento ou importa mais, para saber para quem escrever primeiro. Cobrado por tipo encontrado.

Checa se uma empresa tem sinais que fazem valer a pena escrever para ela agora: hiring (abriu vagas; US$ 0,03), funding (anunciou uma rodada de investimento; US$ 0,20) e import_surge (os registros aduaneiros dela cresceram pelo menos 30% ao mês; US$ 0,05). Retorna uma linha para cada tipo que ela tem, com why_now, uma frase para abrir uma mensagem, e até 5 sinais, dos mais recentes para os mais antigos. Cada tipo só é cobrado quando a empresa o tem; nada encontrado é grátis, e os mesmos sinais voltam de graça por 30 dias. Indique a empresa pelo domain ou pelo company_id de uma empresa dos dados de comércio exterior; import_surge precisa do company_id, e funding, de um site. Por padrão hiring lê os últimos 30 dias e funding os últimos 180; since define os dois, até 365 dias atrás. Para checar uma lista de até 100 empresas, rode este endpoint como tarefa: POST /tasks com operation: "signals.find". Para encontrar empresas com um sinal, use POST /signals/hiring/search, POST /signals/funding/search ou POST /signals/import-surge/search.

  • Cobrança: signal_hiring US$ 0,03: Uma empresa com vagas abertas no período, não importa quantas. signal_funding US$ 0,20: Uma empresa com uma rodada de investimento no período. signal_import_surge US$ 0,05: Uma empresa cujas importações cresceram, com os meses comparados.
  • Modo: proxy (o que cada modo significa)

Uma chave de teste (won_test_...) responde a esta requisição com as mesmas empresas de exemplo, sem custo.

POST
/signals/find

Autenticação

apiKey
headerAuthorizationBearer <chave de API>

Authorization: Bearer won_live_..., a key from the console.

Parâmetros de cabeçalho

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.

Tamanholength <= 255

Corpo da requisição

application/json
  1. body
domain?string

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

Tamanholength <= 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.

Tamanholength <= 40
name?string

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.

Tamanho2 <= length <= 200
types?array<>

The kinds of signal to check: hiring, funding, import_surge.

Itens1 <= items <= 3
Padrão
[  "hiring",  "funding",  "import_surge"]
since?string

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.

Tamanholength <= 10
titles?array<>

For hiring: only postings whose title has any of these words, such as buyer. Up to 10.

Itens1 <= items <= 10
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.

Intervalo0 < value
dry_run?boolean

If true, only return the maximum cost of this call. Nothing runs, nothing is charged.

Padrãofalse

Corpo da resposta

The result. With dry_run, only the maximum cost.

application/json
  1. response
data*array<>

A row for each kind of signal the company has, in the order of types. Empty when it has none.

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.

Requisição de exemplo
curl -X POST 'https://api.won.dev/v1/signals/find' \  -H 'Content-Type: application/json' \  -d '{  "domain": "northfield-home.example",  "types": [    "hiring"  ]}'
Resposta de exemplo
{  "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  }}

Última atualização em