Returns a list of all car lease deals with options to filter by price, make, body type, and pagination.
Parameter | Type | Description |
---|---|---|
min | integer | Minimum price filter. Default is 0. |
max | integer | Maximum price filter. Default is 999999. |
brand | string | Brand of the car (e.g., 'audi'). |
page | integer | Page number for pagination. Default is 1. |
per_page | integer | Number of cars per page. Default is 12. |
GET /api/get-deals?min=0&max=500&brand=audi&page=1&per_page=12
{ "total": 100, "page": 1, "per_page": 12, "deals": [ { "title": "2025 Audi RS 7", "slug": "audi-rs-7", "year": "2025", "make": "Audi", "model": "RS 7", "price": "500", "link": "https://www.eautolease.com/car-lease-deals/audi-rs-7", "image": "https://www.eautolease.com/wp-content/uploads/evox/audi-rs7.jpg" } ] }
Returns a list of all car makes available on the website.
GET /api/get-makes
{ "makes": [ { "slug": "audi", "name": "Audi" }, { "slug": "acura", "name": "Acura" } ] }
Returns a list of models for a specific make.
Parameter | Type | Description |
---|---|---|
make | string | The make of the car (e.g., 'audi'). |
GET /api/get-models?make=audi
{ "models": [ { "slug": "rs-7", "name": "RS 7" }, { "slug": "q7", "name": "Q7" } ] }