Skip to main content
World Bank Open Data API providing development indicators for 200+ countries — GDP, population, education, health, poverty, and infrastructure metrics. Best for cross-country comparisons, global economic analysis, and development research. The standard source for international development data — unlike U.S.-focused agencies (BEA, BLS), World Bank covers the global economy with standardized indicators. 2 example endpoints available through Lava’s AI Gateway. See the World Bank API docs for full documentation.
This provider is managed — no additional setup required.
This is a catch-all provider — any valid URL under https://api.worldbank.org/v2 is supported. World Bank Open Data API. Construct URL as https://api.worldbank.org/v2/{endpoint}. Common endpoints: /country//indicator/, /country, /indicator. Use ?format=json for JSON responses. The endpoints below are curated examples.

Endpoints

Get indicator data for a country

GET https://api.worldbank.org/v2/country/US/indicator/NY.GDP.MKTP.CD?format=json — Free
const data = await lava.gateway('https://api.worldbank.org/v2/country/US/indicator/NY.GDP.MKTP.CD?format=json', { method: 'GET' });

List all countries

GET https://api.worldbank.org/v2/country?format=json — Free
const data = await lava.gateway('https://api.worldbank.org/v2/country?format=json', { method: 'GET' });

Next Steps

All Providers

Browse all supported AI providers

Forward Proxy

Learn how to construct proxy URLs and authenticate requests