Refinance Calculator
calc_refinanceShould this borrower refinance? Give the current rate, balance and years remaining; returns the new monthly payment, monthly savings, break-even month, net dollar benefit over the years they expect to stay, and a verdict (worth_considering / marginal / not_worth_it). If new_rate is omitted, uses today's market rate from the Optimal Blue locked-rate index for the borrower's credit score and LTV segment. Price: $0.35 USDC per call via x402 (Base or Solana).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ltv | No | Loan-to-value percent — selects the market-rate segment | |
| balance | Yes | Remaining principal balance in USD | |
| new_rate | No | Quoted new rate in percent. Omit to use today's market rate. | |
| new_term | No | New loan term in years (default 30) | |
| credit_score | No | FICO score — selects the market-rate segment | |
| current_rate | Yes | Current note rate in percent, e.g. 7.25 | |
| closing_costs | No | Total refinance closing costs in USD (default 2% of balance) | |
| years_in_home | No | Years the borrower expects to keep the loan (default 7) | |
| remaining_years | No | Years left on the current loan (default 30) |