Get partner countries
get_partnersPartner-country breakdown and shares for an item (one month or the last 12 months): destinations for exports, origins for imports. / 品目の相手国の内訳とシェア(その月、または直近12か月)。輸出なら輸出先、輸入なら輸入元。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | 統計品目番号(9桁・6桁・4桁)か類(2桁)・部の番号。分からなければ search_items で探す / Statistical code (9, 6 or 4 digits) or chapter (2 digits) or section; use search_items to find it | |
| flow | Yes | export=輸出、import=輸入 / export or import | |
| lang | No | 答えの言葉(ja=日本語・既定、en=英語) / Response language (ja default, en) | |
| sort | No | value=金額の順(既定)、growth=直近12か月の伸びの順(下限つき) / value (default) or growth: fastest-growing partners over the last 12 months (with a minimum) | |
| level | No | 区切り(省略時はコードの桁数で判断) / Level (inferred from the code length if omitted) | |
| limit | No | 返す相手国の数の上限 / Maximum number of partners | |
| month | No | 月(YYYY-MM。省略時は最新の月) / Month as YYYY-MM (latest if omitted) | |
| window | No | 1=その月、12=その月までの直近12か月 / 1 = that month, 12 = the last 12 months up to that month | |
| min_value | No | 下限(ドル、直近12か月か前の12か月。既定 1,000,000) / Minimum value in USD (last 12 months or the 12 before; default 1,000,000) |