{"uid":"cap_FXokB6TQ4_TGQ1uZc664_","slug":"vextorium-us-cpi-data-c298087a","name":"Vextorium US CPI Data","description":"232 pay-per-call data APIs for AI agents: official statistics and economy (ECB, Fed, Eurostat, World Bank, SEC, BOE, INE), crypto prices and sentiment, Spanish public data, compliance (sanctions, VAT, IBAN, LEI), science, weather, web and developer tools and local AI text tools. Pay in USDC via x402.","url":"https://api.vextorium.com/v1/us-cpi?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"months":{"type":"integer","description":"1-24 (default 12)"}}},"responseSchema":{"type":"json","example":{"last":{"core_cpi":{"index":338.041,"month":"2026-08","year_over_year_pct":2.45},"foods_cpi":{"index":350.418,"month":"2026-08","year_over_year_pct":2.67},"energy_cpi":{"index":329.351,"month":"2026-08","year_over_year_pct":16.28},"headline_cpi":{"index":334.98,"month":"2026-08","year_over_year_pct":3.4}},"series":{"core_cpi":[{"index":334.391,"month":"2026-03","year_over_year_pct":2.6},{"index":335.803,"month":"2026-04","year_over_year_pct":2.75}],"foods_cpi":[{"index":346.796,"month":"2026-03","year_over_year_pct":2.68},{"index":348.499,"month":"2026-04","year_over_year_pct":3.18}],"energy_cpi":[{"index":310.28,"month":"2026-03","year_over_year_pct":12.53},{"index":329.907,"month":"2026-04","year_over_year_pct":17.87}],"headline_cpi":[{"index":330.213,"month":"2026-03","year_over_year_pct":3.26},{"index":333.02,"month":"2026-04","year_over_year_pct":3.81}]},"source":"U.S. Bureau of Labor Statistics (CPI-U, not seasonally adjusted)"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Zycl_-d2IEu4lmwSZSL1I","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns US Consumer Price Index (CPI) data including headline, core, food, and energy CPI with index values and year-over-year percentage changes for up to 24 months.","exampleAgentPrompt":"What's the latest US inflation data? Give me the headline, core, food, and energy CPI readings with year-over-year changes for the past 12 months.","exampleUseCases":[{"title":"Monthly inflation briefing for portfolio","prompt":"Pull the latest US CPI data — headline, core, food, and energy — with year-over-year percentages for the past 6 months so I can assess inflation risk in my portfolio."},{"title":"Macroeconomic report generation","prompt":"Get me the US consumer price index time series for the last 24 months, covering headline, core, food, and energy components with their year-over-year percent changes."},{"title":"Real-time inflation alert check","prompt":"What is the most recent US CPI reading? I need the headline and core CPI index values and their year-over-year change percentages from the latest available month."}],"resultDescription":"Returns a JSON object with two top-level keys: 'last' (the most recent month's CPI readings) and 'series' (an array of monthly readings). Both contain headline_cpi, core_cpi, foods_cpi, and energy_cpi sub-objects, each with an index value, month label (YYYY-MM), and year_over_year_pct. Data is sourced from the U.S. Bureau of Labor Statistics (CPI-U, not seasonally adjusted).","failureModes":["Invalid months value (outside 1-24 range) may return an error or default behavior","Data may lag by one month due to BLS release schedule","Network or provider timeout returning 5xx error","Malformed request body returning 400 bad request"],"whenToPreferThis":"Use this endpoint when you need official US CPI inflation data broken down by headline, core, food, and energy components with year-over-year percentage changes. Prefer this over scraping BLS directly or using general economic APIs when you need structured, pay-per-call access with no subscription, especially in agent workflows that pay via x402/USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:43:23.804Z","isFirstParty":false,"canonicalSlug":"vextorium-us-cpi-data-c298087a"}