企業を照会する
企業名やWebサイトから企業を探し、IDを取得します。見つかったときだけ課金。
企業名またはWebサイトから企業を探し、IDを返します。企業のエンドポイントはすべてこのIDを使います。何か見つかった照会には、候補の数に関係なく $0.02。何も見つからなければ無料です。名前は船積書類に書かれたとおりに照合するため、1社が国や綴りの違う複数の候補として返ることがあります。country と shipments を見て選んでください。Webサイトで見つかるのは、以前に検索結果に出たことのある企業だけです。見つからないときは企業名で照会してください。
- 課金:
trade_lookup$0.02:企業名やWebサイトによる照会1回。1社以上見つかったものに限ります。 - モード:
waterfall(各モードの意味)
テストキー(won_test_...)でこのリクエストを送ると、同じサンプル企業が無料で返ります。
apiKeyAuthorizationBearer <APIキー>Authorization: Bearer won_live_..., a key from the console.
q*stringA company name, such as Acme Furniture, or its website, such as acme.com.
2 <= length <= 200country?stringOnly companies in this country. An ISO code such as US, or an English name such as United States.
length <= 80limit?integerHow many candidates to return, 1 to 10.
1 <= value <= 105max_cost?numberSpending cap for this call in US dollars. If the call could cost more, it fails with budget_exceeded before anything is charged.
0 < valuedry_run?booleanIf true, only return the maximum cost of this call. Nothing runs, nothing is charged.
falseThe result. With dry_run, only the maximum cost.
application/json- response
data*array<>The candidates, best match first.
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 GET 'https://api.won.dev/v1/trade/companies/lookup?q=northfield+home+furnishings&country=US'{ "data": [ { "id": "co_8f3k2m9x4p1q", "name": "SAMPLE NORTHFIELD HOME FURNISHINGS INC", "country": "US", "website": "northfield-home.example", "shipments": 1840, "last_shipment": "2026-11-11" } ], "query": { "q": "northfield home furnishings", "country": "US", "limit": 5 }, "notice": null, "usage": { "unit": "trade_lookup", "records": 1, "already_paid": 0, "cost": 0.02, "balance": 48.08, "replayed": false }}最終更新日