World Bank Indicators API - GDP, Inflation & Economic Data
Pricing
Pay per usage
World Bank Indicators API - GDP, Inflation & Economic Data
Affordable World Bank indicators: GDP, inflation & economic data. $1/1,000 results, 25 free, pay-per-result, no subscription. Works in Claude, ChatGPT & any MCP-compatible AI agent.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
The Mine Works
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Share
World Bank Indicators — GDP, Inflation, Trade & More by Country
Pull World Bank development indicators — GDP, GDP per capita, inflation, unemployment, exports/imports, population, and 1,400+ more — for any country and year range, as clean structured JSON. The authoritative source for macro and development data, with no API key. Built for economics, finance, market research, and data pipelines.
Keywords: World Bank API, economic indicators, GDP by country, inflation data, development indicators, macro data, country statistics API.
Why this actor
The World Bank publishes the World Development Indicators — the standard reference for cross-country macro and development data. Its API is open but returns a [metadata, data] envelope with paged results and null-padded years. This actor handles paging and null-filtering and gives you one clean record per data point. It pairs with our Global Trade Data actor (World Bank WITS) for a complete macro + trade picture.
- 1,400+ indicators — anything in the World Development Indicators.
- Any country, any year range — single country, a list, or
all. - Clean output — country, ISO3, indicator id + name, year, value.
- No API key — official World Bank API.
Common indicator codes
| Indicator | Code |
|---|---|
| GDP (current US$) | NY.GDP.MKTP.CD |
| GDP per capita (current US$) | NY.GDP.PCAP.CD |
| GDP growth (annual %) | NY.GDP.MKTP.KD.ZG |
| Inflation, consumer prices (annual %) | FP.CPI.TOTL.ZG |
| Unemployment (% of labor force) | SL.UEM.TOTL.ZS |
| Exports of goods & services (current US$) | NE.EXP.GNFS.CD |
| Imports of goods & services (current US$) | NE.IMP.GNFS.CD |
| Population, total | SP.POP.TOTL |
| Foreign direct investment, net inflows | BX.KLT.DINV.CD.WD |
(Browse all at data.worldbank.org.)
Input
| Field | Type | Default | Description |
|---|---|---|---|
countries | string[] | ["IN","US","CN"] | ISO country codes, or all. |
indicators | string[] | ["NY.GDP.MKTP.CD"] | World Bank indicator codes. |
yearFrom / yearTo | integer | 2015 / 2023 | Year range. |
maxResults | integer | 1000 | Max data points. |
Example
{ "countries": ["IN","US","CN","BR"], "indicators": ["NY.GDP.MKTP.CD","FP.CPI.TOTL.ZG"], "yearFrom": 2010, "yearTo": 2023, "maxResults": 2000 }
Output
{"country": "China","country_iso3": "CHN","indicator_id": "NY.GDP.MKTP.CD","indicator": "GDP (current US$)","year": "2022","value": 18316765021690.2,"scraped_at": "2026-06-12T00:00:00.000Z"}
A final {"_type":"summary"} record reports how many data points were returned.
Pricing
First 25 data points free per account, then $0.001 per point ($1 per 1,000). Zero charge on empty runs. No monthly rental, no API key.
FAQ
Do I need a key? No — the World Bank API is fully open.
How many indicators? 1,400+ in the World Development Indicators.
Where do I find indicator codes? Browse data.worldbank.org, or use the common ones in the table above.
Multiple countries/indicators at once? Yes — pass lists of each; the actor fetches every combination over your year range.
How far back does the data go? Most indicators are available from 1960. Set yearFrom to any year from 1960 onward. Earlier years may have gaps for developing economies but are included where the World Bank has reported data.
Can I automate regular refreshes? Yes — schedule the actor on Apify to run monthly or quarterly and you will get an up-to-date dataset automatically. Pairs well with our Global Trade Data actor for a full macro picture.