Get ranking
get_rankingItem ranking. For export or import, by value or yoy; for both, by balance (order=asc for the largest deficits). Set country to rank trade with one country. / 品目のランキング。export・import は金額(value)か前年比(yoy)、both は差し引き(balance、order=asc で輸入超過の大きい順)。country を指定するとその国との取引での順位。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | No | value=金額、yoy=前年同月比、balance=差し引き(flow=both のとき) / value, yoy (year-on-year), or balance (flow=both) | |
| flow | Yes | export=輸出、import=輸入、both=両方と差し引き(6桁以上のみ) / export, import, or both with the balance (6-digit level and above only) | |
| lang | No | 答えの言葉(ja=日本語・既定、en=英語) / Response language (ja default, en) | |
| level | Yes | 区切り(省略時はコードの桁数で判断) / Level (inferred from the code length if omitted) | |
| limit | No | 返す件数の上限 / Maximum number of results | |
| month | No | 月(YYYY-MM。省略時は最新の月) / Month as YYYY-MM (latest if omitted) | |
| order | No | desc=大きい順(既定)、asc=小さい順 / desc (default) or asc | |
| country | No | 国コード(税関の3桁。000=全世界) / Country code (3-digit customs code, 000 = world) | |
| min_value | No | yoy の対象にする最小の金額(円) / Minimum value (JPY) for yoy |