{"uid":"cap_1Alhx-hlfojeR0V1JdJIY","slug":"agentstoolshub-apr-to-apy-converter-e51933f4","name":"AgentsToolsHub APR to APY Converter","description":"Convert APR (nominal annual rate) to APY (effective annual yield) for any compounding frequency including continuous — the exact DeFi math that decides whether a 10% APR pool really pays 10%. Deterministic closed-form, no approximations. Use this when an agent needs to nominal rate → effective yield, any compounding.","url":"https://agentstoolshub.com/api/v1/crypto/apr-apy?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":["ratePct"],"properties":{"ratePct":{"type":"number","description":"APR (%)"},"compounding":{"enum":["annually","quarterly","monthly","daily","continuous"],"type":"string","description":"Compounding"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sgMstmj4vqvQHwk8PpnIF","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a nominal annual interest rate (APR) to an effective annual yield (APY) for any compounding frequency, including continuous compounding, using exact closed-form DeFi math.","exampleAgentPrompt":"What's the actual APY on a 10% APR DeFi pool that compounds daily? I want the exact effective yield, not an approximation.","exampleUseCases":[{"title":"DeFi pool yield comparison","prompt":"I'm looking at a DeFi liquidity pool offering 8.5% APR compounded continuously — what's the real APY I'd actually earn over a year?"},{"title":"Savings account effective rate","prompt":"My bank advertises 4.75% APR compounded monthly. What's the true APY so I can compare it to other savings options?"},{"title":"Crypto lending protocol analysis","prompt":"A lending protocol shows 12% APR compounded quarterly. Can you calculate the effective annual yield so I know what I'd actually make?"}],"resultDescription":"Returns the effective annual yield (APY) as a percentage, computed using the exact closed-form formula for the specified compounding frequency (annually, quarterly, monthly, daily, or continuously). No approximations are used — the result reflects the true compounding effect on the nominal rate.","failureModes":["Missing required ratePct parameter returns a validation error","Invalid compounding frequency value (not in allowed enum) returns an error","Extremely large or negative ratePct values may produce unexpected mathematical results","Network or payment failure (x402 micropayment not processed) blocks the request"],"whenToPreferThis":"Choose this endpoint when you need a deterministic, mathematically exact conversion from APR to APY for any standard or continuous compounding frequency — especially in DeFi, crypto, or financial analysis contexts where approximations are unacceptable. It is ideal for agents comparing yield products, auditing advertised rates, or performing financial modeling with precise interest rate math.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-27T18:44:52.711Z","isFirstParty":false,"canonicalSlug":"agentstoolshub-apr-to-apy-converter-e51933f4"}