{"uid":"cap_4aTqLDv3dxx77MdSlKO5u","slug":"x402stock-xyz-e11c2a5b","name":"x402stock.xyz 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.xyz/api/v1/inflation","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"core":{"yoy_percent":3.1,"latest_index":326.18,"latest_month":"2026-04"},"unit":"index_1982_84=100","as_of":"2026-04-01T00:00:00.000Z","series":"cpi_u_us_city_average","source":"us_bls","history":[{"date":"2026-04","value":320.32,"period_name":"April"}],"headline":{"yoy_percent":2.7,"latest_index":320.32,"latest_month":"2026-04"}}},"example":{"request":{"properties":""},"response":{"core":{"yoy_percent":2.85,"latest_index":336.846,"latest_month":"2026-05"},"unit":"index_1982_84=100","as_of":"2026-05-01T00:00:00.000Z","series":"cpi_u_us_city_average","source":"us_bls","history":[{"date":"2026-05","value":335.123,"period_name":"May"},{"date":"2026-04","value":333.02,"period_name":"April"},{"date":"2026-03","value":330.213,"period_name":"March"},{"date":"2026-02","value":326.785,"period_name":"February"},{"date":"2026-01","value":325.252,"period_name":"January"},{"date":"2025-12","value":324.054,"period_name":"December"},{"date":"2025-11","value":324.122,"period_name":"November"},{"date":"2025-09","value":324.8,"period_name":"September"},{"date":"2025-08","value":323.976,"period_name":"August"},{"date":"2025-07","value":323.048,"period_name":"July"},{"date":"2025-06","value":322.561,"period_name":"June"},{"date":"2025-05","value":321.465,"period_name":"May"},{"date":"2025-04","value":320.795,"period_name":"April"}],"headline":{"yoy_percent":4.25,"latest_index":335.123,"latest_month":"2026-05"}}},"exampleRequest":{"properties":""},"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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_QoMaK925zxlBQ5UazyJPJ","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 headline CPI-U and core (ex food & energy) index levels with year-over-year percent change, plus recent monthly history, sourced from the US Bureau of Labor Statistics.","exampleAgentPrompt":"What's the latest US inflation reading — give me the headline CPI-U and core CPI index levels, their year-over-year changes, and a few months of recent history from the BLS.","exampleUseCases":null,"resultDescription":"Returns a JSON object with: source (us_bls), as_of date, series name, unit, headline object (latest_index, latest_month, yoy_percent), core object (latest_index, latest_month, yoy_percent), and a history array of recent monthly CPI values with date, period_name, and value fields.","failureModes":["Payment failure: x402 payment of 0.02 USDC not completed — request blocked","BLS data unavailable: upstream BLS source temporarily unreachable","Stale data: BLS has not yet published the latest month's report","Rate limiting: too many requests in a short window"],"whenToPreferThis":"Use this endpoint when you need current US CPI inflation data (headline and core) with year-over-year changes and monthly history without an API key or separate data subscription. Ideal for macro-aware stock analysis, economic commentary, or any workflow needing BLS CPI figures on demand via a simple pay-per-call model in USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:46:39.903Z","isFirstParty":false}