Ir al contenido
Won.dev
DocumentaciónReferencia de la API
API de señales

Revisar las señales de una empresa

Si una empresa está contratando, levantó inversión o importa más, para saber a quién escribirle primero. Se cobra por tipo encontrado.

Revisa si una empresa tiene señales que hacen que valga la pena escribirle ahora: hiring (publicó vacantes; USD 0.03), funding (anunció una ronda de inversión; USD 0.20) e import_surge (sus registros aduaneros crecieron al menos 30% al mes; USD 0.05). Devuelve una fila por cada tipo que tiene, con why_now, una frase para abrir un mensaje, y hasta 5 señales, de la más reciente a la más antigua. Cada tipo se cobra solo cuando la empresa lo tiene; si no se encuentra nada es gratis, y las mismas señales vuelven gratis durante 30 días. Indica la empresa con domain o con el company_id de una empresa de los datos de comercio exterior; import_surge necesita el company_id, y funding, un sitio web. Por defecto hiring lee los últimos 30 días y funding los últimos 180; since fija ambos, hasta 365 días atrás. Para revisar una lista de hasta 100 empresas, ejecuta este endpoint como tarea: POST /tasks con operation: "signals.find". Para buscar empresas que tengan una señal, usa POST /signals/hiring/search, POST /signals/funding/search o POST /signals/import-surge/search.

  • Cobro: signal_hiring USD 0.03: Una empresa con vacantes publicadas en el período, sin importar cuántas. signal_funding USD 0.20: Una empresa con una ronda de inversión en el período. signal_import_surge USD 0.05: Una empresa cuyas importaciones crecieron, con sus meses comparados.
  • Modo: proxy (qué significa cada modo)

Una clave de prueba (won_test_...) responde esta solicitud con las mismas empresas de muestra, sin costo.

POST
/signals/find

Autenticación

apiKey
headerAuthorizationBearer <clave de API>

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

Parámetros de encabezado

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.

Longitudlength <= 255

Cuerpo de la solicitud

application/json
  1. body
domain?string

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

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

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

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

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

Elementos1 <= items <= 3
Valor predeterminado
[  "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.

Longitudlength <= 10
titles?array<>

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

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

Rango0 < value
dry_run?boolean

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

Valor predeterminadofalse

Cuerpo de la respuesta

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.

Solicitud de ejemplo
curl -X POST 'https://api.won.dev/v1/signals/find' \  -H 'Content-Type: application/json' \  -d '{  "domain": "northfield-home.example",  "types": [    "hiring"  ]}'
Respuesta de ejemplo
{  "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 actualización: