{"uid":"cap_t4D_FD_GD519b7n9q2Ud7","slug":"x402stock-us-cpi-inflation-data-862e3c69","name":"x402stock US CPI Inflation Data","description":"US consumer price inflation from the Bureau of Labor Statistics: the latest headline CPI-U and core (ex food and energy) index levels with year-over-year percent change, plus recent monthly history. No ticker needed. Use for macro-aware analysis without leaving for a separate data source. Sourced from US BLS. From x402stock, a market & economic data API (x402, USDC).","url":"https://x402stock.vercel.app/api/v1/inflation","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["source","as_of","series","unit","headline","core","history"],"properties":{"core":{"type":"object","required":["latest_index","latest_month","yoy_percent"],"properties":{"yoy_percent":{"anyOf":[{"type":"number"},{"type":"null"}]},"latest_index":{"anyOf":[{"type":"number"},{"type":"null"}]},"latest_month":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},"unit":{"type":"string"},"as_of":{"type":"string"},"series":{"type":"string"},"source":{"type":"string","const":"us_bls"},"history":{"type":"array","items":{"type":"object","required":["date","period_name","value"],"properties":{"date":{"type":"string"},"value":{"type":"number"},"period_name":{"type":"string"}},"additionalProperties":false}},"headline":{"type":"object","required":["latest_index","latest_month","yoy_percent"],"properties":{"yoy_percent":{"anyOf":[{"type":"number"},{"type":"null"}]},"latest_index":{"anyOf":[{"type":"number"},{"type":"null"}]},"latest_month":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false}},"additionalProperties":false}}}}},"responseSchema":null,"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":"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_mooatYfjMPBH2iF6A9_Ze","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-U headline and core (ex food and energy) inflation index levels, year-over-year percent changes, and recent monthly history from the Bureau of Labor Statistics","exampleAgentPrompt":"What's the current US inflation rate? Give me the latest BLS CPI-U headline and core readings with their year-over-year changes and recent monthly history.","exampleUseCases":null,"resultDescription":"Returns a JSON object with: source ('us_bls'), as_of date, series name, unit, headline CPI-U object (latest index level, latest month, YoY percent change), core CPI object (same fields), and a history array of recent monthly data points each with date, period name, and index value.","failureModes":["BLS data not yet updated for the current month — may return prior month's data","Network or upstream BLS unavailability — may return 5xx error","Payment not processed (x402) — returns 402 Payment Required","Rate limiting — returns 429 Too Many Requests"],"whenToPreferThis":"Use this endpoint when you need current US CPI inflation data (both headline CPI-U and core ex-food-and-energy) with year-over-year changes sourced directly from the BLS, especially for macro-aware financial analysis, economic commentary, or when you need to contextualize market data without switching to a separate data source. No ticker symbol or query parameters are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:48:05.398Z","isFirstParty":false}