Data & Analytics
Home affordability estimate from income and DTI
Borrower-facing home affordability estimate. Given gross annual income, existing monthly debts, down payment, and front-end/back-end DTI caps, computes max monthly payment, max loan amount, and max home price. When no rate is supplied the current best market rate for the state is resolved via the decision engine, with a 6.5% fallback. This route is the single source of truth; the MCP affordability tool and the consumer app call it.
Authentication required: Pass your API key in the X-API-Key header.
post/v1/affordability
Request
- Base URL: https://api.rateapi.dev
- URL: https://api.rateapi.dev/v1/affordability
- Auth: API key in header X-API-Key
Request body
Example request
{
"income_annual": 120000,
"monthly_debts": 400,
"down_payment": 60000,
"front_end_dti": 0.28,
"back_end_dti": 0.36,
"term_months": 360,
"state": "CA",
"product_type": "mortgage",
"rate": 6.5,
"credit_score": 740
}Response
Affordability estimate. affordable is false when existing debts exceed the back-end budget.
Changes
No recorded changes to this operation across all 1 revision of this API.