Skip to main content
fastCRW Pergamon
Statistics · XX

World Bank Open Data

api.worldbank.org

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

Showing the catalogue

1Request

Restrict to one region, using a code from the regions capability.

Restrict to one income group, using a code from the income-levels capability.

1 credit⌘ ↵
Code follows the fields above
curl "https://api.fastcrw.com/v1/data/worldbank/countries?per_page=50&page=1" \
  -H "Authorization: Bearer $FASTCRW_API_KEY"

2Response example

A sample shape. Press Run to see live data from World Bank Open 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"
  ]
]

Attribution: Source: World Bank Open Data (CC BY 4.0)

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.

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>