Skip to main content
All providers
World Bank Open Data

World Bank Open Data

Statistics

api.worldbank.org

World Development Indicators and the rest of the World Bank catalogue: any indicator, any country, any year.

Capabilities (13)

GET /v1/data/worldbank/countries1 credit

Returns every economy and aggregate the World Bank reports on, with ISO2/ISO3 codes, region, admin region, income level, lending type, capital city and coordinates.

page?per_page?region?incomeLevel?lendingType?
GET /v1/data/worldbank/country1 credit

Returns one economy's record: ISO2/ISO3 codes, name, region, admin region, income level, lending type, capital city, latitude and longitude.

country
GET /v1/data/worldbank/income-levels1 credit

Returns the World Bank income classification codes (HIC, UMC, LMC, LIC and the aggregate groupings) with their ISO2 codes and labels.

page?per_page?
GET /v1/data/worldbank/indicator1 credit

Returns the yearly observation series of one World Bank indicator for one or more countries, each row carrying date, value, unit and the decimal/obs_status flags.

countryindicatordate?per_page?page?mrv?gapfill?frequency?source?footnote?
GET /v1/data/worldbank/indicator-metadata1 credit

Returns one indicator's full record: name, unit, source database, long methodology note, aggregation method and topic tags.

indicator
GET /v1/data/worldbank/indicators1 credit

Returns the catalogue of World Bank indicator codes with name, unit, source, source note and topic tags.

page?per_page?source?topic?
GET /v1/data/worldbank/lending-types1 credit

Returns the four World Bank lending categories (IBRD, IDA, Blend, Not classified) with their codes and ISO2 codes.

page?per_page?
GET /v1/data/worldbank/regions1 credit

Returns the 44 World Bank region codes with their three-letter code, ISO2 code and name.

page?per_page?
GET /v1/data/worldbank/series-metadata1 credit

Returns the country-level footnotes for one series in one database: currency unit, base year, national accounts system, balance-of-payments manual, latest census and survey years, and similar provenance fields.

sourcecountryseries
GET /v1/data/worldbank/source-indicators1 credit

Returns every indicator published by one World Bank source database, with its name, unit and methodology note.

sourcepage?per_page?
GET /v1/data/worldbank/sources1 credit

Returns the World Bank's 71 source databases with id, code, name, last-updated date and whether data and metadata are available.

page?per_page?
GET /v1/data/worldbank/topic-indicators1 credit

Returns every indicator tagged with one topic, with its name, unit, source and methodology note.

topicpage?per_page?
GET /v1/data/worldbank/topics1 credit

Returns the 21 World Bank subject topics (Health, Education, Climate Change and so on) with id and a paragraph describing each.

page?per_page?

Response example

The shape of data from worldbank/countries (Country list). A sample, not live data.

JSON
[
  {
    "page": 1,
    "pages": 6,
    "per_page": "50",
    "total": 296
  },
  [
    {
      "id": "ABW",
      "iso2Code": "AW",
      "name": "Aruba",
      "region": {
        "id": "LCN",
        "iso2code": "ZJ",
        "value": "Latin America & Caribbean "
      },
      "adminregion": {
        "id": "",
        "iso2code": "",
        "value": ""
      },
      "incomeLevel": {
        "id": "HIC",
        "iso2code": "XD",
        "value": "High income"
      },
      "lendingType": {
        "id": "LNX",
        "iso2code": "XX",
        "value": "Not classified"
      },
      "capitalCity": "Oranjestad",
      "longitude": "-70.0167",
      "latitude": "12.5167"
    },
    {
      "id": "AFE",
      "iso2Code": "ZH",
      "name": "Africa Eastern and Southern",
      "region": {
        "id": "NA",
        "iso2code": "NA",
        "value": "Aggregates"
      },
      "adminregion": {
        "id": "",
        "iso2code": "",
        "value": ""
      },
      "incomeLevel": {
        "id": "NA",
        "iso2code": "NA",
        "value": "Aggregates"
      },
      "lendingType": {
        "id": "",
        "iso2code": "",
        "value": "Aggregates"
      },
      "capitalCity": "",
      "longitude": "",
      "latitude": ""
    },
    "… 48 more items"
  ]
]

Ask with this source

A prompt for your agent that names this source and how to call it through the crw MCP.

  • Country list

    Use World Bank Open Data (worldbank) from fastCRW Pergamon, capability "Country list" (countries). You need the country code, region or income group for an economy, or want the whole list to iterate over. Example options: region=LCN, incomeLevel=HIC, lendingType=IBD. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "worldbank" and capability "countries". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Country profile

    Use World Bank Open Data (worldbank) from fastCRW Pergamon, capability "Country profile" (country). You have one country code and want its classification and capital without pulling the whole list. Example options: country=BRA. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "worldbank" and capability "country". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Income levels

    Use World Bank Open Data (worldbank) from fastCRW Pergamon, capability "Income levels" (income-levels). You need the exact income-group code to filter countries or to read an income-group aggregate. Example options: per_page=50, page=1. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "worldbank" and capability "income-levels". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

  • Indicator observations for a country

    Use World Bank Open Data (worldbank) from fastCRW Pergamon, capability "Indicator observations for a country" (indicator). You know which indicator code and which country you want and need the actual numbers over time. Example options: country=BRA, indicator=NY.GDP.MKTP.CD, date=2000:2024. Use the crw MCP tools: crw_find_data to confirm the source and its options, then crw_get_data with provider "worldbank" and capability "indicator". Tell me the credits used and cite the licence from the response. If the crw MCP tools are missing, install them with: npx -y crw-mcp install --api-key <your fastCRW API key>

Licence

The World Bank Group licenses its datasets under Creative Commons Attribution 4.0 (CC BY 4.0), which allows copying, modification and distribution for any purpose including commercial use, with attribution.

https://datacatalog.worldbank.org/public-licenses

Attribution

Display this wherever you show the data. It arrives on every response as provenance.attribution_text.

Source: World Bank Open Data (CC BY 4.0)

Cache: up to 86400s