# US Car Listings Scraper — CarGurus, Autotrader, CarMax & More (`he_work/us-car-listings-scraper`) Actor

Scrape used and new car listings from CarGurus, Autotrader, Carvana, CarMax, TrueCar and Tesla in one run: VIN, price, mileage, trim, colours, deal rating, market value, days on market, dealer and distance from your ZIP. Price-drop alerts.

- **URL**: https://apify.com/he_work/us-car-listings-scraper.md
- **Developed by:** [HE Work](https://apify.com/he_work) (community)
- **Categories:** E-commerce, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.25 / 1,000 cargurus listings

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## US Car Listings Scraper — CarGurus, Autotrader, CarMax & More

> ✅ **Checked weekly.** An automated test runs this Actor on the Apify cloud every week and checks that it still returns real data, so if the website changes and something breaks, it's caught within a week and fixed.

Scrape used and new car listings from CarGurus, Autotrader, Carvana, CarMax, TrueCar and Tesla in one run: VIN, price, mileage, trim, colours, deal rating, market value, days on market, dealer and distance from your ZIP. Price-drop alerts.

### What you get

- **Every listing** from CarGurus, Autotrader, Carvana, CarMax, TrueCar, Tesla: VIN, price, mileage, year, make, model, trim, colours, body, drivetrain, transmission, engine and fuel, MPG, photo and link.
- **Deal signals where the site has them**: CarGurus deal rating, instant market value and days on market; TrueCar price rating; price drops.
- **Dealer details**: name, phone, city, state, ZIP and distance from your ZIP code (where the site shows them).
- **Price-drop alerts**: give the run a watch-list name and schedule it daily. You get new listings and price changes in Slack, Telegram, Discord, Google Sheets or email (see *Alerts & workflows*).

### Use cases

- **Car buyers and brokers**: every matching car near you, from several sites, in one sheet.
- **Dealers**: price your inventory against the local market, and see what competitors are listing.
- **Analysts**: track prices, mileage and days on market by model over time.

### Alerts & workflows

Ready-made workflow: **Car listing price-drop alerts**. No Make or Zapier needed — set it in the input and schedule the Actor (e.g. daily).

1. Give the run a **Watch list name** (e.g. `my-watch`). Every run with that name remembers new listings for your search and price changes on cars you've already seen; each item gets `change_status` = `new`, `changed` or `unchanged` (changed items also carry `previous_value`).
2. Turn on **Only new / changed items** to skip — and not pay for — items you've already seen.
3. Add one or more destinations; after each run you get a digest of what's new or changed:
   - **Slack**: an incoming-webhook URL.
   - **Telegram**: bot token (from @BotFather) + chat ID.
   - **Discord**: a channel webhook URL.
   - **Email**: an address (sent with Apify's send-mail Actor).
   - **Google Sheets**: open your sheet → Extensions → Apps Script, paste the script below, Deploy → New deployment → Web app (execute as you, access: anyone), and paste the web app URL into the input. Each new / changed item is appended as a row.

```javascript
function doPost(e) {
  var rows = JSON.parse(e.postData.contents).rows || [];
  var sheet = SpreadsheetApp.getActiveSpreadsheet().getActiveSheet();
  if (!rows.length) return ContentService.createTextOutput("0");
  var head = sheet.getLastRow() ? sheet.getRange(1, 1, 1, sheet.getLastColumn()).getValues()[0] : [];
  if (!head.length) { head = Object.keys(rows[0]); sheet.appendRow(head); }
  rows.forEach(function (r) { sheet.appendRow(head.map(function (h) { return r[h] === undefined ? "" : r[h]; })); });
  return ContentService.createTextOutput(String(rows.length));
}
```

Secrets (webhook URLs, bot tokens) are stored encrypted by Apify.

### Example input

```json
{
  "make": "Toyota",
  "model": "Camry",
  "zipCode": "90001",
  "radiusMiles": 50,
  "maxResultsPerSite": 20
}
```

### Example output

A CarGurus and a CarMax listing from a real run:

```json
{
  "source": "cargurus",
  "listing_id": "458303233",
  "vin": "4T1DAACK0TU660775",
  "url": "https://www.cargurus.com/details/458303233",
  "title": "2026 Toyota Camry LE FWD",
  "year": 2026,
  "make": "Toyota",
  "model": "Camry",
  "trim": "LE FWD",
  "condition": "used",
  "certified": null,
  "price": 27595,
  "original_price": 29990,
  "msrp": 32470,
  "market_value": 29486,
  "deal_rating": "GREAT_PRICE",
  "price_drop": null,
  "days_on_market": 60,
  "mileage": 4411,
  "exterior_color": "Ice Cap",
  "interior_color": "Black",
  "body_style": "Sedan",
  "drivetrain": "Front-Wheel Drive",
  "transmission": "Continuously Variable Transmission",
  "engine": "2.5L I4 Hybrid",
  "fuel": "Hybrid",
  "mpg_city": 52,
  "mpg_highway": 49,
  "dealer": "Northridge Toyota",
  "dealer_phone": "(747) 356-8703",
  "dealer_city": "Northridge",
  "dealer_state": "CA",
  "dealer_zip": "91324",
  "distance_miles": 25.4,
  "stock_number": "TU660775B",
  "features": [
    "Adaptive Cruise Control",
    "Alloy Wheels",
    "Bluetooth",
    "Backup Camera",
    "Blind Spot Monitoring",
    "Heated Seats",
    "Android Auto",
    "CarPlay"
  ],
  "image": "https://static.cargurus.com/images/forsale/2026/11/04/16/13/2026_toyota_camry-pic-80669408361460335-1024x768.jpeg",
  "search": "Toyota Camry",
  "scraped_at": "2026-11-06T14:49:49+00:00"
}
```

```json
{
  "source": "carmax",
  "listing_id": "70302250",
  "vin": "4T1F11AK8RU899737",
  "url": "https://www.carmax.com/car/70302250",
  "title": "2024 Toyota Camry XLE",
  "year": 2024,
  "make": "Toyota",
  "model": "Camry",
  "trim": "XLE",
  "condition": "used",
  "certified": null,
  "price": 29998,
  "original_price": 30998,
  "msrp": null,
  "market_value": null,
  "deal_rating": null,
  "price_drop": true,
  "days_on_market": null,
  "mileage": 20675,
  "exterior_color": "Black",
  "interior_color": "Black",
  "body_style": "4D Sedan",
  "drivetrain": "Front Wheel Drive",
  "transmission": "Automatic",
  "engine": "2.5L Gas",
  "fuel": null,
  "mpg_city": 27,
  "mpg_highway": 38,
  "dealer": "CarMax Oxnard",
  "dealer_phone": null,
  "dealer_city": "Oxnard",
  "dealer_state": "CA",
  "dealer_zip": null,
  "distance_miles": 48.3,
  "stock_number": "70302250",
  "features": [
    "Leather Seats",
    "Rear View Camera",
    "Front Seat Heaters",
    "Auxiliary Audio Input",
    "Alloy Wheels",
    "Overhead Airbags"
  ],
  "image": "https://img2.carmax.com/assets/70302250/hero.jpg?width=800",
  "search": "Toyota Camry",
  "scraped_at": "2026-11-06T14:50:34+00:00",
  "transfer_fee": 0
}
```

### How it compares

| | This Actor | Typical alternative |
|---|---|---|
| Fields per result | 47 (see *Example output*) | Varies by actor |
| Freshness | Read live from the source when the run starts | Varies |
| Reliability | Tested daily by an automated run on the Apify cloud (see the top of this page) | — |
| Price | $5.00 per 1,000 CarGurus listings | $0.50–$9.00 per 1,000 results (comparable Actors on the Apify Store, 6 Nov 2026) |

### Pricing

Pay per result, no monthly fee:

- **$5.00 per 1,000 CarGurus listings**: One CarGurus car listing delivered to your dataset.
- **$1.25 per 1,000 Autotrader listings**: One Autotrader car listing delivered to your dataset.
- **$1.00 per 1,000 Carvana listings**: One Carvana car listing delivered to your dataset.
- **$1.00 per 1,000 CarMax listings**: One CarMax car listing delivered to your dataset.
- **$1.00 per 1,000 TrueCar listings**: One TrueCar car listing delivered to your dataset.
- **$1.00 per 1,000 Tesla listings**: One Tesla car listing delivered to your dataset.
- $0.002 per run (start).

Bronze plans pay 5% less, Silver 10% less, Gold and above 15% less.

**Examples:** 1,000 CarGurus listings = $5.00; 10,000 = $50.00.

### FAQ

**Which listings does it see?** The same results the site shows a visitor for your search near the ZIP code, newest data on every run.

**Do I need an account?** No.

Not affiliated with CarGurus, Autotrader, Carvana, CarMax, TrueCar, Tesla.

# Actor input Schema

## `sites` (type: `array`):

Which sites to search. Tesla is only searched for Tesla models.

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

e.g. Toyota, Ford, Tesla.

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

e.g. Camry, F-150, Model Y. Leave empty for every model of the make.

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

New / used where the site sells both.

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

Search near this US ZIP code.

## `radiusMiles` (type: `integer`):

Distance from the ZIP code.

## `yearFrom` (type: `integer`):

Oldest model year.

## `yearTo` (type: `integer`):

Newest model year.

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

Skip listings above this price.

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

Skip listings above this mileage.

## `startUrls` (type: `array`):

Optional: paste search pages from CarGurus, Autotrader, Carvana, CarMax, TrueCar with the filters you set there.

## `maxResultsPerSite` (type: `integer`):

Stop each site's search after this many listings.

## `maxResults` (type: `integer`):

Hard cap for the run (0 = no cap).

## `watchListName` (type: `string`):

Any name, e.g. 'qld-tenders'. Runs with the same name compare against each other: items get change_status new / changed / unchanged.

## `onlyNewItems` (type: `boolean`):

With a watch list name: skip (and don't charge for) items that were already seen and haven't changed.

## `slackWebhookUrl` (type: `string`):

Slack incoming-webhook URL. Gets a digest of new / changed items after each run.

## `telegramBotToken` (type: `string`):

From @BotFather. Use together with the chat ID.

## `telegramChatId` (type: `string`):

Chat, group or channel ID that receives the digest (e.g. -1001234567890).

## `discordWebhookUrl` (type: `string`):

Discord channel webhook URL. Gets the digest.

## `googleSheetsWebAppUrl` (type: `string`):

Deploy the 10-line Apps Script from the README in your sheet and paste its web app URL: every new / changed item is appended as a row.

## `notifyEmail` (type: `string`):

Email address for the digest (sent with Apify's send-mail Actor).

## Actor input object example

```json
{
  "sites": [
    "cargurus",
    "autotrader",
    "carmax"
  ],
  "make": "Toyota",
  "model": "Camry",
  "condition": "used",
  "zipCode": "90001",
  "radiusMiles": 50,
  "yearFrom": 2019,
  "yearTo": 2024,
  "maxPrice": 30000,
  "maxMileage": 60000,
  "startUrls": [
    {
      "url": "https://www.cargurus.com/Cars/l-Used-Toyota-Camry-d292?zip=90001&distance=50&sourceContext=untrackedExternal_false_0"
    }
  ],
  "maxResultsPerSite": 500,
  "maxResults": 2000,
  "watchListName": "my-watch-list",
  "onlyNewItems": false,
  "notifyEmail": "you@example.com"
}
```

# Actor output Schema

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

One row per listing.

## `report` (type: `string`):

Listings per site, totals on the site, alerts and requests.

# 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"
};

// Run the Actor and wait for it to finish
const run = await client.actor("he_work/us-car-listings-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",
}

# Run the Actor and wait for it to finish
run = client.actor("he_work/us-car-listings-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"
}' |
apify call he_work/us-car-listings-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,he_work/us-car-listings-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/arfm2f5DrW9JjAzAh/builds/pLPPbKsehxGVcWkbn/openapi.json
