Loan Installment Simulator
Monthly instalment and total interest for a loan, annuity or flat rate.
POST /api/v1/loan-simulation- API version
- v1
- Output schema
- 1
The endpoint path is always /v1. The schema number below tracks this tool's output shape and changes independently.
Create a free account →Parameters
| Parameter | Type | Required | Default |
|---|---|---|---|
| amount | number | no | 100000000 |
| rate | number | no | 10 |
| months | number | no | 36 |
| method | annuity | flat | no | annuity |
Request
curl -X POST https://sinikoding.dev/api/v1/loan-simulation \ -H 'content-type: application/json' \ -H 'x-api-key: tk_live_…' \ -d '{"amount":100000000,"rate":10,"months":36,"method":"annuity"}'
Returns
"output": { "kind": "table", "columns": ["…"], "rows": [["…"]] }
Calls a same-origin sandbox endpoint, not /api/v1. No key needed, capped at 15 requests a minute.
Request
curl -X POST https://sinikoding.dev/api/v1/loan-simulation \ -H 'content-type: application/json' \ -H 'x-api-key: tk_live_…' \ -d '{"amount":"100000000","rate":"10","months":"36","method":"annuity"}'
Response
Send a request to see the response.