# Cars.com Car Listings Scraper ($1/1K) (`carabain-digital/cars-com-listings`) Actor

Scrape new and used car listings from Cars.com, a top US car marketplace: price, mileage, year, VIN, deal rating, dealer or private seller, city and photos. Filter by make, model, year, price, mileage, fuel and ZIP radius. Add-ons: full details, price history.

- **URL**: https://apify.com/carabain-digital/cars-com-listings.md
- **Developed by:** [Carabain Digital](https://apify.com/carabain-digital) (community)
- **Categories:** E-commerce, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.75 / 1,000 car 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

#### What is Cars.com Car Listings Scraper?

**Cars.com Car Listings Scraper** scrapes **new, used and certified pre-owned car listings from [Cars.com](https://www.cars.com)**, one of the biggest US car marketplaces, with millions of cars from franchise dealers, independent dealers and private sellers. Search by **make, model, model year, price, mileage, fuel type, transmission, body type, new or used, dealer or private seller, and US ZIP code with a radius in miles**, or paste a search URL from the site, and get clean, flat car data as JSON, CSV, Excel, XML or HTML: price, mileage, year, VIN, trim, Cars.com deal rating, estimated monthly payment, dealer or private seller, city, state and photos, newest listings first. Prefilled example: the 20 newest used Toyota Camry within 50 miles of Chicago, ready in about half a minute. Costs **$1.00 per 1,000 car listings**. Add-ons: **Full details** (seller's notes, all photos, transmission, engine, horsepower, MPG, features, dealer address and website, $3.00 per 1,000 listings) and **Price history** (price changes over your runs, $1.00 per 1,000 listings).

- 🔎 **Search like on the site**: make, model, year range, price range, max mileage, fuel, transmission, body type, new or used, dealer or private seller, ZIP code and radius, or paste a Cars.com search URL
- 🆕 **Newest first**: fresh listings at the top, ideal for alerts and daily monitoring
- 🏷️ **Deal rating and payment**: Cars.com's Great / Good / Fair Deal badge, price drop and CPO badges, estimated monthly payment
- 🔑 **VIN on every car**: match listings with your own inventory, history reports or other marketplaces
- 📚 **Full details on demand**: switch on **Full details** for the seller's notes, every photo, engine, transmission, MPG, features by category, stock number and dealer address
- 📈 **Track prices over time**: switch on **Price history** to compare every run with the last one
- 🔌 **Connect anywhere**: API, schedules, webhooks, Google Sheets, Make, Zapier, MCP / AI agents

#### Use it from AI agents

This Actor has an agent skill for Claude Code, Codex, Cursor and other agents that read `SKILL.md`: it tells the agent when to use the Actor, every input field and the output. Install it with:

```bash
npx skills add carabain-digital/apify-agent-skills --skill cars-com-listings
```

Or read the skill on GitHub: [carabain-digital/apify-agent-skills/skills/cars-com-listings](https://github.com/carabain-digital/apify-agent-skills/tree/main/skills/cars-com-listings).

#### What data can I extract from Cars.com?

<table>
<tr><td>🆔 Stable listing ID and listing URL</td><td>🚗 Make, model, trim, model year</td></tr>
<tr><td>💵 Price in USD and MSRP (new cars)</td><td>🛣️ Mileage in miles</td></tr>
<tr><td>🔑 VIN</td><td>⛽ Fuel type, body type, drivetrain, exterior colour</td></tr>
<tr><td>🏷️ Deal rating (great, good, fair) and badges</td><td>💳 Estimated monthly payment</td></tr>
<tr><td>🏢 Dealer name and star rating, or private seller</td><td>📍 City, state, ZIP code, distance from your ZIP</td></tr>
<tr><td>✅ Certified pre-owned flag</td><td>📷 Photos and photo count</td></tr>
<tr><td>⚙️ Transmission, engine, horsepower, MPG (details)</td><td>📝 Seller's notes, features by category (details)</td></tr>
<tr><td>📅 Listing date and price changes on the site (details)</td><td>🏬 Dealer address, website and Cars.com page (details)</td></tr>
</table>

The search results carry make, model, trim, year, price, mileage, VIN, fuel, body type, drivetrain, colour, deal rating, badges, monthly payment, seller, city, state, ZIP and up to 6 photos. **Transmission, engine, horsepower, engine size, MPG, interior colour, seller's notes, all photos, features, stock number, listing date, the site's own price changes, dealer address, website and Cars.com dealer page** come from the listing page and are only filled with the **Full details** add-on.

#### How do I scrape Cars.com listings?

1. [Create a free Apify account](https://console.apify.com/sign-up) and open this Actor.
2. Enter a **Make** and **Model** (for example `Toyota` and `RAV4`), a **Location** (a US ZIP code like `60601`) and a **Radius (miles)**, and add any filters you need. Or paste one or more **Search URLs** copied from cars.com.
3. Set **Max listings** (the newest come first).
4. Click **Start**, then download the cars from the **Output** tab as JSON, CSV, Excel, XML or HTML.

#### How much does it cost to scrape Cars.com?

You pay per car listing that ends up in your dataset: **$1.00 per 1,000 listings**, plus a small start fee of $0.025 per GB of run memory (the default 2 GB run costs $0.05 to start), no subscription. The monthly credit of Apify's Free plan ($5) covers around 4,900 listings in one run without add-ons. Paid plans get volume discounts.

- **Add-on: Full details, $3.00 per 1,000 listings** (off by default). Opens every listing page and adds the seller's notes, all photos, transmission, engine, horsepower, engine size, MPG, interior colour, features by category, stock number, listing date, the site's price changes, dealer address, website and Cars.com dealer page. Charged only for listings that were actually enriched.
- **Add-on: Price history, $1.00 per 1,000 listings** (off by default). Adds `first_seen_at`, `previous_price`, `price_change`, `price_change_pct`, `status_changed` and `price_history`. Charged only for listings that already had history from an earlier run, so the first run is free. See the *Price history* section below.
- Failed runs and empty searches cost nothing but the start fee; you can cap spending with **Maximum cost per run** in the run options.

See the **Pricing** tab for the current prices.

#### ⬇️ Input

| Field | Description |
|---|---|
| **Make** (`make`) | As Cars.com writes it: `Toyota`, `Ford`, `Mercedes-Benz`, `Land Rover`. Empty = all makes |
| **Model** (`model`) | `Camry`, `F-150`, `C-Class`, `Range Rover Sport`. Needs a make |
| **Model year from / up to** (`min_year`, `max_year`) | Model years |
| **Minimum / maximum price** (`min_price`, `max_price`) | In US dollars |
| **Maximum mileage** (`max_mileage`) | In miles |
| **Fuel type** (`fuel_type`) | `petrol` (gasoline), `diesel`, `electric`, `hybrid`, `plugin_hybrid`, `ethanol` (flex fuel), `hydrogen`, `cng` |
| **Transmission** (`transmission`) | `automatic` (incl. CVT) or `manual` |
| **Body type** (`body_type`) | `sedan`, `hatchback`, `wagon`, `suv`, `coupe`, `convertible`, `minivan`, `van`, `pickup` |
| **Condition** (`condition`) | `any`, `used` (incl. certified pre-owned) or `new` |
| **Seller** (`seller_type`) | `any`, `dealer` or `private` |
| **Location** (`location`) | A 5-digit US ZIP code. Empty = the whole US |
| **Radius (miles)** (`radius_miles`) | Around the ZIP code, default 50 miles; rounded up to the site's options (10 ... 1,000 miles, more = nationwide) |
| **Radius (km)** (`radius_km`) | The same in km, for tools that pass our shared car field (80 km = 50 miles). Radius (miles) wins when both are set |
| **Search URLs** (`start_urls`) | Search pages copied from cars.com; they replace the filters above |
| **Max listings** (`limit`) | Stop after this many listings (up to 10,000) |
| **Full details** (`includeDetails`) | Paid add-on: seller's notes, all photos, transmission, engine, features, dealer address |
| **Price history** (`trackHistory`) | Paid add-on: compare with your previous runs |
| **History store name** (`historyStoreName`) | Where the history is kept (default `cars-history`) |
| **Proxy** (`proxyConfiguration`) | US residential proxy, preselected; the Actor brings its own at no extra cost |

```json
{
    "make": "Toyota",
    "model": "Camry",
    "condition": "used",
    "location": "60601",
    "radius_miles": 50,
    "limit": 20
}
```

With **Search URLs** paste a results page like `https://www.cars.com/shopping/results/?stock_type=used&makes[]=toyota&models[]=toyota-rav4&zip=60601&maximum_distance=50`; every filter in the URL is kept (also the ones this form does not have, such as drivetrain, colour, features or deal rating), the page number is ignored, and results come newest first unless the URL has its own sort. Only `/shopping/results/` pages work: the landing pages like `/shopping/used-toyota-camry/` have a different layout.

#### ⬆️ Output

Car listings are stored in the default dataset, newest first. View them as a table in the **Output** tab or export JSON, CSV, Excel, XML or HTML. Fields a listing does not have are `null`.

##### A car with the Full details add-on

```json
{
    "id": "carscom:5b5dff65-5558-4f3d-922e-34bdb0329414",
    "source": "carscom",
    "url": "https://www.cars.com/vehicledetail/5b5dff65-5558-4f3d-922e-34bdb0329414/",
    "title": "Used 2026 Toyota Grand Highlander Hybrid Platinum MAX",
    "make": "Toyota",
    "model": "Grand Highlander Hybrid",
    "variant": "Platinum MAX",
    "condition": "used",
    "price": 60975,
    "price_currency": "USD",
    "price_type": "fixed",
    "mileage": 2993,
    "mileage_unit": "mi",
    "year": 2026,
    "first_registration": null,
    "fuel_type": "hybrid",
    "transmission": "automatic",
    "body_type": "suv",
    "power_kw": null,
    "power_hp": null,
    "engine_cc": 2400,
    "color": "Heavy Metal",
    "doors": null,
    "seats": null,
    "vin": "5TDADAB52TS040752",
    "seller_type": "dealer",
    "seller_name": "Stoler Lexus",
    "seller_phone": null,
    "seller_url": "https://www.cars.com/dealers/5397714/",
    "address": "2090 Broadhollow Rd, Farmingdale, NY 11735",
    "city": "Farmingdale",
    "postcode": "11735",
    "region": "NY",
    "country": "US",
    "lat": null,
    "lon": null,
    "listed_at": "2026-11-15",
    "image_urls": [
        "https://platform.cstatic-images.com/xxlarge/in/v2/508ac12f-5c0f-5e77-b985-ece3fff8122a/593e2d3e-aade-4b3b-b866-6f6bbc059e54/XU_JKbkl_O431ROZTi_kxk7KjlA.jpg",
        "https://platform.cstatic-images.com/xxlarge/in/v2/508ac12f-5c0f-5e77-b985-ece3fff8122a/593e2d3e-aade-4b3b-b866-6f6bbc059e54/IaoJ9-MF9eo1Cfi1U2s-ce13Xkg.jpg",
        "..."
    ],
    "description": "2026 Toyota Grand Highlander Hybrid MAX Platinum Heavy Metal AWD 6-Speed Automatic 2.4L 4-Cylinder 1 OWNER, CLEAN CARFAX, LOW MILES!, PANORAMIC SUNROOF, HEATED AND VENTILATED SEATS, APPLE CARPLAY ...",
    "certified_pre_owned": false,
    "deal_rating": null,
    "badges": ["2026 Award Finalist"],
    "msrp": null,
    "monthly_payment_estimate": 1132,
    "drivetrain": "All-wheel Drive",
    "distance_mi": 31.0,
    "seller_rating": 4.7,
    "photo_count": 34,
    "details_fetched": true,
    "interior_color": "Black",
    "engine": "2.4L I-4 port/direct injection, DOHC, variable valve control, in",
    "transmission_text": "Automatic",
    "mpg": "26-27 mpg",
    "stock_number": "SU36611T",
    "equipment": {
        "Convenience": ["Adaptive Cruise Control", "Cooled Seats", "Heated Seats", "Navigation System", "Power Liftgate", "Remote Start"],
        "Entertainment": ["Android Auto®", "Apple CarPlay®", "Bluetooth®", "WiFi Hotspot"],
        "Safety": ["Automatic Emergency Braking", "Backup Camera", "Blind Spot Monitor", "Lane Departure Warning"],
        "Seating": ["Leather Seats", "Memory Seat", "Third Row Seating"]
    },
    "vehicle_reports": null,
    "clean_title": null,
    "no_accidents": null,
    "single_owner": null,
    "personal_use_only": null,
    "site_price_history": [{ "date": "2026-11-15", "change": "Listed", "price": 60975 }],
    "seller_id": "5397714",
    "seller_website": "https://www.stolerlexus.com/",
    "scraped_at": "2026-11-15T17:35:51Z"
}
```

Without the add-on the same car has `transmission`, `engine_cc`, `address`, `listed_at`, `description` and the detail-only fields `null`, the generic colour (`"gray"`) and the first 6 photos.

##### Extra fields with the Price history add-on

```json
{
    "first_seen_at": "2026-11-08T07:00:12+00:00",
    "previous_price": 62500,
    "price_change": -1525,
    "price_change_pct": -2.44,
    "status_changed": false,
    "price_history": [
        { "at": "2026-11-08T07:00:12+00:00", "price": 62500, "status": null },
        { "at": "2026-11-15T07:00:09+00:00", "price": 60975, "status": null }
    ]
}
```

#### What can I do with Cars.com data?

- 💲 **Used car price comparison by ZIP code**: compare asking prices for one make, model and year range across dealers near you, using `price`, `mileage`, `year` and `distance_mi`
- 🔔 **New listing alerts for a specific model**: schedule a small run (newest first) and push fresh Toyota RAV4 or Ford F-150 listings to Slack, e-mail or a Google Sheet
- 📉 **Price drop tracking for dealer inventory**: add **Price history** and flag cars with a negative `price_change`, or watch Cars.com's own `site_price_history` with **Full details**
- 🏢 **Competitor inventory monitoring for car dealers**: list every car a rival dealership has on Cars.com with price, deal rating and days since `listed_at`
- 🔑 **VIN-based market data for appraisals and auto finance**: collect VIN, trim, mileage and price to value trade-ins, check loan-to-value or feed pricing models
- 🧠 **Car market datasets for analysts and AI**: build training data of US prices, deal ratings, fuel types and EV share per region for dashboards or LLM pipelines

#### Tips for best results

- Results are sorted by listing date, newest first, so a small **Max listings** on a schedule is the cheapest way to watch a market.
- Cars.com shows at most **10,000 cars per search**. For more, split the search by make, price range or ZIP code and run them one after another.
- The **Location** must be a US ZIP code; cities are not supported by the site's search. Leave it empty for the whole US.
- `deal_rating` is Cars.com's own rating of the price against similar cars (great, good, fair); cars without a badge have `null`.
- Private sellers show only a first name; dealers show a name and star rating. Phone numbers are not in the page (Cars.com inserts a call-tracking number by script), so `seller_phone` is always `null`; **Full details** adds the dealer's address and website.
- Leave **Full details** off for counting, alerts and price monitoring; switch it on when you need the seller's notes, all photos, transmission or features. It opens one page per car, so keep **Max listings** modest (a few hundred); a run stops adding details after 45 minutes and returns all cars, charging the add-on only for the enriched ones.
- Results from one run are deduplicated by listing ID. While a search runs, new listings push older ones to later pages, so a few cars can show up on two pages: they are kept once.

#### Price history

Switch on **Price history** (`trackHistory`) and the Actor remembers every listing between runs, so you can see price drops and how long a car has been on the market.

- **Where it lives.** History is kept in a *named key-value store in your own Apify account* (default name `cars-history`, change it with **History store name**). Named stores never expire, you own the data, and storage costs a fraction of a cent.
- **First run starts the series.** The first time a car is seen there is nothing to compare with, so `previous_price` is `null` and you are not charged for the add-on on that car. From the second run on, each car gets `first_seen_at`, `previous_price`, `price_change`, `price_change_pct`, `status_changed` and `price_history` (the last 20 price points, one point per change).
- **Run it on a schedule.** History only grows when you run the Actor. Create a [schedule](https://docs.apify.com/platform/schedules) (daily is typical) with the same search and the same store name.
- **One store, several Actors.** Every car Actor we publish uses the same default store name, so a car keeps one history even if you scrape it with a different one of our Actors. Item IDs start with the site (`carscom:...`), so sites never clash. Use a different store name per search if you want separate series.
- **Do not run two runs on the same store at the same time.** Records are updated per car and the last writer wins, so two parallel runs can overwrite each other's newest point.
- **If you delete the store,** the Actor starts a new empty history without an error.
- **Cost:** $1.00 per 1,000 listings that already had history (see pricing above).

#### Frequently asked questions

#### Can I use Cars.com Car Listings Scraper with the Apify API?

Yes. Every run has a dataset you can read through the [Apify API](https://docs.apify.com/api/v2). Python:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("carabain-digital/cars-com-listings").call(run_input={
    "make": "Ford",
    "model": "F-150",
    "condition": "used",
    "max_price": 35000,
    "location": "75201",
    "radius_miles": 100,
    "limit": 200,
})
for car in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(car["year"], car["title"], car["price"], car["mileage"], car["city"])
```

JavaScript:

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

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('carabain-digital/cars-com-listings').call({
    fuel_type: 'electric',
    condition: 'used',
    location: '90001',
    radius_miles: 50,
    limit: 100,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.length, 'cars');
```

#### Can I use Cars.com Car Listings Scraper through an MCP server or with AI agents?

Yes. Add it to an AI agent through the [Apify MCP server](https://mcp.apify.com) (`https://mcp.apify.com?tools=carabain-digital/cars-com-listings`), or let the agent find it with `search-actors` and run it with `call-actor`. A small search (`limit` 20) usually finishes in under a minute, and the items are flat, so agents can read them with `get-dataset-items`. Example prompt: *"Use Cars.com Car Listings Scraper to find the 20 newest used Honda CR-V under $25,000 within 50 miles of ZIP 30303 and tell me which ones Cars.com rates as a great deal."*

#### Can I integrate Cars.com data with other apps?

Yes: Google Sheets, Slack, Make, Zapier, n8n, Airtable or your own webhook, through Apify [integrations](https://apify.com/integrations) and [webhooks](https://docs.apify.com/platform/integrations/webhooks). Schedule a run and send new listings or price drops to your inbox or CRM.

#### Why does it use a browser and a proxy?

Cars.com sits behind Cloudflare's bot protection, which blocks plain HTTP clients and datacenter IP addresses. The Actor opens the site in a real browser through a US residential proxy (its own, at no extra cost to you), passes the check and then reads the pages. That makes the first page take 10-90 seconds; after that a page of 24 cars takes 1-3 seconds, and a listing page for **Full details** 1 second, or up to 30 seconds when Cloudflare checks the browser again. If a proxy address does not get through, the Actor retries on a fresh one; if all fail, the run fails with a clear message instead of returning an empty dataset.

#### Why is a field empty?

Without **Full details**, `transmission`, `engine_cc`, `power_hp`, `address`, `listed_at`, `description` and the detail-only fields are `null`. `power_hp` is only filled when the seller writes the horsepower in the engine description, `msrp` only for new cars, `deal_rating` only for cars Cars.com rated. `first_registration`, `doors`, `seats`, `lat` and `lon` are not published by Cars.com. The title, accident and owner flags are filled only for listings where the dealer shares a verified history.

#### Does it scrape Cars.com reviews?

No, this Actor scrapes car listings. For dealer and car reviews use our [Cars.com Reviews Scraper](https://apify.com/carabain-digital/cars-com-reviews).

#### Is it legal to scrape Cars.com?

The Actor only collects publicly visible listings, the same data anyone can see on cars.com. Listings can contain personal data (for example a private seller's first name), and rules such as the CCPA or GDPR may apply to how you store and use it. Check your use case with a lawyer. More background: [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

#### Cars.com Car Listings Scraper not working? Feedback

Open an issue on the **Issues** tab of this Actor with the run link and we will look at it. Feature ideas are welcome there too.

#### Other scrapers by us

| Actor | What it does |
|---|---|
| [CarGurus Car Listings Scraper](https://apify.com/carabain-digital/cargurus-listings) | Scrape US car listings from CarGurus with its market value and deal rating. |
| [Autotrader Car Listings Scraper](https://apify.com/carabain-digital/autotrader-listings) | Scrape US car listings from Autotrader by ZIP code and radius. |
| [Cars.com Reviews Scraper](https://apify.com/carabain-digital/cars-com-reviews) | Scrape Cars.com dealer reviews: rating, text, date, reviewer, dealer response. |
| [Auto Reviews Scraper](https://apify.com/carabain-digital/auto-reviews) | Car and dealer reviews from several automotive sites in one run. |
| [AutoScout24 Car Listings Scraper](https://apify.com/carabain-digital/autoscout24-listings) | Scrape European car listings from AutoScout24 in eight countries. |

⭐ **Does it work well for you?** A review on the Store page helps others find this Actor and helps us keep it maintained.

# Actor input Schema

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

Car make as Cars.com writes it. Example: `Toyota`, `Ford`, `Mercedes-Benz`, `Land Rover`. Leave empty for all makes. An unknown make stops the run with an error instead of returning unrelated cars.

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

Model of that make as Cars.com writes it. Example: `Camry`, `F-150`, `C-Class`, `Range Rover Sport`. Needs a make. If a model is not found, run the search on cars.com and paste its URL into Search URLs.

## `min_year` (type: `integer`):

Earliest model year. Example: `2018`.

## `max_year` (type: `integer`):

Latest model year. Example: `2022`.

## `min_price` (type: `integer`):

Lowest asking price in US dollars. Example: `10000`.

## `max_price` (type: `integer`):

Highest asking price in US dollars. Example: `30000`.

## `max_mileage` (type: `integer`):

Highest odometer reading in miles. Example: `60000`.

## `fuel_type` (type: `string`):

Fuel type. Example: `electric`.

## `transmission` (type: `string`):

Gearbox. Example: `automatic`.

## `body_type` (type: `string`):

Body type. Example: `pickup`.

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

New or used cars. Example: `used`.

## `seller_type` (type: `string`):

Dealer or private seller. Example: `private`.

## `location` (type: `string`):

Search around a 5-digit US ZIP code. Example: `60601` (Chicago), `90001` (Los Angeles). Leave empty to search the whole US.

## `radius_miles` (type: `integer`):

Distance around the ZIP code in miles, the unit Cars.com uses. Example: `50`. Rounded up to the site's options (10, 20, 30, 40, 50, 75, 100, 150, 200, 250, 500, 750, 1000; more = nationwide). Wins over Radius (km). Default 50 miles.

## `radius_km` (type: `integer`):

The same distance in km, for tools that pass the shared car-scraper field: converted to miles (80 km = 50 mi). Example: `80`. Ignored when Radius (miles) is set.

## `start_urls` (type: `array`):

Search result pages copied from cars.com; they replace the filters above. Example: `https://www.cars.com/shopping/results/?stock_type=used&makes[]=toyota&models[]=toyota-rav4&zip=60601&maximum_distance=50`. All filters and the sort order in the URL are kept (newest first when the URL has none); the page number is ignored. Only /shopping/results/ pages work.

## `limit` (type: `integer`):

Stop after this many listings (newest first). Example: `500`. Cars.com shows at most 10,000 cars per search: split bigger searches by make, price or ZIP.

## `includeDetails` (type: `boolean`):

Also open each listing: seller's notes, all photos, transmission, engine, horsepower, MPG, interior colour, all features by category, VIN and stock number, listing date and the site's price changes, dealer address, website and cars.com page, title/accident/owner flags. Adds $3.00 per 1,000 listings. About 1 s extra per listing, up to 30 s when Cloudflare re-checks the pages: use it with a modest Max listings (a run stops adding details after 45 minutes).

## `trackHistory` (type: `boolean`):

Keep the price of every listing in a named store in your own Apify account and add first_seen_at, previous_price, price_change, price_change_pct and price_history. Run it on a schedule: the first run only starts the series. Adds $1.00 per 1,000 listings that already had history. Do not run two runs on the same store at once.

## `historyStoreName` (type: `string`):

Name of the key-value store that holds the history (letters a-z, digits, dashes). All our car Actors use `cars-history` by default, so history is shared between them. Example: `golf-watch`.

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

Cars.com is behind Cloudflare and needs a US residential proxy. Keep the default (residential, United States): the Actor then uses its own built-in residential proxy at no extra cost to you. Example: leave as is.

## Actor input object example

```json
{
  "make": "Toyota",
  "model": "Camry",
  "condition": "used",
  "seller_type": "any",
  "location": "60601",
  "radius_miles": 50,
  "limit": 20,
  "includeDetails": false,
  "trackHistory": false,
  "historyStoreName": "cars-history",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

## `listings` (type: `string`):

All scraped car listings, one item per car.

# 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",
    "condition": "used",
    "location": "60601",
    "radius_miles": 50,
    "limit": 20,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("carabain-digital/cars-com-listings").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",
    "condition": "used",
    "location": "60601",
    "radius_miles": 50,
    "limit": 20,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("carabain-digital/cars-com-listings").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",
  "condition": "used",
  "location": "60601",
  "radius_miles": 50,
  "limit": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call carabain-digital/cars-com-listings --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,carabain-digital/cars-com-listings"
        }
    }
}
```

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/O1L0XijDdcitQ2KUv/builds/cFSiNRzntpMqHk0Ac/openapi.json
