← Agent Data Hub · Search endpoints · /llms.txt

Exports of Goods and Services (% of GDP) by Country

Official World Bank value of all goods and market services exported to the rest of the world as % of GDP.

Call it (no API key)

GET https://api.agentdatahub.de/api/v1/call/macro-exports-gdp-ratio?country=DE&compact=1

Full metadata: without compact=1 · Markdown: format=llm · Only some fields: add &fields=a,b.c · MCP: tool call_api with {"apiId":"macro-exports-gdp-ratio"}

Parameters

countryISO-2 country code e.g. DE, US, CH, GB, FR, JP, CN (default: DE)

Example response (live, compact)

{
  "apiId": "macro-exports-gdp-ratio",
  "data_freshness": "cached",
  "data": {
    "country": "DE",
    "country_name": "Germany",
    "indicator_code": "NE.EXP.GNFS.ZS",
    "indicator_name": "Exports of goods and services (% of GDP)",
    "unit": "% of GDP",
    "latest_year": "2025",
    "latest_value": 40.43,
    "history": [
      {
        "year": "2025",
        "value": 40.43
      },
      {
        "year": "2024",
        "value": 41.43
      },
      {
        "year": "2023",
        "value": 42.97
      },
      {
        "year": "2022",
        "value": 45.63
      },
      {
        "year": "2021",
        "value": 42.52
      },
      {
        "year": "2020",
        "value": 39.12
      }
    ]
  },
  "source": "World Bank Open Data API (NE.EXP.GNFS.ZS)",
  "license": "World Bank CC-BY 4.0 Open Data"
}

Recorded history available: /api/v1/history/macro-exports-gdp-ratio?country=DE

Source & license

SourceWorld Bank Open Data API (NE.EXP.GNFS.ZS)
LicenseWorld Bank CC-BY 4.0 Open Data
Source URLhttps://api.worldbank.org/v2/country/DE/indicator/NE.EXP.GNFS.ZS?format=json
Termshttps://www.worldbank.org/en/about/legal/terms-of-use-for-datasets
CategoryFinance & Markets › 6. Macroeconomics & Central Banks