本文へスキップ
Won.dev
ドキュメントAPIリファレンス
貿易データAPI

企業の詳細を取得する

企業のプロフィールと取引の概要。必要に応じて取引先、最近の貨物、連絡先、公開チャネルも。

1社の情報を返します。所在地、輸入と輸出のどちらが中心か、取引の概要(貨物の件数、サプライヤーと買い手の数、HSコード、最新の貨物)、そして記録にある公開チャネルです。料金は $0.04。include で同じ呼び出しに次の部分を加えられ、それぞれの単位で、返った分だけ課金されます。partners(上位10社のサプライヤー。主に輸出している企業なら買い手。1社 $0.01)、recent_shipments(最新の記録10件。1件 $0.005)、contacts(購買部門と経営層の最大5人。確認済みの仕事用メールアドレスつき。1人 $0.03)、channels(企業のWebサイトを読み、共有メールボックス、電話番号、WhatsAppなどのメッセージアプリの連絡先、SNSのページを取得。Webサイトがないか、Webサイトに何もなければ、その社名の地図の店舗情報とSNSのページから。何か見つかれば $0.02)。読み込めなかった部分はnullになり、課金されません。ほかの条件で絞り込んだり、もっと多くの行を見たりするには、その企業のpartners、shipments、contactsの各エンドポイントを呼んでください。

  • 課金: trade_company_profile $0.04:企業プロフィール1件。trade_company $0.01:買い手、サプライヤー、取引先のリストに含まれる企業1社、またはリード1件の企業。trade_record $0.005:通関記録1件。person_email $0.03:企業の自社ドメインで確認済みの仕事用メールアドレスを持つ連絡先1人。company_channels $0.02:1社について、そのWebサイト、またはその社名の地図の店舗情報とSNSのページで見つかった共有メールボックス、電話番号、メッセージアプリの連絡先。件数は問いません。
  • モード: merge (各モードの意味)

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

GET
/trade/companies/{id}

認証

apiKey
headerAuthorizationBearer <APIキー>

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

パスパラメータ

id*string

Company ID, such as co_8f3k2m9x4p1q. Search results carry it; GET /trade/companies/lookup?q= finds it by name.

長さlength <= 40

クエリパラメータ

include?array<>

Parts to add: partners, recent_shipments, contacts, channels. Each is billed by its own unit.

要素items <= 4
デフォルト[]
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*

The company, with the parts asked for in include.

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/co_8f3k2m9x4p1q?include=contacts'
レスポンスの例
{  "data": {    "id": "co_8f3k2m9x4p1q",    "name": "SAMPLE NORTHFIELD HOME FURNISHINGS INC",    "country": "US",    "type": "importer",    "website": "northfield-home.example",    "address": "1200 Sample Parkway, Charlotte, NC 28202, United States",    "channels": {      "emails": [        "info@northfield-home.example",        "sales@northfield-home.example"      ],      "phones": [        "+15550100142"      ],      "messaging": [        {          "app": "whatsapp",          "value": "+15550100142"        }      ],      "social": {        "linkedin": "https://www.linkedin.com/company/northfield-home",        "facebook": null,        "twitter": null,        "instagram": null,        "youtube": null,        "tiktok": null,        "pinterest": null      }    },    "trade": {      "shipments": 1840,      "suppliers": 3,      "buyers": 0,      "hs_codes": [        "940161",        "940171",        "940190"      ],      "last_shipment": "2026-11-11"    },    "contacts": [      {        "id": "per_4m7q2x9k1c8d",        "name": "Jordan Lee",        "title": "Director of Global Sourcing",        "seniority": "executive",        "department": "purchasing",        "email_status": "verified",        "linkedin_url": "https://www.linkedin.com/in/sample-jordan-lee",        "email": "jordan.lee@northfield-home.example"      }    ]  },  "query": {    "id": "co_8f3k2m9x4p1q",    "include": [      "contacts"    ]  },  "notice": null,  "usage": {    "cost": 0.07,    "breakdown": [      {        "unit": "trade_company_profile",        "records": 1,        "already_paid": 0,        "cost": 0.04      },      {        "unit": "person_email",        "records": 1,        "already_paid": 0,        "cost": 0.03      }    ],    "balance": 48.01,    "replayed": false  }}

最終更新日