{"uid":"cap_r3ArLcQVf7ElWH_coHe-e","slug":"api-quantoracle-dev-3b4db45c","name":"QuantOracle APY/APR Converter","description":"QuantOracle: crypto/apy-apr-convert","url":"https://api.quantoracle.dev/v1/crypto/apy-apr-convert","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rate":{"type":"number","title":"Rate","description":"The rate to convert (as decimal, e.g. 0.12 = 12%)"},"from_type":{"enum":["apy","apr"],"type":"string","title":"From Type","default":"apr","description":"Input rate type to convert from"},"compounding":{"enum":["daily","weekly","monthly","quarterly","continuous"],"type":"string","title":"Compounding","default":"daily","description":"Compounding frequency"}}},"responseSchema":null,"example":{"request":{"input":{"body":{"rate":0.05,"from_type":"apr","compounding":"daily"},"type":"http","method":"POST","bodyType":"json"}},"response":{"ms":7.03,"apr":0.05,"apy":0.051267,"_meta":{"url":"https://quantoracle.dev","docs":"https://api.quantoracle.dev/docs","powered_by":"QuantOracle"},"apr_pct":5,"apy_pct":5.1267,"compounding":"daily","continuous_rate":0.049997,"doubling_time_days":5060.32,"effective_daily_rate":0.00013699}},"exampleRequest":{"rate":0.05,"from_type":"apr","compounding":"daily"},"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","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":"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_mxAMW87w3WRWljQKvPuVi","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":"Converts between Annual Percentage Yield (APY) and Annual Percentage Rate (APR) for crypto financial calculations, accounting for compounding frequency.","exampleAgentPrompt":"Convert an APR of 18.25% compounded daily to its equivalent APY — I want to compare it against a lending platform quoting 19.5% APY.","exampleUseCases":null,"resultDescription":"Returns the converted interest rate value (APY or APR) based on the input rate and compounding frequency, enabling direct comparison of crypto yield rates expressed in different formats.","failureModes":["Invalid or negative input rate returns a 400 error","Unsupported compounding frequency value rejected","Missing required conversion direction or rate field causes validation error","Extremely large rates may produce overflow or precision errors"],"whenToPreferThis":"Use this endpoint when you need to mathematically convert between APY and APR for crypto or DeFi contexts, especially when comparing yields across protocols that quote rates differently. Ideal when compounding frequency matters (daily, monthly, continuously) and you need a precise numeric result rather than an estimate.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":2,"lastUsedAt":"2026-05-27T19:06:30.216Z","lastSuccessfullyRanAt":"2026-05-27T19:06:30.216Z","lastHealthCheckAt":"2026-09-13T18:45:32.045Z","isFirstParty":false}