{"uid":"cap_xP0eiFFNI16v2-ATTtoQI","slug":"official-inflation-rate-lookup-hicp-cpi-u-603cd225","name":"Official Inflation Rate Lookup (HICP / CPI-U)","description":"Use when an agent needs the official inflation rate (year-on-year consumer prices) for a country: Eurostat HICP for the euro area, EU and 36 European countries (incl. CH, NO, TR) and US CPI-U from the Bureau of Labor Statistics. Latest month plus up to 36 months of history, flash estimates flagged. Source named in every answer. Bad input: HTTP 400 before payment; outage is not charged.","url":"https://x402-apis.pages.dev/v1/inflation?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["country"],"properties":{"months":{"type":"string","description":"Number of months of history, 1-36. Default 12."},"country":{"type":"string","description":"2-letter code: EA, EU, AT, BE, BG, CY, CZ, DE, DK, EE, EL, ES, FI, FR, HR, HU, IE, IT, LT, LU, LV, MT, NL, PL, PT, RO, SE, SI, SK, IS, NO, CH, TR, AL, ME, MK, RS, XK, US. EA = euro area, EU = European Union."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["country","latest","series"],"properties":{"latest":{"type":"object"},"series":{"type":"array"},"country":{"type":"string"},"measure":{"type":"string"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_D9IqfSMHid1U4s7_2k8hg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns official consumer price inflation data (year-on-year) for 39 European countries plus the US, sourcing Eurostat HICP and BLS CPI-U, with up to 36 months of history and flash-estimate flagging.","exampleAgentPrompt":"What's the official year-on-year inflation rate for Germany right now? Pull the latest 6 months of history too so I can see the trend.","exampleUseCases":[{"title":"Eurozone inflation dashboard update","prompt":"Fetch the latest official HICP inflation rate for the euro area (EA) along with the past 24 months of history — I need to update my macro dashboard and want to know if this month's figure is a flash estimate."},{"title":"US CPI check for portfolio valuation","prompt":"What's the current official US CPI-U inflation rate? Give me the last 12 months so I can use the trend in my real-return bond portfolio calculation."},{"title":"Cross-country inflation comparison for report","prompt":"I'm writing a report on inflation divergence — can you get me the latest official inflation figures for France (FR), Spain (ES), and Poland (PL) with 6 months of history each?"}],"resultDescription":"A JSON object containing the country code, the latest month's year-on-year inflation rate with date and value, a time-series array of up to 36 monthly readings, a flag indicating whether the latest figure is a flash estimate, and a named source field (Eurostat HICP or BLS CPI-U).","failureModes":["HTTP 400 returned before payment is charged when country code is invalid or missing","HTTP 400 if months parameter is outside 1–36 range","Data unavailable for very recent months if the official statistical release has not yet occurred","Service outage does not result in a charge","Flash estimates may be revised in subsequent months"],"whenToPreferThis":"Choose this endpoint when you need official, government-sourced consumer price inflation data — not market forecasts or third-party estimates. It is the right choice for any agent answering macro questions about eurozone (HICP), EU member states, Norway, Switzerland, Turkey, or the US (CPI-U). Prefer it over generic financial data APIs when source attribution, flash-estimate flagging, and historical series up to 36 months are required, and when paying per-call in USDC micro-transactions (x402) is acceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T05:35:49.265Z","isFirstParty":false,"canonicalSlug":"official-inflation-rate-lookup-hicp-cpi-u-603cd225"}