{
  "metadata": {
    "countryCode": 188,
    "name": "Costa Rica",
    "iso2": "CR",
    "iso3": "CRI",
    "latestYear": 2024,
    "generatedAt": "2026-06-08",
    "valueUnit": "millions_usd"
  },
  "summary": {
    "latest": {
      "exports": {
        "value": 27182.7,
        "label": "Exports 2024",
        "unit": "millions_usd",
        "year": 2024
      },
      "imports": {
        "value": 23704.9,
        "label": "Imports 2024",
        "unit": "millions_usd",
        "year": 2024
      },
      "tradeBalance": {
        "value": 3477.8,
        "label": "Trade balance 2024",
        "unit": "millions_usd",
        "year": 2024,
        "status": "surplus"
      },
      "totalTrade": {
        "value": 50887.6,
        "label": "Total trade 2024",
        "unit": "millions_usd",
        "year": 2024
      },
      "exportRank": {
        "rank": 70,
        "denominator": 225,
        "percentile": 69.3,
        "year": 2024
      },
      "importRank": {
        "rank": 74,
        "denominator": 225,
        "percentile": 67.6,
        "year": 2024
      }
    },
    "growth": {
      "exports5YearPct": 84.9,
      "imports5YearPct": 50.2,
      "totalTrade5YearPct": 66.9,
      "exportSharePointChangeSince1995": 0.04
    }
  },
  "modules": {
    "trendHref": "countries/timeseries/CRI.json",
    "partnersLatestHref": "countries/partners/CRI.2024.json",
    "productsLatestHref": "countries/products/CRI.2024.json",
    "sectorsLatestHref": "countries/products/CRI.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."
  ]
}
