Level-payment loan
loan_calcRead-only
[PAID $0.001 USDC per call via x402] Monthly payment, total interest and total paid for a fixed-rate amortizing loan, in exact arithmetic. The payment is rounded once to the currency scale and the final payment absorbs the rounding so the balance ends at exactly zero.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale | No | ||
| rounding | No | rounding rule; default half_up (ties away from zero). half_even is banker's rounding | |
| principal | Yes | ||
| termMonths | Yes | ||
| annualRatePercent | Yes |