Mortgage & Loan Calculator API
FinanceMAINTAINED1 token / call

Mortgage & Loan Calculator API

Monthly payment, total interest and a full amortisation schedule for any fixed-rate loan or mortgage

Calculate fixed-rate loan and mortgage payments: monthly payment, total cost, and total interest — with an optional full month-by-month amortization schedule. Supports down payments and any term in years or months.

Every call needs an X-Api-Key header. A free key includes 500 tokens a month, no card required. 1 token per call, so the free plan covers about 500 calls a month.

No credit card requiredAccess to 125+ APIsCancel anytime
response.json
{
  "amount": 300000,
  "down_payment": 60000,
  "loan_amount": 240000,
  "annual_rate": 6.5,
  "term_months": 360,
  "number_of_payments": 360,
  "monthly_payment": 1516.96,
  "total_payment": 546106.77,
  "total_interest": 306106.77
}
Production Ready
Battle-tested infrastructure with a 99.9% uptime SLA. Rate limits are generous, responses are consistent.
Simple Integration
Standard REST + JSON. Works with any HTTP client. Copy-ready code snippets in 4 languages.
One Key, 125+ APIs
Your DataAndAPIs subscription unlocks every API on the platform — anime, finance, sports, and more.

Use cases for Mortgage & Loan Calculator API

  • Add a mortgage calculator to a real-estate listing or lender page without writing the math.

  • Show the month-by-month amortisation schedule so buyers see how principal and interest shift over time.

  • Quote car, personal or equipment loans with any term in months or years and an optional down payment.

  • Compare scenarios side by side by calling the endpoint with different rates and terms.

Mortgage & Loan Calculator API endpoints

Every endpoint with its parameters and a real example response.

GETMortgage Calculator

https://api-mortgage-calculator.dataandapis.com/v1/mortgage

Query parameters

ParameterExample
amount300000Required
down_payment60000Optional
rate6.5Required
schedulefalseOptional
years30Required

Example request

curl "https://api-mortgage-calculator.dataandapis.com/v1/mortgage?amount=300000&down_payment=60000&rate=6.5&schedule=false&years=30" \
  -H "X-Api-Key: YOUR_API_KEY"
Example response
{
  "amount": 300000,
  "down_payment": 60000,
  "loan_amount": 240000,
  "annual_rate": 6.5,
  "term_months": 360,
  "number_of_payments": 360,
  "monthly_payment": 1516.96,
  "total_payment": 546106.77,
  "total_interest": 306106.77
}

Where the data comes from

Source
Standard fixed-rate amortisation formula. Pure computation, no external data.
Freshness
Computed on every call.

One install. Every endpoint.

No proprietary SDKs needed. Any HTTP client works. Pick your language and paste.

3languages
1endpoints
RESTarchitecture
1key for all APIs
  • Fully typed responses — auto-completion in your IDE
  • Tracks the API in lockstep — new endpoints land same day
  • One key works across 125+ APIs on the platform
import axios from 'axios';

const { data } = await axios.get(
  'https://api-mortgage-calculator.dataandapis.com/v1/mortgage',
  { headers: { 'X-Api-Key': process.env.API_KEY } }
);

Mortgage & Loan Calculator API · X-Api-Key

Explore the endpoints

Browse request parameters and inspect live example responses.

Available Endpoints

Request Parameters

API URL

Headers

X-Api-Key

Query Parameters

amount(Required)
down_payment(Optional)
rate(Required)
schedule(Optional)
years(Required)
import axios from 'axios';

const url = 'https://api-mortgage-calculator.dataandapis.com/v1/mortgage';
const { data } = await axios.get(url, {
  headers: { 'X-Api-Key': 'YOUR_API_KEY' }
});

One subscription. Every API.

Tokens unlock this API and 125+ others on DataAndAPIs. Switch APIs any time — we promote.

FREE

$0/mo

500 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Community support
Start free
Most Popular

STARTER

$6.99/mo

25,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Email support
Subscribe

PRO

$24.99/mo

100,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority email support
Subscribe

ULTRA

$99.99/mo

1,000,000 tokens / month

  • Access to all APIs
  • Tokens reset monthly
  • Priority support
Subscribe

Need higher volume, dedicated infra, or a custom contract? Talk to sales →

Questions about Mortgage & Loan Calculator API

Ship Mortgage & Loan Calculator API this afternoon.

500 free tokens. No card. Plus 125+ other APIs on the same key.