# CarGurus Scraper — US Used Cars, VIN, IMV & Deals (`rbbscrap/cargurus-scraper`) Actor

Extract CarGurus US car listings, VINs, prices, Instant Market Value (IMV), deal ratings, mileage, Carfax history & dealer info at 5x lower cost.

- **URL**: https://apify.com/rbbscrap/cargurus-scraper.md
- **Developed by:** [Hector](https://apify.com/rbbscrap) (community)
- **Categories:** Lead generation, E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.80 / 1,000 scraped cargurus vehicle listings

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

<img src="https://apify.com/rbbscrap/cargurus-scraper/icon.png" alt="CarGurus Scraper logo" width="68" align="left" />

## CarGurus Scraper — US Used Cars, VIN, IMV & Deals

Extract US vehicle listings, 17-character **VINs**, dealer prices, proprietary **Instant Market Value (IMV)** valuations, **Great Deal / Good Deal** price badges, odometer mileage, **Carfax / accident & owner history**, and dealership phone/location data from **CarGurus.com** — in pure **256 MB Zero-Browser** Node.js at **5x lower cost** (`$0.80 / 1,000 vehicles`, with your **1st run 100% free**).

Explore related US auto & lead-gen scrapers: [AutoTrader Scraper](https://apify.com/rbbscrap/autotrader-scraper) · [Yellow Pages Scraper](https://apify.com/rbbscrap/yellowpages-scraper) · [BBB Scraper](https://apify.com/rbbscrap/bbb-scraper) · [Realtor Scraper](https://apify.com/rbbscrap/realtor-scraper)

***

### What does CarGurus Scraper do?

**CarGurus Scraper** automates high-speed automotive inventory discovery across CarGurus's nationwide US dealership and private-seller marketplace without running heavy Chromium browsers. In ~7 seconds on **256 MB RAM**, it resolves vehicle make/model entities, iterates live search inventory, computes IMV price differentials, and normalizes every listing into a strict zero-null dataset.

#### Beyond the Official API

CarGurus does not provide a public REST API for independent dealerships, automotive brokers, fleet buyers, or market analysts to query live vehicle inventories alongside **Instant Market Value (IMV)** benchmarks. Accessing CarGurus valuation ratings (`GREAT_PRICE`, `GOOD_PRICE`, `FAIR_PRICE`), VIN numbers, days on market, and dealer direct phone numbers programmatically requires enterprise dealer partnerships or manual portal exports. **CarGurus Scraper** delivers that exact structured feed cleanly via API, JSON, or CSV.

***

### What data can you scrape?

| Category | Extracted Fields |
| :--- | :--- |
| **Vehicle Identity & Specs** | `listingId`, `vin` (17-char VIN), `title`, `year`, `make`, `model`, `trim`, `condition`, `bodyType`, `mileage`, `exteriorColor`, `interiorColor`, `transmission`, `drivetrain`, `fuelType`, `engine` |
| **IMV Valuation & Deal Tier** | `price`, `priceFormatted`, `imv` (Instant Market Value), `priceDifference` ($ below/above IMV), `savingsPercent`, `dealRating`, `dealBadge`, `daysOnMarket` |
| **Accident & History Flags** | `hasAccidents`, `accidentCount`, `isOneOwner`, `ownerCount`, `carfaxSummary` |
| **Dealership & Location** | `dealerName`, `dealerPhone`, `dealerRating`, `dealerReviewsCount`, `city`, `state`, `zipCode`, `distanceMiles`, `latitude`, `longitude` |
| **Photos & Links** | `imageUrl`, `images`, `listingUrl`, `searchQuery`, `scrapedAt` |

***

### Why scrape CarGurus? (Typical Use Cases)

- **Undervalued Car & Fleet Acquisition**: Detect `GREAT_PRICE` (*Great Deal*) listings thousands of dollars below CarGurus IMV (`priceDifference`, `savingsPercent`) the moment they hit the market.
- **Used Car Dealer Competitive Pricing**: Benchmark local competitors within a 25–500 mile ZIP radius to reprice inventory dynamically by year, trim, mileage, and `daysOnMarket`.
- **VIN-Level History & Arbitrage Screening**: Cross-reference extracted 17-character `vin` codes with clean `carfaxSummary` (`hasAccidents: false`, `isOneOwner`) filters for wholesale bidding and auction prep.
- **Automotive B2B Lead Generation**: Build clean dealer CRM lists with `dealerName`, `dealerPhone`, `city`, `state`, and inventory volume metrics.

***

### How to scrape CarGurus data

1. **Choose Make & Model (or URL)**: Use the prefilled 1-Click default (`Toyota` / `Camry`), enter any make/model (`Ford` / `F-150`, `Tesla` / `Model 3`, or leave `model` empty to fetch all models), or paste a CarGurus search URL directly in `make`.
2. **Set ZIP Code, Radius & Deal Filters**: Target any US ZIP code (`10001`, `90210`, `75201`), search radius (`distance`), `condition` (`used`, `certified`, `new`, `all`), `sortBy` (`DEAL_SCORE`, `PRICE`, `MILEAGE`), `minDealRating`, and optional `maxPrice`.
3. **Click Start**: Keep the default US Apify Proxy settings and 256 MB RAM container to retrieve structured inventory in seconds.
4. **Export or Automate**: Download JSON, CSV, or Excel, or schedule automated runs into **n8n, Make, Zapier, Google Sheets, Python, or Node.js**.

***

### Input Configuration & Examples

#### Input Parameters Reference

| Parameter | Type | Default | Description |
| :--- | :--- | :--- | :--- |
| `make` | String | `"Toyota"` | Car manufacturer (`"Toyota"`, `"Honda"`, `"Ford"`, `"Tesla"`) OR a full CarGurus search URL. |
| `model` | String | `"Camry"` | Vehicle model (`"Camry"`, `"RAV4"`, `"Civic"`, `"F-150"`, `"Model 3"`). Leave blank for all models of `make`. |
| `zipCode` | String | `"10001"` | 5-digit US ZIP code for dealer proximity and regional pricing. |
| `distance` | Integer | `100` | Radius in miles around `zipCode` (`10` to `50000` for nationwide). |
| `maxItems` | Integer | `30` | Maximum number of vehicle listings to extract (`1` to `1,000`). |
| `condition` | String | `"used"` | Inventory filter: `used`, `all`, `certified`, or `new`. |
| `sortBy` | String | `"DEAL_SCORE"` | Sort order: `DEAL_SCORE`, `PRICE`, `MILEAGE`, `NEWEST_CAR`, or `PROXIMITY`. |
| `minDealRating` | String | `"ALL"` | Minimum IMV deal tier: `ALL`, `GREAT_PRICE`, `GOOD_PRICE`, or `FAIR_PRICE`. |
| `maxPrice` | Integer | `0` | Maximum asking price in USD (`0` = no limit). |
| `proxyConfiguration` | Object | `{ "useApifyProxy": true, "apifyProxyCountry": "US" }` | US proxy configuration (recommended for non-US requests; runs seamlessly inside Apify Cloud US). |

#### Example 1 — 1-Click Search: Top Toyota Camry Deals Around New York (`10001`)

```json
{
  "make": "Toyota",
  "model": "Camry",
  "zipCode": "10001",
  "distance": 100,
  "maxItems": 30,
  "condition": "used",
  "sortBy": "DEAL_SCORE"
}
```

#### Example 2 — Wholesale Acquisition: Great Deal Trucks Under $35,000 in Texas

```json
{
  "make": "Ford",
  "model": "F-150",
  "zipCode": "75201",
  "distance": 250,
  "maxItems": 100,
  "condition": "used",
  "minDealRating": "GREAT_PRICE",
  "maxPrice": 35000,
  "sortBy": "DEAL_SCORE"
}
```

#### Example 3 — Nationwide Used Tesla Inventory Monitoring

```json
{
  "make": "Tesla",
  "model": "Model 3",
  "zipCode": "90210",
  "distance": 50000,
  "maxItems": 200,
  "condition": "used",
  "sortBy": "PRICE"
}
```

***

### Output Example

#### Table View Preview

| Year | Make | Model | Trim | Price | IMV | Below IMV | Deal Badge | Miles | VIN | Dealer | City | State |
| :---: | :--- | :--- | :--- | :---: | :---: | :---: | :--- | :---: | :--- | :--- | :--- | :---: |
| 2009 | Toyota | Camry | XLE | $8,644 | $10,587 | +$1,943 | Great Deal | 72,785 | `4T1BE46K29U328953` | Carlots | Newfield | NJ |
| 2024 | Toyota | Camry | SE AWD | $27,665 | $29,434 | +$1,769 | Great Deal | 7,555 | `4T1G11BK4RU124077` | Toyota City | Mamaroneck | NY |
| 2016 | Toyota | Camry | LE | $10,749 | $12,036 | +$1,287 | Great Deal | 126,544 | `4T4BF1FK6GR580834` | Exclusive Auto LLC | Waterbury | CT |
| 2022 | Toyota | Camry | SE AWD | $12,999 | $14,228 | +$1,229 | Great Deal | 177,200 | `4T1G11BK5NU067012` | Car Hub LLC | Hasbrouck Heights | NJ |
| 2018 | Toyota | Camry | SE | $15,995 | $17,566 | +$1,571 | Great Deal | 98,709 | `4T1B11HK7JU505055` | J & S Auto Haus Hamilton | Trenton | NJ |

#### JSON Record Example

```json
{
  "listingId": "460543941",
  "vin": "4T1BE46K29U328953",
  "title": "2009 Toyota Camry XLE",
  "make": "Toyota",
  "model": "Camry",
  "trim": "XLE",
  "priceFormatted": "$8,644",
  "dealRating": "GREAT_PRICE",
  "dealBadge": "Great Deal",
  "carfaxSummary": "No accidents reported",
  "condition": "Used",
  "exteriorColor": "UNKNOWN",
  "interiorColor": "",
  "transmission": "5-Speed Automatic Overdrive",
  "drivetrain": "FRONT_WHEEL_DRIVE",
  "fuelType": "Gasoline",
  "engine": "",
  "bodyType": "Sedan",
  "dealerName": "Carlots",
  "dealerPhone": "(856) 416-6806",
  "city": "Newfield",
  "state": "NJ",
  "zipCode": "08344",
  "imageUrl": "https://static.cargurus.com/images/forsale/2026/10/28/19/04/2009_toyota_camry-pic-3728042653068930764-1024x768.jpeg",
  "listingUrl": "https://www.cargurus.com/Cars/link/460543941",
  "searchQuery": "Toyota Camry",
  "scrapedAt": "2026-11-12T19:51:22.222Z",
  "year": 2009,
  "price": 8644,
  "imv": 10587,
  "savingsPercent": 18.35,
  "mileage": 72785,
  "accidentCount": 0,
  "ownerCount": 0,
  "daysOnMarket": 41,
  "dealerRating": 0,
  "dealerReviewsCount": 0,
  "distanceMiles": 99.78886,
  "priceDifference": 1943,
  "latitude": 0,
  "longitude": 0,
  "hasAccidents": false,
  "isOneOwner": false,
  "images": [
    "https://static.cargurus.com/images/forsale/2026/10/28/19/04/2009_toyota_camry-pic-3728042653068930764-1024x768.jpeg"
  ]
}
```

#### Output Fields Reference

- `listingId` *(String)*: Unique CarGurus vehicle listing ID.
- `vin` *(String)*: 17-character Vehicle Identification Number (VIN).
- `title` *(String)*: Listing headline (`Year Make Model Trim`).
- `year`, `make`, `model`, `trim` *(Integer / Strings)*: Structured vehicle specifications.
- `price` *(Number)* & `priceFormatted` *(String)*: Asking price in USD.
- `imv` *(Number)*: CarGurus Instant Market Value benchmark in USD.
- `priceDifference` *(Number)*: Dollar amount below IMV (positive = priced below market, negative = above market).
- `savingsPercent` *(Number)*: Percentage discount below IMV.
- `dealRating` *(String)* & `dealBadge` *(String)*: Deal tier (`GREAT_PRICE` / `Great Deal`, `GOOD_PRICE` / `Good Deal`, `FAIR_PRICE` / `Fair Deal`, etc.).
- `mileage` *(Integer)*: Odometer reading in miles.
- `hasAccidents`, `accidentCount`, `isOneOwner`, `ownerCount`, `carfaxSummary`: Vehicle accident & ownership summary.
- `condition`, `exteriorColor`, `interiorColor`, `transmission`, `drivetrain`, `fuelType`, `engine`, `bodyType`, `daysOnMarket`: Equipment and listing age metadata.
- `dealerName`, `dealerPhone`, `dealerRating`, `dealerReviewsCount`, `city`, `state`, `zipCode`, `distanceMiles`, `latitude`, `longitude`: Dealership identity and location fields.
- `imageUrl`, `images`, `listingUrl`, `searchQuery`, `scrapedAt`: Photos, canonical URL, query context, and ISO timestamp.

***

### Related & Dedicated Scrapers

| Scraper | Niche | Highlights |
| :--- | :--- | :--- |
| [AutoTrader Scraper](https://apify.com/rbbscrap/autotrader-scraper) | US Automotive | Dealer inventory, VINs, prices, trims & mileage |
| [Yellow Pages Scraper](https://apify.com/rbbscrap/yellowpages-scraper) | US B2B Local Leads | Dealerships, service centers, verified phones & addresses |
| [BBB Scraper](https://apify.com/rbbscrap/bbb-scraper) | US Business Trust | Accreditation, A+ ratings & complaint records |
| [Realtor Scraper](https://apify.com/rbbscrap/realtor-scraper) | US Real Estate MLS | Homes for sale/rent, valuations & broker details |
| [Target Scraper](https://apify.com/rbbscrap/target-scraper) | US Retail E-Commerce | Target.com prices, TCINs, stock & Circle deals |

***

### Error Items & Resilience Reference

- **Strict Zero-Null Normalization**: All 43 output properties are consistently typed (`""`, `0`, `false`, `[]`) across every dataset item.
- **Session-Aware Multi-Strategy Extraction**: Combines CarGurus's live car-selector API, AJAX search endpoints (`searchResults.action` / `prefetchedSearchResults.action`), embedded SRP JSON payloads, and listing-level enrichment (`detailListingJson.action`) with automatic fallback routes.
- **Clear IP / Filter Diagnostics**: If an external non-US IP or overly strict price/deal filter produces zero listings, the actor fails fast with an explicit status message instead of pushing empty placeholder items.

***

### FAQ

#### 1. How much does CarGurus Scraper cost?

**CarGurus Scraper** operates exclusively on **Pay-Per-Event (`PAY_PER_EVENT`)** pricing at **$0.0008 per vehicle listing** (**$0.80 per 1,000 vehicles**)—5x cheaper than the #1 competitor on Apify ($4.00 / 1K). Your **1st run is 100% free** (`\$0.00` event charges waived automatically per user), and running in 256 MB Zero-Browser Node.js completes 30 listings in ~7 seconds (`~0.0005 CU`).

#### 2. Can I connect CarGurus Scraper to Make, n8n, or Zapier?

Yes. Trigger scheduled runs or webhooks directly in **Make**, **n8n**, **Zapier**, or **Google Sheets** to push new *Great Deal* alerts to Slack, HubSpot, or Airtable in real time.

#### 3. How do I run CarGurus Scraper with Python or Node.js?

Invoke `rbbscrap/cargurus-scraper` via the official `apify-client` package:

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("rbbscrap/cargurus-scraper").call(run_input={
    "make": "Toyota",
    "model": "Camry",
    "zipCode": "10001",
    "distance": 100,
    "minDealRating": "GREAT_PRICE",
    "maxItems": 30
})
vehicles = client.dataset(run["defaultDatasetId"]).list_items().items
```

#### 4. Does it work with AI MCP servers (Claude, Cursor, Windsurf)?

Yes. Connect your AI assistant via the Apify MCP server targeting `rbbscrap/cargurus-scraper` to search live VINs, IMV discounts, and nearby dealership phones directly inside agent workflows.

#### 5. Do I need Apify US Proxies or cookies?

No CarGurus login or cookies are required. Because CarGurus enforces US Edge geo-routing outside North America, **CarGurus Scraper** defaults to US Apify Proxy routing (`apifyProxyCountry: "US"`) with direct US Cloud fallback—working seamlessly on Apify Cloud out of the box.

#### 6. Is scraping public CarGurus listings GDPR compliant?

This scraper collects publicly listed vehicle specifications, dealer business numbers, and Instant Market Value (IMV) price benchmarks without bypassing authentication or harvesting private consumer accounts. Automated processing of public business and market data respects **GDPR (`EU Regulation 2016/679`)** guidelines when used responsibly.

#### 7. Need help or want additional vehicle fields?

Report bugs or request custom filters directly via the **[Issues tab](https://apify.com/rbbscrap/cargurus-scraper/issues/open)** on Apify Console.

# Actor input Schema

## `make` (type: `string`):

Car manufacturer / make to search on CarGurus.com (e.g. 'Toyota', 'Honda', 'Ford', 'BMW', 'Tesla', 'Jeep') OR paste a full CarGurus search URL.

## `model` (type: `string`):

Optional vehicle model within the selected make (e.g. 'Camry', 'RAV4', 'Civic', 'F-150', 'Model 3'). Leave blank to scrape all models for that make.

## `zipCode` (type: `string`):

5-digit US ZIP code for dealer proximity, pricing & shipping radius (e.g. 10001, 90210, 60601, 75201).

## `distance` (type: `integer`):

Maximum distance in miles from the ZIP code (e.g. 25, 50, 100, 200, 500, or 50000 for nationwide).

## `maxItems` (type: `integer`):

Maximum number of CarGurus vehicle listings to extract.

## `condition` (type: `string`):

Filter by used, new, certified pre-owned (CPO), or all inventory.

## `sortBy` (type: `string`):

Sort results by CarGurus Deal Rating / IMV value, Price, Mileage, or Distance.

## `minDealRating` (type: `string`):

Filter vehicles by minimum CarGurus IMV deal tier.

## `maxPrice` (type: `integer`):

Maximum listing price in USD (0 = no cap).

## `proxyConfiguration` (type: `object`):

Recommended US proxy settings (CarGurus requires US IP routing when called from outside the US).

## Actor input object example

```json
{
  "make": "Toyota",
  "model": "Camry",
  "zipCode": "10001",
  "distance": 100,
  "maxItems": 30,
  "condition": "used",
  "sortBy": "DEAL_SCORE",
  "minDealRating": "ALL",
  "maxPrice": 0,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "make": "Toyota",
    "model": "Camry",
    "zipCode": "10001",
    "distance": 100,
    "maxItems": 30
};

// Run the Actor and wait for it to finish
const run = await client.actor("rbbscrap/cargurus-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "make": "Toyota",
    "model": "Camry",
    "zipCode": "10001",
    "distance": 100,
    "maxItems": 30,
}

# Run the Actor and wait for it to finish
run = client.actor("rbbscrap/cargurus-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "make": "Toyota",
  "model": "Camry",
  "zipCode": "10001",
  "distance": 100,
  "maxItems": 30
}' |
apify call rbbscrap/cargurus-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rbbscrap/cargurus-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/ue8YTsgRcxvgXuYiV/builds/nNJYJthGo24wmpO6F/openapi.json
