# Edmunds Vehicle Scraper (`moving_beacon-owner1/edmunds-vehicle-scraper`) Actor

Scrapes vehicle listings from Edmunds, including used, CPO, and new cars. Filters by make, model, year, inventory type, and ZIP code, returning pricing, mileage, deal ratings, vehicle specs, VINs, and dealer contact details.

- **URL**: https://apify.com/moving\_beacon-owner1/edmunds-vehicle-scraper.md
- **Developed by:** [Jamshaid Arif](https://apify.com/moving_beacon-owner1) (community)
- **Categories:**
- **Stats:** 2 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.99 / 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?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Edmunds Vehicle Scraper

Collects vehicle listings (used, certified pre-owned, and new) from edmunds.com. Filter by make, model, model-year range, inventory type, and ZIP code; each record includes pricing, mileage, deal rating, specs, and dealer contact details.

### Input

| Field | Default | Description |
| --- | --- | --- |
| `make` | `""` | Make slug (e.g. `honda`, `toyota`, `land-rover`). Empty = all makes. |
| `model` | `""` | Model slug (e.g. `civic`, `camry`); requires `make`. Empty = all models. |
| `year` | `""` | Single year (`2022`) or range (`2018-2024`). Empty = all years. |
| `zip_code` | `90001` | US ZIP search origin (mainly affects result ordering). |
| `inventory_type` | `used,cpo` | One of `used,cpo`, `used`, `cpo`, `new`. |
| `limit` | `20` | Maximum listings to return (1–500). |
| Proxy configuration | *(off)* | Optional. Enable a US-based proxy for the most reliable results. |

### Output

One dataset record per vehicle listing, for example:

```json
{
  "vin": "4T1G11AK8PU727001",
  "stock_number": "727001",
  "listing_type": "USED",
  "make": "Toyota",
  "model": "Camry",
  "year": 2023,
  "trim": "SE",
  "style": "SE 4dr Sedan (2.5L 4cyl 8A)",
  "body_type": "Sedan",
  "mileage": 79880,
  "display_price": 18950.0,
  "loan_payment": 327.87,
  "deal_type": "Great",
  "list_price_estimate": 22753.0,
  "exterior_color": "Predawn Gray Mica",
  "interior_color": "Black leatherette/cloth",
  "transmission": "Automatic",
  "drive_train": "front wheel drive",
  "engine_type": "gas",
  "fuel_type": "regular unleaded",
  "mpg_combined": 32,
  "in_transit": false,
  "sellers_comments": "...",
  "dealer_name": "Keyes Lexus",
  "dealer_city": "Van Nuys",
  "dealer_state": "CA",
  "dealer_zip": "91401",
  "dealer_phone": "888-499-1833",
  "listing_url": "https://www.edmunds.com/toyota/camry/2023/vin/4T1G11AK8PU727001/",
  "raw": { ... }
}
```

### Notes

- Runs on empty input (returns nationwide used/CPO listings around the default ZIP).
- Enable a US-based proxy for the most reliable results.
- Scrape politely; respect edmunds.com Terms of Service.

# Actor input Schema

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

Vehicle make slug as used by edmunds.com, e.g. honda, toyota, land-rover. Leave empty for all makes.

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

Vehicle model slug, e.g. civic, camry, f-150. Requires 'Make' to be set (Edmunds filters by make|model). Leave empty for all models.

## `year` (type: `string`):

Model year filter: a single year (2022) or a range (2018-2024). Leave empty for all years.

## `zip_code` (type: `string`):

US ZIP code used as the search origin. The search radius is nationwide (6000 miles), so this mainly affects result ordering and distances.

## `inventory_type` (type: `string`):

Which inventory to search: used and/or certified pre-owned listings, or new-car inventory.

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

Maximum number of vehicle listings to return (21 listings per API page).

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

Proxy settings for the run. Enable a US-based proxy for the most reliable results, especially for sites that limit non-US or datacenter traffic. Optional — leave off to run directly.

## Actor input object example

```json
{
  "make": "honda",
  "model": "civic",
  "year": "2018-2024",
  "zip_code": "90001",
  "inventory_type": "used,cpo",
  "limit": 20,
  "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": "honda",
    "model": "civic",
    "year": "2018-2024",
    "zip_code": "90001",
    "inventory_type": "used,cpo",
    "limit": 20,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("moving_beacon-owner1/edmunds-vehicle-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": "honda",
    "model": "civic",
    "year": "2018-2024",
    "zip_code": "90001",
    "inventory_type": "used,cpo",
    "limit": 20,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("moving_beacon-owner1/edmunds-vehicle-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": "honda",
  "model": "civic",
  "year": "2018-2024",
  "zip_code": "90001",
  "inventory_type": "used,cpo",
  "limit": 20,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyCountry": "US"
  }
}' |
apify call moving_beacon-owner1/edmunds-vehicle-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,moving_beacon-owner1/edmunds-vehicle-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/q1a9aD8lpR0ARXipn/builds/TNNvfONnUVT8HcjCr/openapi.json
