{"uid":"cap_uyBUk49kuaWSTBeuMYF2b","slug":"world-gdp-data-by-country-world-bank-af8a4f86","name":"World GDP Data by Country (World Bank)","description":"Country GDP data: gross domestic product current USD, last five annual values with years. JSON. Pass ?country=<ISO code like US JP DE>. World Bank data.","url":"https://cycle-angela-lamp-hamburg.trycloudflare.com/api/macro/world-gdp","method":"GET","headers":{},"bodySchema":null,"responseSchema":{"type":"object","properties":{"source":{"type":"string"},"country":{"type":"string"},"generated_at":{"type":"integer","description":"unix seconds when payload was built"},"gdp_current_usd":{"type":"array","items":{"type":"object","properties":{"year":{"type":"string"},"value":{"type":"number"}}},"description":"last 5 years, current USD"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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":"down","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_z5DPGE2BkqrjXbrPW3wQm","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 the last five annual GDP values (current USD) for a given country using its ISO country code, sourced from World Bank data.","exampleAgentPrompt":"Can you pull up the last five years of GDP data for Germany in current US dollars from World Bank figures?","exampleUseCases":null,"resultDescription":"A JSON object containing the country identifier, the data source (World Bank), a Unix timestamp of when the payload was generated, and an array of up to five objects each with a year string and the corresponding GDP value in current USD.","failureModes":["Invalid or unrecognized ISO country code returns an error or empty result","Country not covered by World Bank data may return null values or empty array","Missing ?country= parameter may return a 400 or default error response","Cloudflare tunnel downtime may cause intermittent 502/503 errors","World Bank data lag may mean most recent year is unavailable or null"],"whenToPreferThis":"Use this endpoint when you need structured, multi-year historical GDP data for a specific country in current USD from a reliable official source (World Bank). Prefer this over general web search when you need machine-readable annual GDP series for macroeconomic analysis, country comparisons, or financial modeling. Best suited for single-country lookups by ISO code rather than bulk cross-country queries.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:25:00.184Z","isFirstParty":false}