{"uid":"cap_531Nk3J89Y7Y0O_DFfJpe","slug":"x402stock-inflation-data-2a5ead67","name":"x402stock Inflation Data","description":"Headline and core index with year-over-year percent.","url":"https://agents.x402stock.xyz/api/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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false}}},"responseSchema":{"type":"object","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},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USD","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"1.00","reviews":0,"stars":null,"state":"rated"},"availabilityStatus":"healthy","priceObserved":{"p10Cents":"2.0000","medianCents":"2.0000","p90Cents":"2.0000","minCents":"2.0000","maxCents":"2.0000","p95Cents":"2.0000","sampleCount":1,"varies":false,"failureChargeRate":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"},{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_g-8rc6V8LtCnOnBIMOkiV","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_dBjyYQ1NsV9BygUUz08Ng","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x20C000000000000000000000b9537d11c60E8b50","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns US inflation metrics (CPI, PCE) for AI agents via pay-per-request USDC payment","exampleAgentPrompt":"Pull the latest US CPI and PCE inflation data from x402stock so I can see where inflation stands right now and how it's trended over the past year.","exampleUseCases":[{"title":"Fed policy research briefing","prompt":"Get me the most recent CPI and PCE readings from x402stock — I want to understand where inflation is relative to the Fed's 2% target and how it's moved over the last 12 months."},{"title":"Portfolio inflation risk assessment","prompt":"Fetch the latest US inflation data including core CPI so I can figure out how much real purchasing power erosion to factor into my bond portfolio valuation."},{"title":"Economics report data gathering","prompt":"I'm writing a macro report — can you pull historical US inflation figures (CPI and PCE) for the past two years from x402stock so I have the data to chart the trend?"}],"resultDescription":"Returns US inflation data including CPI and/or PCE index values and rates, likely as a time series with dates and readings, covering recent and historical periods for macro analysis.","failureModes":["Invalid or unsupported property parameters return an error","Payment failure in USDC via x402 results in 402 Payment Required response","Rate limiting or account issues may block access","Requests for unsupported date ranges or frequencies may return empty or error responses"],"whenToPreferThis":"Use this endpoint when an AI agent needs programmatic, pay-per-use access to US CPI or PCE inflation data without setting up API keys or subscriptions. Ideal for autonomous agents that need macro inflation data alongside other x402stock market data in the same session, paying fractionally in USDC.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-10-15T06:55:25.961Z","lastSuccessfullyRanAt":"2026-10-15T06:55:25.961Z","lastHealthCheckAt":"2026-10-27T06:50:19.742Z","isFirstParty":false,"canonicalSlug":"x402stock-inflation-data-2a5ead67"}