Mortgage · Calculation
Fixed home-equity loan
Estimate the borrowing limit, net cash, debt-to-income ratio and monthly and yearly loan schedules.
This HT Calc screen includes a Plus sample for visitors.
Example result · loanDetails.principalAndInterest: 492.3697789628 See output
- Cost per success
- 2 calculation credits
- Production plans
- Standard, Business, Scale, Enterprise
Plan allowances - Free sandbox
- Not available
Integration example
Make a request
Use a production key scoped to fixed-home-equity-loan.
Keep the key on your server. A successful call uses 2 calculation credits.
Set HT_PRODUCTION_KEY on your server. Save as example.mjs and run node example.mjs with Node.js 18 or later.
import { randomUUID } from "node:crypto";
const key = process.env.HT_PRODUCTION_KEY;
if (!key) throw new Error("Set HT_PRODUCTION_KEY on your server.");
const endpoint = "https://calc.hasstechapi.com/v2/calc/fixed-home-equity-loan";
const input = {
"homeValue": 450000,
"mortgageBalance": 250000,
"ltv": 85,
"loanAmount": 50000,
"interestRate": 8.5,
"loanTerm": 15,
"extraPayment": 0,
"points": 1,
"closingCosts": 750,
"annualIncome": 120000,
"monthlyDebt": 1000
};
const requestId = process.env.HT_REQUEST_ID || Date.now() + "." + randomUUID();
// Keep this ID to look up usage if the connection is interrupted.
console.error("Usage lookup ID:", requestId);
const response = await fetch(endpoint, {
method: "POST",
redirect: "error",
headers: {
"Authorization": "Bearer " + key,
"Content-Type": "application/json",
"Idempotency-Key": requestId
},
body: JSON.stringify(input)
});
if (!response.ok) {
const problem = await response.json().catch(() => null);
const code = problem?.error?.code || response.statusText;
const delay = response.headers.get("retry-after");
if (delay) console.error("Retry-After (seconds):", delay);
console.error("HTTP " + response.status + " " + code + ". Usage lookup ID: " + requestId);
if (Array.isArray(problem?.error?.details)) {
for (const issue of problem.error.details) console.error("Input issue:", JSON.stringify(issue));
}
process.exitCode = 1;
} else {
console.log(JSON.stringify(await response.json(), null, 2));
} cURL (shell)
(
set -eu
: "${HT_PRODUCTION_KEY:?Set HT_PRODUCTION_KEY on your server}"
request_id="${HT_REQUEST_ID:-}"
if [ -z "$request_id" ]; then
request_id=$(python3 -c 'import time, uuid; print(str(time.time_ns() // 1000000) + "." + str(uuid.uuid4()))')
fi
printf 'Usage lookup ID: %s\n' "$request_id" >&2
# On INVALID_INPUT, read error.details in the JSON response body.
curl --disable --silent --show-error --fail-with-body --include \
--request POST 'https://calc.hasstechapi.com/v2/calc/fixed-home-equity-loan' \
--header "Authorization: Bearer $HT_PRODUCTION_KEY" \
--header 'Content-Type: application/json' \
--header "Idempotency-Key: $request_id" \
--data-binary @- <<'HT_INPUT'
{
"homeValue": 450000,
"mortgageBalance": 250000,
"ltv": 85,
"loanAmount": 50000,
"interestRate": 8.5,
"loanTerm": 15,
"extraPayment": 0,
"points": 1,
"closingCosts": 750,
"annualIncome": 120000,
"monthlyDebt": 1000
}
HT_INPUT
) If your request fails
400 INVALID_INPUT-
Read
error.detailswhen present. Node prints each issue. cURL returns the JSON body. Eachpathpoints into your request. An empty path refers to the whole body.Check the accepted inputs for required fields, units and ranges. Send the corrected JSON as a new request.
401or403- Check that the server has the bearer key for the endpoint’s environment and that the key includes
fixed-home-equity-loan. 429- Read the service error code, check your allowance, and wait for the
Retry-Afterinterval when supplied before trying again. - Lost response,
409or503 - Open Request lookup, select the same environment and enter the printed usage lookup ID. A settled ID has already consumed credits. To retry the same calculation, set
HT_REQUEST_IDto the original ID and reuse the same inputs. A settled request does not return its result again. Unset the variable for a new request, which can consume credits.
The usage lookup ID is the Idempotency-Key your server sends. The response’s x-request-id identifies the HTTP exchange for support.
Output
Example result
These values come from running this operation on the example inputs.
loanDetails.principalAndInterest- 492.3697789628
loanDetails.monthlyTax- 0
loanDetails.monthlyInsurance- 0
How to interpret this result
- Points are a percent of loan principal. A zero income makes the DTI result unavailable.
Full example response (JSON)
{
"status": "available",
"result": {
"loanDetails": {
"principalAndInterest": 492.3697789628,
"monthlyTax": 0,
"monthlyInsurance": 0,
"monthlyPMI": 0,
"monthlyPayment": 492.3697789628,
"monthlyPrincipal": 138.20311229613333,
"monthlyInterest": 354.1666666666667,
"totalPayment": 88626.56021330401,
"totalFinancingPayment": 88626.56021330401,
"totalInterest": 38626.56021330401,
"loanAmount": 50000,
"upfrontFees": 0,
"originationFeeAmount": 0,
"feeDeductedFromProceeds": 0,
"capitalizedInterest": 0,
"businessDscr": 0
},
"amortizationData": [
{
"month": 1,
"interest": 354.17,
"principal": 138.2,
"remainingBalance": 49861.8
},
{
"month": 2,
"interest": 353.19,
"principal": 139.18,
"remainingBalance": 49722.62
},
{
"month": 3,
"interest": 352.2,
"principal": 140.17,
"remainingBalance": 49582.45
},
{
"month": 4,
"interest": 351.21,
"principal": 141.16,
"remainingBalance": 49441.29
},
{
"month": 5,
"interest": 350.21,
"principal": 142.16,
"remainingBalance": 49299.13
},
{
"month": 6,
"interest": 349.2,
"principal": 143.17,
"remainingBalance": 49155.96
},
{
"month": 7,
"interest": 348.19,
"principal": 144.18,
"remainingBalance": 49011.78
},
{
"month": 8,
"interest": 347.17,
"principal": 145.2,
"remainingBalance": 48866.58
},
{
"month": 9,
"interest": 346.14,
"principal": 146.23,
"remainingBalance": 48720.35
},
{
"month": 10,
"interest": 345.1,
"principal": 147.27,
"remainingBalance": 48573.08
},
{
"month": 11,
"interest": 344.06,
"principal": 148.31,
"remainingBalance": 48424.77
},
{
"month": 12,
"interest": 343.01,
"principal": 149.36,
"remainingBalance": 48275.41
},
{
"month": 13,
"interest": 341.95,
"principal": 150.42,
"remainingBalance": 48124.99
},
{
"month": 14,
"interest": 340.89,
"principal": 151.48,
"remainingBalance": 47973.51
},
{
"month": 15,
"interest": 339.81,
"principal": 152.56,
"remainingBalance": 47820.95
},
{
"month": 16,
"interest": 338.73,
"principal": 153.64,
"remainingBalance": 47667.31
},
{
"month": 17,
"interest": 337.64,
"principal": 154.73,
"remainingBalance": 47512.58
},
{
"month": 18,
"interest": 336.55,
"principal": 155.82,
"remainingBalance": 47356.76
},
{
"month": 19,
"interest": 335.44,
"principal": 156.93,
"remainingBalance": 47199.83
},
{
"month": 20,
"interest": 334.33,
"principal": 158.04,
"remainingBalance": 47041.79
},
{
"month": 21,
"interest": 333.21,
"principal": 159.16,
"remainingBalance": 46882.63
},
{
"month": 22,
"interest": 332.09,
"principal": 160.28,
"remainingBalance": 46722.35
},
{
"month": 23,
"interest": 330.95,
"principal": 161.42,
"remainingBalance": 46560.93
},
{
"month": 24,
"interest": 329.81,
"principal": 162.56,
"remainingBalance": 46398.37
},
{
"month": 25,
"interest": 328.66,
"principal": 163.71,
"remainingBalance": 46234.66
},
{
"month": 26,
"interest": 327.5,
"principal": 164.87,
"remainingBalance": 46069.79
},
{
"month": 27,
"interest": 326.33,
"principal": 166.04,
"remainingBalance": 45903.75
},
{
"month": 28,
"interest": 325.15,
"principal": 167.22,
"remainingBalance": 45736.53
},
{
"month": 29,
"interest": 323.97,
"principal": 168.4,
"remainingBalance": 45568.13
},
{
"month": 30,
"interest": 322.77,
"principal": 169.6,
"remainingBalance": 45398.53
},
{
"month": 31,
"interest": 321.57,
"principal": 170.8,
"remainingBalance": 45227.73
},
{
"month": 32,
"interest": 320.36,
"principal": 172.01,
"remainingBalance": 45055.72
},
{
"month": 33,
"interest": 319.14,
"principal": 173.23,
"remainingBalance": 44882.49
},
{
"month": 34,
"interest": 317.92,
"principal": 174.45,
"remainingBalance": 44708.04
},
{
"month": 35,
"interest": 316.68,
"principal": 175.69,
"remainingBalance": 44532.35
},
{
"month": 36,
"interest": 315.44,
"principal": 176.93,
"remainingBalance": 44355.42
},
{
"month": 37,
"interest": 314.18,
"principal": 178.19,
"remainingBalance": 44177.23
},
{
"month": 38,
"interest": 312.92,
"principal": 179.45,
"remainingBalance": 43997.78
},
{
"month": 39,
"interest": 311.65,
"principal": 180.72,
"remainingBalance": 43817.06
},
{
"month": 40,
"interest": 310.37,
"principal": 182,
"remainingBalance": 43635.06
},
{
"month": 41,
"interest": 309.08,
"principal": 183.29,
"remainingBalance": 43451.77
},
{
"month": 42,
"interest": 307.78,
"principal": 184.59,
"remainingBalance": 43267.18
},
{
"month": 43,
"interest": 306.48,
"principal": 185.89,
"remainingBalance": 43081.29
},
{
"month": 44,
"interest": 305.16,
"principal": 187.21,
"remainingBalance": 42894.08
},
{
"month": 45,
"interest": 303.83,
"principal": 188.54,
"remainingBalance": 42705.54
},
{
"month": 46,
"interest": 302.5,
"principal": 189.87,
"remainingBalance": 42515.67
},
{
"month": 47,
"interest": 301.15,
"principal": 191.22,
"remainingBalance": 42324.45
},
{
"month": 48,
"interest": 299.8,
"principal": 192.57,
"remainingBalance": 42131.88
},
{
"month": 49,
"interest": 298.43,
"principal": 193.94,
"remainingBalance": 41937.94
},
{
"month": 50,
"interest": 297.06,
"principal": 195.31,
"remainingBalance": 41742.63
},
{
"month": 51,
"interest": 295.68,
"principal": 196.69,
"remainingBalance": 41545.94
},
{
"month": 52,
"interest": 294.28,
"principal": 198.09,
"remainingBalance": 41347.85
},
{
"month": 53,
"interest": 292.88,
"principal": 199.49,
"remainingBalance": 41148.36
},
{
"month": 54,
"interest": 291.47,
"principal": 200.9,
"remainingBalance": 40947.46
},
{
"month": 55,
"interest": 290.04,
"principal": 202.33,
"remainingBalance": 40745.13
},
{
"month": 56,
"interest": 288.61,
"principal": 203.76,
"remainingBalance": 40541.37
},
{
"month": 57,
"interest": 287.17,
"principal": 205.2,
"remainingBalance": 40336.17
},
{
"month": 58,
"interest": 285.71,
"principal": 206.66,
"remainingBalance": 40129.51
},
{
"month": 59,
"interest": 284.25,
"principal": 208.12,
"remainingBalance": 39921.39
},
{
"month": 60,
"interest": 282.78,
"principal": 209.59,
"remainingBalance": 39711.8
},
{
"month": 61,
"interest": 281.29,
"principal": 211.08,
"remainingBalance": 39500.72
},
{
"month": 62,
"interest": 279.8,
"principal": 212.57,
"remainingBalance": 39288.15
},
{
"month": 63,
"interest": 278.29,
"principal": 214.08,
"remainingBalance": 39074.07
},
{
"month": 64,
"interest": 276.77,
"principal": 215.6,
"remainingBalance": 38858.47
},
{
"month": 65,
"interest": 275.25,
"principal": 217.12,
"remainingBalance": 38641.35
},
{
"month": 66,
"interest": 273.71,
"principal": 218.66,
"remainingBalance": 38422.69
},
{
"month": 67,
"interest": 272.16,
"principal": 220.21,
"remainingBalance": 38202.48
},
{
"month": 68,
"interest": 270.6,
"principal": 221.77,
"remainingBalance": 37980.71
},
{
"month": 69,
"interest": 269.03,
"principal": 223.34,
"remainingBalance": 37757.37
},
{
"month": 70,
"interest": 267.45,
"principal": 224.92,
"remainingBalance": 37532.45
},
{
"month": 71,
"interest": 265.85,
"principal": 226.52,
"remainingBalance": 37305.93
},
{
"month": 72,
"interest": 264.25,
"principal": 228.12,
"remainingBalance": 37077.81
},
{
"month": 73,
"interest": 262.63,
"principal": 229.74,
"remainingBalance": 36848.07
},
{
"month": 74,
"interest": 261.01,
"principal": 231.36,
"remainingBalance": 36616.71
},
{
"month": 75,
"interest": 259.37,
"principal": 233,
"remainingBalance": 36383.71
},
{
"month": 76,
"interest": 257.72,
"principal": 234.65,
"remainingBalance": 36149.06
},
{
"month": 77,
"interest": 256.06,
"principal": 236.31,
"remainingBalance": 35912.75
},
{
"month": 78,
"interest": 254.38,
"principal": 237.99,
"remainingBalance": 35674.76
},
{
"month": 79,
"interest": 252.7,
"principal": 239.67,
"remainingBalance": 35435.09
},
{
"month": 80,
"interest": 251,
"principal": 241.37,
"remainingBalance": 35193.72
},
{
"month": 81,
"interest": 249.29,
"principal": 243.08,
"remainingBalance": 34950.64
},
{
"month": 82,
"interest": 247.57,
"principal": 244.8,
"remainingBalance": 34705.84
},
{
"month": 83,
"interest": 245.83,
"principal": 246.54,
"remainingBalance": 34459.3
},
{
"month": 84,
"interest": 244.09,
"principal": 248.28,
"remainingBalance": 34211.02
},
{
"month": 85,
"interest": 242.33,
"principal": 250.04,
"remainingBalance": 33960.98
},
{
"month": 86,
"interest": 240.56,
"principal": 251.81,
"remainingBalance": 33709.17
},
{
"month": 87,
"interest": 238.77,
"principal": 253.6,
"remainingBalance": 33455.57
},
{
"month": 88,
"interest": 236.98,
"principal": 255.39,
"remainingBalance": 33200.18
},
{
"month": 89,
"interest": 235.17,
"principal": 257.2,
"remainingBalance": 32942.98
},
{
"month": 90,
"interest": 233.35,
"principal": 259.02,
"remainingBalance": 32683.96
},
{
"month": 91,
"interest": 231.51,
"principal": 260.86,
"remainingBalance": 32423.1
},
{
"month": 92,
"interest": 229.66,
"principal": 262.71,
"remainingBalance": 32160.39
},
{
"month": 93,
"interest": 227.8,
"principal": 264.57,
"remainingBalance": 31895.82
},
{
"month": 94,
"interest": 225.93,
"principal": 266.44,
"remainingBalance": 31629.38
},
{
"month": 95,
"interest": 224.04,
"principal": 268.33,
"remainingBalance": 31361.05
},
{
"month": 96,
"interest": 222.14,
"principal": 270.23,
"remainingBalance": 31090.82
},
{
"month": 97,
"interest": 220.23,
"principal": 272.14,
"remainingBalance": 30818.68
},
{
"month": 98,
"interest": 218.3,
"principal": 274.07,
"remainingBalance": 30544.61
},
{
"month": 99,
"interest": 216.36,
"principal": 276.01,
"remainingBalance": 30268.6
},
{
"month": 100,
"interest": 214.4,
"principal": 277.97,
"remainingBalance": 29990.63
},
{
"month": 101,
"interest": 212.43,
"principal": 279.94,
"remainingBalance": 29710.69
},
{
"month": 102,
"interest": 210.45,
"principal": 281.92,
"remainingBalance": 29428.77
},
{
"month": 103,
"interest": 208.45,
"principal": 283.92,
"remainingBalance": 29144.85
},
{
"month": 104,
"interest": 206.44,
"principal": 285.93,
"remainingBalance": 28858.92
},
{
"month": 105,
"interest": 204.42,
"principal": 287.95,
"remainingBalance": 28570.97
},
{
"month": 106,
"interest": 202.38,
"principal": 289.99,
"remainingBalance": 28280.98
},
{
"month": 107,
"interest": 200.32,
"principal": 292.05,
"remainingBalance": 27988.93
},
{
"month": 108,
"interest": 198.25,
"principal": 294.12,
"remainingBalance": 27694.81
},
{
"month": 109,
"interest": 196.17,
"principal": 296.2,
"remainingBalance": 27398.61
},
{
"month": 110,
"interest": 194.07,
"principal": 298.3,
"remainingBalance": 27100.31
},
{
"month": 111,
"interest": 191.96,
"principal": 300.41,
"remainingBalance": 26799.9
},
{
"month": 112,
"interest": 189.83,
"principal": 302.54,
"remainingBalance": 26497.36
},
{
"month": 113,
"interest": 187.69,
"principal": 304.68,
"remainingBalance": 26192.68
},
{
"month": 114,
"interest": 185.53,
"principal": 306.84,
"remainingBalance": 25885.84
},
{
"month": 115,
"interest": 183.36,
"principal": 309.01,
"remainingBalance": 25576.83
},
{
"month": 116,
"interest": 181.17,
"principal": 311.2,
"remainingBalance": 25265.63
},
{
"month": 117,
"interest": 178.96,
"principal": 313.41,
"remainingBalance": 24952.22
},
{
"month": 118,
"interest": 176.74,
"principal": 315.63,
"remainingBalance": 24636.59
},
{
"month": 119,
"interest": 174.51,
"principal": 317.86,
"remainingBalance": 24318.73
},
{
"month": 120,
"interest": 172.26,
"principal": 320.11,
"remainingBalance": 23998.62
},
{
"month": 121,
"interest": 169.99,
"principal": 322.38,
"remainingBalance": 23676.24
},
{
"month": 122,
"interest": 167.71,
"principal": 324.66,
"remainingBalance": 23351.58
},
{
"month": 123,
"interest": 165.41,
"principal": 326.96,
"remainingBalance": 23024.62
},
{
"month": 124,
"interest": 163.09,
"principal": 329.28,
"remainingBalance": 22695.34
},
{
"month": 125,
"interest": 160.76,
"principal": 331.61,
"remainingBalance": 22363.73
},
{
"month": 126,
"interest": 158.41,
"principal": 333.96,
"remainingBalance": 22029.77
},
{
"month": 127,
"interest": 156.04,
"principal": 336.33,
"remainingBalance": 21693.44
},
{
"month": 128,
"interest": 153.66,
"principal": 338.71,
"remainingBalance": 21354.73
},
{
"month": 129,
"interest": 151.26,
"principal": 341.11,
"remainingBalance": 21013.62
},
{
"month": 130,
"interest": 148.85,
"principal": 343.52,
"remainingBalance": 20670.1
},
{
"month": 131,
"interest": 146.41,
"principal": 345.96,
"remainingBalance": 20324.14
},
{
"month": 132,
"interest": 143.96,
"principal": 348.41,
"remainingBalance": 19975.73
},
{
"month": 133,
"interest": 141.49,
"principal": 350.88,
"remainingBalance": 19624.85
},
{
"month": 134,
"interest": 139.01,
"principal": 353.36,
"remainingBalance": 19271.49
},
{
"month": 135,
"interest": 136.51,
"principal": 355.86,
"remainingBalance": 18915.63
},
{
"month": 136,
"interest": 133.99,
"principal": 358.38,
"remainingBalance": 18557.25
},
{
"month": 137,
"interest": 131.45,
"principal": 360.92,
"remainingBalance": 18196.33
},
{
"month": 138,
"interest": 128.89,
"principal": 363.48,
"remainingBalance": 17832.85
},
{
"month": 139,
"interest": 126.32,
"principal": 366.05,
"remainingBalance": 17466.8
},
{
"month": 140,
"interest": 123.72,
"principal": 368.65,
"remainingBalance": 17098.15
},
{
"month": 141,
"interest": 121.11,
"principal": 371.26,
"remainingBalance": 16726.89
},
{
"month": 142,
"interest": 118.48,
"principal": 373.89,
"remainingBalance": 16353
},
{
"month": 143,
"interest": 115.83,
"principal": 376.54,
"remainingBalance": 15976.46
},
{
"month": 144,
"interest": 113.17,
"principal": 379.2,
"remainingBalance": 15597.26
},
{
"month": 145,
"interest": 110.48,
"principal": 381.89,
"remainingBalance": 15215.37
},
{
"month": 146,
"interest": 107.78,
"principal": 384.59,
"remainingBalance": 14830.78
},
{
"month": 147,
"interest": 105.05,
"principal": 387.32,
"remainingBalance": 14443.46
},
{
"month": 148,
"interest": 102.31,
"principal": 390.06,
"remainingBalance": 14053.4
},
{
"month": 149,
"interest": 99.54,
"principal": 392.83,
"remainingBalance": 13660.57
},
{
"month": 150,
"interest": 96.76,
"principal": 395.61,
"remainingBalance": 13264.96
},
{
"month": 151,
"interest": 93.96,
"principal": 398.41,
"remainingBalance": 12866.55
},
{
"month": 152,
"interest": 91.14,
"principal": 401.23,
"remainingBalance": 12465.32
},
{
"month": 153,
"interest": 88.3,
"principal": 404.07,
"remainingBalance": 12061.25
},
{
"month": 154,
"interest": 85.43,
"principal": 406.94,
"remainingBalance": 11654.31
},
{
"month": 155,
"interest": 82.55,
"principal": 409.82,
"remainingBalance": 11244.49
},
{
"month": 156,
"interest": 79.65,
"principal": 412.72,
"remainingBalance": 10831.77
},
{
"month": 157,
"interest": 76.73,
"principal": 415.64,
"remainingBalance": 10416.13
},
{
"month": 158,
"interest": 73.78,
"principal": 418.59,
"remainingBalance": 9997.54
},
{
"month": 159,
"interest": 70.82,
"principal": 421.55,
"remainingBalance": 9575.99
},
{
"month": 160,
"interest": 67.83,
"principal": 424.54,
"remainingBalance": 9151.45
},
{
"month": 161,
"interest": 64.82,
"principal": 427.55,
"remainingBalance": 8723.9
},
{
"month": 162,
"interest": 61.79,
"principal": 430.58,
"remainingBalance": 8293.32
},
{
"month": 163,
"interest": 58.74,
"principal": 433.63,
"remainingBalance": 7859.69
},
{
"month": 164,
"interest": 55.67,
"principal": 436.7,
"remainingBalance": 7422.99
},
{
"month": 165,
"interest": 52.58,
"principal": 439.79,
"remainingBalance": 6983.2
},
{
"month": 166,
"interest": 49.46,
"principal": 442.91,
"remainingBalance": 6540.29
},
{
"month": 167,
"interest": 46.33,
"principal": 446.04,
"remainingBalance": 6094.25
},
{
"month": 168,
"interest": 43.17,
"principal": 449.2,
"remainingBalance": 5645.05
},
{
"month": 169,
"interest": 39.99,
"principal": 452.38,
"remainingBalance": 5192.67
},
{
"month": 170,
"interest": 36.78,
"principal": 455.59,
"remainingBalance": 4737.08
},
{
"month": 171,
"interest": 33.55,
"principal": 458.82,
"remainingBalance": 4278.26
},
{
"month": 172,
"interest": 30.3,
"principal": 462.07,
"remainingBalance": 3816.19
},
{
"month": 173,
"interest": 27.03,
"principal": 465.34,
"remainingBalance": 3350.85
},
{
"month": 174,
"interest": 23.74,
"principal": 468.63,
"remainingBalance": 2882.22
},
{
"month": 175,
"interest": 20.42,
"principal": 471.95,
"remainingBalance": 2410.27
},
{
"month": 176,
"interest": 17.07,
"principal": 475.3,
"remainingBalance": 1934.97
},
{
"month": 177,
"interest": 13.71,
"principal": 478.66,
"remainingBalance": 1456.31
},
{
"month": 178,
"interest": 10.32,
"principal": 482.05,
"remainingBalance": 974.26
},
{
"month": 179,
"interest": 6.9,
"principal": 485.47,
"remainingBalance": 488.79
},
{
"month": 180,
"interest": 3.46,
"principal": 488.79,
"remainingBalance": 0
}
],
"yearlyAmortizationData": [
{
"year": 1,
"totalInterest": 4183.85,
"totalPrincipal": 1724.59,
"remainingBalance": 48275.41
},
{
"year": 2,
"totalInterest": 4031.4,
"totalPrincipal": 1877.04,
"remainingBalance": 46398.37
},
{
"year": 3,
"totalInterest": 3865.49,
"totalPrincipal": 2042.95,
"remainingBalance": 44355.42
},
{
"year": 4,
"totalInterest": 3684.9,
"totalPrincipal": 2223.54,
"remainingBalance": 42131.88
},
{
"year": 5,
"totalInterest": 3488.36,
"totalPrincipal": 2420.08,
"remainingBalance": 39711.8
},
{
"year": 6,
"totalInterest": 3274.45,
"totalPrincipal": 2633.99,
"remainingBalance": 37077.81
},
{
"year": 7,
"totalInterest": 3041.65,
"totalPrincipal": 2866.79,
"remainingBalance": 34211.02
},
{
"year": 8,
"totalInterest": 2788.24,
"totalPrincipal": 3120.2,
"remainingBalance": 31090.82
},
{
"year": 9,
"totalInterest": 2512.43,
"totalPrincipal": 3396.01,
"remainingBalance": 27694.81
},
{
"year": 10,
"totalInterest": 2212.25,
"totalPrincipal": 3696.19,
"remainingBalance": 23998.62
},
{
"year": 11,
"totalInterest": 1885.55,
"totalPrincipal": 4022.89,
"remainingBalance": 19975.73
},
{
"year": 12,
"totalInterest": 1529.97,
"totalPrincipal": 4378.47,
"remainingBalance": 15597.26
},
{
"year": 13,
"totalInterest": 1142.95,
"totalPrincipal": 4765.49,
"remainingBalance": 10831.77
},
{
"year": 14,
"totalInterest": 721.72,
"totalPrincipal": 5186.72,
"remainingBalance": 5645.05
},
{
"year": 15,
"totalInterest": 263.27,
"totalPrincipal": 5645.05,
"remainingBalance": 0
}
],
"maxEquity": 132500,
"requestedLoanWithinEquity": true,
"extraResults": null,
"lenderFees": 1250,
"netCash": 48750,
"dtiAfterLoan": 14.923697789628,
"dtiStatus": "available",
"totalCostWithFees": 39876.56021330401
},
"formulaVersion": "fixed-home-equity-loan-htcalc-719df2c0e105",
"units": {
"amounts": "USD",
"monthlyPayment": "USD/month",
"dtiAfterLoan": "percent",
"loanTerm": "years"
},
"assumptions": [
"Points are a percent of loan principal. A zero income makes the DTI result unavailable."
],
"warnings": [],
"creditCost": 2
}Request contract
Accepted inputs
Fields for this example. Expand the schema for all supported combinations and limits.
FieldType, units and limits
homeValueRequiredUS dollars
Min 0.01 · Max 1000000000mortgageBalanceRequiredUS dollars
Min 0 · Max 1000000000ltvRequiredPercent
Min 0.01 · Max 100loanAmountRequiredUS dollars
Min 0.01 · Max 1000000000interestRateRequiredAnnual rate in percent
Min 0 · Max 100loanTermRequiredWhole years
Min 1 · Max 50extraPaymentRequiredUS dollars per month
Min 0 · Max 1000000000pointsRequiredPercent, e.g. 5 means 5%
Min 0 · Max 100closingCostsRequiredUS dollars
Min 0 · Max 1000000000annualIncomeRequiredUS dollars per year
Min 0 · Max 1000000000monthlyDebtRequiredUS dollars per month
Min 0 · Max 1000000000Example request body (JSON)
{
"homeValue": 450000,
"mortgageBalance": 250000,
"ltv": 85,
"loanAmount": 50000,
"interestRate": 8.5,
"loanTerm": 15,
"extraPayment": 0,
"points": 1,
"closingCosts": 750,
"annualIncome": 120000,
"monthlyDebt": 1000
} Full JSON schema
{
"type": "object",
"additionalProperties": false,
"properties": {
"homeValue": {
"type": "number",
"minimum": 0.01,
"maximum": 1000000000,
"description": "US dollars"
},
"mortgageBalance": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "US dollars"
},
"ltv": {
"type": "number",
"minimum": 0.01,
"maximum": 100,
"description": "Percent"
},
"loanAmount": {
"type": "number",
"minimum": 0.01,
"maximum": 1000000000,
"description": "US dollars"
},
"interestRate": {
"type": "number",
"minimum": 0,
"maximum": 100,
"description": "Annual rate in percent"
},
"loanTerm": {
"type": "integer",
"minimum": 1,
"maximum": 50,
"description": "Whole years"
},
"extraPayment": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "US dollars per month"
},
"points": {
"type": "number",
"minimum": 0,
"maximum": 100,
"description": "Percent, e.g. 5 means 5%"
},
"closingCosts": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "US dollars"
},
"annualIncome": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "US dollars per year"
},
"monthlyDebt": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "US dollars per month"
}
},
"required": [
"homeValue",
"mortgageBalance",
"ltv",
"loanAmount",
"interestRate",
"loanTerm",
"extraPayment",
"points",
"closingCosts",
"annualIncome",
"monthlyDebt"
]
}Production endpoint: POST https://calc.hasstechapi.com/v2/calc/fixed-home-equity-loan
Formula: fixed-home-equity-loan-htcalc-719df2c0e105