$npx skillfedfor your agent

wbgapi

wbgapi provides a comprehensive interface to the World Bank's data and metadata APIs

Worth itPyPI Information AnalysisReleased Feb 202686.0K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — wbgapi-1.0.14-py3-none-any.whl
v1.0.14 · released 2026-02-27 · Python >=3.0 · 3 runtime deps: requests, PyYAML, tabulate

Yes. WBGAPI is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. It fills a clear need for programmatic access to World Bank data with a well-designed, pythonic API. Install it if you need to work with World Bank indicators, development data, or metadata in Python.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with three lightweight runtime dependencies (requests, PyYAML, tabulate).
  • Active maintenance with recent commits and a stable release history since 2020.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute this package freely provided you include the license notice.

last release 2026-02-27 (168 days) · last repo commit 2026-02-27 · 175 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 86,027 downloads/mo, #13,889 on PyPI

Verify before relying

pip install wbgapi

import wbgapi as wb

# List available databases
wb.source.info()

# Fetch population data for USA
for row in wb.data.fetch('SP.POP.TOTL', 'USA'):
    print(row)
  • Whether pandas integration is optional or required for full functionality
  • Performance characteristics when querying large datasets or many indicators simultaneously
  • Rate limiting or throttling behavior from the World Bank API
Same gist for agents: .md · .json

What it is and what it does

WBGAPI is a Python wrapper around the World Bank's data APIs that lets you query development indicators, economic statistics, and metadata across multiple World Bank databases. It abstracts away API complexity by organizing data into logical sub-packages (series for indicators, economy for countries, time for periods, source for databases, and others) and providing consistent methods like `list()`, `get()`, `info()`, and `Series()` across each. The package queries databases individually by default, which avoids confusion when the same indicator appears in multiple databases or when databases have different dimensions or time coverage.

You can fetch data as dictionaries or pandas DataFrames, filter by keywords, combine multiple series and countries in a single request, and select specific years or most-recent values. The API is designed to feel natural in Python—using generators, ranges, and sets—and includes extensive docstrings with examples. Optional pandas support lets you work with the results as structured tables with multi-indexing.

Use it for

  • Retrieve population, GDP, or other development indicators for countries over time for economic analysis
  • Build datasets combining multiple indicators across regions for research or visualization
  • Search World Bank metadata to discover available indicators by keyword or topic
  • Automate data collection from World Bank databases for dashboards or reporting pipelines
  • Explore World Bank data interactively in Jupyter notebooks using the `info()` functions

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

WBGAPI is actively maintained, has no known vulnerabilities, low install friction, and a permissive MIT license. It fills a clear need for programmatic access to World Bank data with a well-designed, pythonic API. Install it if you need to work with World Bank indicators, development data, or metadata in Python.

Install

wbgapi on PyPI

Before you install

Low install friction with three lightweight runtime dependencies (requests, PyYAML, tabulate). Active maintenance with recent commits and a stable release history since 2020.

License in practice

MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute this package freely provided you include the license notice.

Quickstart

pip install wbgapi

import wbgapi as wb

# List available databases
wb.source.info()

# Fetch population data for USA
for row in wb.data.fetch('SP.POP.TOTL', 'USA'):
    print(row)

Verify before relying

  • Whether pandas integration is optional or required for full functionality
  • Performance characteristics when querying large datasets or many indicators simultaneously
  • Rate limiting or throttling behavior from the World Bank API

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
requestsPyYAMLtabulate
MaintenanceActively maintained 168 days since the last release
Last repo commit
First released
Downloads86,027 / month, #13,889 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableOperating System :: OS IndependentProgramming Language :: Python :: 3

Evidence: wbgapi-1.0.14-py3-none-any.whl

Tags

Capabilities
world bank data api pythonaccess world bank indicatorsfetch development indicators programmaticallyworld bank economic dataquery world bank databaseswdi world development indicatorsworld bank metadata search
Topics
world-bank-dataeconomic-indicatorsdata-api

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “fetch development indicators programmatically”

  • wbgapiWBGAPI provides a Python interface to query World Bank data and…
  • pandas-datareaderFetches macroeconomic and factor data from remote sources like FRED,…
  • pymispPyMISP is a Python library that connects to MISP platforms via their…

Give your agent the search over MCP, or paste the wish link into any chat.

More Information Analysis packages

regex Worth it
PyPI · Python Modules · released Jul 2026

A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.

Apache-2.0 AND CNRI-Pythoncompiled wheel · 3.10+
437.7Mdownloads / mo
pyarrow Worth it
PyPI · Information Analysis · released Aug 2026

pyarrow provides Python bindings to Apache Arrow's C++ libraries for efficient columnar data processing, serialization, and interoperability with pandas, NumPy, and other Python ecosystem tools.

Apache-2.0compiled wheel · 3.10+
432.9Mdownloads / mo
networkx Worth it
PyPI · Python Modules · released Dec 2025

NetworkX provides data structures and algorithms for creating, analyzing, and manipulating graphs and networks, supporting everything from simple undirected graphs to complex directed and weighted networks.

BSD-3-Clausepure Python
290.9Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Software Development · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
contourpy Worth it
PyPI · Information Analysis · released Jul 2025

ContourPy calculates contours of 2D quadrilateral grids using C++11 algorithms wrapped in Python, offering serial and multithreaded implementations without requiring Matplotlib as a dependency.

BSD-3-Clausecompiled wheel · 3.11+
191.2Mdownloads / mo
snowflake-snowpark-python Worth it
PyPI · Software Development · released Jul 2026

Snowpark Python provides APIs to query and process data directly in Snowflake without moving data to your local system, with support for both native Snowpark and pandas-compatible interfaces.

Install it if you use Snowflake and want to process data without moving it to your application layer.

Apache-2.0pure Python
100.7Mdownloads / mo

See also wbdata · openbb-economy · fredapi · pandas-datareader · beaapi · imfp · openbb-imf · tradingeconomics · pycountry · python-bcb