World Bank Country Classification — Region, Income Group, Lending Category, Capital And Coordinates For Every Economy
217 economies classified by the World Bank with ISO3 and ISO2 codes, geographic region, administrative region, income group (low, lower-middle, upper-middle, high), IDA/IBRD lending category, capital city and its coordinates, with the World Bank's short codes alongside each label, excluding the 78 regional and income aggregates, from the World Bank country API as of 2026-09-06.
Use Cases
- Income-group and regional segmentation of country data
- Emerging- and frontier-market universe definitions
- Join table for World Bank indicator sets
- Capital-city coordinates for maps
Methodology
Single API call; aggregate entries (region id NA) excluded; region, income and lending labels trimmed with their codes kept alongside; admin_region is blank for high-income economies, as at the source; sorted by ISO3.
Update Schedule
Static snapshot. The World Bank revises income classifications each July 1; refresh quarterly.
Attribution
Source: World Bank, Country API (api.worldbank.org/v2/country), CC BY 4.0.
Schema
| name | type |
|---|---|
| iso3 | string |
| iso2 | string |
| name | string |
| region | string |
| region_code | string |
| admin_region | string |
| income_level | string |
| income_level_code | string |
| lending_type | string |
| lending_type_code | string |
| capital_city | string |
| longitude | number |
| latitude | number |
Sample Data
| iso2 | iso3 | name | region | latitude | longitude | region_code | admin_region | capital_city | income_level | lending_type | income_level_code | lending_type_code |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| AW | ABW | Aruba | Latin America & Caribbean | 12.5167 | -70.0167 | LCN | Oranjestad | High income | Not classified | HIC | LNX | |
| AF | AFG | Afghanistan | Middle East, North Africa, Afghanistan & Pakistan | 34.5228 | 69.1761 | MEA | Middle East, North Africa, Afghanistan & Pakistan (excluding high income) | Kabul | Low income | IDA | LIC | IDX |
| AO | AGO | Angola | Sub-Saharan Africa | -8.81155 | 13.242 | SSF | Sub-Saharan Africa (excluding high income) | Luanda | Lower middle income | IBRD | LMC | IBD |
| AL | ALB | Albania | Europe & Central Asia | 41.3317 | 19.8172 | ECS | Europe & Central Asia (excluding high income) | Tirane | Upper middle income | IBRD | UMC | IBD |
| AD | AND | Andorra | Europe & Central Asia | 42.5075 | 1.5218 | ECS | Andorra la Vella | High income | Not classified | HIC | LNX |
Get this via API
# Example for Cursor (.cursor/mcp.json).
# For Claude, ChatGPT and Codex, use the Connect your agent guide.
# Read-only keys can preview and query data you already have access to.
{
"mcpServers": {
"dagentbase": {
"url": "https://dagentbase.com/api/mcp",
"headers": { "Authorization": "Bearer dm_live_YOUR_KEY" }
}
}
}
# 2. Then ask your agent, in plain language:
# "Preview listing 932de29b-e0d5-4d6e-874d-d6e517a68ac6 and explain its coverage and license."
# Tools: preview_listing -> describe_dataset -> query_dataset
# Claim or purchase in the platform before querying with a read-only key.one time · open license
Details
Available formats