Top N countries by GDP per capita or population for a year
Ranks Maddison Project Database countries by a variable in descending order for one year. Answers questions like which 10 countries had the highest GDP per capita in 1913? without requiring the caller to pull the full panel and sort locally. Variable must be one of gdppc (GDP per capita in 2011 international dollars, PPP) or pop (population in thousands). Published under CC BY 4.0 by Bolt and van Zanden at the University of Groningen.
Query parameters
Variable to rank by. Accepted: gdppc or pop.
Variable to rank by. Accepted: gdppc or pop.
Year to rank by. Must be within the workbook range (1 AD through 2022).
Year to rank by. Must be within the workbook range (1 AD through 2022).
Maximum rows to return (1 to 50). Defaults to 10.
Maximum rows to return (1 to 50). Defaults to 10.
Response
Descending ranking of countries with their iso3, country, region, and variable value.
Example response
{
"data": {
"variable": "gdppc",
"unit": "2011 international dollars (PPP)",
"year": 2022,
"limit": 10,
"ranking": [
{
"rank": 1,
"iso3": "USA",
"country": "United States",
"region": "Western Offshoots",
"region_slug": "western-offshoots",
"value": 61120.25
}
],
"count": 10
},
"meta": {
"endpoint": "/api/v1/fred/us/cpi",
"data_time": "2026-04-16T14:30:00Z",
"response_time": "2026-04-16T14:30:12Z",
"provider": "Sugra API v1.0.1",
"source": "sugra_crypto",
"attribution": "Short interest and Reg SHO daily short volume data is owned by and sourced from FINRA (Financial Industry Regulatory Authority).",
"fallback_chain": [
"sugra_crypto",
"sugra_finance"
]
}
}