Rent vs buy comparison

Compares the net cost of buying a home (down payment, mortgage payments, tax, insurance, and maintenance, minus principal repaid and appreciation gain) with the total rent paid over the years you plan to stay, and gives a verdict plus the equity built. Results match the interactive calculator at everycalc.xyz; every response includes a calculator_url deep link to it.

get/api/v1/calculate/rent-vs-buy

Request

  • Base URL: https://everycalc.xyz
  • URL: https://everycalc.xyz/api/v1/calculate/rent-vs-buy
  • Auth: none declared

Query parameters

pricenumber required

Home price in USD.

down_payment_pctnumber

Down payment percent of the home price.

annual_rate_pctnumber required

Mortgage annual rate percent, e.g. 6.5.

term_yearsnumber

Loan term in years.

stay_yearsnumber

Years planning to stay in the home.

monthly_rentnumber required

Current monthly rent in USD.

rent_increase_pctnumber

Annual rent increase percent.

appreciation_pctnumber

Annual home appreciation percent.

property_tax_annualnumber

Property tax per year in USD.

home_insurance_annualnumber

Homeowner insurance per year in USD.

maintenance_pctnumber

Maintenance per year as a percent of the home value.

Response

Calculation result.

Changes

No recorded changes to this operation across all 1 revision of this API.