fourzerotwo
← World Bank Indicators
economy by fourzerotwo

Access to electricity (% of population)

Access to electricity (% of population) for a country, last 10 years (World Bank WDI EG.ELC.ACCS.ZS).

Access to electricity (% of population)

Access to electricity (% of population) for a country, last 10 years (World Bank WDI EG.ELC.ACCS.ZS).

price
$0.002 / call
free tier
free allowance
MCP tool
world-bank__electricity-access
method
GET

GET https://fourzerotwo.si/v1/world-bank/electricity-access

ParamTypeDescription
country string ISO2/ISO3 country code, or "all"
# unpaid: returns 402 with the price
curl -i "https://fourzerotwo.si/v1/world-bank/electricity-access?country=GB"
# free tier: send a free key from https://fourzerotwo.si/free
curl -H "X-API-Key: fzt_…" "https://fourzerotwo.si/v1/world-bank/electricity-access?country=GB"

Use it from an AI agent (MCP)

Add the server once, then ask for this data in plain English. The agent finds the endpoint with search_apis and runs it with call_api.

{
  "mcpServers": {
    "fourzerotwo": { "type": "http", "url": "https://fourzerotwo.si/mcp" }
  }
}
# the call the agent makes
call_api {"tool": "world-bank__electricity-access", "arguments": {"country":"GB"}}

More from World Bank Indicators

Source: The World Bank, World Development Indicators, licensed under CC BY 4.0.