{"uid":"cap_uZ6XWs55cIemyyjz8ezoC","slug":"apr-apy-converter-x402toll-602b0fa6","name":"APR ↔ APY Converter (x402toll)","description":"Convert between APR and APY at any compounding frequency (or continuous).","url":"https://x402toll.com/v1/crypto/apr-apy","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"ratePct":{"type":"number"},"direction":{"enum":["apr_to_apy","apy_to_apr"],"type":"string","default":"apr_to_apy"},"compounding":{"enum":["periodic","continuous"],"type":"string","default":"periodic"},"compoundsPerYear":{"type":"number","default":12}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_lNu6fadyYEDX5K1B56IDe","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts between APR and APY at any compounding frequency, including periodic and continuous compounding.","exampleAgentPrompt":"What's the APY on a 6.5% APR compounded monthly? Convert APR to APY with periodic compounding, 12 times per year.","exampleUseCases":null,"resultDescription":"Returns the converted interest rate (APR or APY) based on the given rate, direction, compounding type, and frequency. Provides the numeric result as a percentage value.","failureModes":["Missing or invalid ratePct (non-numeric or out of range) returns a validation error","Invalid direction enum value returns a bad request error","Invalid compounding enum value returns a bad request error","compoundsPerYear of 0 or negative causes division error","Payment not provided or insufficient USDC balance returns 402"],"whenToPreferThis":"Use this endpoint when you need a quick, accurate APR-to-APY or APY-to-APR conversion at a specific compounding frequency (monthly, quarterly, daily, or continuous), especially in financial planning, crypto yield comparisons, or loan analysis contexts where the compounding convention matters.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:52:27.993Z","isFirstParty":false}