{"uid":"cap_AjGBCX_ZkF2Gk96FGmgwI","slug":"agent-data-tools-revmesh2074-workers-dev-compound-interest-calculator-4f2a7ec3","name":"Compound Interest Calculator with Monthly Contributions","description":"Compound interest on savings or an investment: starting amount, annual rate, years, compounding (yearly, quarterly, monthly or daily) and an optional contribution at the end of each month. Returns the future value, total contributed, interest earned and the balance after each year. Use for savings goals and investment what-ifs; rates are assumed constant.","url":"https://agent-data-tools.revmesh2074.workers.dev/calc/compound-interest?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["principal","rate","years"],"properties":{"rate":{"type":"number","description":"Annual interest rate in percent, -50 to 100"},"years":{"type":"number","description":"Years, up to 100"},"monthly":{"type":"number","description":"Contribution at the end of each month (default 0)"},"compound":{"type":"string","description":"yearly, quarterly, monthly (default) or daily"},"principal":{"type":"number","description":"Starting amount (0 or more)"}}},"responseSchema":{"type":"object","properties":{"byYear":{"type":"array","items":{"type":"object","properties":{"year":{"type":"number"},"balance":{"type":"number"}}}},"futureValue":{"type":"number"},"interestEarned":{"type":"number"},"totalContributions":{"type":"number"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USD","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_CxnAiJ0eO4naP9lmG75zC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"agent-data-tools.revmesh2074.workers.dev","brandSlug":"agent-data-tools-revmesh2074-workers-dev-x402","brandBaseUrl":"https://agent-data-tools.revmesh2074.workers.dev","brandDocsUrl":null,"whatItDoes":"Calculates the future value of savings or investments with compound interest, optional monthly contributions, and a year-by-year balance breakdown.","exampleAgentPrompt":"If I start with $5,000 and add $200 every month at 6% annual interest compounded monthly, what will my savings be worth after 15 years? Show me the balance each year.","exampleUseCases":[{"title":"Retirement savings growth projection","prompt":"I have $20,000 in retirement savings and plan to add $500 every month. If I get a 7% annual return compounded monthly, how much will I have after 30 years?"},{"title":"College fund planning","prompt":"I want to start a college fund with $2,000 today and add $150 a month. At 4.5% interest compounded quarterly, how much will I have in 18 years?"},{"title":"High-yield savings account what-if","prompt":"If I put $10,000 in a high-yield savings account earning 5.1% compounded daily and don't add anything, what's the balance year by year over 5 years?"}],"resultDescription":"Returns a JSON object with the final future value (futureValue), total amount contributed including principal (totalContributions), total interest earned (interestEarned), and a byYear array showing the running balance at the end of each year throughout the investment period.","failureModes":["Missing required fields (principal, rate, or years) returns a validation error","Rate outside -50 to 100 range is rejected","Years exceeding 100 is rejected","Invalid compound frequency string returns an error","Non-numeric values for numeric fields cause a 400 error"],"whenToPreferThis":"Use this endpoint when you need to model savings or investment growth over time with a fixed interest rate, optional regular monthly deposits, and flexible compounding frequency. It is ideal for personal finance projections, retirement planning, college fund estimates, and savings goal what-ifs. Prefer this over simple interest calculators when compounding and periodic contributions matter to the result.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T07:19:04.232Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-revmesh2074-workers-dev-compound-interest-calculator-4f2a7ec3"}