All free APIs
Free APIFinanceNo keyOfficial

World Bank Open Data API

Keyless macroeconomic indicators for every country: GDP, inflation, population and more

The World Bank Open Data API exposes thousands of development and macroeconomic indicators (GDP, inflation, population, unemployment, trade) for nearly every country, with long historical series. It is completely free and keyless. Responses are JSON or XML.

Free tier

Free, no key, no signup.

Rate limits

Not published; no documented hard cap. Use reasonable pagination (per_page) and cache results.

Auth

No key

Base URL

https://api.worldbank.org/v2

What you'd build with it

  • Macro context for a country-analysis or geo-economics skill
  • Compare GDP, inflation or population trends across countries
  • Backfill long historical macro series into a data warehouse
  • Enrich a report with authoritative development indicators

Key endpoints

  • GET/country/US/indicator/NY.GDP.MKTP.CD?format=jsonIndicator time series for a country (e.g. GDP for the US)
  • GET/country/all/indicator/SP.POP.TOTL?format=jsonAn indicator across all countries (e.g. total population)
  • GET/country?format=jsonList of countries with region and income metadata
  • GET/indicator?format=jsonCatalogue of available indicators and their codes
Members

Members get the runnable recipe

Sign in free to copy the example request, see a sample response, and read the gotchas.

Tags

macroeconomicsindicatorskeylessopen-data