EMI Calculator API
Calculate your monthly EMI, total interest, and total payment for any loan — home, car, or personal.
Accurate Calculation
Get precise EMI and loan breakdown using the standard PMT formula.
Detailed Breakdown
Principal, interest, total payment and amortization details.
Easy Integration
Simple REST API with clean JSON response.
Developer Friendly
Clear docs, multiple SDK examples and fast response.
API Coming Soon
This endpoint is in active development. Documentation is published early so you can plan your integration. Join the waitlist to get notified when it goes live.
Endpoint
All requests should be made to the following endpoint:
GET https://api.tools.town/v1/calculators/emi Authentication
Request Parameters
Send a GET request with query parameters.
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
principal | number | ✓ | Loan amount in the base currency (e.g. rupees or dollars). | 500000 |
rate | number | ✓ | Annual interest rate as a percentage (e.g. 8.5 for 8.5%). | 8.5 |
tenure | number | ✓ | Loan duration in months. | 60 |
Example Request
curl -G "https://api.tools.town/v1/calculators/emi" \
--data-urlencode "principal=500000" \
--data-urlencode "rate=8.5" \
--data-urlencode "tenure=60" Example Response 200 OK
{
"success": true,
"data": {
"emi": "10379.73",
"totalInterest": "122783.8",
"totalPayment": "622783.8",
"principalPercent": "80.28",
"interestPercent": "19.72"
}
} Error Codes
| Code | Meaning |
|---|---|
| 400 | Bad Request — missing or invalid parameter |
| 401 | Unauthorized — API key missing or invalid |
| 429 | Rate limit exceeded — free tier: 1,000 requests/month |
| 500 | Internal Server Error — try again or contact support |