{
  "x402Version": 2,
  "id": 72560,
  "slug": "saylorinnovations-api-finance-refinance",
  "resource": "https://saylorinnovations.com/api/finance/refinance",
  "description": "Refinance comparison: new payment, months to recoup closing costs, remaining interest on each loan and lifetime savings, with optional costs rolled into the loan.",
  "type": "http",
  "serviceName": "Saylor Innovations Data Desk",
  "mimeType": "application/json",
  "resourceType": "API",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xA2A8dF0f7CaaBEa4e120a2568118f141569fc8aa",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "7LSjfrJf8fNsB8VA9u7N3WEn25smQLpob3SvyUvXacy7",
      "asset": "So11111111111111111111111111111111111111112",
      "amount": "95830",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "type": "object",
    "properties": {
      "current_payment": {
        "type": "number",
        "description": "Monthly payment on the existing loan"
      },
      "new_payment": {
        "type": "number",
        "description": "Monthly payment on the new loan"
      },
      "monthly_change": {
        "type": "number",
        "description": "New payment minus current payment (negative is a saving)"
      },
      "new_loan_amount": {
        "type": "number",
        "description": "New principal, including rolled-in costs if chosen"
      },
      "closing_costs": {
        "type": "number",
        "description": "Closing costs used"
      },
      "costs_rolled_into_loan": {
        "type": "boolean",
        "description": "Whether the costs were financed"
      },
      "breakeven_months": {
        "type": [
          "number",
          "null"
        ],
        "description": "Months of savings needed to recoup upfront costs, null if no saving"
      },
      "breakeven_years": {
        "type": [
          "number",
          "null"
        ],
        "description": "Break-even in years"
      },
      "remaining_interest_current": {
        "type": "number",
        "description": "Interest left to pay on the current loan"
      },
      "total_interest_new": {
        "type": "number",
        "description": "Total interest on the new loan"
      },
      "total_cost_current": {
        "type": "number",
        "description": "All remaining payments on the current loan"
      },
      "total_cost_new_including_closing": {
        "type": "number",
        "description": "All new payments plus upfront closing costs"
      },
      "lifetime_savings": {
        "type": "number",
        "description": "Current total cost minus new total cost"
      },
      "term_extended_months": {
        "type": "number",
        "description": "Change in the number of payments"
      },
      "worth_it": {
        "type": "boolean",
        "description": "True when the break-even exists and lifetime cost falls"
      },
      "note": {
        "type": "string",
        "description": "Plain-language caveat about how to read and use the result"
      },
      "source": {
        "type": "string",
        "description": "Where the data or formula comes from"
      }
    },
    "required": [
      "new_payment",
      "breakeven_months"
    ]
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "type": "http",
          "method": "GET",
          "queryParams": {
            "balance": "280000",
            "closing_costs": "5500",
            "current_rate_percent": "7.25",
            "new_rate_percent": "6.1",
            "new_term_years": "30",
            "remaining_years": "27"
          }
        },
        "output": {
          "type": "json",
          "example": {
            "current_payment": 1971.74,
            "new_payment": 1696.79,
            "monthly_change": -274.96,
            "new_loan_amount": 280000,
            "closing_costs": 5500,
            "costs_rolled_into_loan": false,
            "breakeven_months": 20,
            "breakeven_years": 1.67,
            "remaining_interest_current": 358844.79,
            "total_interest_new": 330842.74,
            "total_cost_current": 638844.79,
            "total_cost_new_including_closing": 616342.74,
            "lifetime_savings": 22502.05,
            "term_extended_months": 36,
            "worth_it": true,
            "note": "Lifetime savings compare the remaining payments on the current loan with all payments on the new one plus upfront closing costs. Stretching the term can lower the payment while raising total interest, so read both.",
            "source": "Amortizing loan payment formula"
          }
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "type": "object",
        "properties": {
          "input": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "type": "string",
                "enum": [
                  "GET"
                ]
              },
              "queryParams": {
                "type": "object",
                "properties": {
                  "balance": {
                    "type": "string",
                    "description": "current loan balance"
                  },
                  "closing_costs": {
                    "type": "string",
                    "description": "optional closing costs"
                  },
                  "current_rate_percent": {
                    "type": "string",
                    "description": "current interest rate"
                  },
                  "new_rate_percent": {
                    "type": "string",
                    "description": "new interest rate"
                  },
                  "new_term_years": {
                    "type": "string",
                    "description": "new loan term in years"
                  },
                  "remaining_years": {
                    "type": "string",
                    "description": "years left on the current loan"
                  }
                },
                "required": [
                  "balance",
                  "current_rate_percent",
                  "new_rate_percent",
                  "new_term_years",
                  "remaining_years"
                ]
              }
            },
            "required": [
              "type",
              "method"
            ],
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "properties": {
              "type": {
                "type": "string",
                "const": "json"
              },
              "example": {
                "type": "object",
                "properties": {
                  "current_payment": {
                    "type": "number",
                    "description": "Monthly payment on the existing loan"
                  },
                  "new_payment": {
                    "type": "number",
                    "description": "Monthly payment on the new loan"
                  },
                  "monthly_change": {
                    "type": "number",
                    "description": "New payment minus current payment (negative is a saving)"
                  },
                  "new_loan_amount": {
                    "type": "number",
                    "description": "New principal, including rolled-in costs if chosen"
                  },
                  "closing_costs": {
                    "type": "number",
                    "description": "Closing costs used"
                  },
                  "costs_rolled_into_loan": {
                    "type": "boolean",
                    "description": "Whether the costs were financed"
                  },
                  "breakeven_months": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Months of savings needed to recoup upfront costs, null if no saving"
                  },
                  "breakeven_years": {
                    "type": [
                      "number",
                      "null"
                    ],
                    "description": "Break-even in years"
                  },
                  "remaining_interest_current": {
                    "type": "number",
                    "description": "Interest left to pay on the current loan"
                  },
                  "total_interest_new": {
                    "type": "number",
                    "description": "Total interest on the new loan"
                  },
                  "total_cost_current": {
                    "type": "number",
                    "description": "All remaining payments on the current loan"
                  },
                  "total_cost_new_including_closing": {
                    "type": "number",
                    "description": "All new payments plus upfront closing costs"
                  },
                  "lifetime_savings": {
                    "type": "number",
                    "description": "Current total cost minus new total cost"
                  },
                  "term_extended_months": {
                    "type": "number",
                    "description": "Change in the number of payments"
                  },
                  "worth_it": {
                    "type": "boolean",
                    "description": "True when the break-even exists and lifetime cost falls"
                  },
                  "note": {
                    "type": "string",
                    "description": "Plain-language caveat about how to read and use the result"
                  },
                  "source": {
                    "type": "string",
                    "description": "Where the data or formula comes from"
                  }
                },
                "required": [
                  "new_payment",
                  "breakeven_months"
                ]
              }
            },
            "required": [
              "type"
            ]
          }
        },
        "required": [
          "input"
        ]
      }
    }
  },
  "tags": [
    "refinance calculator",
    "refinance break even months",
    "is refinancing worth it",
    "new mortgage payment savings",
    "closing costs payback"
  ],
  "sourceHost": "saylorinnovations.com",
  "lastUpdated": "2026-10-26T22:14:01.961Z",
  "quality": {},
  "metadata": {
    "serviceName": "Saylor Innovations Data Desk",
    "method": "GET",
    "mimeType": "application/json",
    "inputSchema": {
      "type": "object",
      "properties": {
        "balance": {
          "type": "string",
          "description": "current loan balance"
        },
        "closing_costs": {
          "type": "string",
          "description": "optional closing costs"
        },
        "current_rate_percent": {
          "type": "string",
          "description": "current interest rate"
        },
        "new_rate_percent": {
          "type": "string",
          "description": "new interest rate"
        },
        "new_term_years": {
          "type": "string",
          "description": "new loan term in years"
        },
        "remaining_years": {
          "type": "string",
          "description": "years left on the current loan"
        }
      },
      "required": [
        "balance",
        "current_rate_percent",
        "new_rate_percent",
        "new_term_years",
        "remaining_years"
      ]
    },
    "exampleResponse": {
      "current_payment": 1971.74,
      "new_payment": 1696.79,
      "monthly_change": -274.96,
      "new_loan_amount": 280000,
      "closing_costs": 5500,
      "costs_rolled_into_loan": false,
      "breakeven_months": 20,
      "breakeven_years": 1.67,
      "remaining_interest_current": 358844.79,
      "total_interest_new": 330842.74,
      "total_cost_current": 638844.79,
      "total_cost_new_including_closing": 616342.74,
      "lifetime_savings": 22502.05,
      "term_extended_months": 36,
      "worth_it": true,
      "note": "Lifetime savings compare the remaining payments on the current loan with all payments on the new one plus upfront closing costs. Stretching the term can lower the payment while raising total interest, so read both.",
      "source": "Amortizing loan payment formula"
    },
    "parameterLocation": "query",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "type": "http",
            "method": "GET",
            "queryParams": {
              "balance": "280000",
              "closing_costs": "5500",
              "current_rate_percent": "7.25",
              "new_rate_percent": "6.1",
              "new_term_years": "30",
              "remaining_years": "27"
            }
          },
          "output": {
            "type": "json",
            "example": {
              "current_payment": 1971.74,
              "new_payment": 1696.79,
              "monthly_change": -274.96,
              "new_loan_amount": 280000,
              "closing_costs": 5500,
              "costs_rolled_into_loan": false,
              "breakeven_months": 20,
              "breakeven_years": 1.67,
              "remaining_interest_current": 358844.79,
              "total_interest_new": 330842.74,
              "total_cost_current": 638844.79,
              "total_cost_new_including_closing": 616342.74,
              "lifetime_savings": 22502.05,
              "term_extended_months": 36,
              "worth_it": true,
              "note": "Lifetime savings compare the remaining payments on the current loan with all payments on the new one plus upfront closing costs. Stretching the term can lower the payment while raising total interest, so read both.",
              "source": "Amortizing loan payment formula"
            }
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "type": "object",
          "properties": {
            "input": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "http"
                },
                "method": {
                  "type": "string",
                  "enum": [
                    "GET"
                  ]
                },
                "queryParams": {
                  "type": "object",
                  "properties": {
                    "balance": {
                      "type": "string",
                      "description": "current loan balance"
                    },
                    "closing_costs": {
                      "type": "string",
                      "description": "optional closing costs"
                    },
                    "current_rate_percent": {
                      "type": "string",
                      "description": "current interest rate"
                    },
                    "new_rate_percent": {
                      "type": "string",
                      "description": "new interest rate"
                    },
                    "new_term_years": {
                      "type": "string",
                      "description": "new loan term in years"
                    },
                    "remaining_years": {
                      "type": "string",
                      "description": "years left on the current loan"
                    }
                  },
                  "required": [
                    "balance",
                    "current_rate_percent",
                    "new_rate_percent",
                    "new_term_years",
                    "remaining_years"
                  ]
                }
              },
              "required": [
                "type",
                "method"
              ],
              "additionalProperties": false
            },
            "output": {
              "type": "object",
              "properties": {
                "type": {
                  "type": "string",
                  "const": "json"
                },
                "example": {
                  "type": "object",
                  "properties": {
                    "current_payment": {
                      "type": "number",
                      "description": "Monthly payment on the existing loan"
                    },
                    "new_payment": {
                      "type": "number",
                      "description": "Monthly payment on the new loan"
                    },
                    "monthly_change": {
                      "type": "number",
                      "description": "New payment minus current payment (negative is a saving)"
                    },
                    "new_loan_amount": {
                      "type": "number",
                      "description": "New principal, including rolled-in costs if chosen"
                    },
                    "closing_costs": {
                      "type": "number",
                      "description": "Closing costs used"
                    },
                    "costs_rolled_into_loan": {
                      "type": "boolean",
                      "description": "Whether the costs were financed"
                    },
                    "breakeven_months": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Months of savings needed to recoup upfront costs, null if no saving"
                    },
                    "breakeven_years": {
                      "type": [
                        "number",
                        "null"
                      ],
                      "description": "Break-even in years"
                    },
                    "remaining_interest_current": {
                      "type": "number",
                      "description": "Interest left to pay on the current loan"
                    },
                    "total_interest_new": {
                      "type": "number",
                      "description": "Total interest on the new loan"
                    },
                    "total_cost_current": {
                      "type": "number",
                      "description": "All remaining payments on the current loan"
                    },
                    "total_cost_new_including_closing": {
                      "type": "number",
                      "description": "All new payments plus upfront closing costs"
                    },
                    "lifetime_savings": {
                      "type": "number",
                      "description": "Current total cost minus new total cost"
                    },
                    "term_extended_months": {
                      "type": "number",
                      "description": "Change in the number of payments"
                    },
                    "worth_it": {
                      "type": "boolean",
                      "description": "True when the break-even exists and lifetime cost falls"
                    },
                    "note": {
                      "type": "string",
                      "description": "Plain-language caveat about how to read and use the result"
                    },
                    "source": {
                      "type": "string",
                      "description": "Where the data or formula comes from"
                    }
                  },
                  "required": [
                    "new_payment",
                    "breakeven_months"
                  ]
                }
              },
              "required": [
                "type"
              ]
            }
          },
          "required": [
            "input"
          ]
        }
      }
    },
    "examples": [
      {
        "label": "Unpaid discovery call",
        "method": "GET",
        "url": "https://saylorinnovations.com/api/finance/refinance?balance=280000&current_rate_percent=7.25&remaining_years=27&new_rate_percent=6.1&new_term_years=30&closing_costs=5500",
        "expectedStatus": 402
      }
    ],
    "cacheTtlSeconds": 0,
    "capabilities": [],
    "noAccountRequired": true,
    "noApiKeyRequired": true,
    "sideEffects": "Paid calls settle the advertised payment; see the provider contract for execution behavior.",
    "payment": {
      "protocol": "x402",
      "settlement": "direct-to-provider"
    },
    "provider": {
      "name": "Saylor Innovations",
      "host": "saylorinnovations.com",
      "manifestUrl": "https://saylorinnovations.com/.well-known/x402.json"
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": true,
  "featured": false,
  "provider": {
    "host": "saylorinnovations.com",
    "manifest_name": "Saylor Innovations Knowledge Base",
    "source": "submitted",
    "source_manifest_url": "https://saylorinnovations.com/.well-known/x402.json",
    "submitted_at": "2026-10-26T05:52:02.113Z"
  },
  "exampleResponse": {
    "current_payment": 0,
    "new_payment": 0,
    "monthly_change": 0,
    "new_loan_amount": 0,
    "closing_costs": 0,
    "costs_rolled_into_loan": true,
    "breakeven_months": 0,
    "breakeven_years": 0,
    "remaining_interest_current": 0,
    "total_interest_new": 0,
    "total_cost_current": 0,
    "total_cost_new_including_closing": 0,
    "lifetime_savings": 0,
    "term_extended_months": 0,
    "worth_it": true,
    "note": "string",
    "source": "string"
  }
}