Country Economic Data API - World Bank GDP, FX & Holidays avatar

Country Economic Data API - World Bank GDP, FX & Holidays

Pricing

from $8.50 / 1,000 country briefs

Go to Apify Store
Country Economic Data API - World Bank GDP, FX & Holidays

Country Economic Data API - World Bank GDP, FX & Holidays

Country economic data for any country (ISO code): World Bank GDP, GDP per capita, population, growth, inflation and unemployment, plus the live USD exchange rate and upcoming public holidays. One structured record per country for market research or agents. Keyless.

Pricing

from $8.50 / 1,000 country briefs

Rating

0.0

(0)

Developer

Centor Prat

Centor Prat

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

5 days ago

Last modified

Share

🌐 Country Economic Data API: World Bank GDP, FX & Holidays

One call, four official sources, one brief. Give an ISO-2 country code (or many) and get a single structured market brief per country — basics, key economic indicators, FX rates, and upcoming public holidays — instead of making your agent stitch the World Bank, an FX API, and a holiday API together.

Headless · keyless (no API keys to manage) · structured JSON out · built for AI agents.

⚡ Why it's different

Other actors give you raw World Bank data, raw FX, or raw holidays. This one fuses them into one agent-ready brief: ask "ES", get Spain's income level, GDP/capita, growth, inflation, unemployment, EUR-per-USD, and the next holidays — in a single call.

📋 What you get (per country)

FieldMeaning
name, country, capital, region, incomeLevelCountry basics (World Bank)
latitude, longitudeCountry centroid
indicators.gdpPerCapitaUsdGDP per capita (current US$) + year
indicators.populationTotal population + year
indicators.gdpGrowthPctReal GDP growth % + year
indicators.inflationPctConsumer-price inflation % + year
indicators.unemploymentPctUnemployment % + year
fx.localCurrency + fx.localPerBaseLocal currency and its rate vs your base
fx.majorsBase → USD/EUR/GBP/JPY/CNY
upcomingHolidaysNext N public holidays (date + name + local name)

📥 Input

FieldTypeMeaning
countrystringA single ISO-2 code, e.g. ES, US, JP
countriesarrayMany codes: ["ES","JP","US"] (billed per country)
baseCurrencystringFX base (default USD)
holidaysCountintegerUpcoming holidays per country (default 5)
webhookUrlstringPOST the briefs here (Zapier/Make/n8n/custom)

Example input

{ "countries": ["ES", "JP", "US"], "baseCurrency": "USD", "holidaysCount": 5 }

📤 Output (one row per country)

{
"country": "ES", "name": "Spain", "capital": "Madrid",
"region": "Europe & Central Asia", "incomeLevel": "High income",
"latitude": 40.41, "longitude": -3.70,
"indicators": {
"gdpPerCapitaUsd": { "value": 38627.25, "year": "2025" },
"population": { "value": 49355143, "year": "2025" },
"gdpGrowthPct": { "value": 2.82, "year": "2025" },
"inflationPct": { "value": 2.67, "year": "2025" },
"unemploymentPct": { "value": 10.38, "year": "2025" }
},
"fx": { "base": "USD", "localCurrency": "EUR", "localPerBase": 0.8926,
"majors": { "USD": 1, "EUR": 0.8926, "GBP": 0.7459, "JPY": 158.23, "CNY": 7.12 },
"updated": "Mon, 12 Oct 2026 ..." },
"upcomingHolidays": [ { "date": "2026-10-12", "name": "National Day of Spain", "localName": "Fiesta Nacional de España" } ],
"sources": ["worldbank.org", "open.er-api.com", "date.nager.at"],
"capturedAt": "2026-..."
}

💡 Use cases

  • Market research agents: one call for a country snapshot instead of three integrations.
  • Travel / scheduling tools: economy + currency + the next public holidays in one place.
  • Logistics / ops: compare several markets (GDP/inflation/unemployment) side by side.
  • Localization / pricing: local currency + FX to set region-appropriate prices.
  • Dashboards: seed a country table with fresh indicators + FX on a schedule.

🤖 For AI agents (MCP)

Keyless, one call → a fused, structured brief. Every input is described in the schema for programmatic/MCP use. Example MCP server config:

{
"mcpServers": {
"country-brief": {
"url": "https://mcp.apify.com/?tools=actors,docs,centorprat/world-bank-country-economic-data"
}
}
}

Claude Code: claude mcp add --transport http apify "https://mcp.apify.com/?tools=actors,docs,centorprat/world-bank-country-economic-data" --header "Authorization: Bearer <YOUR_APIFY_TOKEN>"

No extra setup: this Actor is callable from Claude, Cursor, ChatGPT or any MCP client through the Apify MCP server, and agents can find it on their own with the server's search-actors tool.

🚀 Ready-made tasks (one click)

Pre-configured runs for the most common jobs. Open one, change the input, run:

❓ FAQ

  • Do I need an API key? No — all sources are keyless and free; you only pay the Actor's per-country fee.
  • How fresh is it? FX updates daily; indicators are the most recent year the World Bank publishes.
  • Which countries? Any with an ISO-2 code; indicators depend on World Bank coverage (some small states are sparse).
  • What if an indicator is missing? The field returns value: null — the brief still composes.
  • Can I change the FX base? Yes — baseCurrency (e.g. EUR, GBP).
  • How many countries per run? As many as you pass; billed per country.
  • Why ISO-2 codes (not names)? Codes are unambiguous and agent-friendly (ES not "Spain/España").
  • Is the data stored? No — fetched, composed, returned.
  • Commercial use? Yes — World Bank open data, ECB-derived FX (open.er-api), and Nager public-holiday data are all free to use.

📜 Data & attribution

Country data & indicators from the World Bank (open data); exchange rates from open.er-api.com (ECB-sourced); public holidays from date.nager.at. Public data, composed and returned; nothing stored.

Part of one suite of keyless, agent-ready composers by the same developer: