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

市場を概観する

公式の輸入統計、通関記録、検索数、マーケットプレイスの出品から、国ごとの商品の需要を見ます。データのある国ごとに課金。

輸入、検索、購入の3つの面から、最大10か国での商品の需要を示します。official は、各国のそのHSコードの輸入について統計機関が公表している数字です。直近12か月とその前の12か月の比較、商品がどの国から来ているか、2年分の各月がわかります。その国が最近の自国統計を公表していない場合は、貿易相手国が報告した数字を合計します。報告をやめた相手国と公表されなかった月は名前を挙げて示し、comparable_change_12m は報告をやめた相手国を両方の年から除くので、欠けている数字が減少に見えることはありません。shipments は sections で指定したときだけ返し、直近12か月の当社の通関記録と、それが公式の金額のどれだけを捉えているかを示します。輸入企業をどこで見つけられるかの判断に使います。当社の記録に月数が少ない国では、その国自身の輸入申告の件数を代わりに数え、金額と原産国はつきません(counts_only)。search は、その国の言語で人々がこの商品を探すときの言葉の、Googleでの月間検索数です。直近12か月とそのピーク月・最少月、検索語ごとのシェアがわかり、多くの国では主な検索語の数年分もつくので、トレンドと季節性を見分けられます。terms を渡さなければ検索語はこちらで見つけ、data.terms に一覧します。marketplace は、その国のAmazonストアで product を検索した最初のページです。現地通貨での価格帯、出品が示す過去1か月の販売数、よく売れている出品がわかります。estimates は sections で指定したときだけ返し、市場調査のページがその国でのこの商品について公表している市場規模です。それぞれリンクつきで米ドルに換算し、その国のそのHSコードの輸入と輸出に照らし合わせます。輸入の大半が国内に残る国で輸入の10倍を超える規模や5分の1に満たない規模には印をつけ、同じ市場の規模が3倍以上離れているときは conflict です。hs_code を渡さなければ、説明が product に最もよく合う6桁のコードを使い、どのコードかを data.hs_code に示します。通関記録のある国1か国ごとに $0.10、公式統計か通関件数だけの国は $0.02、検索データのある国1か国ごとに $0.15、出品データのある国1か国ごとに $0.03、市場規模のある国1か国ごとに $0.05。何も見つからなかった国は無料で、同じ検索語の同じ検索数、変わっていないストアの同じページ、同じ市場規模は、30日間は再度無料です。検索数は関心の指標であって販売数ではなく、bought_last_month は最初のページだけから出した下限です。応答まで最長で1分半ほどかかります。次のステップ:その国の輸入企業は hs_code と国をつけて POST /trade/companies/search です。

  • 課金: trade_stats $0.10:結果のある市場統計の照会1回。trade_official_stats $0.02:公式統計だけ、または金額のない通関件数だけで答えた市場統計の照会1回。market_search $0.15:1か国の商品の検索需要。検索語の12か月分の検索数で、保存されている国では数年分もつきます。market_listings $0.03:1か国の主要マーケットプレイスにおける商品の出品の最初のページ。market_estimates $0.05:1か国で公表されている商品の市場規模。その国の貿易と照らし合わせます。
  • モード: waterfall (各モードの意味)

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

POST
/trade/markets/brief

認証

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
product*string

The product in English, such as ice machine. The marketplaces are searched for it, and the search terms people use for it are found from it.

長さ2 <= length <= 80
hs_code?string

The HS code of official and shipments, and of the trade estimates are held against, 6 to 10 digits, such as 841869. Official statistics use its first six digits. Default: the six-digit code whose description best matches product.

長さlength <= 20
countries*array<>

The countries to brief, 1 to 10. Each one is charged on its own.

要素1 <= items <= 10
terms?array<>

Your own search terms, in any language and script, such as ["ice machine", "ماكينة ثلج"], up to 30. Default: product and the terms people in these countries use for it.

要素1 <= items <= 30
sections?array<>

Which parts to return. Default: official, search and marketplace. Add shipments for our shipment records, which show where importers can be found, and estimates for the market sizes web pages publish.

要素1 <= items <= 5
デフォルト
[  "official",  "search",  "marketplace"]
marketplace_query?string

What to search the marketplaces for, when it is not product, such as a narrower ice maker 15 kg.

長さ2 <= length <= 100
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 brief, one entry for each country.

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/trade/markets/brief' \  -H 'Content-Type: application/json' \  -d '{  "product": "ice machine",  "countries": [    "SA"  ],  "sections": [    "official",    "shipments",    "search",    "marketplace",    "estimates"  ]}'
レスポンスの例
{  "data": {    "product": "ice machine",    "hs_code": {      "code": "841869",      "description": "Refrigerators, freezers and other refrigerating or freezing equipment, electric or other; heat pumps, other than the air conditioning machines of heading 8415; parts thereof > Other refrigerating or freezing equipment; heat pumps > Other",      "origin": "matched"    },    "terms": [      {        "term": "ice machine",        "language": null      },      {        "term": "ماكينة ثلج",        "language": "ar"      },      {        "term": "صانعة ثلج",        "language": "ar"      }    ],    "countries": [      {        "country": "SA",        "official": {          "basis": "partners",          "value_basis": "fob",          "period": {            "since": "2024-10",            "until": "2026-09"          },          "imports_12m_usd": 192702701,          "prior_12m_usd": 274385528,          "change_12m": -0.2977,          "comparable_change_12m": -0.221,          "partial_months": 10,          "top_origins": [            {              "country": "IT",              "value_usd": 154139116,              "share": 0.33            },            {              "country": "DE",              "value_usd": 51379705,              "share": 0.11            },            {              "country": "US",              "value_usd": 42037941,              "share": 0.09            },            {              "country": "TR",              "value_usd": 32696176,              "share": 0.07            },            {              "country": "CN",              "value_usd": 27000000,              "share": 0.0578            }          ],          "by_month": [            {              "month": "2024-10",              "value_usd": 19399057            },            {              "month": "2024-11",              "value_usd": 17656709            },            {              "month": "2024-12",              "value_usd": 19206987            },            {              "month": "2025-01",              "value_usd": 20990493            },            {              "month": "2025-02",              "value_usd": 21511825            },            {              "month": "2025-03",              "value_usd": 24694698            },            {              "month": "2025-04",              "value_usd": 26327291            },            {              "month": "2025-05",              "value_usd": 27164167            },            {              "month": "2025-06",              "value_usd": 27438553            },            {              "month": "2025-07",              "value_usd": 26587958            },            {              "month": "2025-08",              "value_usd": 22856314            },            {              "month": "2025-09",              "value_usd": 20551476            },            {              "month": "2025-10",              "value_usd": 13624081            },            {              "month": "2025-11",              "value_usd": 12400419            },            {              "month": "2025-12",              "value_usd": 13489189,              "partial": true            },            {              "month": "2026-01",              "value_usd": 14741757,              "partial": true            },            {              "month": "2026-02",              "value_usd": 15107892,              "partial": true            },            {              "month": "2026-03",              "value_usd": 17343243,              "partial": true            },            {              "month": "2026-04",              "value_usd": 18489824,              "partial": true            },            {              "month": "2026-05",              "value_usd": 19077567,              "partial": true            },            {              "month": "2026-06",              "value_usd": 19270270,              "partial": true            },            {              "month": "2026-07",              "value_usd": 18672892,              "partial": true            },            {              "month": "2026-08",              "value_usd": 16052135,              "partial": true            },            {              "month": "2026-09",              "value_usd": 14433432,              "partial": true            }          ],          "stopped_reporting": [            {              "country": "CN",              "last_month": "2024-12",              "share": 0.0578            }          ]        },        "shipments": {          "basis": "partners",          "period": {            "since": "2025-11",            "until": "2026-10"          },          "shipments": 586,          "recorded_value_usd": 7034000,          "value_share": 0.0365,          "top_origins": [            {              "country": "CN",              "shipments": 212            },            {              "country": "IT",              "shipments": 88            },            {              "country": "TR",              "shipments": 61            },            {              "country": "AE",              "shipments": 40            },            {              "country": "DE",              "shipments": 33            }          ],          "by_month": [            {              "month": "2025-11",              "shipments": 52            },            {              "month": "2025-12",              "shipments": 47            },            {              "month": "2026-01",              "shipments": 55            },            {              "month": "2026-02",              "shipments": 49            },            {              "month": "2026-03",              "shipments": 51            },            {              "month": "2026-04",              "shipments": 44            },            {              "month": "2026-05",              "shipments": 50            },            {              "month": "2026-06",              "shipments": 48            },            {              "month": "2026-07",              "shipments": 53            },            {              "month": "2026-08",              "shipments": 46            },            {              "month": "2026-09",              "shipments": 47            },            {              "month": "2026-10",              "shipments": 44            }          ],          "counts_only": false        },        "search": {          "searches_12m": 230140,          "by_month": [            {              "month": "2025-11",              "searches": 9900            },            {              "month": "2025-12",              "searches": 8180            },            {              "month": "2026-01",              "searches": 9050            },            {              "month": "2026-02",              "searches": 11200            },            {              "month": "2026-03",              "searches": 14800            },            {              "month": "2026-04",              "searches": 19600            },            {              "month": "2026-05",              "searches": 25300            },            {              "month": "2026-06",              "searches": 28900            },            {              "month": "2026-07",              "searches": 30100            },            {              "month": "2026-08",              "searches": 27400            },            {              "month": "2026-09",              "searches": 24700            },            {              "month": "2026-10",              "searches": 21010            }          ],          "peak_month": "2026-07",          "low_month": "2025-12",          "peak_to_low": 3.68,          "terms": [            {              "term": "ماكينة ثلج",              "searches_12m": 101260,              "share": 0.44,              "variants": []            },            {              "term": "صانعة ثلج",              "searches_12m": 75950,              "share": 0.33,              "variants": []            },            {              "term": "ice machine",              "searches_12m": 52930,              "share": 0.23,              "variants": [                "ice machines"              ]            }          ],          "history": {            "terms": [              "ماكينة ثلج",              "صانعة ثلج",              "ice machine"            ],            "by_year": [              {                "year": 2021,                "searches": 87000,                "complete": true              },              {                "year": 2022,                "searches": 128400,                "complete": true              },              {                "year": 2023,                "searches": 176900,                "complete": true              },              {                "year": 2024,                "searches": 235200,                "complete": true              },              {                "year": 2025,                "searches": 196300,                "complete": true              },              {                "year": 2026,                "searches": 160500,                "complete": false              }            ],            "change_12m": -0.28          },          "data_through": "2026-10"        },        "marketplace": {          "store": "amazon.sa",          "query": "ice machine",          "results": 2715,          "read": 48,          "price": {            "currency": "SAR",            "median": 356,            "p25": 270,            "p75": 702,            "median_usd": 94.93,            "listings": 40,            "left_out": 8          },          "bought_last_month": {            "at_least": 850,            "listings": 9          },          "top": [            {              "title": "Countertop ice maker, 12 kg a day, self-cleaning",              "price": 279.99,              "currency": "SAR",              "ratings": 1840,              "bought_last_month": 400,              "url": "https://www.amazon.sa/dp/EXAMPLE0001"            },            {              "title": "Portable ice machine, 9 bullet ice cubes in 6 minutes",              "price": 329,              "currency": "SAR",              "ratings": 960,              "bought_last_month": 200,              "url": "https://www.amazon.sa/dp/EXAMPLE0002"            }          ]        },        "estimates": {          "figures": [            {              "figure": "USD 101.25 million",              "value_usd": 101250000,              "year": 2025,              "market": "Ice maker market",              "scope": "same",              "publisher": "Example Research",              "url": "https://example.com/reports/saudi-arabia-ice-maker-market",              "times_imports": 0.369,              "check": "consistent"            },            {              "figure": "$4.15 billion",              "value_usd": 4150000000,              "year": 2024,              "market": "Commercial ice makers and ice machines market",              "scope": "same",              "publisher": null,              "url": "https://example.com/pulse/saudi-arabia-commercial-ice-machines-market",              "times_imports": 15.1,              "check": "too_high"            },            {              "figure": "USD 350 million",              "value_usd": 350000000,              "year": 2024,              "market": "Granular ice makers market",              "scope": "narrower",              "publisher": null,              "url": "https://example.com/pulse/saudi-arabia-granular-ice-makers-market",              "times_imports": 1.28,              "check": "consistent"            }          ],          "imports_usd": 274385528,          "exports_usd": 9850000,          "agreement": null        }      }    ]  },  "query": {    "product": "ice machine",    "countries": [      "SA"    ],    "sections": [      "official",      "shipments",      "search",      "marketplace",      "estimates"    ]  },  "notice": "`official` and `shipments` are for HS 841869, the code whose description best matches `product` (see `data.hs_code`). Pass `hs_code` if it is not the right one. Saudi Arabia publishes no recent statistics of its own, so `official` adds up what partners report. Partners that publish nothing are missing, so it is a lower bound. China reported nothing after 2024-12 in the partners' numbers for Saudi Arabia, most likely because it has published nothing since, or publishes late, so the months after look lower than the trade was: read `comparable_change_12m`, which leaves it out of both years. Months marked `partial` in `official` still grow as late reports arrive, so `change_12m` reads lower than it will be. Saudi Arabia declares no shipment records, so `shipments` are the export records of partners that name it, and incomplete. `estimates` are what market research pages publish: unverified, often far apart, and sometimes for a wider or a narrower market (`scope`). Read `check` and `agreement` before using one. Some market sizes published for Saudi Arabia are more than 10 times the imports of the HS code, or under a fifth of them, though most of what is imported stays: `check` marks them as unlikely.",  "usage": {    "cost": 0.33,    "breakdown": [      {        "unit": "trade_stats",        "records": 1,        "already_paid": 0,        "cost": 0.1      },      {        "unit": "market_search",        "records": 1,        "already_paid": 0,        "cost": 0.15      },      {        "unit": "market_listings",        "records": 1,        "already_paid": 0,        "cost": 0.03      },      {        "unit": "market_estimates",        "records": 1,        "already_paid": 0,        "cost": 0.05      }    ],    "balance": 47.67,    "replayed": false  }}

最終更新日