World Bank Data Scraper - Economic Indicators avatar

World Bank Data Scraper - Economic Indicators

Pricing

from $0.30 / 1,000 record collecteds

Go to Apify Store
World Bank Data Scraper - Economic Indicators

World Bank Data Scraper - Economic Indicators

Pull World Bank Open Data economic indicators for any country and year range - GDP, inflation, population, unemployment and 20,000+ more - as clean one-row-per-observation data with indicator and country metadata. Or list the full indicator catalog. No API key, no browser.

Pricing

from $0.30 / 1,000 record collecteds

Rating

0.0

(0)

Developer

Scrape Sage

Scrape Sage

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

14 days ago

Last modified

Share

Disclaimer: This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by the World Bank Group or any government body. All trademarks mentioned are the property of their respective owners. "World Bank Open Data" is referenced only to describe the public data source this Actor collects from.

Pull World Bank Open Data economic indicators for any country and year range - GDP, inflation, population, unemployment, CO2, life expectancy and 20,000+ more - as clean, one-row-per-observation data with full indicator and country metadata. Or switch to catalog mode and list every indicator to discover codes. Built on the official API - no key, no browser, no proxy.

What you get

Data mode - one row per country-year observation:

FieldMeaning
indicatorId / indicatorNameThe indicator code and its name
countryId / countryName / countryIso3The country (or aggregate, e.g. EU, World)
year / valueThe year and the reported value
unit / obsStatus / decimalUnit, observation status and precision where given

Catalog mode (mode: indicators) - one row per indicator: indicatorId, indicatorName, sourceName, sourceNote, sourceOrganization, topics.

Input

{ "indicators": ["NY.GDP.MKTP.CD", "FP.CPI.TOTL.ZG"], "countries": ["US", "CN", "DE"], "dateRange": "2015:2023" }
  • Indicator codes - one per line, e.g. NY.GDP.MKTP.CD (GDP), SP.POP.TOTL (population). Run Mode = List indicators to discover the full catalog.
  • Countries - 2- or 3-letter ISO codes, or aggregates like EUU, WLD. Empty = all countries.
  • Year range - 2023 or 2010:2023. Empty = all years.
  • Include empty values - keep years a country did not report (off by default, so you only pay for real data points). Import from a file and output fields work as on our other actors.

Leave everything empty and the run returns a small free sample (GDP for US/CN/DE, 2020-2023).

Reliability

Reads the official World Bank v2 API

  • keyless, no anti-bot, page-2 data shape handled, deep-paginated across every matching observation. An unrecognized indicator code, an empty result or a failed request bills $0 and says what to fix.

Honest limits

  • Coverage follows the World Bank's own data - not every country reports every indicator every year. Missing years are skipped by default (turn on Include empty values to keep them as nulls).
  • unit is often blank because most World Bank series encode the unit in the indicator name (e.g. "GDP (current US$)") rather than a separate field - that is the source's shape.
  • Values are the latest World Bank revision at run time; historical figures are periodically restated by the World Bank, so a value can change between runs.

Pricing

$0.0006 per record on the FREE tier (tiered pricing lowers it with volume) - priced for bulk, since one indicator across many countries and years yields thousands of rows. Only saved rows are billed.

Output views

  • Observations - indicator, country, year, value, indicator ID, ISO3.

Use with AI assistants (MCP)

Available through the Apify MCP server - an agent can pull a country's macro indicators for a briefing, build a cross-country GDP/inflation panel, or discover indicator codes from the catalog in one call.

Agent-ready: autonomous payments (x402 & Skyfire)

This actor is agent-ready - AI agents can discover it, run it, and pay for it autonomously, with no Apify account and no human in the loop. It uses pay-per-event pricing and limited permissions, so it qualifies for Apify's agentic-payment standards:

  • x402 - an open, HTTP-native payment protocol. Agents pay per run in USDC on the Base network directly through the Apify MCP server - no account, no API key.
  • Skyfire - agent-to-service payments for fully autonomous AI-agent workflows.

Building an AI agent, MCP tool, or autonomous data pipeline? This scraper is ready to plug in and pay as it goes.

Automate & schedule

Run this Actor on autopilot and pull results into your own stack:

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'MY_APIFY_TOKEN' });
const run = await client.actor('scrapesage/world-bank-data-scraper').call({
"indicators": [
"NY.GDP.MKTP.CD"
],
"countries": [
"US",
"CN",
"DE"
],
"dateRange": "2020:2023"
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(`Got ${items.length} records`);

Integrate with any app

Connect the dataset to thousands of apps - no code required:

  • Make - multi-step automation scenarios.
  • Zapier - push new records straight into your CRM or spreadsheet.
  • Slack - get notified when a scheduled run finds something new.
  • Google Drive / Sheets - auto-export every run to a spreadsheet.
  • Airbyte - pipe results into your data warehouse.
  • GitHub - trigger runs from commits or releases.

FAQ

How is this Actor billed? Pay-per-event: you pay only for the results it delivers, with no monthly rental and no start fee. The per-event price is shown on the Pricing tab.

Can I schedule it and get results automatically? Yes - create a Schedule and add a webhook or an integration (Google Sheets, Slack, Make, Zapier) to push each run's dataset wherever you need it.

Which export formats are available? Every run's dataset can be downloaded as JSON, CSV, Excel (XLSX), XML, HTML or RSS from the Apify Console or the API.

Can I run it from code or an AI agent? Yes - through the Apify API and client libraries, or from Claude, ChatGPT and other assistants via the Apify MCP server.

Is it legal to scrape World Bank Open Data? This Actor collects publicly available data only. You are responsible for using the output in compliance with applicable laws (including data-protection law where personal data is involved) and the source's terms. See the Disclaimer below.

Disclaimer

This Actor is an independent tool and is not affiliated with, endorsed by, or sponsored by the World Bank Group or any government body. All trademarks mentioned are the property of their respective owners.

"World Bank Open Data" is referenced only in a descriptive, nominative sense - to identify the public data source this Actor collects from. This Actor is not an official product or service of the World Bank Group and is not authorised or certified by it. It collects only publicly available records; you are responsible for ensuring your use of that data complies with applicable laws, regulations and the source's own terms of use or reuse conditions.

Need help?

Open an issue on the Actor's Issues tab, or visit the Apify help center. Feature requests are welcome - this Actor is actively maintained.