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

Government Tax Revenue (% of GDP) by Country

Official World Bank compulsory transfers to the central government for public purposes as % of GDP.

Call it (no API key)

GET https://api.agentdatahub.de/api/v1/call/macro-tax-revenue-gdp?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-tax-revenue-gdp"}

Parameters

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

Example response (live, compact)

{
  "apiId": "macro-tax-revenue-gdp",
  "data_freshness": "cached",
  "data": {
    "country": "DE",
    "country_name": "Germany",
    "indicator": "GC.TAX.TOTL.GD.ZS",
    "unit": "% of GDP",
    "latest_year": "2024",
    "latest_value": 10.89,
    "history": [
      {
        "year": "2024",
        "value": 10.89
      },
      {
        "year": "2023",
        "value": 10.69
      },
      {
        "year": "2022",
        "value": 11.26
      },
      {
        "year": "2021",
        "value": 11.47
      },
      {
        "year": "2020",
        "value": 11.16
      }
    ]
  },
  "source": "World Bank Open Data (GC.TAX.TOTL.GD.ZS)",
  "license": "World Bank CC-BY 4.0 Open Data"
}

Recorded history available: /api/v1/history/macro-tax-revenue-gdp?country=DE

Source & license

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