{"uid":"cap_2zrIYsBSSOKjB4hlMtbUm","slug":"compound-interest-calculator-74e33e82","name":"Compound Interest Calculator","description":"Project compound interest over time with optional monthly contributions, returning a year-by-year table. Pure CPU, instant.","url":"https://api.gadgethumans.com/compound-interest?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","properties":{"queryParams":{"type":"object","required":["principal","rate","years"],"properties":{"rate":{"type":"number","description":"Annual rate percent"},"years":{"type":"number","description":"Years"},"monthly":{"type":"number","description":"Monthly contribution"},"principal":{"type":"number","description":"Starting amount"}}}}},"output":{"type":"object","properties":{"example":{"ok":true}}}}},"responseSchema":{"type":"json","example":{"ok":true}},"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_YcUaI7N-sQ0CtJMlpizCw","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":"Projects compound interest growth year-by-year with optional monthly contributions, returning a full table of annual balances.","exampleAgentPrompt":"How much will $15,000 grow if I invest it at 6% annual interest for 20 years and add $200 every month? Give me a year-by-year table.","exampleUseCases":[{"title":"Retirement savings projection","prompt":"I have $50,000 saved right now and I plan to contribute $500 a month into an account earning 7% annually. Show me how my balance grows year by year over the next 30 years."},{"title":"College fund planning","prompt":"If I open a college fund today with $5,000 and add $150 a month at a 5% annual interest rate, what will the balance look like each year for the next 18 years?"},{"title":"Lump-sum investment comparison","prompt":"I want to invest $25,000 as a lump sum at 8% annual interest with no monthly contributions — can you project what that grows to over 15 years, year by year?"}],"resultDescription":"A JSON response containing a year-by-year table showing the balance at the end of each year, factoring in compound interest on the principal and any monthly contributions. Each row typically includes the year number and the projected total balance.","failureModes":["Missing required parameters (principal, rate, or years) returns an error","Non-numeric or negative values for rate/years/principal may cause validation errors","Extremely large year counts or contribution values may produce unexpected overflow results","API returns ok:true with empty or malformed data if input types are incorrect"],"whenToPreferThis":"Choose this endpoint when you need a quick, deterministic, server-side compound interest projection with a year-by-year breakdown and optional monthly contributions. It is ideal for financial planning scenarios where you want structured tabular output without building the formula yourself. Prefer it over a simple formula when you need the full annual schedule, not just a final number.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T23:45:51.178Z","isFirstParty":false,"canonicalSlug":"compound-interest-calculator-74e33e82"}