{"uid":"cap_CihpFFLxqU0MNLkGsfafd","slug":"roi-compound-interest-calculator-2946884a","name":"ROI & Compound Interest Calculator","description":"Return-on-investment and compound-growth calculator: supply an initial amount, rate, and time horizon to get final value, total interest earned, and effective annual yield. For comparing savings accounts, investment scenarios, and loan offers where exact compounding matters more than an estimate. Results are reproducible and auditable call to call.","url":"https://x402.forgemesh.io/roi-calculator","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"final":{"type":"string"},"years":{"type":"string"},"initial":{"type":"string"},"principal":{"type":"string"},"calculation":{"type":"string","description":"compound_interest | loan_payment | roi"},"compounds_per_year":{"type":"string"},"annual_rate_percent":{"type":"string"}}},"responseSchema":{"type":"json","example":{"total_interest":382632.9,"monthly_payment":1896.2}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.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_FhqRdRT_xxCJA3i6fj-Kv","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":"Calculates return on investment, compound interest, or loan payments given principal, rate, and time horizon, returning final value, total interest earned, and effective annual yield.","exampleAgentPrompt":"If I invest $25,000 at an annual rate of 6.5% compounded monthly for 10 years, what will the final value be, how much interest will I earn, and what's the effective annual yield?","exampleUseCases":null,"resultDescription":"Returns the final value of the investment or loan, total interest earned over the period, and the effective annual yield — computed exactly based on the provided compounding schedule and time horizon.","failureModes":["Missing required fields such as principal, rate, or years returns a validation error","Invalid calculation type not matching the enum (compound_interest | loan_payment | roi) causes an error","Non-numeric strings in numeric fields result in a parse or computation error","Payment failure (insufficient USDC balance) returns HTTP 402 and no result","Negative or zero rate/principal may produce undefined or error results"],"whenToPreferThis":"Choose this endpoint when exact, auditable compound interest or ROI calculations are needed — particularly for comparing savings accounts, loan offers, or investment scenarios where precise compounding frequency matters. Prefer this over estimate-based or approximation tools when reproducibility and auditability call-to-call are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:54:35.205Z","isFirstParty":false}