Buy/refi-now vs wait rate-timing decision
Frames a forward 'lock now' vs 'wait for rates to drop' recommendation by combining recent rate movement (direction + magnitude over a 1w/2w/4w window) with break-even sensitivity on the borrower's loan. Returns the best current offer, a wait-scenario projection (a sensitivity, NOT a forecast), the payment swing per 25bps, the cost of waiting, and a buy_now / consider_waiting / neutral / insufficient_data lean. Distinct from /v1/rate-delta (raw historical deltas only). This route is the single source of truth; the MCP assess_buy_timing tool and the consumer app call it.
Authentication required: Pass your API key in the X-API-Key header.
Request
- Base URL: https://api.rateapi.dev
- URL: https://api.rateapi.dev/v1/buy-timing
- Auth: API key in header X-API-Key
Request body
Example request
{
"product_type": "mortgage",
"state": "CA",
"loan_amount": 400000,
"term_months": 360,
"current_rate": 7.25,
"closing_costs": 4000,
"rate_shift_bps": -25,
"since": "4w"
}Response
Buy-vs-wait assessment. Degrades gracefully: when rate history is thin, movement fields are null, recommendation is insufficient_data, confidence is low, and a note is included.
Changes
No recorded changes to this operation across all 1 revision of this API.