# cargurus.search

Used cars for sale on CarGurus near a US ZIP code, by make, model, price, year and mileage: price, CarGurus's market value and deal rating, VIN, specification and the dealer.

CarGurus search, one of the CarGurus scrapers.

| | |
| --- | --- |
| Id | `cargurus.search` |
| Version | 1 |
| Billed per | request — 1 unit for a charged run |
| Runs | within one request |

Start it with `POST /v1/scrapers/cargurus.search/runs`. How runs work is in [Running a scraper](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `zip` | string | yes | The US ZIP code to search around, e.g. `60601`. Limit: matches ^\d{5}$. |
| `make` | string | no | The make as CarGurus names it, e.g. `Honda`, `Land Rover`, `Mercedes-Benz`. Empty: every make. Limit: at most 40 characters. |
| `model` | string | no | The model as CarGurus names it, e.g. `Civic`, `CR-V`, `F-150`. Needs a make. Limit: at most 60 characters. |
| `radius` | 10 \| 25 \| 50 \| 75 \| 100 \| 150 \| 200 \| 500 \| "nationwide" | no | How far from the ZIP code to search, in miles, or `nationwide`. Default: `50`. |
| `price_min` | integer | no | The lowest price, in US dollars. Limit: 0 to 10000000. |
| `price_max` | integer | no | The highest price, in US dollars. Limit: 0 to 10000000. |
| `year_min` | integer | no | The oldest model year. Limit: 1900 to 2100. |
| `year_max` | integer | no | The newest model year. Limit: 1900 to 2100. |
| `mileage_max` | integer | no | The highest mileage, in miles. Limit: 0 to 1000000. |
| `include_delivery` | boolean | no | Also return cars further away that the seller offers to deliver. Off: only cars within the radius. Default: `false`. |
| `sort` | "best_match" \| "best_deal" \| "price_low" \| "price_high" \| "mileage_low" \| "mileage_high" \| "distance" \| "year_newest" \| "year_oldest" \| "newest_listing" | no | The order of the results, as the site offers them. Sponsored results come first in every order; a price order counts the dealer's fees. Default: `"best_match"`. |
| `page` | integer | no | The page of the results, from 1. A page holds about 22 cars. Limit: 1 to 100. Default: `1`. |

## Record fields

Every record of a run has these fields. A value that is not known is `null` — never an empty string and never `0`.

| Field | Type | Notes |
| --- | --- | --- |
| `listing_id` | integer | CarGurus's id of the listing. |
| `url` | string | The listing's page on cargurus.com. |
| `title` | string | The year, make, model and trim, e.g. `2017 Honda Civic LX`. |
| `sponsored` | boolean | True for a result CarGurus places as featured, priority or highlighted (paid placement); such results come first whatever the order asked for. |
| `vin` | string or null | The vehicle identification number. |
| `year` | integer or null | The model year. |
| `make` | string or null | The make, e.g. `Honda`. |
| `model` | string or null | The model, e.g. `Civic`. |
| `trim` | string or null | The trim, e.g. `LX`. |
| `body_style` | string or null | The body style, e.g. `Sedan`, `SUV / Crossover`, `Pickup Truck`. |
| `price` | number or null | The asking price before the dealer's fees, in US dollars. Null when the seller does not state one. |
| `total_price` | number or null | The price with the dealer's stated fees, in US dollars: the price the result prints. Null where CarGurus shows none. |
| `market_price` | number or null | CarGurus's estimate of the car's market value (its instant market value), in US dollars. |
| `deal_rating` | string or null | CarGurus's rating of the price against that value: `GREAT_PRICE`, `GOOD_PRICE`, `FAIR_PRICE`, `HIGH_PRICE`, `OVERPRICED`, `OUTLIER` or `NA`. |
| `mileage` | integer or null | The odometer reading, in miles. |
| `days_on_market` | integer or null | How many days the car has been listed on CarGurus. |
| `exterior_color` | string or null | The exterior colour, e.g. `Black`. |
| `interior_color` | string or null | The interior colour. |
| `drivetrain` | string or null | The drive, e.g. `Front-Wheel Drive`, `All-Wheel Drive`. |
| `engine` | string or null | The engine, e.g. `158 hp 2L I4`. |
| `transmission` | string or null | The transmission, e.g. `Automatic`, `Continuously Variable Transmission`. |
| `fuel_type` | string or null | The fuel, e.g. `Gasoline`, `Hybrid`, `Electric`. |
| `doors` | string or null | The number of doors as printed, e.g. `4 doors`. |
| `options` | array of string | The options the result lists, e.g. `Backup Camera`, `CarPlay`. |
| `image` | string or null | The listing's main photo. |
| `photo_count` | integer or null | How many photos the listing has. |
| `stock_number` | string or null | The dealer's stock number for the car. |
| `distance_miles` | number or null | How far the seller is from the ZIP code searched, in miles. Beyond the radius only for a car offered for delivery. |
| `dealer_name` | string or null | The selling dealer's name. Null for a private seller. |
| `dealer_phone` | string or null | The dealer's phone number as the result gives it. Null for a private seller. |
| `dealer_city` | string or null | The seller's town. |
| `dealer_state` | string or null | The seller's state, as a two-letter code. |
| `dealer_postal_code` | string or null | The seller's ZIP code. |
| `seller_type` | string or null | `DEALER` or `PRIVATE`, as CarGurus marks the seller. |
| `fetched_at` | string (date-time) | When the results were read, in UTC. |

## Example request

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
curl -X POST "https://api.enrichednow.com/v1/scrapers/cargurus.search/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"zip":"60601","make":"Honda","model":"Civic","sort":"price_low"}}'
```

## Example response

The run, once it has ended. A run that has not ended within `wait` comes back with `202` and the status `queued` or `running`.

```json
{
  "id": "run_841742f37553189ff9c27ba1",
  "scraper_id": "cargurus.search",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "zip": "60601",
    "make": "Honda",
    "model": "Civic",
    "sort": "price_low"
  },
  "record_count": 1,
  "units": 1,
  "units_per_request": 1,
  "units_per_record": null,
  "units_per_page": null,
  "diagnostics": {
    "requests": 1,
    "bytes": 259214,
    "wall_ms": 885,
    "facts": {}
  },
  "created_at": "2026-11-16T22:37:50.170950Z",
  "started_at": "2026-11-16T22:37:50.178331Z",
  "finished_at": "2026-11-16T22:37:51.066313Z"
}
```

Its records, from `GET /v1/runs/{id}/records`. The record is a real one: this scraper's own parser read it from a page recorded from the site.

```json
{
  "records": [
    {
      "listing_id": 464285716,
      "url": "https://www.cargurus.com/details/464285716",
      "title": "2025 Honda Civic LX FWD",
      "sponsored": true,
      "vin": "2HGFE2F28SH604668",
      "year": 2025,
      "make": "Honda",
      "model": "Civic",
      "trim": "LX FWD",
      "body_style": "Sedan",
      "price": 21750,
      "total_price": 22162,
      "market_price": 22655,
      "deal_rating": "GOOD_PRICE",
      "mileage": 31730,
      "days_on_market": 5,
      "exterior_color": "Crystal Black Pearl",
      "interior_color": "Black",
      "drivetrain": "Front-Wheel Drive",
      "engine": "150 hp 2L I4",
      "transmission": "Continuously Variable Transmission",
      "fuel_type": "Gasoline",
      "doors": "4 doors",
      "options": [
        "Adaptive Cruise Control",
        "Backup Camera",
        "Android Auto"
      ],
      "image": "https://static.cargurus.com/images/forsale/2026/11/14/06/45/2025_honda_civic-pic-862956209633179424-1024x768.jpeg",
      "photo_count": null,
      "stock_number": "PKC16377",
      "distance_miles": 17.7,
      "dealer_name": "Ed Napleton Acura Kia of Elmhurst",
      "dealer_phone": "(708) 540-2815",
      "dealer_city": "Elmhurst",
      "dealer_state": "IL",
      "dealer_postal_code": "60126",
      "seller_type": "DEALER",
      "fetched_at": "2026-11-19T18:07:39.632076Z"
    }
  ],
  "next_cursor": null
}
```

What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with `… [truncated]`.

- Shortened: `options`: 4 items, the first 3 shown.

A run does not always end `ok`. [Results and statuses](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the CarGurus scrapers](https://docs.enrichednow.com/results-and-statuses.md#cargurus) are in their own section there.
