{
  "name": "trade-and-remittances",
  "title": "Trade and Remittances by Country",
  "description": "Trade and remittances as a share of GDP for about 210 countries and World Bank groups since 1960. World trade is 57% of GDP, more than double 1970, and in 14 countries remittances top 20% of GDP.",
  "status": "monitored",
  "version": "2026.12.0",
  "keywords": [
    "trade as a share of GDP by country",
    "trade openness by country",
    "exports and imports as percent of GDP",
    "remittances by country",
    "personal remittances received",
    "remittances as a share of GDP",
    "countries most dependent on remittances",
    "top remittance receiving countries",
    "migrant remittances World Bank",
    "world trade share of GDP"
  ],
  "licenses": [
    {
      "name": "CC-BY-4.0",
      "title": "World Bank Group default licence for its datasets, Creative Commons Attribution 4.0 (WDI catalog: \"License : Creative Commons Attribution 4.0\")",
      "path": "https://datacatalog.worldbank.org/public-licenses"
    }
  ],
  "sources": [
    {
      "title": "World Bank WDI API: NE.TRD.GNFS.ZS Trade (% of GDP)",
      "path": "https://api.worldbank.org/v2/country/all/indicator/NE.TRD.GNFS.ZS"
    },
    {
      "title": "World Bank WDI API: NE.EXP.GNFS.ZS Exports of goods and services (% of GDP)",
      "path": "https://api.worldbank.org/v2/country/all/indicator/NE.EXP.GNFS.ZS"
    },
    {
      "title": "World Bank WDI API: NE.IMP.GNFS.ZS Imports of goods and services (% of GDP)",
      "path": "https://api.worldbank.org/v2/country/all/indicator/NE.IMP.GNFS.ZS"
    },
    {
      "title": "World Bank WDI API: BX.TRF.PWKR.DT.GD.ZS Personal remittances, received (% of GDP)",
      "path": "https://api.worldbank.org/v2/country/all/indicator/BX.TRF.PWKR.DT.GD.ZS"
    },
    {
      "title": "World Bank WDI API: BX.TRF.PWKR.CD.DT Personal remittances, received (current US$)",
      "path": "https://api.worldbank.org/v2/country/all/indicator/BX.TRF.PWKR.CD.DT"
    },
    {
      "title": "World Bank WDI API: BM.TRF.PWKR.CD.DT Personal remittances, paid (current US$)",
      "path": "https://api.worldbank.org/v2/country/all/indicator/BM.TRF.PWKR.CD.DT"
    },
    {
      "title": "World Bank Data Access and Licensing",
      "path": "https://datacatalog.worldbank.org/public-licenses"
    }
  ],
  "upkeep": {
    "mode": "living",
    "refresh": "annual",
    "workflow": ".github/workflows/update.yml"
  },
  "resources": [
    {
      "path": "data/trade-and-remittances.csv",
      "name": "by-country-and-year",
      "title": "Trade and remittances by country and year, with World Bank aggregates",
      "mediatype": "text/csv",
      "encoding": "utf-8",
      "schema": {
        "fields": [
          {
            "name": "iso3",
            "type": "string",
            "description": "World Bank country or aggregate code (ISO 3166-1 alpha-3 for countries; codes such as WLD for World, HIC for High income and EUU for European Union for aggregates)."
          },
          {
            "name": "name",
            "type": "string",
            "description": "Country or aggregate name as the World Bank lists it, e.g. \"Hong Kong SAR, China\"."
          },
          {
            "name": "entity_type",
            "type": "string",
            "description": "country, or aggregate for a World Bank group (World, income groups, regions and other groupings). Aggregates overlap, so do not add them to countries or to each other.",
            "constraints": {
              "enum": [
                "country",
                "aggregate"
              ]
            }
          },
          {
            "name": "region",
            "type": "string",
            "description": "World Bank region of the country. Blank for aggregates."
          },
          {
            "name": "income_group",
            "type": "string",
            "description": "World Bank income group of the country (current classification). Blank for aggregates."
          },
          {
            "name": "year",
            "type": "integer",
            "description": "Calendar year, 1960 to 2025 (2025 for a minority of countries).",
            "constraints": {
              "minimum": 1960,
              "maximum": 2025
            }
          },
          {
            "name": "trade_pct_gdp",
            "type": "number",
            "description": "Trade, the sum of exports and imports of goods and services, as percent of GDP (NE.TRD.GNFS.ZS). Can exceed 100. Blank where the World Bank has no value."
          },
          {
            "name": "exports_pct_gdp",
            "type": "number",
            "description": "Exports of goods and services, percent of GDP (NE.EXP.GNFS.ZS)."
          },
          {
            "name": "imports_pct_gdp",
            "type": "number",
            "description": "Imports of goods and services, percent of GDP (NE.IMP.GNFS.ZS)."
          },
          {
            "name": "remittances_received_pct_gdp",
            "type": "number",
            "description": "Personal remittances received, percent of GDP (BX.TRF.PWKR.DT.GD.ZS). Personal transfers plus compensation of employees."
          },
          {
            "name": "remittances_received_usd",
            "type": "integer",
            "description": "Personal remittances received, current US dollars (BX.TRF.PWKR.CD.DT)."
          },
          {
            "name": "remittances_paid_usd",
            "type": "integer",
            "description": "Personal remittances paid, current US dollars (BM.TRF.PWKR.CD.DT). Fewer countries report outflows than inflows."
          }
        ]
      }
    },
    {
      "path": "data/latest.csv",
      "name": "latest",
      "title": "Latest trade and remittances value for each country",
      "mediatype": "text/csv",
      "encoding": "utf-8",
      "schema": {
        "fields": [
          {
            "name": "iso3",
            "type": "string",
            "description": "ISO 3166-1 alpha-3 country code (World Bank's list)."
          },
          {
            "name": "name",
            "type": "string",
            "description": "Country name as the World Bank lists it."
          },
          {
            "name": "region",
            "type": "string",
            "description": "World Bank region."
          },
          {
            "name": "income_group",
            "type": "string",
            "description": "World Bank income group (current classification)."
          },
          {
            "name": "trade_year",
            "type": "integer",
            "description": "Year of the latest trade value."
          },
          {
            "name": "trade_pct_gdp",
            "type": "number",
            "description": "Trade (exports plus imports of goods and services), percent of GDP, in that year."
          },
          {
            "name": "remittances_year",
            "type": "integer",
            "description": "Year of the latest remittances-received share."
          },
          {
            "name": "remittances_received_pct_gdp",
            "type": "number",
            "description": "Personal remittances received, percent of GDP, in that year."
          },
          {
            "name": "remittances_usd_year",
            "type": "integer",
            "description": "Year of the latest remittances-received value in US dollars."
          },
          {
            "name": "remittances_received_usd",
            "type": "integer",
            "description": "Personal remittances received, current US dollars, in that year."
          }
        ]
      }
    },
    {
      "path": "data/world.csv",
      "name": "world",
      "title": "World trade and remittances by year",
      "mediatype": "text/csv",
      "encoding": "utf-8",
      "schema": {
        "fields": [
          {
            "name": "year",
            "type": "integer",
            "description": "Calendar year, 1970 to 2025. 2025 is provisional (see README).",
            "constraints": {
              "minimum": 1970,
              "maximum": 2025
            }
          },
          {
            "name": "trade_pct_gdp",
            "type": "number",
            "description": "World trade (exports plus imports of goods and services), percent of world GDP. World Bank aggregate."
          },
          {
            "name": "exports_pct_gdp",
            "type": "number",
            "description": "World exports of goods and services, percent of world GDP."
          },
          {
            "name": "imports_pct_gdp",
            "type": "number",
            "description": "World imports of goods and services, percent of world GDP."
          },
          {
            "name": "remittances_received_pct_gdp",
            "type": "number",
            "description": "World personal remittances received, percent of world GDP. From 1977."
          },
          {
            "name": "remittances_received_usd_bn",
            "type": "number",
            "description": "World personal remittances received, billions of current US dollars (one decimal)."
          },
          {
            "name": "remittances_paid_usd_bn",
            "type": "number",
            "description": "World personal remittances paid, billions of current US dollars (one decimal)."
          }
        ]
      }
    }
  ],
  "views": [
    {
      "name": "world-trade",
      "title": "World trade as a share of world GDP since 1970",
      "description": "Exports plus imports of goods and services as a share of world GDP. It rose from 26% in 1970 to 60% in 2008, dropped to 52% in 2009 after the financial crisis, peaked at 62% in 2022 and was 57% in 2024. The 2025 figure is provisional and left out.",
      "resourceName": "world",
      "specType": "plot",
      "spec": {
        "height": 400,
        "marginLeft": 48,
        "x": {
          "tickFormat": "d"
        },
        "y": {
          "grid": true,
          "domain": [
            0,
            70
          ],
          "label": "Trade (% of GDP)"
        },
        "marks": [
          {
            "type": "ruleX",
            "staticData": [
              {
                "year": 2009
              }
            ],
            "x": "year",
            "stroke": "#8b929d",
            "strokeDasharray": "4,4",
            "tip": false
          },
          {
            "type": "areaY",
            "x": "year",
            "y": "trade_pct_gdp",
            "fill": "#111827",
            "fillOpacity": 0.06,
            "filter": {
              "field": "year",
              "lte": 2024
            },
            "tip": false
          },
          {
            "type": "line",
            "x": "year",
            "y": "trade_pct_gdp",
            "stroke": "#111827",
            "filter": {
              "field": "year",
              "lte": 2024
            },
            "sort": "year"
          },
          {
            "type": "text",
            "staticData": [
              {
                "year": 1970,
                "v": 25.8,
                "label": "1970: 26%"
              }
            ],
            "x": "year",
            "y": "v",
            "text": "label",
            "dy": -16,
            "dx": 6,
            "textAnchor": "start"
          },
          {
            "type": "text",
            "staticData": [
              {
                "year": 2008,
                "v": 60.3,
                "label": "2008: 60%"
              }
            ],
            "x": "year",
            "y": "v",
            "text": "label",
            "dy": -10,
            "dx": -6,
            "textAnchor": "end"
          },
          {
            "type": "text",
            "staticData": [
              {
                "year": 2009,
                "v": 51.9,
                "label": "2009: 52%"
              }
            ],
            "x": "year",
            "y": "v",
            "text": "label",
            "dy": 16,
            "dx": 6,
            "textAnchor": "start"
          },
          {
            "type": "text",
            "staticData": [
              {
                "year": 2024,
                "v": 56.7,
                "label": "2024: 57%"
              }
            ],
            "x": "year",
            "y": "v",
            "text": "label",
            "dy": -26,
            "dx": 0,
            "textAnchor": "end"
          }
        ]
      }
    },
    {
      "name": "remittance-dependence",
      "title": "Countries most dependent on remittances, 2023",
      "description": "Personal remittances received as a share of GDP in 2023, for the 14 countries above 20%. Tonga leads at 43%, then Tajikistan (38%), Lebanon (33%) and Nepal (26%). In dollars India is far ahead at $120 billion, but that is only 3% of its GDP.",
      "resourceName": "by-country-and-year",
      "specType": "plot",
      "spec": {
        "height": 440,
        "marginLeft": 120,
        "x": {
          "grid": true,
          "label": "Remittances received (% of GDP)"
        },
        "y": {
          "label": null
        },
        "marks": [
          {
            "type": "barX",
            "x": "remittances_received_pct_gdp",
            "y": "name",
            "fill": "#111827",
            "sort": "remittances_received_pct_gdp",
            "filter": [
              {
                "field": "year",
                "eq": 2023
              },
              {
                "field": "entity_type",
                "eq": "country"
              },
              {
                "field": "remittances_received_pct_gdp",
                "gte": 20
              }
            ]
          }
        ]
      }
    },
    {
      "name": "world-remittances",
      "title": "Money sent home by migrants worldwide since 1990",
      "description": "Personal remittances received by countries, in billions of US dollars. They rose from $68 billion in 1990 to $122 billion in 2000, $414 billion in 2010 and $870 billion in 2024, now 0.8% of world GDP. Reported outflows are lower, at $625 billion.",
      "resourceName": "world",
      "specType": "plot",
      "spec": {
        "height": 400,
        "marginLeft": 56,
        "x": {
          "tickFormat": "d"
        },
        "y": {
          "grid": true,
          "domain": [
            0,
            1000
          ],
          "label": "Billions of US dollars"
        },
        "marks": [
          {
            "type": "line",
            "x": "year",
            "y": "remittances_paid_usd_bn",
            "stroke": "#8b929d",
            "filter": [
              {
                "field": "year",
                "gte": 1990
              },
              {
                "field": "year",
                "lte": 2024
              }
            ],
            "sort": "year"
          },
          {
            "type": "areaY",
            "x": "year",
            "y": "remittances_received_usd_bn",
            "fill": "#111827",
            "fillOpacity": 0.06,
            "filter": [
              {
                "field": "year",
                "gte": 1990
              },
              {
                "field": "year",
                "lte": 2024
              }
            ],
            "tip": false
          },
          {
            "type": "line",
            "x": "year",
            "y": "remittances_received_usd_bn",
            "stroke": "#111827",
            "filter": [
              {
                "field": "year",
                "gte": 1990
              },
              {
                "field": "year",
                "lte": 2024
              }
            ],
            "sort": "year"
          },
          {
            "type": "text",
            "staticData": [
              {
                "year": 2024,
                "v": 870.3,
                "label": "Received: $870bn"
              }
            ],
            "x": "year",
            "y": "v",
            "text": "label",
            "dy": -10,
            "dx": 0,
            "textAnchor": "end"
          },
          {
            "type": "text",
            "staticData": [
              {
                "year": 2024,
                "v": 624.8,
                "label": "Paid: $625bn"
              }
            ],
            "x": "year",
            "y": "v",
            "text": "label",
            "dy": 18,
            "dx": 0,
            "textAnchor": "end"
          },
          {
            "type": "text",
            "staticData": [
              {
                "year": 1990,
                "v": 68.4,
                "label": "1990: $68bn"
              }
            ],
            "x": "year",
            "y": "v",
            "text": "label",
            "dy": -10,
            "dx": 6,
            "textAnchor": "start"
          }
        ]
      }
    }
  ]
}
