Skip to content
Fourohtwo

mortgage-amortization.underscoredone.com/calculate

Give this API a loan amount, an interest rate, and a repayment term, and it returns the exact monthly payment plus a full month-by-month schedule: interest paid, principal repaid, and balance remaining for every payment. Ask what an extra $300 a month, or a $10,000 lump sum in month 24, would do and it reports the months and interest saved. Every figure uses banker's rounding at pinned precision,

BaseSolanaAnswering
POSThttps://mortgage-amortization.underscoredone.com/calculate

Uptime100% of 5 checks 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://mortgage-amortization.underscoredone.com/calculate", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"annual_rate_percent":6.5,"extra_monthly_payment":300,"one_time_payments":[{"amount":10000,"month":24}],"principal":400000,"rounding":2,"start_date":"2026-07-01","summary_only":false,"term_months":360}),
});
console.log(await res.json());

Example input

{
  "annual_rate_percent": 6.5,
  "extra_monthly_payment": 300,
  "one_time_payments": [
    {
      "amount": 10000,
      "month": 24
    }
  ],
  "principal": 400000,
  "rounding": 2,
  "start_date": "2026-07-01",
  "summary_only": false,
  "term_months": 360
}