# Cars.com Scraper — VINs, Dealer Prices & Mileage (`rbbscrap/cars-com-scraper`) Actor

Extract Cars.com dealership inventory, VINs, makes/models, mileage, listed prices, price-drop flags, and dealer locations. Zero-browser 256MB RAM.

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

## Pricing

$0.40 / 1,000 scraped cars.com records

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

<p align="center">
  <img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/ZIroaCf3fZ4AW1LBC-actor-SQj3Yt9XdHeBLGtef-PWwCPfMLFq-car.png" alt="Cars.com official logo" width="72" height="72" />
</p>

## Cars.com Scraper — VINs, Dealer Prices & Mileage

> **Pay-Per-Event Pricing ($0.40 / 1,000 items — 10x cheaper than #1, 1st Run 100% Free!)** · Built for **Zero-Browser 256MB RAM** execution on Apify Cloud · Export to **JSON, CSV, Excel, Make, n8n, Zapier & MCP**.

**Related US Scrapers**: [carvana-scraper](https://apify.com/rbbscrap/carvana-scraper) · [copart-scraper](https://apify.com/rbbscrap/copart-scraper) · [bringatrailer-scraper](https://apify.com/rbbscrap/bringatrailer-scraper) · [autotrader-scraper](https://apify.com/rbbscrap/autotrader-scraper)

***

### What does Cars.com Scraper do?

Extract Cars.com dealership inventory, VINs, makes/models, mileage, listed prices, price-drop flags, and dealer locations. Zero-browser 256MB RAM. Launch an instant **1-Click Run** using the prefilled US defaults or customize search terms, direct URLs, ZIP/location filters, and limits.

#### Beyond the Official API

Cars.com either restricts public API access or imposes strict rate limits on retail pricing, local inventory, real-estate comps, financial metrics, or lead directories. This lightweight 256MB Node.js extractor delivers structured JSON records without launching headless browsers.

***

### What data can you scrape?

| Category | Extracted Fields |
| :--- | :--- |
| **Core Identifiers** | `vin`, `title` |
| **Pricing & Metrics** | `makeModel`, `year`, `price`, `mileage` |
| **Location & Status** | `dealerName`, `cityState`, `listingUrl` |
| **Timestamps** | `scrapedAt` ISO-8601 UTC timestamp |

***

### Why scrape Cars.com? (Typical Use Cases)

- **US Market Price & Arbitrage Monitoring**: Track live prices, markdowns, bids, and availability on Cars.com.
- **B2B Lead Generation & Sales Intelligence**: Build targeted prospect lists with locations, ratings, and direct URLs.
- **Data Pipelines & AI Agents**: Feed structured Cars.com datasets directly into Google Sheets, Make, n8n, or Apify MCP tools.
- **Automated Benchmarking**: Compare Cars.com performance against rival US platforms at 1/10th the cost.

***

### How to scrape Cars.com data (4 Simple Steps)

1. Enter a **Search Keyword** (or paste direct `directUrls`) for Cars.com.
2. Optionally configure your US ZIP code, city/state, category, and `maxItems`.
3. Click **Start** — your **first run is 100% free** (`$0.00` billed automatically).
4. Export structured JSON, CSV, or Excel from the Dataset tab or connect via Apify API.

***

### Input Configuration & Examples

| Parameter | Type | Description | Default |
| :--- | :--- | :--- | :--- |
| `searchQuery` | `string` | Search keyword, ticker, route, or product term for Cars.com. | `"ford f-150"` |
| `directUrls` | `array` | Optional direct cars.com URLs to scrape or enrich. | `[]` |
| `zipCode` | `string` | US ZIP code for dealership search radius. | `"48201"` |
| `category` | `string` | Filter Cars.com extraction scope by sub-category. | `"all"` |
| `maxItems` | `integer` | Maximum number of records to extract into the dataset (1–500). | `25` |
| `sortBy` | `string` | Sort extracted results before saving to dataset. | `"relevance"` |
| `minPriceUsd` | `number` | Optional lower bound threshold. | `0` |
| `maxPriceUsd` | `number` | Optional upper price cap. | `0` |
| `includeExtendedMetadata` | `boolean` | Include full snippet descriptions, source channel tags, and timestamps. | `true` |
| `proxyConfiguration` | `object` | Optional Apify Proxy configuration for high-volume or localized runs. | `{"useApifyProxy":false}` |

#### Example Inputs

##### Default 1-Click Run

```json
{
  "searchQuery": "ford f-150",
  "zipCode": "48201",
  "maxItems": 25
}
```

##### Deep Filtered Extraction

```json
{
  "searchQuery": "ford f-150",
  "category": "all",
  "maxItems": 100,
  "sortBy": "price_low"
}
```

***

### Output Example (Table View, JSON & Output Fields Reference)

```json
{
  "vin": "Cars.com Verified Value",
  "title": "Cars.com Verified Value",
  "makeModel": "Cars.com Verified Value",
  "year": 2026,
  "price": 199.99,
  "mileage": "Cars.com Verified Value",
  "dealerName": "Cars.com Verified Value",
  "cityState": "Cars.com Verified Value",
  "listingUrl": "https://www.cars.com/",
  "scrapedAt": "2026-11-13T15:00:00.000Z"
}
```

#### Output Fields Reference

| Field | Description |
| :--- | :--- |
| `vin` | Verified Cars.com field extracted into dataset |
| `title` | Verified Cars.com field extracted into dataset |
| `makeModel` | Verified Cars.com field extracted into dataset |
| `year` | Verified Cars.com field extracted into dataset |
| `price` | Verified Cars.com field extracted into dataset |
| `mileage` | Verified Cars.com field extracted into dataset |
| `dealerName` | Verified Cars.com field extracted into dataset |
| `cityState` | Verified Cars.com field extracted into dataset |
| `listingUrl` | Verified Cars.com field extracted into dataset |
| `scrapedAt` | ISO-8601 extraction timestamp |

***

### Related & Dedicated Scrapers

| Scraper | Niche | Combine Data With |
| :--- | :--- | :--- |
| **[carvana-scraper](https://apify.com/rbbscrap/carvana-scraper)** | US Market Data | Cross-market pricing & lead enrichment |
| **[copart-scraper](https://apify.com/rbbscrap/copart-scraper)** | US Market Data | Cross-market pricing & lead enrichment |
| **[bringatrailer-scraper](https://apify.com/rbbscrap/bringatrailer-scraper)** | US Market Data | Cross-market pricing & lead enrichment |
| **[autotrader-scraper](https://apify.com/rbbscrap/autotrader-scraper)** | US Market Data | Cross-market pricing & lead enrichment |

***

### Error Items & Resilience Reference

- **Fast Timeout Safety**: Global 75s safety exit prevents runaway compute charges.
- **Zero-Null Output**: Clean normalized schemas prevent downstream Make/n8n/Zapier failures.
- **Zero-Browser Footprint**: Runs natively at `256 MB` RAM with `got-scraping` + `cheerio`.

***

### Frequently Asked Questions (FAQ)

#### 1. How much does it cost, and is the first run really free?

This scraper uses **Pay-Per-Event** pricing at **$0.0004 per record** (**$0.40 / 1,000 items**), roughly **10x cheaper** than leading competitors. Your **very first run is 100% free** (`$0.00` event charges waived via our developer trial registry).

#### 2. Can I connect this scraper to Make, n8n, or Zapier?

Yes. Every dataset item is flat, strongly typed JSON ready for **Make (Integromat)**, **n8n**, **Zapier**, Google Sheets, Airtable, and webhooks.

#### 3. How do I call this actor via Python or Node.js API?

Use `apify-client` in Python or Node.js with actor slug `rbbscrap/cars-com-scraper` and iterate `client.dataset(run["defaultDatasetId"]).iterate_items()`.

#### 4. Does it work with Claude Desktop, Cursor, or AI Agents (MCP)?

Yes. Connect the **Apify MCP Server** and invoke `rbbscrap/cars-com-scraper` directly from Claude, Cursor, or Windsurf.

#### 5. Do I need residential proxies or cookies?

No cookies are required. Default runs execute without paid proxies; optional `proxyConfiguration` is supported for direct URL enrichment.

#### 6. Is scraping public data legal (GDPR / US compliance)?

This actor only reads publicly accessible web pages and public APIs without bypassing login gates or paywalls, and respects **EU Regulation 2016/679 (GDPR)**. Ensure your usage complies with applicable local laws.

#### 7. Where can I report an issue or request a new field?

Open an issue directly on our Apify Actor page: [Report an Issue / Request Feature](https://apify.com/rbbscrap/cars-com-scraper/issues/open).

# Actor input Schema

## `searchQuery` (type: `string`):

Search keyword, ticker, route, or product term for Cars.com.

## `directUrls` (type: `array`):

Optional direct cars.com URLs to scrape or enrich.

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

US ZIP code for dealership search radius.

## `category` (type: `string`):

Filter Cars.com extraction scope by sub-category.

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

Maximum number of records to extract into the dataset (1–500).

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

Sort extracted results before saving to dataset.

## `minPriceUsd` (type: `number`):

Optional lower bound threshold.

## `maxPriceUsd` (type: `number`):

Optional upper price cap.

## `includeExtendedMetadata` (type: `boolean`):

Include full snippet descriptions, source channel tags, and timestamps.

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

Optional Apify Proxy configuration for high-volume or localized runs.

## Actor input object example

```json
{
  "searchQuery": "ford f-150",
  "directUrls": [],
  "zipCode": "48201",
  "category": "all",
  "maxItems": 25,
  "sortBy": "relevance",
  "minPriceUsd": 0,
  "maxPriceUsd": 0,
  "includeExtendedMetadata": true,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# 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 = {
    "searchQuery": "ford f-150",
    "directUrls": [],
    "zipCode": "48201",
    "category": "all",
    "maxItems": 25,
    "sortBy": "relevance",
    "minPriceUsd": 0,
    "maxPriceUsd": 0,
    "includeExtendedMetadata": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("rbbscrap/cars-com-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 = {
    "searchQuery": "ford f-150",
    "directUrls": [],
    "zipCode": "48201",
    "category": "all",
    "maxItems": 25,
    "sortBy": "relevance",
    "minPriceUsd": 0,
    "maxPriceUsd": 0,
    "includeExtendedMetadata": True,
}

# Run the Actor and wait for it to finish
run = client.actor("rbbscrap/cars-com-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 '{
  "searchQuery": "ford f-150",
  "directUrls": [],
  "zipCode": "48201",
  "category": "all",
  "maxItems": 25,
  "sortBy": "relevance",
  "minPriceUsd": 0,
  "maxPriceUsd": 0,
  "includeExtendedMetadata": true
}' |
apify call rbbscrap/cars-com-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rbbscrap/cars-com-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/ojAO4qGyDBUysCHBr/builds/hr8Xrd2AfH2Tm2REH/openapi.json
