{"uid":"cap_81mgeBCmI-fjtfj6LWhrU","slug":"agent-data-tools-revmesh2074-workers-dev-world-bank-inflation-rate-by-7a10e589","name":"World Bank Inflation Rate by Country (CPI, Annual %)","description":"Inflation rate of any country: annual % change in consumer prices (CPI) from World Bank data, for the last 1-10 years with the newest year first. Country by ISO code (SE, SWE) or English name. Read from a committed World Bank Open Data snapshot (CC BY 4.0), so every call answers at once; the snapshot date is in the answer. Use for real-return, pricing and macro questions.","url":"https://agent-data-tools.revmesh2074.workers.dev/econ/inflation?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["country"],"properties":{"years":{"type":"integer","description":"Years of history to return, 1-10 (default 5)"},"country":{"type":"string","description":"ISO 3166 code (SE, SWE) or English country name (Sweden)"}}},"responseSchema":{"type":"object","properties":{"source":{"type":"string"},"country":{"type":"object","properties":{"code":{"type":"string"},"iso2":{"type":"string"},"name":{"type":"string"},"region":{"type":"string"},"capital":{"type":"string"},"incomeLevel":{"type":"string"}}},"inflation":{"type":"object","properties":{"latest":{"type":"object","properties":{"year":{"type":"number"},"value":{"type":"number"}}},"values":{"type":"array","items":{"type":"object","properties":{"year":{"type":"number"},"value":{"type":"number"}}}},"indicator":{"type":"string"}}}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USD","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vsZF-WQ407Ym4CgPNbo-M","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"agent-data-tools.revmesh2074.workers.dev","brandSlug":"agent-data-tools-revmesh2074-workers-dev-x402","brandBaseUrl":"https://agent-data-tools.revmesh2074.workers.dev","brandDocsUrl":null,"whatItDoes":"Returns the annual consumer price inflation rate (CPI % change) for any country for up to 10 years, sourced from a World Bank Open Data snapshot.","exampleAgentPrompt":"What's the annual consumer price inflation rate for Turkey over the last 5 years, according to World Bank data?","exampleUseCases":[{"title":"Real return calculation for investment","prompt":"I'm evaluating a bond investment in Brazil — can you pull the last 5 years of annual CPI inflation data for Brazil from World Bank so I can calculate real returns?"},{"title":"Macro briefing on emerging market inflation","prompt":"Give me Argentina's consumer price inflation history for the last 10 years from the World Bank so I can include it in a macro report."},{"title":"Pricing strategy for international expansion","prompt":"We're expanding into Vietnam and need to understand price trends — can you get the World Bank inflation figures for Vietnam for the past 3 years?"}],"resultDescription":"Returns a JSON object with the country's metadata (ISO codes, name, region, capital, income level), the latest year's inflation value, and an array of annual CPI inflation percentages for the requested number of years (newest first), along with the World Bank indicator name and snapshot date.","failureModes":["Unknown or misspelled country name/code returns an error or empty result","Years parameter outside 1-10 range may be rejected or clamped","World Bank data may not have the most recent year if not yet published in the snapshot","Some small or data-sparse countries may have partial or missing years in the series"],"whenToPreferThis":"Use this endpoint when you need authoritative, internationally comparable consumer price inflation data from the World Bank for any country. Prefer this over web scraping or news APIs when you need structured, historical CPI data in a machine-readable format for economic analysis, real-return calculations, or macro research. The committed snapshot ensures consistent, reproducible results.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T05:35:43.258Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-revmesh2074-workers-dev-world-bank-inflation-rate-by-7a10e589"}