本文へスキップ
Won.dev
ドキュメントAPIリファレンス
シグナルAPI

輸入が増えている企業を探す

ある商品の通関記録が増えた輸入企業を、前後の月の比較と書き出しの一文つきで探します。企業ごとに課金。

ある商品の通関記録が増えた輸入企業を返します。輸入が増えた企業は、より多くの商品、部品、包装、輸送、資金を必要とします。返った企業1社ごとに $0.05。結果が0件なら無料で、同じ企業の同じ月の組み合わせは30日間無料で再取得できます。hs_code または product の主要な輸入企業について、直近の完了した3か月とその前の6か月を比べ、月あたりの輸入が min_growth 以上増えた企業と、新たに輸入を始めた企業を返します。各行は1社で、why_now(メッセージの書き出しに使える一文)と前後の月の比較がつきます。importer_country、exporter_country、min_shipments で絞り込めます。次のステップ:行の企業 id で GET /trade/companies/{id}/contacts を呼ぶか、その domain で POST /enrich/people/search を呼び、連絡すべき人を探します。手元の企業を確認するには POST /signals/find を使ってください。

  • 課金: signal_import_surge $0.05:輸入が増えた企業1社。前後の月の比較つき。
  • モード: proxy (各モードの意味)

テストキー(won_test_...)でこのリクエストを送ると、同じサンプル企業が無料で返ります。

POST
/signals/import-surge/search

認証

apiKey
headerAuthorizationBearer <APIキー>

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

ヘッダーパラメータ

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.

長さlength <= 255

リクエストボディ

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.

長さlength <= 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.

長さ2 <= 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.

長さlength <= 80
exporter_country?string

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

長さlength <= 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.

範囲0.1 <= value <= 10
min_shipments?integer

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

範囲1 <= value <= 1000
exclude_domains?array<>

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

要素items <= 100
limit?integer

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

範囲1 <= value <= 50
デフォルト10
cursor?string

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

長さlength <= 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.

範囲0 < value
dry_run?boolean

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

デフォルトfalse

レスポンスボディ

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.

リクエストの例
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}'
レスポンスの例
{  "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  }}

最終更新日