{"uid":"cap_1AA_pN1fplZd3MsH7wwiO","slug":"api-quantoracle-dev-870ca42e","name":"QuantOracle Yield Curve Interpolation","description":"QuantOracle: fi/yield-curve-interpolate","url":"https://api.quantoracle.dev/v1/fi/yield-curve-interpolate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rates":{"type":"array","items":{"type":"number"},"title":"Rates","description":"Array of known rates at each tenor"},"method":{"enum":["linear","cubic","nelson_siegel"],"type":"string","title":"Method","default":"linear","description":"Interpolation method"},"tenors":{"type":"array","items":{"type":"number"},"title":"Tenors","description":"Array of known tenor points (years)"},"target_tenors":{"type":"array","items":{"type":"number"},"title":"Target Tenors","description":"Array of tenors to interpolate"}}},"responseSchema":null,"example":{"request":{"rates":[0.0525,0.053,0.051,0.0485,0.045,0.044,0.046],"tenors":[0.25,0.5,1,2,5,10,30],"interpolation":"linear","target_tenors":[7,15]},"response":{"ms":170.61,"_meta":{"url":"https://quantoracle.dev","docs":"https://api.quantoracle.dev/docs","powered_by":"QuantOracle"},"method":"linear","target_tenors":[7,15],"interpolated_rates":[0.0446,0.0445]}},"exampleRequest":{"rates":[0.0525,0.053,0.051,0.0485,0.045,0.044,0.046],"tenors":[0.25,0.5,1,2,5,10,30],"interpolation":"linear","target_tenors":[7,15]},"tags":["x402"],"displayCostAmount":"0.015","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.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Uzd0w8oZvhwy7dLOEaXO9","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Interpolates missing or custom-maturity rates from a given set of bond/rate yield curve data points","exampleAgentPrompt":"I have Treasury yield data at 3M, 6M, 1Y, 2Y, 5Y, 10Y, and 30Y maturities with rates 5.25%, 5.30%, 5.10%, 4.85%, 4.50%, 4.40%, and 4.60% respectively — can you interpolate the yield curve using cubic spline to get me the rate at 7 years and 15 years?","exampleUseCases":null,"resultDescription":"Returns the interpolated yield rate(s) at the requested target maturity/maturities, derived from the input yield curve data points using the specified interpolation method (e.g. linear, cubic spline, Nelson-Siegel). May include the fitted curve parameters and confidence metrics depending on the method.","failureModes":["Insufficient data points to fit the chosen interpolation model — returns error requesting more curve nodes","Target maturity outside the range of provided data points (extrapolation beyond bounds) — may return error or flagged extrapolated value","Non-monotonic or inconsistent input rates causing ill-conditioned fitting — returns validation error","Malformed maturity/rate input arrays (mismatched lengths) — returns 400 bad request","Unsupported interpolation method specified — returns error with supported methods list"],"whenToPreferThis":"Use this endpoint when you have a set of discrete bond yields or benchmark rates and need to estimate the rate at an arbitrary or non-standard maturity. Ideal for fixed-income analytics, pricing derivatives with custom tenors, building discount curves, or preparing inputs for duration/convexity calculations where standard benchmark tenors don't match your cashflow schedule.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:41:34.015Z","isFirstParty":false}