# Evercars Scraper (`dadhalfdev/evercars-scraper`) Actor

Scrape EV inventory from evercars.com. Use structured filters (make, model, price, mileage, year, body, drivetrain) or paste a search URL — the URL wins when set. Returns price, VIN, specs, location, and photos.

- **URL**: https://apify.com/dadhalfdev/evercars-scraper.md
- **Developed by:** [Marco Rodrigues](https://apify.com/dadhalfdev) (community)
- **Categories:** Other
- **Stats:** 2 total users, 1 monthly users, 92.3% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

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

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

## ⚡ Evercars Scraper

Want US electric vehicle inventory from [Evercars.com](https://www.evercars.com/) without clicking through pages? This scraper makes it easy.

Use **structured filters** (make, model, price, mileage, year, body, drivetrain) — structured filters work better for AI agents — **or** paste an **`input_url`** from your browser once you've already filtered on Evercars. When `input_url` is set it overrides the filters below. Either way, you get clean CSV/JSON with prices, VINs, mileage, locations, and photos.

### 💡 Perfect for...

- **EV Buyers & Dealers:** Track Tesla, Rivian, Hyundai, Ford, and more across Evercars showrooms.
- **Marketplaces:** Monitor competitor EV inventory and pricing.
- **Market Research:** Analyze USD pricing, mileage, and year mix for used EVs.
- **Data Analysts:** Export structured Evercars data for dashboards and valuation models.
- **🤖 AI Agents:** Power bots and workflows with live Evercars search results.
- **📚 RAG Systems:** Feed titles, specs, and prices into retrieval pipelines.
- **🔗 AI Workflows:** Plug into LangChain, AutoGPT, CrewAI, and similar stacks.

### ✨ Why you'll love this scraper

- 🔗 **Input URL or Filters:** Paste an Evercars `/cars?f=...` URL (`input_url`) if you already filtered in the browser, or use structured filters (better for AI agents). `input_url` always wins when set.
- 🎯 **Website-Matched Filters:** Make (27 EV brands), model, price, mileage, year, EPA range, body, drivetrain, new arrivals, and sort — same values as on Evercars.
- 🔎 **Smart search:** Optional natural-language `query` (e.g. `Tesla Model Y`) when you skip other filters.
- 🇺🇸 **Built for Evercars:** Uses the live inventory search API — fast, structured, and up to date.
- ✅ **Empty searches finish cleanly** with 0 items instead of failing.

### 📦 What's inside the data?

For every vehicle listing, you will get:

- **Core Details:** `id`, `url`, `vin`, `title`, `year`, `make`, `model`, `trim`
- **Pricing:** `price`, `price_currency` (USD), `monthly_payment`
- **Specs:** `mileage`, `mileage_unit` (mi), `top_features`
- **Location:** `city`, `state`, `zip_code`, `address`, `location`, `country`
- **Status / Media:** `purchase_status`, `is_listing_new`, `is_pre_order`, `image_url`, `interior_image_url`

### 🛠️ Sort options

Use `sort_by` with these values:

- **(empty)** – Site default
- **`price.asc` / `price.desc`** – Price low→high / high→low
- **`mileage.asc` / `mileage.desc`** – Mileage low→high / high→low
- **`year.desc` / `year.asc`** – Year newest / oldest
- **`createdAt.desc`** – Newest listed

### 🚀 Quick start

**Option A — Input URL**

1. Open [Evercars inventory](https://www.evercars.com/cars), apply filters in the browser, copy the results URL — e.g. `https://www.evercars.com/cars?f=...`.
2. Paste it into `input_url`.
3. Set `max_listings` and click **Start**.

**Option B — Structured filters (better for AI agents)**

1. Leave `input_url` empty.
2. Set optional make/model, price / mileage / year / body / drivetrain / sort.
3. Or set a smart `query` alone (e.g. `Rivian R1T`).
4. Set `max_listings` (up to 2000) and click **Start**.

Export CSV, Excel, or JSON when done.

### 📥 Inputs

| Field | Description |
|--------|-------------|
| `input_url` | Optional Evercars `/cars` URL (overrides filters) |
| `query` | Smart search text when filters are empty |
| `make` / `model` | Brand and model as on Evercars |
| `price_min` / `price_max` | USD price filters |
| `mileage_min` / `mileage_max` | Odometer filters (miles) |
| `year_min` / `year_max` | Model year range |
| `epa_range_min` | Minimum EPA range (miles) |
| `body` | SUV, Sedan, Hatchback, or Truck |
| `drivetrain` | AWD, RWD, or FWD |
| `new_arrivals_only` | Only new-arrival listings |
| `sort_by` | Result order |
| `max_listings` | Cap results (1–2000, default `50`) |

**Example (filters):**

```json
{
  "make": "Tesla",
  "model": "Model Y",
  "price_max": 40000,
  "sort_by": "price.asc",
  "max_listings": 50
}
```

**Example (smart query):**

```json
{
  "query": "Rivian R1T",
  "max_listings": 25
}
```

**Example (URL override):**

```json
{
  "input_url": "https://www.evercars.com/cars?f=%7B%22f%22%3A%7B%22mk%22%3A%5B%22Tesla%22%5D%7D%7D",
  "max_listings": 50
}
```

### 📤 Output example

```json
{
  "id": "5251",
  "url": "https://www.evercars.com/cars/5251",
  "vin": "7SAYGDEFXNF486931",
  "title": "2022 Tesla Model Y Performance",
  "year": 2022,
  "make": "Tesla",
  "model": "Model Y",
  "trim": "Performance",
  "price": 26899,
  "price_currency": "USD",
  "mileage": 97772,
  "mileage_unit": "mi",
  "city": "Costa Mesa",
  "state": "CA",
  "location": "Costa Mesa, CA",
  "country": "US",
  "purchase_status": "AVAILABLE",
  "image_url": "https://..."
}
```

# Actor input Schema

## `input_url` (type: `string`):

Optional. Paste any Evercars /cars search URL (with or without ?f=...) to override the filters below. Leave empty to use structured filters (better for AI agents).

## `query` (type: `string`):

Natural-language search (e.g. "Tesla Model Y", "Rivian R1T"). Uses Evercars smart search when no make/model/range filters are set. Ignored when input\_url is set.

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

EV brand as on Evercars. Leave empty for all makes. Ignored when input\_url is set.

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

Optional model as on Evercars (e.g. Model Y, R1T, IONIQ 5). Requires make. Ignored when input\_url is set.

## `price_min` (type: `integer`):

Minimum listing price in USD. Ignored when input\_url is set.

## `price_max` (type: `integer`):

Maximum listing price in USD. Ignored when input\_url is set.

## `mileage_min` (type: `integer`):

Minimum odometer reading (miles). Ignored when input\_url is set.

## `mileage_max` (type: `integer`):

Maximum odometer reading (miles). Ignored when input\_url is set.

## `year_min` (type: `integer`):

Minimum model year. Ignored when input\_url is set.

## `year_max` (type: `integer`):

Maximum model year. Ignored when input\_url is set.

## `epa_range_min` (type: `integer`):

Minimum EPA estimated range in miles (e.g. 250). Ignored when input\_url is set.

## `body` (type: `string`):

Body style as on Evercars. Ignored when input\_url is set.

## `drivetrain` (type: `string`):

Drivetrain filter. Ignored when input\_url is set.

## `new_arrivals_only` (type: `boolean`):

Only listings flagged as new arrivals on Evercars. Ignored when input\_url is set.

## `sort_by` (type: `string`):

Result order. Ignored when input\_url is set.

## `max_listings` (type: `integer`):

How many vehicle listings to return (1–2000).

## Actor input object example

```json
{
  "make": "",
  "body": "",
  "drivetrain": "",
  "new_arrivals_only": false,
  "sort_by": "",
  "max_listings": 50
}
```

# Actor output Schema

## `overview` (type: `string`):

Table view of scraped listings using the dataset 'overview' view.

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

All scraped listings from the default dataset without view transformation.

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("dadhalfdev/evercars-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 = {}

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

```

## MCP server setup

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