Skip to content
Tools.Town
290+ free online tools

EMI Calculator API

Calculate your monthly EMI, total interest, and total payment for any loan — home, car, or personal.

Category: Calculators Endpoint: /v1/calculators/emi Method: GET Auth: API Key

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.

Endpoint

All requests should be made to the following endpoint:

GEThttps://api.tools.town/v1/calculators/emi

Authentication

This endpoint requires an API Key. Include your API key in the request header.

Authorization: Bearer YOUR_API_KEY
You can get your API key from your dashboard.

Request Parameters

Send a GET request with query parameters.

ParameterTypeRequiredDescriptionExample
principalnumberLoan principal amount.500000
annualRatenumberAnnual interest rate (%).8.5
tenureMonthsnumberLoan tenure in months.60

Example Request

curl -G "https://api.tools.town/v1/calculators/emi" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "principal=500000" \
  --data-urlencode "annualRate=8.5" \
  --data-urlencode "tenureMonths=60"

Example Response 200 OK

application/json
{
  "success": true,
  "data": {
    "emi": "0",
    "totalPayment": "0",
    "totalInterest": "0",
    "principal": "0",
    "annualRate": "0",
    "tenureMonths": "0",
    "monthlyRate": "0"
  }
}

Error Codes

CodeMeaning
400Bad Request — missing or invalid parameter
401Unauthorized — API key missing or invalid
429Rate limit exceeded — free tier: 1,000 requests/month
500Internal Server Error — try again or contact support