# CarGurus US Car Listings Scraper (`xerneas_ftw/cargurus-us`) Actor

Fast, low-cost CarGurus US used car listings: price, CarGurus deal rating and expected price, MSRP, mileage, year, fuel, drivetrain, VIN, dealer, photo. Search by ZIP code and radius. No personal data.

- **URL**: https://apify.com/xerneas_ftw/cargurus-us.md
- **Developed by:** [Prathamesh Chavan](https://apify.com/xerneas_ftw) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.40 / 1,000 results

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

## CarGurus US Scraper: used car listings with deal ratings

Scrape used car listings from **CarGurus** (cargurus.com) around any US ZIP code. You get clean JSON with make, model, trim, price, CarGurus' own deal rating and expected price, MSRP, mileage, fuel, drivetrain, VIN, days on market, dealer name and photos. Use it as an unofficial CarGurus API for US used car prices and dealer inventory. Export to JSON, CSV or Excel, or call it from your own code.

- **Cheap:** $0.40 per 1,000 results, plus $0.0005 per run.
- **Fast:** 24 listings per request, with no browser.
- **Deal ratings included:** every listing carries CarGurus' `dealRating` (Great, Good, Fair, High or Overpriced) and `expectedPrice`.
- **Filtered at the source:** make, model, price, year and mileage are filtered by CarGurus itself, so you only pay for listings you asked for.
- **No personal data:** private sellers' names and all ZIP codes and phone numbers are never collected.

### What can you use it for?

- **Car flipping and wholesale:** find listings priced below CarGurus' own expected price.
- **Dealer inventory monitoring:** track new listings and competitor stock around a ZIP code every day.
- **Valuation:** compare asking prices with CarGurus' expected price and the original MSRP.
- **Market data:** feed listings into a spreadsheet, dashboard or pricing model.

### How to scrape CarGurus

1. Enter a US `zip` code and a `distance` in miles.
2. Optionally add a `make`, `model`, price, year and mileage filters, and set `maxItems`.
3. Click **Start**. Download the results as JSON, CSV or Excel, or read them through the API.

### Input

```json
{
  "zip": "90210",
  "distance": 50,
  "make": "Ford",
  "model": "F-150",
  "maxPrice": 35000,
  "yearMin": 2018,
  "maxMileage": 80000,
  "sortType": "LISTING_DATE",
  "sortDirection": "DESC",
  "maxItems": 100
}
```

| Field | Description |
|---|---|
| `zip` | US ZIP code to search around. Default `10001` (New York). |
| `distance` | Radius in miles. Default 50. |
| `make` / `model` | Make and model by name (`Ford`, `Mercedes-Benz`, `Chevy`, `F-150`). Filtered by CarGurus itself; a partial model name is matched on the results. |
| `minPrice` / `maxPrice` | Price range in USD. |
| `yearMin` / `yearMax` | Model year range. |
| `maxMileage` | Maximum mileage in miles. |
| `sortType` | `LISTING_DATE` (default), `PRICE` or `MILEAGE`. |
| `sortDirection` | `DESC` (default; newest first for listing date) or `ASC`. |
| `maxItems` | How many listings to return (up to 1,200). |
| `maxPages` | Optional cap on result pages (24 listings each). |
| `makeModelTrimPaths` | Advanced: CarGurus entity ids such as `m2` (Ford) or `d337` (Ford F-150), filtered by CarGurus itself. |
| `useCache` / `cacheTtlMinutes` | Repeating the same search within 30 minutes returns the stored results instantly, without contacting the site. Set `useCache: false` for always-live data. |

### Output

```json
{
  "listingId": "463186268",
  "title": "2025 Toyota Camry LE FWD",
  "year": 2025,
  "make": "Toyota",
  "model": "Camry",
  "trim": "LE FWD",
  "price": 22814,
  "priceString": "$22,814",
  "currency": "USD",
  "expectedPrice": 24650,
  "msrp": 22814,
  "dealRating": "GREAT_PRICE",
  "mileage": 44544,
  "mileageUnit": "miles",
  "fuelType": "Hybrid",
  "transmission": "Automatic",
  "bodyType": "Sedan",
  "color": "Ice Cap",
  "interiorColor": "Black",
  "engine": "2.5L I4 Hybrid",
  "doors": "4 doors",
  "driveTrain": "Front-Wheel Drive",
  "certifiedPreOwned": false,
  "isFeatured": true,
  "vin": "4T1DAACK2SU050441",
  "stockNumber": "TU23599NP",
  "daysOnMarket": 0,
  "sellerType": "Dealer",
  "dealerName": "Empire Toyota of Huntington",
  "sellerCity": "Huntington Station, NY",
  "sellerRegion": "NY",
  "distanceMiles": 33,
  "transferFee": null,
  "transferLocation": null,
  "options": ["Adaptive Cruise Control", "Alloy Wheels", "Bluetooth"],
  "mainImage": "https://static.cargurus.com/images/forsale/2026/11/01/11/31/2025_toyota_camry-pic-6296214837371930789-1024x768.jpeg",
  "images": ["https://static.cargurus.com/images/forsale/…-1024x768.jpeg"],
  "listingUrl": "https://www.cargurus.com/Cars/inventorylisting/vdp.action?listingId=463186268",
  "scrapedAt": "2026-11-02T15:06:16.753Z"
}
```

Fields CarGurus doesn't show for a listing are `null`. `dealerName` is filled for dealers only. `isFeatured` marks paid placements, which CarGurus mixes into the results regardless of the sort order.

Two things CarGurus itself does that show up in the data:

- **Dealer transfers.** CarGurus includes cars from far outside your radius that the dealer will ship to a pickup point near you. These have a large `distanceMiles`, a `transferFee` in USD (sometimes `0`) and a `transferLocation` such as `"Wayne, NJ"`. Filter on `transferFee` being `null` if you only want local cars.
- **No price.** Some dealer listings have no asking price ("call for price"). They come through with `price: null` and `dealRating: "NA"`. Setting `minPrice` excludes them.

### Pricing

Pay per event: **$0.0005 per run + $0.0004 per result**.

| Results | Cost |
|---|---|
| 100 | $0.04 |
| 1,000 | $0.40 |
| 10,000 | $4.00 |

The actor respects your run's maximum charge. It stops fetching once that limit is reached, so you are never billed past it.

### Tips

- Use the full model name (`F-150`, `3 Series`) so CarGurus filters it; partial names make the actor read extra pages.
- For a daily feed of new listings, schedule it with `sortType: LISTING_DATE` and `maxItems` a little above your daily volume.
- To cover a whole state or the country, run several searches with different ZIP codes and a large `distance`.

### Use it from your code

Call the scraper through the Apify API, here with the Python client (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("xerneas_ftw/cargurus-us").call(run_input={
    "zip": "75201",
    "distance": 100,
    "make": "Toyota",
    "model": "Tacoma",
    "maxPrice": 30000,
    "maxItems": 200,
})
for car in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(car["title"], car["price"], car["dealRating"])
```

It also works with JavaScript, plain HTTP, Make, Zapier, n8n and Google Sheets through Apify integrations.

### FAQ

**Is there an official CarGurus API?** Not a public one for searching listings. This actor gives you search results as structured JSON.

**Does it cover CarGurus UK or Canada?** Not this actor. For cargurus.co.uk use [CarGurus UK Scraper](https://apify.com/xerneas_ftw/cargurus-uk).

**Do I need a CarGurus account or proxies?** No. Everything is handled for you.

**Does it collect seller contact details?** No. It collects only listing data. Private sellers' names, ZIP codes and phone numbers are never output.

### Legal

This actor collects only publicly available listing data and no personal data. CarGurus' terms of use restrict automated collection. You are responsible for checking that your use of the data is allowed by CarGurus' terms and applicable law, including US state privacy laws such as the CCPA.

# Actor input Schema

## `zip` (type: `string`):

US ZIP code to search around (5 digits).

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

Search radius around the ZIP code.

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

One make, any spelling (e.g. "Ford", "Mercedes-Benz", "Chevy"). Filtered by CarGurus itself. Optional.

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

Model name (e.g. "F-150", "Camry"). An exact name is filtered by CarGurus; partial text is matched on the results. Optional.

## `minPrice` (type: `integer`):

Lowest price in USD. Optional.

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

Highest price in USD. Optional.

## `yearMin` (type: `integer`):

Oldest model year. Optional.

## `yearMax` (type: `integer`):

Newest model year. Optional.

## `maxMileage` (type: `integer`):

Highest mileage in miles. Optional.

## `sortType` (type: `string`):

How CarGurus orders the results.

## `sortDirection` (type: `string`):

Sort direction.

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

Stop after this many listings. Empty = 24, or Max pages × 24 when Max pages is set.

## `maxPages` (type: `integer`):

Optional cap on result pages fetched (24 listings each). Empty = as many as Max results needs.

## `makeModelTrimPaths` (type: `array`):

CarGurus make/model ids such as "m2" (Ford) or "d337" (Ford F-150), filtered by CarGurus itself. Optional; most users should use Make instead.

## `searchCountry` (type: `string`):

cargurus.com (United States) only.

## `useCache` (type: `boolean`):

Serve a repeat search within the TTL from a named key-value store.

## `cacheTtlMinutes` (type: `integer`):

How long a cached search stays fresh.

## `cacheStoreName` (type: `string`):

Named key-value store for the cache (persists across runs).

## Actor input object example

```json
{
  "zip": "10001",
  "distance": 50,
  "sortType": "LISTING_DATE",
  "sortDirection": "DESC",
  "searchCountry": "US",
  "useCache": true,
  "cacheTtlMinutes": 30,
  "cacheStoreName": "cargurus-us-cache"
}
```

# Actor output Schema

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

Scraped listings in the default dataset.

## `stats` (type: `string`):

Requests made, bytes transferred, cache use and duration.

# 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 = {
    "zip": "10001"
};

// Run the Actor and wait for it to finish
const run = await client.actor("xerneas_ftw/cargurus-us").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 = { "zip": "10001" }

# Run the Actor and wait for it to finish
run = client.actor("xerneas_ftw/cargurus-us").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 '{
  "zip": "10001"
}' |
apify call xerneas_ftw/cargurus-us --silent --output-dataset

```

## MCP server setup

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

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/G1tgqGFVnlYX2lmMs/builds/gSde15slRyCd3YaQA/openapi.json
