World Bank API

Free

by World Bank API

Provided by World Bank API

Not yet rated
Platform
Web / API
Pricing
Free
Account required
No
Ads
None
Last verified
2 months ago
Developer
World Bank API
Official URL

Overview

The World Bank Indicators API gives programmatic access to the development statistics the World Bank publishes on its open data site. It covers close to 16,000 time series indicators drawn from more than 45 databases, including the World Development Indicators and International Debt Statistics, and many series run back more than fifty years.

Requests are plain web addresses on api.worldbank.org. You name a country (or all countries), an indicator code such as the one for GDP in current US dollars, and optional settings: a date or date range, the most recent values only, the response format and the page size. The default output is XML; JSON, JSONP and JSON-stat are also available, and bulk downloads come as CSV, XML or Excel inside a ZIP file. No API key or other authentication is needed, so a request can be pasted straight into a browser.

It is a good fit for students, journalists, researchers and developers who want official country-level figures in charts, dashboards or analysis scripts. Version 2 is the current version; the older version 1 addresses have been retired and return an error.

Features

  • Close to 16,000 indicators from more than 45 World Bank databases
  • No API key or sign-up needed
  • XML, JSON, JSONP and JSON-stat responses
  • Bulk downloads as CSV, XML or Excel in a ZIP file
  • Filters for year, quarter, month and date ranges
  • Most-recent-value and most-recent-non-empty-value options
  • Up to 60 indicators in one request
  • Localised results through a language prefix in the address

Privacy

See the official privacy policy. The API needs no account or key, so requests are not tied to a registered identity.

Pros & Cons

Pros

  • Open without registration or keys
  • Official figures with long historical series
  • Simple URL structure that works in a browser
  • Several output formats, including spreadsheet-friendly downloads

Cons

  • Results cannot be sorted by the API
  • Default output is XML and results are paged at 50 per page unless you change it
  • Indicator codes are cryptic and have to be looked up first
  • Some countries and years have gaps in the data

Community Reviews (0)

No written reviews yet — be the first to rate this tool.

Similar Tools

  • REST Countries API Editor's Pick
    Data APIs · REST Countries

    A country data API with populations, currencies, languages, borders, flags and more. Requests now need an API key; a small free tier is offered.

    Not yet rated
    Freemium API
  • Data APIs · IPinfo

    IP address geolocation, ASN and network data through a web lookup and a developer API.

    Not yet rated
    Freemium Web API
  • Provides financial and economic datasets via API.

    Not yet rated
    Freemium Web API
  • Data APIs · Kaggle

    Downloads datasets and submits competition results via API.

    Not yet rated
    Free API