Catalog/loan-refinance-breakeven

Calculators

Refinance break-even calculator API

Compares the current vs refinanced payment (closing costs financed) and computes the break-even month via breakeven = closingCosts / monthlySavings, recommending whether to refinance. Answers 'When does refinancing break even?','Is refinancing worth the closing costs?'.

Price$0.01per request
MethodPOST
Route/v1/calc/loan-refinance-breakeven
StatusLive
MIME typeapplication/json
Rate limit120/minute
CacheNo cache
loanrefinancebreakevenmortgageclosing-costssavingscalculator
API URLhttps://x402.hexl.dev/v1/calc/loan-refinance-breakeven
Integration docs
Example request
{
  "currentBalance": 300000,
  "currentRatePct": 7,
  "currentRemainingMonths": 300,
  "newRatePct": 5.5,
  "newTermMonths": 360,
  "closingCosts": 6000
}
Example response
{
  "currentPayment": 2120.34,
  "newPayment": 1737.43,
  "monthlySavings": 382.9,
  "breakevenMonths": 15.67,
  "worthRefinancing": true,
  "recommendation": "Break-even in ~16 months, before the loan would otherwise end.",
  "formula": "breakeven = closingCosts / (currentPayment - newPayment)",
  "breakdown": {
    "currentBalance": 300000,
    "closingCosts": 6000,
    "currentRatePct": 7,
    "newRatePct": 5.5
  }
}
Input schema
{
  "type": "object",
  "required": [
    "currentBalance",
    "currentRatePct",
    "currentRemainingMonths",
    "newRatePct",
    "newTermMonths",
    "closingCosts"
  ],
  "properties": {
    "currentBalance": {
      "type": "number",
      "description": "Current loan balance.",
      "examples": [
        300000
      ]
    },
    "currentRatePct": {
      "type": "number",
      "description": "Current annual rate in percent.",
      "examples": [
        7
      ]
    },
    "currentRemainingMonths": {
      "type": "number",
      "description": "Months remaining on current loan.",
      "examples": [
        300
      ]
    },
    "newRatePct": {
      "type": "number",
      "description": "New annual rate in percent.",
      "examples": [
        5.5
      ]
    },
    "newTermMonths": {
      "type": "number",
      "description": "New loan term in months.",
      "examples": [
        360
      ]
    },
    "closingCosts": {
      "type": "number",
      "description": "Refinance closing costs.",
      "examples": [
        6000
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}