{"uid":"cap_leDhwObh11LfO5xn20F5H","slug":"fittings-cpi-u-inflation-adjuster-aeb8b8ea","name":"fittings CPI-U Inflation Adjuster","description":"Adjusts a US dollar amount between two dates using the official BLS CPI-U index, returning both index values.","url":"https://fittings.sh/v1/cpi/adjust?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"],"type":"string"},"queryParams":{"type":"object","required":["amount","from"],"properties":{"to":{"type":"string","description":"Target period, YYYY or YYYY-MM. Defaults to the latest published month."},"from":{"type":"string","description":"Source period, YYYY or YYYY-MM"},"amount":{"type":"number","description":"US dollar amount to adjust"}}}},"additionalProperties":false}}},"responseSchema":null,"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_hTvxVmTKT_fYtwECVefo6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Adjusts a US dollar amount between two time periods using the official BLS CPI-U index, returning inflation-adjusted value and both index values.","exampleAgentPrompt":"Using the official BLS CPI-U index, how much would $10,000 from January 1990 be worth in today's dollars?","exampleUseCases":[{"title":"Adjusting historical salary for inflation","prompt":"I'm negotiating my salary and want to know what my $45,000 salary in 2005 would be worth in 2024 dollars — can you adjust it for inflation using the BLS CPI-U?"},{"title":"Inflation-adjusting a contract value","prompt":"We signed a $2 million contract in March 2018 — what's that equivalent to in today's money, adjusted for CPI?"},{"title":"Comparing prices across decades","prompt":"What would $500 spent on groceries in 1975 translate to in 2023 dollars using the official BLS inflation index?"}],"resultDescription":"Returns the inflation-adjusted dollar amount along with the CPI-U index values for both the source and target periods, allowing comparison of purchasing power across time.","failureModes":["Invalid or future date period returns an error — only periods with published BLS data are supported","Missing required 'amount' or 'from' parameters returns a validation error","Non-numeric amount value causes a schema validation failure","Target period defaults to latest published month if omitted, which may change over time as new data is published"],"whenToPreferThis":"Choose this endpoint when you need to adjust a US dollar amount for inflation using the authoritative BLS CPI-U index. Prefer it over custom inflation calculators when official government data is required, or when you need both the adjusted amount and underlying index values for transparency. Best for US-dollar-denominated amounts; for foreign currency inflation, consider country-specific indices.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-10T00:45:46.434Z","isFirstParty":false,"canonicalSlug":"fittings-cpi-u-inflation-adjuster-aeb8b8ea"}