{
  "metadata": {
    "countryCode": 392,
    "name": "Japan",
    "iso2": "JP",
    "iso3": "JPN",
    "latestYear": 2024,
    "generatedAt": "2026-06-08",
    "valueUnit": "millions_usd"
  },
  "summary": {
    "latest": {
      "exports": {
        "value": 758816.7,
        "label": "Exports 2024",
        "unit": "millions_usd",
        "year": 2024
      },
      "imports": {
        "value": 720878.2,
        "label": "Imports 2024",
        "unit": "millions_usd",
        "year": 2024
      },
      "tradeBalance": {
        "value": 37938.5,
        "label": "Trade balance 2024",
        "unit": "millions_usd",
        "year": 2024,
        "status": "surplus"
      },
      "totalTrade": {
        "value": 1479694.9,
        "label": "Total trade 2024",
        "unit": "millions_usd",
        "year": 2024
      },
      "exportRank": {
        "rank": 5,
        "denominator": 225,
        "percentile": 98.2,
        "year": 2024
      },
      "importRank": {
        "rank": 6,
        "denominator": 225,
        "percentile": 97.8,
        "year": 2024
      }
    },
    "growth": {
      "exports5YearPct": 0.3,
      "imports5YearPct": 3.7,
      "totalTrade5YearPct": 1.9,
      "exportSharePointChangeSince1995": -5.91
    }
  },
  "modules": {
    "trendHref": "countries/timeseries/JPN.json",
    "partnersLatestHref": "countries/partners/JPN.2024.json",
    "productsLatestHref": "countries/products/JPN.2024.json",
    "sectorsLatestHref": "countries/products/JPN.2024.json"
  },
  "caveats": [
    "Goods trade only; values are nominal USD (not inflation-adjusted).",
    "hs92-compatible-history: all trade years 1995-2024 use HS92-compatible product codes for a consistent long-run series.",
    "baci-country-codes: BACI numeric country codes can differ from standard ISO numeric codes (e.g. USA=842, France=251, India=699).",
    "route-proxy: exporter/importer flows are origin/destination attributions and do not directly observe shipping routes."
  ]
}
