---
title: "Car lease vs buy comparison"
method: GET
path: "/api/v1/calculate/lease-vs-buy"
---

# Car lease vs buy comparison

`GET /api/v1/calculate/lease-vs-buy`

## Request

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

Lease outlay over the lease term versus buy outlay net of equity in the car at the same point, with the winning option and the net cost difference. Results match the interactive calculator at everycalc.xyz; every response includes a calculator_url deep link to it.

## Query parameters

- `msrp` number, required
- `lease_months` number, required
- `lease_down_payment` number
- `lease_monthly_payment` number, required
- `residual_pct` number, required
- `money_factor` number
- `buy_down_payment` number
- `buy_rate_pct` number, required
- `buy_term_months` number, required

## Response `200`

Calculation result.

## Other responses

- `400`: Invalid input.

---

[API](https://skmtc.dev/everycalc/apis/everycalc-api.md) · [All operations](https://skmtc.dev/everycalc/apis/everycalc-api/llms.txt) · [OpenAPI document](https://skmtc.dev/everycalc/apis/everycalc-api/revisions/a4bd5db0868a?raw)
