{"uid":"cap_fw0KEtHZUG-l02qUyW7uy","slug":"api-quantoracle-dev-bddf84be","name":"QuantOracle FX Purchasing Power Parity Calculator","description":"QuantOracle: fx/purchasing-power-parity","url":"https://api.quantoracle.dev/v1/fx/purchasing-power-parity","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"time_years":{"type":"number","title":"Time Years","default":1,"description":"Time horizon in years"},"base_spot_rate":{"type":"number","title":"Base Spot Rate","description":"Current spot exchange rate"},"foreign_inflation":{"type":"number","title":"Foreign Inflation","description":"Foreign inflation rate"},"domestic_inflation":{"type":"number","title":"Domestic Inflation","description":"Domestic inflation rate"}}},"responseSchema":null,"example":{"request":{"input":{"body":{"time_years":1,"base_spot_rate":1.25,"foreign_inflation":0.02,"domestic_inflation":0.03},"type":"http","method":"POST","bodyType":"json"}},"response":{"ms":22.81,"_meta":{"url":"https://quantoracle.dev","docs":"https://api.quantoracle.dev/docs","powered_by":"QuantOracle"},"ppp_rate":1.262255,"overvaluation_pct":-0.9709,"real_exchange_rate":1.237864,"inflation_differential":1}},"exampleRequest":{"time_years":1,"base_spot_rate":1.25,"foreign_inflation":0.02,"domestic_inflation":0.03},"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nOZo4isp0BmujYpYO_cGa","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates the PPP-adjusted exchange rate and overvaluation/undervaluation percentage given a base spot rate and inflation differentials over a time horizon","exampleAgentPrompt":"What's the PPP-adjusted exchange rate for EUR/USD if the current spot rate is 1.08, eurozone inflation is 2.1% and US inflation is 3.2%, projected over 3 years — and is the euro overvalued or undervalued relative to that fair value?","exampleUseCases":null,"resultDescription":"Returns the PPP-implied exchange rate, the overvaluation or undervaluation percentage relative to the current spot rate, the real exchange rate, and the compounded inflation differential — all computed in about 10ms.","failureModes":["Missing required fields (base_spot_rate, foreign_inflation, domestic_inflation, time_years) returns a 400 validation error","Negative time horizon or zero spot rate may return a 422 unprocessable entity error","Payment failure or insufficient USDC balance returns a 402 payment required error","Invalid inflation values (e.g. extremely large numbers) may return computation errors"],"whenToPreferThis":"Use this endpoint when you need a fast, quantitative PPP calculation with explicit inflation rate inputs and a defined time horizon — ideal for FX analysis pipelines, currency fair-value models, or macro research automation where you already have spot rates and inflation estimates and need the derived PPP rate and misalignment metrics in real time.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:56:43.013Z","isFirstParty":false}