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

Current account balance (% of GDP) by Country — History since 1960 (World Bank)

Current account balance (% of GDP) for any country or region (ISO-2 code), with the latest value, change vs. previous year and the yearly history (default last 10 years, up to 1960). Indicator BN.CAB.XOKA.GD.ZS.

Call it (no API key)

GET https://api.agentdatahub.de/api/v1/call/wb-current-account?country=DE&years=10&compact=1

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

Parameters

countryISO-2 country or World Bank region code, e.g. DE, US, CN, EU, 1W (world) (default: DE)
yearsNumber of most recent years to return, 1-70 (default: 10)

Example response (live, compact)

{
  "apiId": "wb-current-account",
  "data_freshness": "cached",
  "data": {
    "indicator": "BN.CAB.XOKA.GD.ZS",
    "title": "Current account balance (% of GDP)",
    "unit": "% of GDP",
    "country": "DE",
    "latest": {
      "year": "2025",
      "value": 4.44736378284623
    },
    "change_vs_previous": {
      "year": "2024",
      "value": 5.89380863529107,
      "delta": -1.4464449
    },
    "years_available": {
      "from": "1971",
      "to": "2025",
      "count": 55
    },
    "series": [
      {
        "year": "2016",
        "value": 8.9023603683727
      },
      {
        "year": "2017",
        "value": 8.07873526112888
      },
      {
        "year": "2018",
        "value": 8.43761219902202
      },
      {
        "year": "2019",
        "value": 7.87471222403171
      },
      {
        "year": "2020",
        "value": 6.34782686016016
      },
      {
        "year": "2021",
        "value": 6.9200696637534
      },
      {
        "year": "2022",
        "value": 4.11376375249819
      },
      {
        "year": "2023",
        "value": 5.50327392607702
      },
      {
        "year": "2024",
        "value": 5.89380863529107
      },
      {
        "year": "2025",
        "value": 4.44736378284623
      }
    ],
    "full_history_url": "/api/v1/series/wb.BN.CAB.XOKA.GD.ZS.DE?format=csv",
    "served_from": "archive"
  },
  "source": "World Bank World Development Indicators",
  "license": "World Bank CC-BY 4.0 Open Data"
}

Recorded history available: /api/v1/history/wb-current-account?country=DE&years=10

Source & license

SourceWorld Bank World Development Indicators
LicenseWorld Bank CC-BY 4.0 Open Data
Source URLhttps://api.worldbank.org/v2/country/DE/indicator/BN.CAB.XOKA.GD.ZS
Termshttps://www.worldbank.org/en/about/legal/terms-of-use-for-datasets
CategoryFinance & Markets › Macro Indicators (World Bank, full history)