World Bank · Schema
Country
World Bank country record with geographical and economic classification data.
Development DataGlobal EconomicsGDPPovertyHealth MetricsEducationClimateFinanceWorld BankOpen DataCountry DataIndicators
Properties
| Name | Type | Description |
|---|---|---|
| id | string | ISO 3166-1 alpha-3 country code |
| iso2Code | string | ISO 3166-1 alpha-2 country code |
| name | string | Official country name |
| region | object | World Bank geographic region |
| adminregion | object | World Bank administrative region (for developing countries) |
| incomeLevel | object | World Bank income level classification |
| lendingType | object | World Bank lending type classification |
| capitalCity | string | Name of the capital city |
| longitude | string | Longitude of the country centroid |
| latitude | string | Latitude of the country centroid |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://api-evangelist.github.io/worldbank/json-schema/country.json",
"title": "Country",
"description": "World Bank country record with geographical and economic classification data.",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "ISO 3166-1 alpha-3 country code",
"example": "USA"
},
"iso2Code": {
"type": "string",
"description": "ISO 3166-1 alpha-2 country code",
"minLength": 2,
"maxLength": 2,
"example": "US"
},
"name": {
"type": "string",
"description": "Official country name",
"example": "United States"
},
"region": {
"$ref": "#/$defs/ClassificationRef",
"description": "World Bank geographic region"
},
"adminregion": {
"$ref": "#/$defs/ClassificationRef",
"description": "World Bank administrative region (for developing countries)"
},
"incomeLevel": {
"$ref": "#/$defs/ClassificationRef",
"description": "World Bank income level classification"
},
"lendingType": {
"$ref": "#/$defs/ClassificationRef",
"description": "World Bank lending type classification"
},
"capitalCity": {
"type": "string",
"description": "Name of the capital city",
"example": "Washington D.C."
},
"longitude": {
"type": "string",
"description": "Longitude of the country centroid",
"example": "-95.7129"
},
"latitude": {
"type": "string",
"description": "Latitude of the country centroid",
"example": "37.0902"
}
},
"required": ["id", "iso2Code", "name"],
"$defs": {
"ClassificationRef": {
"type": "object",
"description": "Reference to a World Bank classification category",
"properties": {
"id": {
"type": "string",
"description": "Classification code"
},
"iso2code": {
"type": "string",
"description": "ISO 2-character code for the classification"
},
"value": {
"type": "string",
"description": "Human-readable classification name"
}
},
"required": ["id", "value"]
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/country"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.