Investment · Calculation
Land contract note and balloon
Compute a payment or solve the annual rate from total monthly payment. Returns dated principal, interest, escrow and fee ledger, balloon, seller spread, note yield and optional recurring-extra comparison. An optional second scenario uses the same ledger. State law and tax filing require separate review.
Example result · state: available See output
- Cost per success
- 20 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 investor-land-contract.
Keep the key on your server. A successful call uses 20 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/investor-land-contract";
const input = {
"scenario": {
"mode": "payment",
"salePrice": 150000,
"downPayment": 30000,
"annualRatePct": 6,
"amortizationMonths": 240,
"balloonMonths": 60,
"startDate": "2026-01-01",
"asOfDate": "2026-01-01",
"monthlyTaxesInsurance": 200,
"monthlyServicingFee": 10,
"underlyingBalance": 60000,
"underlyingMonthlyPayment": 400,
"events": []
}
};
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/investor-land-contract' \
--header "Authorization: Bearer $HT_PRODUCTION_KEY" \
--header 'Content-Type: application/json' \
--header "Idempotency-Key: $request_id" \
--data-binary @- <<'HT_INPUT'
{
"scenario": {
"mode": "payment",
"salePrice": 150000,
"downPayment": 30000,
"annualRatePct": 6,
"amortizationMonths": 240,
"balloonMonths": 60,
"startDate": "2026-01-01",
"asOfDate": "2026-01-01",
"monthlyTaxesInsurance": 200,
"monthlyServicingFee": 10,
"underlyingBalance": 60000,
"underlyingMonthlyPayment": 400,
"events": []
}
}
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
investor-land-contract. 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.
state- available
scenario.schedule.state- available
scenario.schedule.formulaVersion- land-contract-2.0.0
Result warnings
- No state legal profile was supplied. The schedule is math only and makes no compliance claim.
- Seller installment-sale tax reporting, recapture, and state tax are not computed.
How to interpret this result
- Compute a payment or solve the annual rate from total monthly payment. Returns dated principal, interest, escrow and fee ledger, balloon, seller spread, note yield and optional recurring-extra comparison. An optional second scenario uses the same ledger. State law and tax filing require separate review.
Full example response (JSON)
{
"status": "available",
"result": {
"state": "available",
"warnings": [
{
"code": "no-state-profile",
"severity": "critical",
"message": "No state legal profile was supplied. The schedule is math only and makes no compliance claim."
},
{
"code": "tax-not-modeled",
"severity": "warning",
"message": "Seller installment-sale tax reporting, recapture, and state tax are not computed."
}
],
"scenario": {
"schedule": {
"state": "available",
"fieldErrors": {},
"warnings": [
{
"code": "no-state-profile",
"severity": "critical",
"message": "No state legal profile was supplied. The schedule is math only and makes no compliance claim."
},
{
"code": "tax-not-modeled",
"severity": "warning",
"message": "Seller installment-sale tax reporting, recapture, and state tax are not computed."
}
],
"assumptions": [],
"provenance": [
{
"source": "Standard monthly level-payment annuity formula, nominal annual rate / 12",
"asOf": "2026-08-13"
},
{
"source": "Microsoft XNPV/XIRR ACT/365F definitions",
"asOf": "2026-08-13"
}
],
"formulaVersion": "land-contract-2.0.0",
"ruleVersions": [
"manual-no-state-profile"
],
"auditTrail": [
"Amortized 120000.00 over 240 months and stopped at month 60.",
"Principal received 120000.00 equals note principal 120000.00 including balloon.",
"Balloon net of the current (not projected) underlying balance is 41879.51; no underlying-rate terms were supplied, so future underlying amortization is not invented.",
"Compliance state manual-only; schedule does not determine enforceability, default rights, or tax treatment."
],
"value": {
"notePrincipal": "120000",
"scheduledPayment": "859.72",
"balloonAmount": "101879.51",
"periods": [
{
"month": 1,
"dueDate": "2026-02-01",
"openingBalance": "120000",
"scheduledPrincipal": "259.72",
"interest": "600",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "119740.28"
},
{
"month": 2,
"dueDate": "2026-03-01",
"openingBalance": "119740.28",
"scheduledPrincipal": "261.02",
"interest": "598.7",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "119479.26"
},
{
"month": 3,
"dueDate": "2026-04-01",
"openingBalance": "119479.26",
"scheduledPrincipal": "262.32",
"interest": "597.4",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "119216.94"
},
{
"month": 4,
"dueDate": "2026-05-01",
"openingBalance": "119216.94",
"scheduledPrincipal": "263.63",
"interest": "596.08",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.71",
"closingBalance": "118953.31"
},
{
"month": 5,
"dueDate": "2026-06-01",
"openingBalance": "118953.31",
"scheduledPrincipal": "264.95",
"interest": "594.77",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "118688.36"
},
{
"month": 6,
"dueDate": "2026-07-01",
"openingBalance": "118688.36",
"scheduledPrincipal": "266.28",
"interest": "593.44",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "118422.08"
},
{
"month": 7,
"dueDate": "2026-08-01",
"openingBalance": "118422.08",
"scheduledPrincipal": "267.61",
"interest": "592.11",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "118154.47"
},
{
"month": 8,
"dueDate": "2026-09-01",
"openingBalance": "118154.47",
"scheduledPrincipal": "268.94",
"interest": "590.77",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.71",
"closingBalance": "117885.53"
},
{
"month": 9,
"dueDate": "2026-10-01",
"openingBalance": "117885.53",
"scheduledPrincipal": "270.29",
"interest": "589.43",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "117615.24"
},
{
"month": 10,
"dueDate": "2026-11-01",
"openingBalance": "117615.24",
"scheduledPrincipal": "271.64",
"interest": "588.08",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "117343.6"
},
{
"month": 11,
"dueDate": "2026-12-01",
"openingBalance": "117343.6",
"scheduledPrincipal": "273",
"interest": "586.72",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "117070.6"
},
{
"month": 12,
"dueDate": "2027-01-01",
"openingBalance": "117070.6",
"scheduledPrincipal": "274.36",
"interest": "585.35",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.71",
"closingBalance": "116796.24"
},
{
"month": 13,
"dueDate": "2027-02-01",
"openingBalance": "116796.24",
"scheduledPrincipal": "275.74",
"interest": "583.98",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "116520.5"
},
{
"month": 14,
"dueDate": "2027-03-01",
"openingBalance": "116520.5",
"scheduledPrincipal": "277.11",
"interest": "582.6",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.71",
"closingBalance": "116243.39"
},
{
"month": 15,
"dueDate": "2027-04-01",
"openingBalance": "116243.39",
"scheduledPrincipal": "278.5",
"interest": "581.22",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "115964.89"
},
{
"month": 16,
"dueDate": "2027-05-01",
"openingBalance": "115964.89",
"scheduledPrincipal": "279.89",
"interest": "579.82",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.71",
"closingBalance": "115685"
},
{
"month": 17,
"dueDate": "2027-06-01",
"openingBalance": "115685",
"scheduledPrincipal": "281.29",
"interest": "578.42",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.71",
"closingBalance": "115403.71"
},
{
"month": 18,
"dueDate": "2027-07-01",
"openingBalance": "115403.71",
"scheduledPrincipal": "282.7",
"interest": "577.02",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "115121.01"
},
{
"month": 19,
"dueDate": "2027-08-01",
"openingBalance": "115121.01",
"scheduledPrincipal": "284.11",
"interest": "575.61",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "114836.9"
},
{
"month": 20,
"dueDate": "2027-09-01",
"openingBalance": "114836.9",
"scheduledPrincipal": "285.53",
"interest": "574.18",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.71",
"closingBalance": "114551.37"
},
{
"month": 21,
"dueDate": "2027-10-01",
"openingBalance": "114551.37",
"scheduledPrincipal": "286.96",
"interest": "572.76",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "114264.41"
},
{
"month": 22,
"dueDate": "2027-11-01",
"openingBalance": "114264.41",
"scheduledPrincipal": "288.4",
"interest": "571.32",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "113976.01"
},
{
"month": 23,
"dueDate": "2027-12-01",
"openingBalance": "113976.01",
"scheduledPrincipal": "289.84",
"interest": "569.88",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "113686.17"
},
{
"month": 24,
"dueDate": "2028-01-01",
"openingBalance": "113686.17",
"scheduledPrincipal": "291.29",
"interest": "568.43",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "113394.88"
},
{
"month": 25,
"dueDate": "2028-02-01",
"openingBalance": "113394.88",
"scheduledPrincipal": "292.74",
"interest": "566.97",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.71",
"closingBalance": "113102.14"
},
{
"month": 26,
"dueDate": "2028-03-01",
"openingBalance": "113102.14",
"scheduledPrincipal": "294.21",
"interest": "565.51",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "112807.93"
},
{
"month": 27,
"dueDate": "2028-04-01",
"openingBalance": "112807.93",
"scheduledPrincipal": "295.68",
"interest": "564.04",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "112512.25"
},
{
"month": 28,
"dueDate": "2028-05-01",
"openingBalance": "112512.25",
"scheduledPrincipal": "297.16",
"interest": "562.56",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "112215.09"
},
{
"month": 29,
"dueDate": "2028-06-01",
"openingBalance": "112215.09",
"scheduledPrincipal": "298.64",
"interest": "561.08",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "111916.45"
},
{
"month": 30,
"dueDate": "2028-07-01",
"openingBalance": "111916.45",
"scheduledPrincipal": "300.14",
"interest": "559.58",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "111616.31"
},
{
"month": 31,
"dueDate": "2028-08-01",
"openingBalance": "111616.31",
"scheduledPrincipal": "301.64",
"interest": "558.08",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "111314.67"
},
{
"month": 32,
"dueDate": "2028-09-01",
"openingBalance": "111314.67",
"scheduledPrincipal": "303.14",
"interest": "556.57",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.71",
"closingBalance": "111011.53"
},
{
"month": 33,
"dueDate": "2028-10-01",
"openingBalance": "111011.53",
"scheduledPrincipal": "304.66",
"interest": "555.06",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "110706.87"
},
{
"month": 34,
"dueDate": "2028-11-01",
"openingBalance": "110706.87",
"scheduledPrincipal": "306.18",
"interest": "553.53",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.71",
"closingBalance": "110400.69"
},
{
"month": 35,
"dueDate": "2028-12-01",
"openingBalance": "110400.69",
"scheduledPrincipal": "307.71",
"interest": "552",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.71",
"closingBalance": "110092.98"
},
{
"month": 36,
"dueDate": "2029-01-01",
"openingBalance": "110092.98",
"scheduledPrincipal": "309.25",
"interest": "550.46",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.71",
"closingBalance": "109783.73"
},
{
"month": 37,
"dueDate": "2029-02-01",
"openingBalance": "109783.73",
"scheduledPrincipal": "310.8",
"interest": "548.92",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "109472.93"
},
{
"month": 38,
"dueDate": "2029-03-01",
"openingBalance": "109472.93",
"scheduledPrincipal": "312.35",
"interest": "547.36",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.71",
"closingBalance": "109160.58"
},
{
"month": 39,
"dueDate": "2029-04-01",
"openingBalance": "109160.58",
"scheduledPrincipal": "313.91",
"interest": "545.8",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.71",
"closingBalance": "108846.67"
},
{
"month": 40,
"dueDate": "2029-05-01",
"openingBalance": "108846.67",
"scheduledPrincipal": "315.48",
"interest": "544.23",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.71",
"closingBalance": "108531.19"
},
{
"month": 41,
"dueDate": "2029-06-01",
"openingBalance": "108531.19",
"scheduledPrincipal": "317.06",
"interest": "542.66",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "108214.13"
},
{
"month": 42,
"dueDate": "2029-07-01",
"openingBalance": "108214.13",
"scheduledPrincipal": "318.65",
"interest": "541.07",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "107895.48"
},
{
"month": 43,
"dueDate": "2029-08-01",
"openingBalance": "107895.48",
"scheduledPrincipal": "320.24",
"interest": "539.48",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "107575.24"
},
{
"month": 44,
"dueDate": "2029-09-01",
"openingBalance": "107575.24",
"scheduledPrincipal": "321.84",
"interest": "537.88",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "107253.4"
},
{
"month": 45,
"dueDate": "2029-10-01",
"openingBalance": "107253.4",
"scheduledPrincipal": "323.45",
"interest": "536.27",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "106929.95"
},
{
"month": 46,
"dueDate": "2029-11-01",
"openingBalance": "106929.95",
"scheduledPrincipal": "325.07",
"interest": "534.65",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "106604.88"
},
{
"month": 47,
"dueDate": "2029-12-01",
"openingBalance": "106604.88",
"scheduledPrincipal": "326.69",
"interest": "533.02",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.71",
"closingBalance": "106278.19"
},
{
"month": 48,
"dueDate": "2030-01-01",
"openingBalance": "106278.19",
"scheduledPrincipal": "328.33",
"interest": "531.39",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "105949.86"
},
{
"month": 49,
"dueDate": "2030-02-01",
"openingBalance": "105949.86",
"scheduledPrincipal": "329.97",
"interest": "529.75",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "105619.89"
},
{
"month": 50,
"dueDate": "2030-03-01",
"openingBalance": "105619.89",
"scheduledPrincipal": "331.62",
"interest": "528.1",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "105288.27"
},
{
"month": 51,
"dueDate": "2030-04-01",
"openingBalance": "105288.27",
"scheduledPrincipal": "333.28",
"interest": "526.44",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "104954.99"
},
{
"month": 52,
"dueDate": "2030-05-01",
"openingBalance": "104954.99",
"scheduledPrincipal": "334.94",
"interest": "524.77",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.71",
"closingBalance": "104620.05"
},
{
"month": 53,
"dueDate": "2030-06-01",
"openingBalance": "104620.05",
"scheduledPrincipal": "336.62",
"interest": "523.1",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "104283.43"
},
{
"month": 54,
"dueDate": "2030-07-01",
"openingBalance": "104283.43",
"scheduledPrincipal": "338.3",
"interest": "521.42",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "103945.13"
},
{
"month": 55,
"dueDate": "2030-08-01",
"openingBalance": "103945.13",
"scheduledPrincipal": "339.99",
"interest": "519.73",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "103605.14"
},
{
"month": 56,
"dueDate": "2030-09-01",
"openingBalance": "103605.14",
"scheduledPrincipal": "341.69",
"interest": "518.03",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "103263.45"
},
{
"month": 57,
"dueDate": "2030-10-01",
"openingBalance": "103263.45",
"scheduledPrincipal": "343.4",
"interest": "516.32",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "102920.05"
},
{
"month": 58,
"dueDate": "2030-11-01",
"openingBalance": "102920.05",
"scheduledPrincipal": "345.12",
"interest": "514.6",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "102574.93"
},
{
"month": 59,
"dueDate": "2030-12-01",
"openingBalance": "102574.93",
"scheduledPrincipal": "346.84",
"interest": "512.87",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.71",
"closingBalance": "102228.09"
},
{
"month": 60,
"dueDate": "2031-01-01",
"openingBalance": "102228.09",
"scheduledPrincipal": "348.58",
"interest": "511.14",
"extraPrincipal": "0",
"escrow": "200",
"servicingFee": "10",
"eventFees": "0",
"totalCashReceived": "1069.72",
"closingBalance": "101879.51"
}
],
"totalPrincipalReceived": "120000",
"totalInterestReceived": "33462.53",
"totalEscrowReceived": "12000",
"totalServicingAndEventFees": "600",
"totalCashReceived": "196062.53",
"sellerMonthlySpreadBeforeEscrow": "459.72",
"underlyingBalanceAtAnalysis": "60000",
"sellerEquityAtOrigination": "60000",
"balloonNetAfterCurrentUnderlyingPayoff": "41879.51",
"noteXirr": 0.06165464683084973,
"noteXirrState": "available",
"complianceState": "manual-only",
"sellerTaxReportingIncluded": false
}
},
"effectiveAnnualRatePct": 6,
"totalMonthlyPayment": "1069.72",
"extraPrincipalImpact": null
},
"comparison": null
},
"formulaVersion": "land-contract-2.0.0",
"units": {
"money": "USD",
"months": "whole months",
"years": "whole years",
"percentage": "percent points (6 = 6%)",
"dscr": "income divided by debt service, unitless",
"noteXirr": "annual return as a fraction (0.06 = 6%)"
},
"assumptions": [
"Compute a payment or solve the annual rate from total monthly payment. Returns dated principal, interest, escrow and fee ledger, balloon, seller spread, note yield and optional recurring-extra comparison. An optional second scenario uses the same ledger. State law and tax filing require separate review."
],
"warnings": [
"No state legal profile was supplied. The schedule is math only and makes no compliance claim.",
"Seller installment-sale tax reporting, recapture, and state tax are not computed."
],
"creditCost": 20
}Request contract
Accepted inputs
Fields for this example. Expand the schema for all supported combinations and limits.
FieldType, units and limits
scenarioRequiredscenario.salePriceRequiredContract sale price in USD, before the down payment.
Min 0.01 · Max 1000000000scenario.downPaymentRequiredCash in USD paid toward the sale price at origination.
Min 0 · Max 1000000000scenario.amortizationMonthsRequiredWhole months used to amortize the seller-financed principal.
Min 1 · Max 600scenario.balloonMonthsRequiredWhole months from note origination until the contractual balloon or final maturity.
Min 1 · Max 600scenario.startDateRequiredGregorian calendar date, YYYY-MM-DD.
Format: date · Min length 10 · Max length 10scenario.asOfDateRequiredGregorian calendar date, YYYY-MM-DD.
Format: date · Min length 10 · Max length 10scenario.monthlyTaxesInsuranceRequiredCombined property tax and insurance escrow in USD per month.
Min 0 · Max 1000000000scenario.monthlyServicingFeeRequiredUSD per month in note servicing fees, separate from interest and escrow.
Min 0 · Max 1000000000scenario.underlyingBalanceRequiredCurrent principal balance in USD of the seller’s underlying mortgage.
Min 0 · Max 1000000000scenario.underlyingMonthlyPaymentRequiredUSD per month paid by the seller on the underlying mortgage when calculating the seller’s spread.
Min 0 · Max 1000000000scenario.extraMonthlyPrincipalOptionalUSD per month in additional principal alongside the regular note payment.
Min 0 · Max 1000000000scenario.eventsRequiredscenario.events[].monthRequiredOne-based loan month of this extra-principal payment, late fee or cure fee.
Min 1 · Max 600scenario.events[].typeRequiredscenario.events[].amountRequiredUSD for this one-time event. Its type determines whether the amount reduces principal or is collected as a fee.
Min 0 · Max 1000000000scenario.modeRequiredscenario.annualRatePctRequiredAnnual note interest rate in percent in payment mode (6 means 6% per year).
Min 0 · Max 100compareToOptionalExample request body (JSON)
{
"scenario": {
"mode": "payment",
"salePrice": 150000,
"downPayment": 30000,
"annualRatePct": 6,
"amortizationMonths": 240,
"balloonMonths": 60,
"startDate": "2026-01-01",
"asOfDate": "2026-01-01",
"monthlyTaxesInsurance": 200,
"monthlyServicingFee": 10,
"underlyingBalance": 60000,
"underlyingMonthlyPayment": 400,
"events": []
}
} Full JSON schema
{
"type": "object",
"properties": {
"scenario": {
"anyOf": [
{
"type": "object",
"properties": {
"salePrice": {
"type": "number",
"minimum": 0.01,
"maximum": 1000000000,
"description": "Contract sale price in USD, before the down payment."
},
"downPayment": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "Cash in USD paid toward the sale price at origination."
},
"amortizationMonths": {
"type": "integer",
"minimum": 1,
"maximum": 600,
"description": "Whole months used to amortize the seller-financed principal."
},
"balloonMonths": {
"type": "integer",
"minimum": 1,
"maximum": 600,
"description": "Whole months from note origination until the contractual balloon or final maturity."
},
"startDate": {
"type": "string",
"format": "date",
"minLength": 10,
"maxLength": 10,
"pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
"description": "Gregorian calendar date, YYYY-MM-DD."
},
"asOfDate": {
"type": "string",
"format": "date",
"minLength": 10,
"maxLength": 10,
"pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
"description": "Gregorian calendar date, YYYY-MM-DD."
},
"monthlyTaxesInsurance": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "Combined property tax and insurance escrow in USD per month."
},
"monthlyServicingFee": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "USD per month in note servicing fees, separate from interest and escrow."
},
"underlyingBalance": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "Current principal balance in USD of the seller’s underlying mortgage."
},
"underlyingMonthlyPayment": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "USD per month paid by the seller on the underlying mortgage when calculating the seller’s spread."
},
"extraMonthlyPrincipal": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "USD per month in additional principal alongside the regular note payment."
},
"events": {
"type": "array",
"items": {
"type": "object",
"properties": {
"month": {
"type": "integer",
"minimum": 1,
"maximum": 600,
"description": "One-based loan month of this extra-principal payment, late fee or cure fee."
},
"type": {
"enum": [
"extra-principal",
"late-fee",
"cure-fee"
]
},
"amount": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "USD for this one-time event. Its type determines whether the amount reduces principal or is collected as a fee."
}
},
"required": [
"month",
"type",
"amount"
],
"additionalProperties": false
},
"minItems": 0,
"maxItems": 120
},
"mode": {
"const": "payment"
},
"annualRatePct": {
"type": "number",
"minimum": 0,
"maximum": 100,
"description": "Annual note interest rate in percent in payment mode (6 means 6% per year)."
}
},
"required": [
"salePrice",
"downPayment",
"amortizationMonths",
"balloonMonths",
"startDate",
"asOfDate",
"monthlyTaxesInsurance",
"monthlyServicingFee",
"underlyingBalance",
"underlyingMonthlyPayment",
"events",
"mode",
"annualRatePct"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"salePrice": {
"type": "number",
"minimum": 0.01,
"maximum": 1000000000,
"description": "Contract sale price in USD, before the down payment."
},
"downPayment": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "Cash in USD paid toward the sale price at origination."
},
"amortizationMonths": {
"type": "integer",
"minimum": 1,
"maximum": 600,
"description": "Whole months used to amortize the seller-financed principal."
},
"balloonMonths": {
"type": "integer",
"minimum": 1,
"maximum": 600,
"description": "Whole months from note origination until the contractual balloon or final maturity."
},
"startDate": {
"type": "string",
"format": "date",
"minLength": 10,
"maxLength": 10,
"pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
"description": "Gregorian calendar date, YYYY-MM-DD."
},
"asOfDate": {
"type": "string",
"format": "date",
"minLength": 10,
"maxLength": 10,
"pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
"description": "Gregorian calendar date, YYYY-MM-DD."
},
"monthlyTaxesInsurance": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "Combined property tax and insurance escrow in USD per month."
},
"monthlyServicingFee": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "USD per month in note servicing fees, separate from interest and escrow."
},
"underlyingBalance": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "Current principal balance in USD of the seller’s underlying mortgage."
},
"underlyingMonthlyPayment": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "USD per month paid by the seller on the underlying mortgage when calculating the seller’s spread."
},
"extraMonthlyPrincipal": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "USD per month in additional principal alongside the regular note payment."
},
"events": {
"type": "array",
"items": {
"type": "object",
"properties": {
"month": {
"type": "integer",
"minimum": 1,
"maximum": 600,
"description": "One-based loan month of this extra-principal payment, late fee or cure fee."
},
"type": {
"enum": [
"extra-principal",
"late-fee",
"cure-fee"
]
},
"amount": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "USD for this one-time event. Its type determines whether the amount reduces principal or is collected as a fee."
}
},
"required": [
"month",
"type",
"amount"
],
"additionalProperties": false
},
"minItems": 0,
"maxItems": 120
},
"mode": {
"const": "rate"
},
"targetTotalMonthlyPayment": {
"type": "number",
"minimum": 0.01,
"maximum": 1000000000,
"description": "Target total USD per month in rate-solving mode, including P&I, escrow, servicing and recurring extra principal."
}
},
"required": [
"salePrice",
"downPayment",
"amortizationMonths",
"balloonMonths",
"startDate",
"asOfDate",
"monthlyTaxesInsurance",
"monthlyServicingFee",
"underlyingBalance",
"underlyingMonthlyPayment",
"events",
"mode",
"targetTotalMonthlyPayment"
],
"additionalProperties": false
}
]
},
"compareTo": {
"anyOf": [
{
"type": "object",
"properties": {
"salePrice": {
"type": "number",
"minimum": 0.01,
"maximum": 1000000000,
"description": "Contract sale price in USD, before the down payment."
},
"downPayment": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "Cash in USD paid toward the sale price at origination."
},
"amortizationMonths": {
"type": "integer",
"minimum": 1,
"maximum": 600,
"description": "Whole months used to amortize the seller-financed principal."
},
"balloonMonths": {
"type": "integer",
"minimum": 1,
"maximum": 600,
"description": "Whole months from note origination until the contractual balloon or final maturity."
},
"startDate": {
"type": "string",
"format": "date",
"minLength": 10,
"maxLength": 10,
"pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
"description": "Gregorian calendar date, YYYY-MM-DD."
},
"asOfDate": {
"type": "string",
"format": "date",
"minLength": 10,
"maxLength": 10,
"pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
"description": "Gregorian calendar date, YYYY-MM-DD."
},
"monthlyTaxesInsurance": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "Combined property tax and insurance escrow in USD per month."
},
"monthlyServicingFee": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "USD per month in note servicing fees, separate from interest and escrow."
},
"underlyingBalance": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "Current principal balance in USD of the seller’s underlying mortgage."
},
"underlyingMonthlyPayment": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "USD per month paid by the seller on the underlying mortgage when calculating the seller’s spread."
},
"extraMonthlyPrincipal": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "USD per month in additional principal alongside the regular note payment."
},
"events": {
"type": "array",
"items": {
"type": "object",
"properties": {
"month": {
"type": "integer",
"minimum": 1,
"maximum": 600,
"description": "One-based loan month of this extra-principal payment, late fee or cure fee."
},
"type": {
"enum": [
"extra-principal",
"late-fee",
"cure-fee"
]
},
"amount": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "USD for this one-time event. Its type determines whether the amount reduces principal or is collected as a fee."
}
},
"required": [
"month",
"type",
"amount"
],
"additionalProperties": false
},
"minItems": 0,
"maxItems": 120
},
"mode": {
"const": "payment"
},
"annualRatePct": {
"type": "number",
"minimum": 0,
"maximum": 100,
"description": "Annual note interest rate in percent in payment mode (6 means 6% per year)."
}
},
"required": [
"salePrice",
"downPayment",
"amortizationMonths",
"balloonMonths",
"startDate",
"asOfDate",
"monthlyTaxesInsurance",
"monthlyServicingFee",
"underlyingBalance",
"underlyingMonthlyPayment",
"events",
"mode",
"annualRatePct"
],
"additionalProperties": false
},
{
"type": "object",
"properties": {
"salePrice": {
"type": "number",
"minimum": 0.01,
"maximum": 1000000000,
"description": "Contract sale price in USD, before the down payment."
},
"downPayment": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "Cash in USD paid toward the sale price at origination."
},
"amortizationMonths": {
"type": "integer",
"minimum": 1,
"maximum": 600,
"description": "Whole months used to amortize the seller-financed principal."
},
"balloonMonths": {
"type": "integer",
"minimum": 1,
"maximum": 600,
"description": "Whole months from note origination until the contractual balloon or final maturity."
},
"startDate": {
"type": "string",
"format": "date",
"minLength": 10,
"maxLength": 10,
"pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
"description": "Gregorian calendar date, YYYY-MM-DD."
},
"asOfDate": {
"type": "string",
"format": "date",
"minLength": 10,
"maxLength": 10,
"pattern": "^(?:19|20|21)[0-9]{2}-[0-9]{2}-[0-9]{2}$",
"description": "Gregorian calendar date, YYYY-MM-DD."
},
"monthlyTaxesInsurance": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "Combined property tax and insurance escrow in USD per month."
},
"monthlyServicingFee": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "USD per month in note servicing fees, separate from interest and escrow."
},
"underlyingBalance": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "Current principal balance in USD of the seller’s underlying mortgage."
},
"underlyingMonthlyPayment": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "USD per month paid by the seller on the underlying mortgage when calculating the seller’s spread."
},
"extraMonthlyPrincipal": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "USD per month in additional principal alongside the regular note payment."
},
"events": {
"type": "array",
"items": {
"type": "object",
"properties": {
"month": {
"type": "integer",
"minimum": 1,
"maximum": 600,
"description": "One-based loan month of this extra-principal payment, late fee or cure fee."
},
"type": {
"enum": [
"extra-principal",
"late-fee",
"cure-fee"
]
},
"amount": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "USD for this one-time event. Its type determines whether the amount reduces principal or is collected as a fee."
}
},
"required": [
"month",
"type",
"amount"
],
"additionalProperties": false
},
"minItems": 0,
"maxItems": 120
},
"mode": {
"const": "rate"
},
"targetTotalMonthlyPayment": {
"type": "number",
"minimum": 0.01,
"maximum": 1000000000,
"description": "Target total USD per month in rate-solving mode, including P&I, escrow, servicing and recurring extra principal."
}
},
"required": [
"salePrice",
"downPayment",
"amortizationMonths",
"balloonMonths",
"startDate",
"asOfDate",
"monthlyTaxesInsurance",
"monthlyServicingFee",
"underlyingBalance",
"underlyingMonthlyPayment",
"events",
"mode",
"targetTotalMonthlyPayment"
],
"additionalProperties": false
}
]
}
},
"required": [
"scenario"
],
"additionalProperties": false,
"description": "Compute a payment or solve the annual rate from total monthly payment. Returns dated principal, interest, escrow and fee ledger, balloon, seller spread, note yield and optional recurring-extra comparison. An optional second scenario uses the same ledger. State law and tax filing require separate review."
}Production endpoint: POST https://calc.hasstechapi.com/v2/calc/investor-land-contract
Formula: land-contract-2.0.0