Skip to content
Eden Engine

World Bank Countries by Region, Income Group or Lending Type

worldbank/countries-by-group

The countries the World Bank places in a region, an income group, or both: for example the 21 low-income countries of Sub-Saharan Africa, or all 86 high-income countries. Filters: region (East Asia & Pacific, Europe & Central Asia, Latin America & Caribbean, Middle East North Africa Afghanistan & Pakistan, North America, South Asia, Sub-Saharan Africa), income_level (high, upper middle, lower middle, low) and lending_type (IBRD, IDA, blend, not classified), which narrows one of the other two. Give at least a region or an income_level. Each row has the code, name, region, income group, lending type, capital and coordinates of World Bank Country Profile. Countries only: no aggregates, and the income group is the current classification, reset every 1 July. A combination with no country returns an empty list. Rows are alphabetical by name. Attribution, as the World Bank requires: The World Bank: World Bank Country and Lending Groups. Licensed under CC BY 4.0. Served by Eden Engine; not an official World Bank product and not endorsed by the World Bank.

activeper callv3

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.00.

Data source

The World Bank

The World Bank: World Bank Country and Lending Groups. Licensed under CC BY 4.0 with the World Bank Dataset Terms of Use (https://www.worldbank.org/ext/en/legal/terms-conditions/datasets). Served by Eden Engine; not an official World Bank product and not endorsed by the World Bank.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

Connect once and your AI can find and run this tool, and any other it needs.

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "worldbank/countries-by-group" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "worldbank/countries-by-group" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "worldbank/countries-by-group", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "worldbank/countries-by-group", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 27, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "anyOf": [
    {
      "required": [
        "region"
      ]
    },
    {
      "required": [
        "income_level"
      ]
    }
  ],
  "properties": {
    "region": {
      "enum": [
        "EAS",
        "ECS",
        "LCN",
        "MEA",
        "NAC",
        "SAS",
        "SSF"
      ],
      "type": "string",
      "description": "The World Bank region: EAS East Asia & Pacific, ECS Europe & Central Asia, LCN Latin America & Caribbean, MEA Middle East, North Africa, Afghanistan & Pakistan, NAC North America, SAS South Asia, SSF Sub-Saharan Africa."
    },
    "income_level": {
      "enum": [
        "HIC",
        "UMC",
        "LMC",
        "LIC"
      ],
      "type": "string",
      "description": "The current income group: HIC high income, UMC upper middle income, LMC lower middle income, LIC low income."
    },
    "lending_type": {
      "enum": [
        "IBD",
        "IDX",
        "IDB",
        "LNX"
      ],
      "type": "string",
      "description": "Narrows the list to one lending category: IBD IBRD, IDX IDA, IDB blend (both), LNX not classified. Only with a region or an income_level."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "iso2Code",
          "name",
          "region",
          "incomeLevel",
          "lendingType"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "The three-letter country code."
          },
          "name": {
            "type": "string",
            "description": "The World Bank's name for the country, for example Venezuela, RB."
          },
          "region": {
            "type": "object",
            "description": "The region: id, iso2code and value. value can end in a space.",
            "additionalProperties": true
          },
          "iso2Code": {
            "type": "string",
            "description": "The two-letter country code."
          },
          "latitude": {
            "type": "string",
            "description": "The capital's latitude in degrees, as text. Empty for six countries."
          },
          "longitude": {
            "type": "string",
            "description": "The capital's longitude in degrees, as text. Empty for six countries."
          },
          "adminregion": {
            "type": "object",
            "description": "The region excluding high-income countries: id, iso2code and value. Empty strings for a high-income country.",
            "additionalProperties": true
          },
          "capitalCity": {
            "type": "string",
            "description": "The capital. Empty for six countries."
          },
          "incomeLevel": {
            "type": "object",
            "description": "The current income group: id (HIC, UMC, LMC or LIC), iso2code and value.",
            "additionalProperties": true
          },
          "lendingType": {
            "type": "object",
            "description": "The lending category: id (IBD, IDX, IDB or LNX), iso2code and value.",
            "additionalProperties": true
          }
        },
        "additionalProperties": true
      },
      "description": "The countries in the group. No aggregates."
    }
  },
  "description": "One row per country in results, alphabetical by name, each shaped like World Bank Country Profile's. An empty results list means no country has that combination.",
  "additionalProperties": false
}