Investment · Calculation
Observed T12 and stabilized cap rates
Annualizes one to twelve distinct observed months, separating recurring capital costs from operating expenses. Optionally compare direct NOI and an independently supplied stabilized scenario. The arithmetic range depends entirely on the supplied NOI and cap-rate band.
This HT Calc screen includes a Pro sample for visitors.
Example result · state: available See output
- Cost per success
- 10 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-cap-rate-t12.
Keep the key on your server. A successful call uses 10 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-cap-rate-t12";
const input = {
"propertyPrice": 500000,
"propertySubtype": "multifamily",
"useDirectNoi": false,
"includeRecurringCapexInNoi": true,
"t12": [
{
"period": "2025-01",
"grossPotentialIncome": 4000,
"vacancyLoss": 100,
"otherIncome": 200,
"expenses": [
{
"category": "operating",
"amount": 1000
},
{
"category": "reserve",
"amount": 100,
"recurringCapex": true
}
]
}
],
"stabilized": {
"grossPotentialIncome": 50000,
"vacancyLoss": 1000,
"otherIncome": 3000,
"operatingExpenses": 12000,
"recurringCapex": 2000
},
"capRateBand": {
"lowPct": 6,
"highPct": 8
}
};
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-cap-rate-t12' \
--header "Authorization: Bearer $HT_PRODUCTION_KEY" \
--header 'Content-Type: application/json' \
--header "Idempotency-Key: $request_id" \
--data-binary @- <<'HT_INPUT'
{
"propertyPrice": 500000,
"propertySubtype": "multifamily",
"useDirectNoi": false,
"includeRecurringCapexInNoi": true,
"t12": [
{
"period": "2025-01",
"grossPotentialIncome": 4000,
"vacancyLoss": 100,
"otherIncome": 200,
"expenses": [
{
"category": "operating",
"amount": 1000
},
{
"category": "reserve",
"amount": 100,
"recurringCapex": true
}
]
}
],
"stabilized": {
"grossPotentialIncome": 50000,
"vacancyLoss": 1000,
"otherIncome": 3000,
"operatingExpenses": 12000,
"recurringCapex": 2000
},
"capRateBand": {
"lowPct": 6,
"highPct": 8
}
}
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-cap-rate-t12. 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
formulaVersion- cap-rate-2.0.0
value.propertySubtype- multifamily
Result warnings
- 1 months were annualized; this is not a complete trailing-twelve-month statement.
How to interpret this result
- Annualizes one to twelve distinct observed months, separating recurring capital costs from operating expenses. Optionally compare direct NOI and an independently supplied stabilized scenario. The arithmetic range depends entirely on the supplied NOI and cap-rate band.
Full example response (JSON)
{
"status": "available",
"result": {
"state": "available",
"fieldErrors": {},
"warnings": [
{
"code": "partial-t12-normalized",
"severity": "warning",
"message": "1 months were annualized; this is not a complete trailing-twelve-month statement."
}
],
"assumptions": [],
"provenance": [
{
"source": "Declared NOI identity and direct-capitalization inversion",
"asOf": "2026-08-13"
}
],
"formulaVersion": "cap-rate-2.0.0",
"ruleVersions": [
"NOI=GPI-vacancy+other-income-operating-expenses-selected-recurring-capex-policy"
],
"auditTrail": [
"Normalized 1 observed T-12 month(s) to an annual in-place NOI.",
"Observed T-12 coverage: 2025-01 through 2025-01.",
"Recurring capex policy: included in NOI.",
"Valuation inverted NOI across 6%–8%."
],
"value": {
"propertySubtype": "multifamily",
"selectedNoi": "36000",
"selectedCapRatePct": "7.2",
"inPlace": {
"grossPotentialIncome": "48000",
"vacancyLoss": "1200",
"otherIncome": "2400",
"operatingExpenses": "12000",
"recurringCapex": "1200",
"noi": "36000",
"capRatePct": "7.2",
"normalizedFromMonths": 1
},
"stabilized": {
"grossPotentialIncome": "50000",
"vacancyLoss": "1000",
"otherIncome": "3000",
"operatingExpenses": "12000",
"recurringCapex": "2000",
"noi": "38000",
"capRatePct": "7.6",
"normalizedFromMonths": 12
},
"directNoi": null,
"directVsDerivedDifference": null,
"includeRecurringCapexInNoi": true,
"valuationRange": {
"low": "450000",
"high": "600000",
"lowCapRatePct": "6",
"highCapRatePct": "8"
}
}
},
"formulaVersion": "cap-rate-2.0.0",
"units": {
"propertyPrice": "USD",
"t12": "observed USD per named month",
"stabilized": "USD per year",
"directNoi": "USD per year",
"capRateBand": "annual percent",
"selectedCapRatePct": "annual percent",
"valuationRange": "USD implied by caller cap rates"
},
"assumptions": [
"Annualizes one to twelve distinct observed months, separating recurring capital costs from operating expenses. Optionally compare direct NOI and an independently supplied stabilized scenario. The arithmetic range depends entirely on the supplied NOI and cap-rate band."
],
"warnings": [
"1 months were annualized; this is not a complete trailing-twelve-month statement."
],
"creditCost": 10
}Request contract
Accepted inputs
Fields for this example. Expand the schema for all supported combinations and limits.
FieldType, units and limits
propertyPriceRequiredAcquisition price, in USD.
Min 0.01 · Max 1000000000propertySubtypeRequireduseDirectNoiRequireddirectNoiOptionalOptional direct net operating income, in signed USD per year.
Min -1000000000 · Max 1000000000includeRecurringCapexInNoiRequiredt12Requiredt12[].periodRequiredt12[].grossPotentialIncomeRequiredScheduled gross income before vacancy for this recorded month, in USD.
Min 0 · Max 1000000000t12[].vacancyLossRequiredIncome lost to vacancy in this recorded month, in USD.
Min 0 · Max 1000000000t12[].otherIncomeRequiredOther income earned in this recorded month, in USD.
Min 0 · Max 1000000000t12[].expensesRequiredt12[].expenses[].categoryRequiredt12[].expenses[].amountRequiredPositive expense amount in the recorded month for this expense category, in USD. Zero is supported.
Min 0 · Max 1000000000t12[].expenses[].recurringCapexOptionalstabilizedOptionalstabilized.grossPotentialIncomeRequiredStabilized gross potential income before vacancy, in USD per year.
Min 0 · Max 1000000000stabilized.vacancyLossRequiredStabilized vacancy allowance, in USD per year.
Min 0 · Max 1000000000stabilized.otherIncomeRequiredOther stabilized property income, in USD per year.
Min 0 · Max 1000000000stabilized.operatingExpensesRequiredStabilized operating expenses before separately declared capex, in USD per year.
Min 0 · Max 1000000000stabilized.recurringCapexRequiredStabilized recurring capital expenditures, in USD per year.
Min 0 · Max 1000000000capRateBandRequiredcapRateBand.lowPctRequiredLower annual capitalization rate entered for the implied price range, in percent.
Min 0.01 · Max 100capRateBand.highPctRequiredUpper annual capitalization rate entered for the implied price range, in percent.
Min 0.01 · Max 100Example request body (JSON)
{
"propertyPrice": 500000,
"propertySubtype": "multifamily",
"useDirectNoi": false,
"includeRecurringCapexInNoi": true,
"t12": [
{
"period": "2025-01",
"grossPotentialIncome": 4000,
"vacancyLoss": 100,
"otherIncome": 200,
"expenses": [
{
"category": "operating",
"amount": 1000
},
{
"category": "reserve",
"amount": 100,
"recurringCapex": true
}
]
}
],
"stabilized": {
"grossPotentialIncome": 50000,
"vacancyLoss": 1000,
"otherIncome": 3000,
"operatingExpenses": 12000,
"recurringCapex": 2000
},
"capRateBand": {
"lowPct": 6,
"highPct": 8
}
} Full JSON schema
{
"type": "object",
"properties": {
"propertyPrice": {
"type": "number",
"minimum": 0.01,
"maximum": 1000000000,
"description": "Acquisition price, in USD."
},
"propertySubtype": {
"enum": [
"single-family-rental",
"multifamily",
"retail",
"industrial",
"office"
]
},
"useDirectNoi": {
"type": "boolean"
},
"directNoi": {
"type": "number",
"minimum": -1000000000,
"maximum": 1000000000,
"description": "Optional direct net operating income, in signed USD per year."
},
"includeRecurringCapexInNoi": {
"type": "boolean"
},
"t12": {
"type": "array",
"items": {
"type": "object",
"properties": {
"period": {
"type": "string",
"minLength": 7,
"maxLength": 7,
"pattern": "^[0-9]{4}-(0[1-9]|1[0-2])$"
},
"grossPotentialIncome": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "Scheduled gross income before vacancy for this recorded month, in USD."
},
"vacancyLoss": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "Income lost to vacancy in this recorded month, in USD."
},
"otherIncome": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "Other income earned in this recorded month, in USD."
},
"expenses": {
"type": "array",
"items": {
"type": "object",
"properties": {
"category": {
"enum": [
"operating",
"insurance",
"tax",
"maintenance",
"utilities",
"management",
"hoa",
"reserve",
"other"
]
},
"amount": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "Positive expense amount in the recorded month for this expense category, in USD. Zero is supported."
},
"recurringCapex": {
"type": "boolean"
}
},
"required": [
"category",
"amount"
],
"additionalProperties": false
},
"minItems": 0,
"maxItems": 32
}
},
"required": [
"period",
"grossPotentialIncome",
"vacancyLoss",
"otherIncome",
"expenses"
],
"additionalProperties": false
},
"minItems": 1,
"maxItems": 12
},
"stabilized": {
"type": "object",
"properties": {
"grossPotentialIncome": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "Stabilized gross potential income before vacancy, in USD per year."
},
"vacancyLoss": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "Stabilized vacancy allowance, in USD per year."
},
"otherIncome": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "Other stabilized property income, in USD per year."
},
"operatingExpenses": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "Stabilized operating expenses before separately declared capex, in USD per year."
},
"recurringCapex": {
"type": "number",
"minimum": 0,
"maximum": 1000000000,
"description": "Stabilized recurring capital expenditures, in USD per year."
}
},
"required": [
"grossPotentialIncome",
"vacancyLoss",
"otherIncome",
"operatingExpenses",
"recurringCapex"
],
"additionalProperties": false
},
"capRateBand": {
"type": "object",
"properties": {
"lowPct": {
"type": "number",
"minimum": 0.01,
"maximum": 100,
"description": "Lower annual capitalization rate entered for the implied price range, in percent."
},
"highPct": {
"type": "number",
"minimum": 0.01,
"maximum": 100,
"description": "Upper annual capitalization rate entered for the implied price range, in percent."
}
},
"required": [
"lowPct",
"highPct"
],
"additionalProperties": false
}
},
"required": [
"propertyPrice",
"propertySubtype",
"useDirectNoi",
"includeRecurringCapexInNoi",
"t12",
"capRateBand"
],
"additionalProperties": false,
"description": "Annualizes one to twelve distinct observed months, separating recurring capital costs from operating expenses. Optionally compare direct NOI and an independently supplied stabilized scenario. The arithmetic range depends entirely on the supplied NOI and cap-rate band."
}Production endpoint: POST https://calc.hasstechapi.com/v2/calc/investor-cap-rate-t12
Formula: cap-rate-2.0.0