Skip to content
Fourohtwo

Compound interest calculator, savings and investment growth

lookupkit.dev/api/compound_interest

Compound interest calculator, savings and investment growth. Future value with compound interest: starting amount, annual rate (%), years, compounding per year, optional regular contribution per period (added at the end of each period). Returns final balance, total contributed and interest earned, with a year-by-year table.

BaseUnchecked
GEThttps://lookupkit.dev/api/compound_interest

UptimeNot checked yet

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://lookupkit.dev/api/compound_interest?annual_rate=7&contribution=200&principal=10000&years=10");
console.log(await res.json());

Example input

{
  "annual_rate": 7,
  "contribution": 200,
  "principal": 10000,
  "years": 10
}

More from Lookup Kit

Compound interest calculator, savings and investment growth by Lookup Kit · x402 API | Fourohtwo