# Edmunds Car Listings for Sale ($1/1K) (`carabain-digital/edmunds-listings`) Actor

Scrape used and new cars for sale from Edmunds inventory (edmunds.com/inventory), USA: price, Edmunds deal rating and price estimate, mileage, VIN, specs, dealer phone. Search by ZIP, make, model, year, price. Newest first. Add-ons: full details, price history. Listings only, no reviews.

- **URL**: https://apify.com/carabain-digital/edmunds-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 Edmunds Car Listings Scraper?

**Edmunds Car Listings Scraper** scrapes **used, certified pre-owned and new cars for sale from Edmunds ([edmunds.com/inventory](https://www.edmunds.com/inventory))**, with hundreds of thousands of cars from franchise and independent dealers across the US. This Actor is for **car listings (inventory for sale)**, not Edmunds expert or consumer reviews. Search by **ZIP code and radius, make, model, model year, price, mileage, fuel type, transmission and body style**, or paste a search URL from the site, and get clean, flat car data as JSON, CSV, Excel, XML or HTML: price, **Edmunds deal rating and Edmunds' own price estimate**, how far under or over the estimate the price is, days on market, mileage, VIN, trim, engine, MPG, up to 30 photos, dealer name, phone and location, newest first. Prefilled example: the 20 newest used Toyota Camrys around New York (ZIP 10001). Costs **$1.00 per 1,000 listings**. Add-ons: **Full details** (the dealer's full description, complete equipment list, dealer fees, MSRP, dealer coordinates and the dealer's own page for the car) and **Price history** (price drops over time), $1.00 per 1,000 listings each.

- 🔎 **Search like on the site**: ZIP code and radius, make, model, year range, price range, max mileage, fuel, transmission, body style, new or used, or paste an Edmunds search URL
- 🏷️ **Edmunds deal ratings included**: Great, Good, Fair or Above Market, Edmunds' price estimate and the dollar gap to it on most cars, at no extra cost
- 🆕 **Newest first**: ideal for alerts on fresh listings and underpriced cars
- 📷 **Photos and history flags**: every photo URL, plus owner count, accident count and clean-title flag where Edmunds shows them
- 📚 **Full details on demand**: complete dealer description, equipment, dealer fees, MSRP and destination fee, dealer coordinates and website
- 📈 **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

#### What data can I extract from Edmunds?

<table>
<tr><td>🆔 Stable listing ID (VIN based) and listing URL</td><td>💵 Price in USD and Edmunds' price estimate</td></tr>
<tr><td>🏷️ Deal rating, gap to the estimate, price limits per rating</td><td>📅 Listing date and days on market</td></tr>
<tr><td>🚗 Make, model, trim, model year, condition, certified pre-owned</td><td>🛣️ Mileage (miles)</td></tr>
<tr><td>⛽ Fuel type, MPG city / highway / combined</td><td>⚙️ Transmission, drivetrain, engine, hp, displacement</td></tr>
<tr><td>🎨 Exterior and interior colour, body style, seats</td><td>🔢 VIN and dealer stock number</td></tr>
<tr><td>🏢 Dealer name, phone, street, city, state, ZIP, distance</td><td>📷 Photo URLs</td></tr>
<tr><td>🧾 Owners, accidents, clean title, usage type</td><td>📝 Full description, equipment, dealer fees, MSRP, coordinates (add-on)</td></tr>
</table>

The search results carry everything except the **complete description, the full equipment list, dealer fees, MSRP and destination fee, the last price change, the dealer's coordinates and the dealer's own page for the car**: those come from each listing's page and are only filled with the **Full details** add-on. Edmunds shows a deal rating and estimate for most used cars and for some new ones; where it has too little data the fields are `null`.

#### How do I scrape Edmunds car listings?

1. [Create a free Apify account](https://console.apify.com/sign-up) and open this Actor.
2. Enter a **ZIP code** (for example `10001`) and, if you like, a radius, make, model, year and price range. Or paste one or more **Search URLs** copied from edmunds.com/inventory.
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 Edmunds?

You pay per car listing that ends up in your dataset: **$1.00 per 1,000 listings**, plus a small start fee for the memory the run uses (Edmunds needs a real browser to get in, see below). No subscription. The monthly credit of Apify's Free plan ($5) covers around 4,500 listings without add-ons. Paid plans get volume discounts.

- **Add-on: Full details, $1.00 per 1,000 listings** (off by default). Opens every listing and adds the complete dealer description, full equipment list, dealer fees, MSRP and destination fee, the last price change, dealer coordinates and the dealer's own page for the car. 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` 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; you can cap spending with **Maximum cost per run** in the run options.

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

#### ⬇️ Input

| Field | Description |
|---|---|
| **ZIP code** (`location`) | US ZIP code to search around. Empty = 500 miles around the middle of the US |
| **Search radius** (`radius_km`) | In km (80 km = 50 miles, the default); at most 500 miles |
| **Make / Model** (`make`, `model`) | e.g. `Toyota` / `Camry`, `Ford` / `F-150` |
| **New or used** (`condition`) | `used` (default, includes certified pre-owned), `new`, or `any` |
| **Model year** (`min_year`, `max_year`) | e.g. 2018 to 2023 |
| **Price** (`min_price`, `max_price`) | In US dollars |
| **Maximum mileage** (`max_mileage`) | In miles |
| **Fuel / transmission / body** (`fuel_type`, `transmission`, `body_type`) | e.g. `electric`, `manual`, `suv` |
| **Seller type** (`seller_type`) | `dealer` or `private` (Edmunds lists dealer inventory) |
| **Search URLs** (`start_urls`) | Search pages copied from edmunds.com/inventory; their filters replace the ones above |
| **Max listings** (`limit`) | Stop after this many listings |
| **Full details** (`includeDetails`) | Paid add-on: complete description, equipment, dealer fees, MSRP, coordinates |
| **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 (Apify Residential, country US) |

```json
{
    "location": "10001",
    "make": "Toyota",
    "model": "Camry",
    "limit": 20
}
```

A filtered search:

```json
{
    "location": "90210",
    "radius_km": 80,
    "make": "Honda",
    "model": "CR-V",
    "min_year": 2020,
    "max_year": 2023,
    "max_price": 30000,
    "max_mileage": 60000,
    "limit": 150
}
```

With **Search URLs** paste a page like `https://www.edmunds.com/inventory/srp.html?inventorytype=used%2Ccpo&make=ford&model=ford%7Cf-150`; filters in the URL (make, model, year, price, mileage, body style, fuel, transmission, new or used) are kept, the page number and sort order are ignored and results always come newest first. Edmunds keeps the location outside the URL, so the area comes from **ZIP code** and **Search radius**.

#### ⬆️ 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`; every item has the same keys.

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

```json
{
    "id": "edmunds:7MUBAAAG5NV018706",
    "source": "edmunds",
    "url": "https://www.edmunds.com/toyota/corolla-cross/2022/vin/7MUBAAAG5NV018706/",
    "title": "2022 Toyota Corolla Cross LE",
    "make": "Toyota",
    "model": "Corolla Cross",
    "variant": "LE",
    "condition": "used",
    "price": 23160,
    "price_currency": "USD",
    "price_type": "fixed",
    "mileage": 51986,
    "mileage_unit": "mi",
    "year": 2022,
    "first_registration": null,
    "fuel_type": "petrol",
    "transmission": "automatic",
    "body_type": "suv",
    "power_kw": 126,
    "power_hp": 169,
    "engine_cc": 2000,
    "color": "Wind Chill Pearl",
    "doors": 4,
    "seats": 5,
    "vin": "7MUBAAAG5NV018706",
    "seller_type": "dealer",
    "seller_name": "South Bay Ford Lincoln",
    "seller_phone": "888-280-6882",
    "seller_url": null,
    "address": "5100 W Rosecrans Ave, Hawthorne, CA 90250",
    "city": "Hawthorne",
    "postcode": "90250",
    "region": "CA",
    "country": "US",
    "lat": 33.900776,
    "lon": -118.36866,
    "listed_at": "2026-11-16",
    "image_urls": [
        "https://www.edmunds.com/assets/m2/for-sale/95-7MUBAAAG5NV018706/img-1-600x400.jpg",
        "https://www.edmunds.com/assets/m2/for-sale/95-7MUBAAAG5NV018706/img-2-600x400.jpg",
        "..."
    ],
    "description": "FUEL EFFICIENT 33 MPG Hwy/31 MPG City! CARFAX 1-Owner. LE trim, Wind Chill Pearl exterior and BLACK interior. AND MORE!\n\nKEY FEATURES INCLUD...",
    "deal_rating": "fair",
    "price_estimate": 22097,
    "price_vs_estimate": -1063,
    "deal_thresholds": {
        "great_max": 20065,
        "good_max": 21686,
        "fair_max": 23172
    },
    "savings_percent": -4.8,
    "days_on_market": 2,
    "certified_pre_owned": false,
    "drivetrain": "front wheel drive",
    "engine": "2L 4cyl gas",
    "transmission_text": "CVT continuously variable",
    "fuel_type_text": "regular unleaded",
    "interior_color": "Black cloth",
    "mpg_city": 31,
    "mpg_highway": 33,
    "mpg_combined": 32,
    "options": [
        "Back-up camera",
        "Bluetooth",
        "Sunroof/Moonroof",
        "..."
    ],
    "stock_number": "28759",
    "distance_mi": 13.3,
    "dealer_id": 868,
    "in_transit": false,
    "accident_count": 3,
    "owner_count": 1,
    "clean_title": true,
    "usage_type": "Personal Use",
    "equipment": [
        "Driver Air Bag",
        "Adaptive Cruise Control",
        "Bucket Seats",
        "..."
    ],
    "dealer_fees": null,
    "msrp": 27918,
    "destination_fee": 1215,
    "price_change": null,
    "details_fetched": true,
    "scraped_at": "2026-11-17T08:34:13Z"
}
```

`price_vs_estimate` is Edmunds' price estimate minus the price: positive means the car is listed **below** the estimate, negative means above.

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

```json
{
    "first_seen_at": "2026-11-08T07:00:12+00:00",
    "previous_price": 13994,
    "price_change": -1500,
    "price_change_pct": -10.72,
    "status_changed": false,
    "price_history": [
        { "at": "2026-11-08T07:00:12+00:00", "price": 13994, "status": null },
        { "at": "2026-11-15T07:00:09+00:00", "price": 12494, "status": null }
    ]
}
```

#### What can I do with Edmunds data?

- 💸 **Underpriced car finder for flippers and wholesalers**: keep `great` deals or sort by `price_vs_estimate` to find cars listed thousands under Edmunds' estimate near your ZIP
- 📉 **Used car price drop alerts**: add **Price history**, run it daily and push cars with a negative `price_change` to Slack or e-mail
- 📊 **Used car market research by make and model**: compare asking prices, estimates, mileage and `days_on_market` per model, year and region for pricing or appraisal models
- 🏢 **Car dealer lead generation**: collect dealer names, phones, cities and inventory size per state for dealer software, financing or marketing sales
- 🔍 **Dealer inventory and competitor monitoring**: watch a competitor's stock, days on market and price changes by `dealer_id`
- 🔋 **EV and hybrid market tracking**: follow used electric car prices, inventory and mileage with the fuel filter

#### Tips for best results

- Results come newest first, so a small **Max listings** on a schedule is the cheapest way to watch a market.
- `listed_at` is the day the car was first published on Edmunds.
- Edmunds also lists dealers that deliver from further away. The Actor keeps only dealers within your **Search radius** (`distance_mi`), so when many far-away cars were listed recently a run needs more pages for the same number of local cars (runs take a little longer, the price does not change). Leave the ZIP code empty for 500 miles around the middle of the US.
- `description` on the search card is cut off after about 200 characters; **Full details** gives the complete text and the equipment list.
- Leave **Full details** off for counting, alerts and price monitoring; switch it on when you need the full description, equipment, dealer fees or dealer coordinates.
- Edmunds returns at most about 10,000 listings per search: split bigger jobs by make, model, year or price range.
- Results from one run are deduplicated by VIN.

#### 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 for sale.

- **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 listing is seen there is nothing to compare with, so `previous_price` is `null` and you are not charged for the add-on on that listing. From the second run on, each listing gets `first_seen_at`, `previous_price`, `price_change`, `price_change_pct` 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 another of our car Actors. Item IDs start with the site (`edmunds:...`), so sites never clash.
- **Do not run two runs on the same store at the same time.** The last writer wins per listing, 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.

#### Frequently asked questions

#### Can I use Edmunds 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/edmunds-listings").call(run_input={
    "location": "10001",
    "make": "Toyota",
    "model": "Camry",
    "max_price": 25000,
    "limit": 100,
})
for car in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(car["title"], car["price"], car["deal_rating"], car["price_vs_estimate"])
```

JavaScript:

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

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

#### Can I use Edmunds 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/edmunds-listings`), or let the agent find it with `search-actors` and run it with `call-actor`. A small search (`limit` 20) finishes in about a minute, and the items are flat, so agents can read them with `get-dataset-items`. Example prompt: *"Use Edmunds Car Listings Scraper to find used Honda CR-Vs from 2019 or newer under $20,000 within 50 miles of ZIP 10001 and list the five with the biggest gap under Edmunds' estimate."*

#### Can I integrate Edmunds 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 deals or price drops to your inbox or CRM.

#### Does this scrape Edmunds reviews?

No. This Actor collects **cars for sale** (the Edmunds inventory pages). For Edmunds expert and consumer reviews use our separate [Edmunds Reviews Scraper](https://apify.com/carabain-digital/edmunds-reviews).

#### What do the Edmunds deal ratings mean?

Edmunds compares each car's price with its own estimate of what similar cars list for in your area, based on make, model, year, trim, mileage, options and condition. `deal_rating` is `great`, `good`, `fair` or `above_market` (shown as "High Price" or "Above Market" on the site) and is `null` when Edmunds has too little data. `price_estimate` is the estimate, `price_vs_estimate` the gap to the price and `deal_thresholds` the price limits behind the ratings.

#### Why do I need a proxy, and why does a run start a browser?

Edmunds sits behind Akamai Bot Manager, which blocks datacenter IPs and plain HTTP clients. The Actor therefore uses Apify's residential proxy in the US, opens a stealth browser once per run to get past the check, and then reads every page over fast HTTP. A passing browser start is not guaranteed on every IP: if a run is blocked it retries on a fresh proxy session, and if it still fails the run fails with a clear message instead of returning an empty dataset.

#### Why is a field empty?

Without **Full details**, `seller_url`, `lat`, `lon`, `equipment`, `dealer_fees`, `msrp` and `destination_fee` are `null`, and `description` is cut off. Not every car has a deal rating, an estimate or a vehicle history (owners, accidents, clean title); some cars have no photos yet. Some dealers publish no price (`price_type` is `on_request`). `first_registration` and `doors` (without Full details) are `null`: US listings only have the model year.

#### Can I search by city instead of ZIP?

No. Edmunds searches around a ZIP code, so use the ZIP of the city centre (for example `60601` for Chicago) and a radius, or leave it empty for 500 miles around the middle of the US.

#### Is it legal to scrape Edmunds?

The Actor only collects publicly visible listings, the same data anyone can see on edmunds.com, and dealer business contact details. Rules such as privacy laws can still apply to how you store and use the data. Check your use case with a lawyer. More background: [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

#### Edmunds 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.

⭐ **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

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

US ZIP code to search around (5 digits). Example: `10001` (New York), `90210`, `60601`. Leave empty to search 500 miles around the middle of the US (Edmunds' largest radius). Also sets the area for search URLs.

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

Distance from the ZIP code in kilometres (converted to miles; Edmunds searches at most 500 miles). Default 50 miles (80 km). Only dealers within this distance are kept. Example: `160` for 100 miles.

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

Car make as Edmunds writes it. Example: `Toyota`, `Ford`, `Mercedes-Benz`, `Land Rover`.

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

Model of that make (needs Make). Example: `Camry`, `F-150`, `Model 3`, `CR-V`.

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

`used` (includes Certified Pre-Owned, the Edmunds default), `new`, or `any` (used, certified and new together, newest first). Example: `used`.

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

Oldest model year. Example: `2018`.

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

Newest model year. Example: `2023`.

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

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

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

Highest price in US dollars. Example: `25000`.

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

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

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

Fuel type. Example: `electric`.

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

Transmission. Example: `manual`.

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

Body style. Example: `suv`.

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

Keep only dealer or only private-seller listings. Edmunds lists dealer inventory, so private is nearly always empty. Example: `dealer`.

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

Search result pages copied from edmunds.com/inventory; their filters replace the ones above (the ZIP and radius still come from the fields). Example: `https://www.edmunds.com/inventory/srp.html?inventorytype=used%2Ccpo&make=honda&model=honda%7Ccr-v`. Page number and sort order are ignored; results come newest first.

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

Stop after this many listings (newest first). Example: `100`.

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

Also open each listing: the dealer's complete description, full equipment list, dealer fees, MSRP and destination fee, dealer coordinates and the dealer's own page for the car. Charged per listing enriched. Example: `true`.

## `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 to each item. 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. Use another name to keep a separate series per search, e.g. `camry-nyc`.

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

Edmunds blocks datacenter IPs, so a US residential proxy is needed; it is preselected (Apify Residential, country US). The Actor opens a stealth browser once per run to pass Akamai.

## Actor input object example

```json
{
  "location": "10001",
  "condition": "used",
  "fuel_type": "any",
  "transmission": "any",
  "body_type": "any",
  "seller_type": "any",
  "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 vehicle.

# 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 = {
    "location": "10001",
    "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/edmunds-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 = {
    "location": "10001",
    "limit": 20,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,carabain-digital/edmunds-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/ik0pL8CHm4YDBt7WV/builds/TXsBVTtpxaEU7KUGW/openapi.json
