Overview
- Category
- Finance
- API mode
not_available- Processing
- client-side
- Privacy
- no-data-stored
Public descriptor
The descriptor is available without an API key and supplies this tool’s metadata, schemas, modes, and examples.
GET /api/v1/tools/house-affordability-calculator
Execute availability
This tool is documented as a browser capability. Its execute route does not produce a server-side result; when execution is enabled, it responds with browser_interaction_required and points callers to the public tool page.
POST /api/v1/tools/house-affordability-calculator/execute
Authentication is not issued during the preview. A bearer API key is planned for execution after launch.
Input schema
object object; additional properties are not accepted.
annual_income· number · required- Enter the gross annual household income used in the calculation.
monthly_debts· number · required- Enter the other monthly debt payments used in the calculation.
down_payment· number · required- Enter the available down payment used in the calculation.
interest_rate· number · required- Enter the mortgage interest rate used in the calculation.
term_years· number · required- Enter the mortgage term used in the calculation.
dti_limit· number · required- Enter the maximum total debt-to-income ratio used in the calculation.
monthly_housing_cost_rate· number · required- Enter the monthly tax and insurance allowance used in the calculation.
{
"type": "object",
"properties": {
"annual_income": {
"type": "number",
"description": "Enter the gross annual household income used in the calculation.",
"minimum": 0
},
"monthly_debts": {
"type": "number",
"description": "Enter the other monthly debt payments used in the calculation.",
"minimum": 0
},
"down_payment": {
"type": "number",
"description": "Enter the available down payment used in the calculation.",
"minimum": 0
},
"interest_rate": {
"type": "number",
"description": "Enter the mortgage interest rate used in the calculation."
},
"term_years": {
"type": "number",
"description": "Enter the mortgage term used in the calculation.",
"minimum": 1,
"maximum": 50
},
"dti_limit": {
"type": "number",
"description": "Enter the maximum total debt-to-income ratio used in the calculation."
},
"monthly_housing_cost_rate": {
"type": "number",
"description": "Enter the monthly tax and insurance allowance used in the calculation."
}
},
"required": [
"annual_income",
"monthly_debts",
"down_payment",
"interest_rate",
"term_years",
"dti_limit",
"monthly_housing_cost_rate"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
affordable_home_price· number- Estimated affordable home price produced by the calculation.
maximum_loan· number- Estimated maximum loan produced by the calculation.
housing_budget· number- Maximum monthly housing budget produced by the calculation.
principal_interest_budget· number- Principal and interest budget produced by the calculation.
{
"type": "object",
"properties": {
"affordable_home_price": {
"type": "number",
"description": "Estimated affordable home price produced by the calculation."
},
"maximum_loan": {
"type": "number",
"description": "Estimated maximum loan produced by the calculation."
},
"housing_budget": {
"type": "number",
"description": "Maximum monthly housing budget produced by the calculation."
},
"principal_interest_budget": {
"type": "number",
"description": "Principal and interest budget produced by the calculation."
}
},
"additionalProperties": false
}
House Affordability Calculator example
The request body follows the published input schema. The response below shows the success-envelope shape returned after execution is available.
curl -X POST "https://utilitypages.org/api/v1/tools/house-affordability-calculator/execute" \
-H "Content-Type: application/json" \
-d '{
"annual_income": 100000,
"monthly_debts": 750,
"down_payment": 60000,
"interest_rate": 6.5,
"term_years": 30,
"dti_limit": 36,
"monthly_housing_cost_rate": 0.25
}'
{
"ok": true,
"data": {
"slug": "house-affordability-calculator",
"result": {
"values": {
"affordable_home_price": 415084.4099999999743886291980743408203125,
"maximum_loan": 355084.4099999999743886291980743408203125,
"housing_budget": 2250,
"principal_interest_budget": 2244.3800000000001091393642127513885498046875
},
"display": {
"display": "415084.41"
},
"warnings": [],
"assumptions": [],
"steps": []
}
},
"meta": [],
"request_id": "req_example_123"
}
Errors
api_not_launched· 503- Returned by the current launch gate for every execute request.
invalid_json· 400- Returned when an enabled execute request does not contain valid JSON.
validation_failed· 422- Returned when a request does not satisfy the input schema.
browser_interaction_required· 422- Returned for browser capability tools instead of inventing a server-side result.
tool_not_found· 404- Returned when a requested descriptor slug does not exist.
execution_failed· 503- Returned when an enabled server-side execution cannot complete.