{"uid":"cap_OJRsqcBSdsAEldIihk21A","slug":"finmath-apy-to-apr-converter-90388353","name":"finmath APY to APR Converter","description":"Deterministic finance and crypto math for AI agents: TradFi (NPV, IRR, XIRR, Black-Scholes + Greeks, bonds, VaR, Sharpe) and DeFi (impermanent loss, perp liquidation, funding, Uniswap v3, health factor, cost basis). Exact, model-free arithmetic that LLMs get wrong — priced per call in USDC.","url":"https://finmath.qzqh5rrbkz.workers.dev/v1/apy_to_apr","method":"POST","headers":{},"bodySchema":{"type":"object","required":["apy","compounds_per_year"],"properties":{"apy":{"type":"number","description":"apy"},"compounds_per_year":{"type":"number","description":"compounds_per_year"}}},"responseSchema":{"type":"object","required":["result","meta"],"properties":{"meta":{"type":"object"},"result":{}}},"example":{"request":{"apy":5.5,"compounds_per_year":12},"response":{"meta":{"tool":"apy_to_apr","disclaimer":"Deterministic calculation utility. Not financial, investment, or trading advice.","deterministic":true},"result":2.025683218163289}},"exampleRequest":{"apy":5.5,"compounds_per_year":12},"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GwxvnjTbdbO_xeQZ4Iw3L","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts Annual Percentage Yield (APY) to Annual Percentage Rate (APR) given a specified compounding frequency, using exact deterministic arithmetic.","exampleAgentPrompt":"What's the APR equivalent of a 7.5% APY compounded monthly (12 times per year)?","exampleUseCases":null,"resultDescription":"Returns a JSON object with a 'result' field containing the computed APR as a number, and a 'meta' field with additional metadata about the calculation. The result is an exact, deterministic arithmetic conversion, not an LLM approximation.","failureModes":["Missing required fields 'apy' or 'compounds_per_year' returns a validation error","Non-numeric or negative input values may cause a 400 bad request","Zero compounds_per_year may cause division-by-zero error","Payment failure (402) if USDC balance is insufficient for the $0.001 per-call fee"],"whenToPreferThis":"Use this endpoint when you need exact, reliable APY-to-APR conversion and cannot trust LLM arithmetic. Ideal for DeFi yield comparisons, TradFi lending product analysis, or any scenario where compounding frequency matters and numerical precision is critical. Prefer over ad-hoc LLM math whenever auditability or correctness is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:52:12.999Z","isFirstParty":false}