← Agent Data Hub · Search endpoints · /llms.txt
GNI per capita, Atlas method (current US$) 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 NY.GNP.PCAP.CD.
GET https://api.agentdatahub.de/api/v1/call/wb-gni-per-capita?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-gni-per-capita"}
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-gni-per-capita",
"data_freshness": "cached",
"data": {
"indicator": "NY.GNP.PCAP.CD",
"title": "GNI per capita, Atlas method (current US$)",
"unit": "USD",
"country": "DE",
"latest": {
"year": "2025",
"value": 60200
},
"change_vs_previous": {
"year": "2024",
"value": 55090,
"delta": 5110
},
"years_available": {
"from": "1962",
"to": "2025",
"count": 64
},
"series": [
{
"year": "2016",
"value": 45340
},
{
"year": "2017",
"value": 44730
},
{
"year": "2018",
"value": 48770
},
{
"year": "2019",
"value": 50350
},
{
"year": "2020",
"value": 48540
},
{
"year": "2021",
"value": 52850
},
{
"year": "2022",
"value": 55200
},
{
"year": "2023",
"value": 55420
},
{
"year": "2024",
"value": 55090
},
{
"year": "2025",
"value": 60200
}
],
"full_history_url": "/api/v1/series/wb.NY.GNP.PCAP.CD.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-gni-per-capita?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/NY.GNP.PCAP.CD |
| Terms | https://www.worldbank.org/en/about/legal/terms-of-use-for-datasets |
| Category | Finance & Markets › Macro Indicators (World Bank, full history) |