← Agent Data Hub · Search endpoints · /llms.txt
Government expenditure on education (% 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 SE.XPD.TOTL.GD.ZS.
GET https://api.agentdatahub.de/api/v1/call/wb-education-spending?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-education-spending"}
country | ISO-2 country or World Bank region code, e.g. DE, US, CN, EU, 1W (world) (default: DE) |
years | Number of most recent years to return, 1-70 (default: 10) |
{
"apiId": "wb-education-spending",
"data_freshness": "cached",
"data": {
"indicator": "SE.XPD.TOTL.GD.ZS",
"title": "Government expenditure on education (% of GDP)",
"unit": "% of GDP",
"country": "DE",
"latest": {
"year": "2022",
"value": 5.23916006088257
},
"change_vs_previous": {
"year": "2021",
"value": 5.36734008789062,
"delta": -0.12818003
},
"years_available": {
"from": "1993",
"to": "2022",
"count": 19
},
"series": [
{
"year": "2013",
"value": 4.83911991119385
},
{
"year": "2014",
"value": 4.82582998275757
},
{
"year": "2015",
"value": 4.76157999038696
},
{
"year": "2016",
"value": 4.76321983337402
},
{
"year": "2017",
"value": 4.77830982208252
},
{
"year": "2018",
"value": 4.88401985168457
},
{
"year": "2019",
"value": 5.02757978439331
},
{
"year": "2020",
"value": 5.51600980758667
},
{
"year": "2021",
"value": 5.36734008789062
},
{
"year": "2022",
"value": 5.23916006088257
}
],
"full_history_url": "/api/v1/series/wb.SE.XPD.TOTL.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-education-spending?country=DE&years=10
| Source | World Bank World Development Indicators |
| License | World Bank CC-BY 4.0 Open Data |
| Source URL | https://api.worldbank.org/v2/country/DE/indicator/SE.XPD.TOTL.GD.ZS |
| Terms | https://www.worldbank.org/en/about/legal/terms-of-use-for-datasets |
| Category | Finance & Markets › Macro Indicators (World Bank, full history) |