Loan amortization
Compute the level monthly payment, total paid and total interest of a fully-amortizing loan. Handles a 0% rate. Set schedule=true to also return the full month-by-month amortization table.
- Category
- Markets & finance
- Starting price
- $0.004
- Paid calls · 30 days
- 13
- Unique payers · 30 days
- 12
Paid endpoints
6 endpoints, sorted by usage. Prices are per request.
- POST/v1/loan
Compute the level monthly payment, total paid and total interest of a fully-amortizing loan. Handles a 0% rate. Set schedule=true to also return the full month-by-month amortization table.
$0.004Base6calls / 30d - POST/v1/irr
Internal rate of return (per period) of a series of cash flows, solved with a bounded bisection. Requires at least one positive and one negative flow; flows with no sign change or no bracketable root are rejected as a clean 400.
$0.004Base2calls / 30d - POST/v1/interest
Grow a principal by simple or compound interest over a number of years. Compound interest uses compoundsPerYear compounding periods (default 12, monthly).
$0.004Base2calls / 30d - POST/v1/npv
Net present value of a series of cash flows discounted at a per-period rate. cashflows[0] is the time-0 flow (typically the initial outlay, negative).
$0.004Base1calls / 30d - POST/v1/present-value
Present value of a future sum and/or a level annuity, given a per-period rate and number of periods. Set dueAtBeginning=true for an annuity-due.
$0.004Base1calls / 30d - POST/v1/future-value
Future value of a present sum and/or a level annuity, given a per-period rate and number of periods. Set dueAtBeginning=true for an annuity-due (payments at the start of each period).
$0.004Base1calls / 30d