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

Buscar empresas que importan más

Los importadores cuyos registros aduaneros de un producto crecieron, con los meses comparados y una frase para empezar. Se cobra por empresa.

Lista los importadores cuyos registros aduaneros de un producto crecieron: una empresa que importa más necesita más mercancía, piezas, empaques, fletes y financiamiento. Cuesta USD 0.05 por cada empresa devuelta; un resultado vacío es gratis, y la misma empresa con los mismos meses vuelve gratis durante 30 días. Compara a los mayores importadores de un hs_code o product en los últimos 3 meses completos con los 6 anteriores, y lista los que importaron min_growth más al mes o empezaron a importar. Cada fila es una empresa, con why_now, una frase para abrir un mensaje, y sus meses comparados. Acótala con importer_country, exporter_country y min_shipments. Siguiente paso: GET /trade/companies/{id}/contacts con el id de empresa de una fila para encontrar a quién escribirle, o POST /enrich/people/search con su domain. Para revisar empresas que ya tienes, usa POST /signals/find.

  • Cobro: 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/import-surge/search

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
hs_code?string

HS code, digits only, 6 to 10 digits. Six digits are the same in every country; a longer code is one country's own tariff line, matched by prefix. Find the code of a product with GET /trade/hs-codes.

Longitudlength <= 20
product?string

Product keywords in English, such as office chair. A fuzzy match on the goods description. Use it when you do not know the HS code; an hs_code is more precise.

Longitud2 <= length <= 100
importer_country?string

Country the goods are imported into: an ISO code such as US, or an English name such as United States.

Longitudlength <= 80
exporter_country?string

Country the goods are exported from: an ISO code such as VN, or an English name such as Vietnam.

Longitudlength <= 80
min_growth?number

How much more a month the latest 3 complete months must have had than the 6 before: 0.3 (default) is 30% more.

Rango0.1 <= value <= 10
min_shipments?integer

Shipment records in the latest 3 complete months, at least. Default 6.

Rango1 <= value <= 1000
exclude_domains?array<>

Companies to leave out by website, such as your customers or companies you already wrote to. Up to 100.

Elementositems <= 100
limit?integer

How many companies to return, 1 to 50. You pay for the companies returned.

Rango1 <= value <= 50
Valor predeterminado10
cursor?string

To get the next page, pass next_cursor of the previous response back unchanged, with the same parameters.

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

The companies of this page, the newest signal first.

total*|

How many companies match in all.

has_more*boolean

Whether more companies follow this page.

next_cursor*|

Pass it as cursor to get the next page. Null on the last page.

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/import-surge/search' \  -H 'Content-Type: application/json' \  -d '{  "hs_code": "940161",  "importer_country": "US",  "limit": 1}'
Respuesta de ejemplo
{  "data": [    {      "company": {        "id": "co_8f3k2m9x4p1q",        "name": "SAMPLE PINE & LOOM INTERIORS LLC",        "domain": "pineandloom.example",        "country": "US",        "employees": null,        "industry": null      },      "type": "import_surge",      "why_now": "Imported 46 shipments of HS 940161 in Jul to Sep 2026, 64% more a month than in the 6 months before (56).",      "matches": 1,      "signals": [        {          "id": "sig_2b6n9m3k7j1h",          "type": "import_surge",          "occurred_at": "2026-09-30",          "title": "Imports up 64%",          "url": null,          "imports": {            "hs_code": "940161",            "recent": {              "since": "2026-07",              "until": "2026-09",              "shipments": 46            },            "baseline": {              "since": "2026-01",              "until": "2026-06",              "shipments": 56            },            "growth": 0.64,            "by_month": null          }        }      ]    }  ],  "total": 1,  "has_more": false,  "next_cursor": null,  "query": {    "hs_code": "940161",    "importer_country": "US",    "min_growth": 0.3,    "min_shipments": 6,    "data_through": "2026-11-14",    "limit": 1  },  "notice": null,  "usage": {    "unit": "signal_import_surge",    "records": 1,    "already_paid": 0,    "cost": 0.05,    "balance": 48.95,    "replayed": false  }}

Última actualización: