{"uid":"cap_5mM_i87AWSBwBBPDXgu79","slug":"x402stock-world-bank-country-macroeconomic-indicators-f11e80c5","name":"x402stock World Bank Country Macroeconomic Indicators","description":"Pay-per-call market and economic data API for AI agents: US stocks, ETFs and options, forex, crypto and on-chain perps, energy commodities, US and global macro (Fed, CPI, jobs, GDP, Treasury, World Bank), SEC filings, congressional trades, and market sentiment. No API keys, no accounts. Pay per request in USDC via x402 on Base.","url":"https://x402stock.xyz/api/v1/world-bank/country/%7Biso%7D","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"as_of":"2025-12-31T00:00:00.000Z","source":"world_bank","country":{"code":"US","iso3":"USA","name":"United States"},"indicators":[{"latest":{"year":"2024","value":28750956130731.2},"indicator":"gdp","indicator_code":"NY.GDP.MKTP.CD","indicator_name":"GDP (current US$)"},{"latest":{"year":"2024","value":2.94952520485207},"indicator":"inflation","indicator_code":"FP.CPI.TOTL.ZG","indicator_name":"Inflation, consumer prices (annual %)"},{"latest":{"year":"2025","value":4.198},"indicator":"unemployment","indicator_code":"SL.UEM.TOTL.ZS","indicator_name":"Unemployment, total (% of labor force, modeled ILO)"}],"attribution":"Source: World Bank, World Development Indicators (CC BY 4.0)"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vogxFiHanBjmsM3oJNYs5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","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) for a given country by ISO code, paid per-call in USDC via x402 on Base.","exampleAgentPrompt":"What are the latest World Bank macroeconomic indicators — GDP, inflation, and unemployment — for Germany? Use ISO code DE.","exampleUseCases":null,"resultDescription":"A JSON object containing the country's ISO2/ISO3 codes and name, an as-of date, a source field ('world_bank'), and an array of indicator objects each with the indicator name, World Bank indicator code, and the latest available year and value. Includes GDP in current USD, annual inflation (CPI %), and unemployment (% of labor force). Attribution to World Bank WDI (CC BY 4.0) is included.","failureModes":["Invalid or unrecognized ISO country code returns 404 or empty result","Country has no World Bank data available for one or more indicators","Payment not completed or insufficient USDC balance results in 402 Payment Required","Network timeout or service unavailability returns 5xx","Malformed request URL due to incorrect ISO code format"],"whenToPreferThis":"Use this endpoint when you need authoritative World Bank macroeconomic data (GDP, inflation, unemployment) for a specific country identified by ISO code, without needing an API key or subscription. Ideal for AI agents needing global macro context on a pay-per-call basis. Prefer over Fed or Treasury endpoints when the query is international rather than US-specific.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-08T12:47:31.694Z","isFirstParty":false}