{"uid":"cap_02FVkcv9y36ZH0WDTra6A","slug":"country-economic-data-api-0f4c351c","name":"Country Economic Data API","description":"Pay-per-call data and tools for AI agents, $0.002-0.01 per call in USDC via x402 (Base, Polygon or Solana), no account or API key; MAX tiers ($0.05-0.25) run deeper jobs. Agent toolkit: web search, search + read top pages, any page as clean markdown with a prompt-injection check, which-x402-API-to-call recommender, seller check. Data: Google Maps places with contacts, YouTube video data and transcripts, job listings (Indeed, LinkedIn, 13 boards), Google Ads Transparency, TikTok comments, Pinterest, Airbnb, Redfin, AliExpress, app stores, live sports, website and SEO checks, Shopify store tech stacks, and onchain token / address risk checks.","url":"https://agent-data.centorprat.workers.dev/tools/world-bank-country-economic-data?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"country":{"type":"string","description":"A single ISO 3166-1 alpha-2 country code. Example: ES (Spain), US, JP."},"countries":{"type":"array","items":{"type":"string"},"maxItems":3,"description":"An array of ISO-2 codes, e.g. [\"ES\",\"JP\",\"US\"]. Billed per country."},"baseCurrency":{"type":"string","description":"ISO-4217 base currency for the exchange-rate block. Default USD."},"holidaysCount":{"type":"integer","description":"How many upcoming public holidays to return per country."}}},"responseSchema":{"type":"json","example":{"items":[{"fx":{"base":"USD","majors":{"CNY":6.684864,"EUR":0.892784,"GBP":0.747655,"JPY":156.839696,"USD":1},"updated":"Sat, 24 Oct 2026 00:02:31 +0000","localPerBase":0.892784,"localCurrency":"EUR"},"_ok":true,"name":"Spain","region":"Europe & Central Asia","capital":"Madrid","country":"ES","sources":["worldbank.org","open.er-api.com","date.nager.at"],"latitude":40.4167,"longitude":-3.70327,"capturedAt":"2026-10-24T13:49:06.148133+00:00","indicators":{"population":{"year":"2025","value":49355143},"gdpGrowthPct":{"year":"2025","value":2.82495400578509},"inflationPct":{"year":"2025","value":2.67326741144651},"gdpPerCapitaUsd":{"year":"2025","value":38627.2472148623},"unemploymentPct":{"year":"2025","value":10.376}},"incomeLevel":"High income","upcomingHolidays":[{"date":"2026-11-01","name":"All Saints Day","localName":"Día de todos los Santos"},{"date":"2026-12-06","name":"Constitution Day","localName":"Día de la Constitución"},{"date":"2026-12-08","name":"Immaculate Conception","localName":"Inmaculada Concepción"},{"date":"2026-12-25","name":"Christmas Day","localName":"Navidad"},{"date":"2026-12-26","name":"St. Stephen's Day","localName":"Feast of Saint Stephen"}]}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_EOjBwWWCLcUG1cisZRkTt","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns World Bank macroeconomic indicators (GDP, inflation, unemployment, population, growth), live USD exchange rates, and upcoming public holidays for up to 3 countries per call, identified by ISO-2 code.","exampleAgentPrompt":"Pull the World Bank economic snapshot for Germany, Japan, and Brazil — I need GDP, GDP per capita, population, inflation, unemployment, growth rate, the current USD exchange rate, and the next 3 public holidays for each.","exampleUseCases":[{"title":"Emerging market entry research","prompt":"I'm evaluating market entry into Indonesia, Vietnam, and Nigeria — can you get me the GDP, GDP per capita, population, inflation, and unemployment figures for each, plus the current USD exchange rate?"},{"title":"Competitive country benchmarking","prompt":"Compare the economic fundamentals of France, Spain, and Italy for me — I need GDP, growth rate, inflation, and unemployment for all three from World Bank data."},{"title":"International payroll planning","prompt":"We're expanding to Canada and Mexico — what are the upcoming 5 public holidays in each country, and what's the current USD exchange rate for CAD and MXN?"}],"resultDescription":"A structured record per country containing: World Bank GDP (current USD), GDP per capita, total population, annual GDP growth rate, inflation rate, unemployment rate, live exchange rate against USD (or a specified base currency), and a list of upcoming public holidays with dates and names. Failed lookups are excluded from the response and not charged.","failureModes":["Invalid or unrecognized ISO-2 country code returns a failed lookup (not charged)","More than 3 countries in a single call exceeds the maxItems limit and may be rejected","World Bank data may be unavailable or stale for very small or sanctioned countries","Exchange rate data may be delayed or unavailable for non-standard currencies","holidaysCount exceeding available data returns fewer entries than requested"],"whenToPreferThis":"Choose this endpoint when you need a single structured call combining World Bank macroeconomic indicators, live FX rates, and public holidays for 1–3 countries simultaneously. It is ideal for market research agents, financial due diligence workflows, or international operations dashboards that need breadth of economic context without assembling multiple separate APIs. It is keyless and priced per call, making it suitable for lightweight or infrequent lookups without API key management overhead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-28T06:43:53.853Z","isFirstParty":false,"canonicalSlug":"country-economic-data-api-0f4c351c"}