Skip to content
Fourohtwo

Loan and investment calculator in exact cents, no outside source

api.sitecheck-api.workers.dev/api/finance/loan

Loan and investment calculator in exact cents, no outside source. mode=annuity: monthly payment, total interest and the full amortisation schedule (up to 600 months). mode=compound: future value of an initial sum plus monthly contributions. mode=npv or irr: discount or internal rate of return of a list of cashflows (up to 200, the first at time 0). Rates are percentages from 0 to 100 a year (per p

BaseSolanaArcPolygonArbitrumWorld Chain+1Answering
GEThttps://api.sitecheck-api.workers.dev/api/finance/loan

Uptime100% of 1 check in 30 days

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

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://api.sitecheck-api.workers.dev/api/finance/loan?mode=annuity&principal=250000&rate=6.5&termYears=30");
console.log(await res.json());

Example input

{
  "mode": "annuity",
  "principal": "250000",
  "rate": "6.5",
  "termYears": "30"
}

More from SiteCheckProvider status