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/debt-to-income-ratio-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/debt-to-income-ratio-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.
gross_monthly_income· number · required- Enter the gross monthly income used in the calculation.
housing_payment· number · required- Enter the monthly housing payment used in the calculation.
car_payments· number · required- Enter the monthly vehicle payments used in the calculation.
student_loans· number · required- Enter the monthly student-loan payments used in the calculation.
credit_cards· number · required- Enter the minimum monthly card payments used in the calculation.
other_debts· number · required- Enter the other recurring monthly debts used in the calculation.
{
"type": "object",
"properties": {
"gross_monthly_income": {
"type": "number",
"description": "Enter the gross monthly income used in the calculation.",
"minimum": 0
},
"housing_payment": {
"type": "number",
"description": "Enter the monthly housing payment used in the calculation.",
"minimum": 0
},
"car_payments": {
"type": "number",
"description": "Enter the monthly vehicle payments used in the calculation.",
"minimum": 0
},
"student_loans": {
"type": "number",
"description": "Enter the monthly student-loan payments used in the calculation.",
"minimum": 0
},
"credit_cards": {
"type": "number",
"description": "Enter the minimum monthly card payments used in the calculation.",
"minimum": 0
},
"other_debts": {
"type": "number",
"description": "Enter the other recurring monthly debts used in the calculation.",
"minimum": 0
}
},
"required": [
"gross_monthly_income",
"housing_payment",
"car_payments",
"student_loans",
"credit_cards",
"other_debts"
],
"additionalProperties": false
}
Output schema
On a successful execution, schema values appear in data.result.values.
housing_dti· number- Housing debt-to-income ratio produced by the calculation.
total_dti· number- Total debt-to-income ratio produced by the calculation.
total_monthly_debt· number- Total monthly debt payments produced by the calculation.
income_after_listed_debts· number- Income after listed debt payments produced by the calculation.
{
"type": "object",
"properties": {
"housing_dti": {
"type": "number",
"description": "Housing debt-to-income ratio produced by the calculation."
},
"total_dti": {
"type": "number",
"description": "Total debt-to-income ratio produced by the calculation."
},
"total_monthly_debt": {
"type": "number",
"description": "Total monthly debt payments produced by the calculation."
},
"income_after_listed_debts": {
"type": "number",
"description": "Income after listed debt payments produced by the calculation."
}
},
"additionalProperties": false
}
Debt-to-Income Ratio 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/debt-to-income-ratio-calculator/execute" \
-H "Content-Type: application/json" \
-d '{
"gross_monthly_income": 8500,
"housing_payment": 2200,
"car_payments": 450,
"student_loans": 300,
"credit_cards": 175,
"other_debts": 100
}'
{
"ok": true,
"data": {
"slug": "debt-to-income-ratio-calculator",
"result": {
"values": {
"housing_dti": 25.879999999999999005240169935859739780426025390625,
"total_dti": 37.93999999999999772626324556767940521240234375,
"total_monthly_debt": 3225,
"income_after_listed_debts": 5275
},
"display": {
"display": "25.88"
},
"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.