{"uid":"cap_rhTSSUWw_TYrZ27iTyvY5","slug":"api-quantoracle-dev-8e77455f","name":"QuantOracle Macro Inflation-Adjusted Return Calculator","description":"QuantOracle: macro/inflation-adjusted","url":"https://api.quantoracle.dev/v1/macro/inflation-adjusted","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"periods":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Periods","description":"Optional number of periods for cumulative calculation"},"initial_value":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Initial Value","description":"Optional initial value for cumulative calculation"},"inflation_rate_pct":{"type":"number","title":"Inflation Rate Pct","description":"Inflation rate as percentage"},"nominal_return_pct":{"type":"number","title":"Nominal Return Pct","description":"Nominal return as percentage"}}},"responseSchema":null,"example":{"request":{"input":{"body":{"periods":10,"initial_value":10000,"inflation_rate_pct":3.5,"nominal_return_pct":8},"type":"http","method":"POST","bodyType":"json"}},"response":{"ms":121.23,"_meta":{"url":"https://quantoracle.dev","docs":"https://api.quantoracle.dev/docs","powered_by":"QuantOracle"},"value_series":[{"real":10000,"year":0,"nominal":10000},{"real":10434.78,"year":1,"nominal":10800},{"real":10888.47,"year":2,"nominal":11664},{"real":11361.88,"year":3,"nominal":12597.12},{"real":11855.88,"year":4,"nominal":13604.89},{"real":12371.35,"year":5,"nominal":14693.28},{"real":12909.23,"year":6,"nominal":15868.74},{"real":13470.5,"year":7,"nominal":17138.24},{"real":14056.18,"year":8,"nominal":18509.3},{"real":14667.32,"year":9,"nominal":19990.05},{"real":15305.03,"year":10,"nominal":21589.25}],"real_return_pct":4.3478,"inflation_drag_pct":3.6522,"approximate_real_return":4.5,"fisher_exact_real_return":0.043478,"purchasing_power_multiplier":0.9662,"years_to_halve_purchasing_power":20.15}},"exampleRequest":{"periods":10,"initial_value":10000,"inflation_rate_pct":3.5,"nominal_return_pct":8},"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_wyCdhn8Ccp65GDCJ9xMnD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes year-by-year real vs. nominal value series for an investment given an inflation rate and nominal return, using the Fisher equation","exampleAgentPrompt":"I invested $10,000 and expect a nominal return of 8% per year with inflation running at 3.5% — can you show me the real vs nominal value each year for the next 10 years, including how much purchasing power I'm losing and what my actual inflation-adjusted return is?","exampleUseCases":null,"resultDescription":"Returns a year-by-year series of nominal and real values, the exact Fisher-equation real return percentage, inflation drag percentage, purchasing power multiplier, and estimated years until purchasing power halves.","failureModes":["Missing required fields (initial_value, nominal_return_pct, inflation_rate_pct, periods) returns 400 validation error","Negative periods or zero initial_value may return 422 unprocessable entity","Extremely high inflation or return rates may produce unstable series","Payment not included or insufficient USDC balance returns 402 payment required"],"whenToPreferThis":"Use this endpoint when you need a rigorous, Fisher-equation-based decomposition of nominal returns into real returns and inflation drag, with a full year-by-year value series. Prefer over simple CPI deflators when you want purchasing-power-halving estimates and exact vs approximate real return comparisons in a single call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:56:07.504Z","isFirstParty":false}