Mortgage Affordability
mortgage_affordabilityHow much house can I afford: maximum home price and loan from income, monthly debts, down payment and rate under front-end / back-end debt-to-income limits (default 28/36), with a full monthly PITI breakdown (principal & interest, property tax, insurance, HOA, PMI below 20% down). Give homePrice instead to get the monthly cost and the income needed. Price: $0.002 USDC per successful call (x402, Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/mortgage-affordability
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ratePct": "<ratePct>"
},
"name": "mortgage_affordability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pmiPct | No | Annual PMI, percent of loan, when down payment < 20% | |
| ratePct | Yes | Mortgage rate in percent | |
| homePrice | No | Optional: evaluate this price instead of solving for the maximum | |
| termYears | No | ||
| downPayment | No | ||
| hoaPerMonth | No | ||
| annualIncome | No | Gross annual income | |
| monthlyDebts | No | Other monthly debt payments (cards, car, student loans) | |
| backEndDtiPct | No | ||
| frontEndDtiPct | No | ||
| propertyTaxPct | No | Annual property tax, percent of price | |
| insurancePerYear | No |