{"uid":"cap_NpMAtir1NSVb2WepVN9t5","slug":"us-inflation-data-api-cpi-core-cpi-66833884","name":"US Inflation Data API (CPI & Core CPI)","description":"US inflation data: CPI all items, core CPI, latest readings with dates and year over year change. JSON. Source FRED.","url":"https://cycle-angela-lamp-hamburg.trycloudflare.com/api/macro/inflation?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":null,"responseSchema":{"type":"object","properties":{"cpi":{"type":"object","properties":{"latest":{"type":"object","properties":{"date":{"type":"string"},"value":{"type":"string","description":"numeric string"}}},"series":{"type":"string","description":"FRED series id"},"source":{"type":"string"},"previous":{"type":"object","properties":{"date":{"type":"string"},"value":{"type":"string"}}}},"description":"single FRED series, latest two observations"},"core_cpi":{"type":"object","properties":{"latest":{"type":"object","properties":{"date":{"type":"string"},"value":{"type":"string","description":"numeric string"}}},"series":{"type":"string","description":"FRED series id"},"source":{"type":"string"},"previous":{"type":"object","properties":{"date":{"type":"string"},"value":{"type":"string"}}}},"description":"single FRED series, latest two observations"},"generated_at":{"type":"integer","description":"unix seconds when payload was built"}}},"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_57K4z02L9fvoqz9DGbphf","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 latest US CPI and core CPI readings from FRED, including current and previous values with dates for year-over-year comparison.","exampleAgentPrompt":"What are the latest US inflation numbers — give me both the headline CPI and core CPI, their most recent values and dates, and how they compare to the prior reading?","exampleUseCases":null,"resultDescription":"A JSON object containing two FRED series objects (cpi and core_cpi), each with the latest and previous observations (date and numeric value as string), the FRED series ID, and data source label. Also includes a generated_at Unix timestamp indicating when the payload was built.","failureModes":["FRED data unavailable or delayed — stale generated_at timestamp returned","Payment not included or invalid x402 payment header — 402 Payment Required response","Cloudflare tunnel down or unreachable — connection timeout or 5xx error","No schema parameters to validate, but malformed requests may return 4xx"],"whenToPreferThis":"Use this endpoint when you need quick, structured US CPI and core CPI data from an authoritative source (FRED) without setting up your own FRED API key. Ideal for macroeconomic dashboards, inflation monitoring, or any agent workflow that needs current and prior month inflation readings in a single call. Prefer over raw FRED API when you want pre-parsed JSON with both headline and core CPI in one response.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T03:26:54.131Z","isFirstParty":false,"canonicalSlug":"us-inflation-data-api-cpi-core-cpi-66833884"}