# Car & Classic Scraper: Auction Hammer Prices, Bids & Listings (`getascraper/carandclassic-scraper`) Actor

Scrape Car & Classic ended auctions with final hammer price, bid count, reserve status and a sold flag for comparable-sales research. Also pulls live and upcoming listings with mileage, engine, seller and photos. One search returns up to about 9,000 results. No login needed.

- **URL**: https://apify.com/getascraper/carandclassic-scraper.md
- **Developed by:** [GetAScraper](https://apify.com/getascraper) (community)
- **Categories:** E-commerce, Lead generation, Automation
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.98 / 1,000 vehicle records

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

## 🏁 Car & Classic Scraper: Auction Hammer Prices, Bids & Listings

<table width="100%" style="display:table;width:100%;border-collapse:separate;border-spacing:0;table-layout:fixed;margin-bottom:0">
<tr>
<td colspan="2" style="padding:14px 18px;background:#F0FDF4;border:none;border-top:3px solid #166534;border-left:1px solid #BBF7D0;border-right:1px solid #BBF7D0;color:#1C1917;border-radius:10px 10px 0 0">
<span style="font-size:16px;font-weight:700;color:#1C1917">Asking prices are opinions. Sold prices are evidence.</span> <span style="font-size:15px;color:#57534E">Cross-check against PistonHeads Scraper, this suite's modern used-car source.</span>
</td>
</tr>
<tr>
<td colspan="2" style="padding:10px 14px;background:#166534;border:none;border-left:1px solid #BBF7D0;border-right:1px solid #BBF7D0;color:#FFFFFF">
<span style="color:#FFFFFF;font-size:14px;font-weight:700;letter-spacing:0.5px">UK USED &amp; CLASSIC CAR DATA</span>
<span style="color:#FFFFFF;font-size:13px">&nbsp;&nbsp;&bull;&nbsp;&nbsp;Modern used cars and classic collector cars, both with data no competitor pulls</span>
</td>
</tr>
<tr>
<td style="padding:10px 12px;border:none;border-left:1px solid #BBF7D0;border-bottom:1px solid #BBF7D0;vertical-align:top;width:50.0%;background:#FFFFFF;color:#1C1917">
<span style="overflow-wrap:break-word;word-break:break-word"><img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/jNDbFabbVxMhnQNb4-actor-UgbTKV8D5ZreemMCc-HFt3VEEKJz-pistonheads_logo.jpeg" width="20" height="20" style="vertical-align:middle;border-radius:4px">&nbsp;<a href="https://apify.com/getascraper/pistonheads-uk-scraper" style="color:#1C1917;text-decoration:none;font-weight:700;font-size:13px">PistonHeads</a></span><br>
<span style="color:#57534E;font-size:11px">UK used car listings with full performance spec: acceleration, torque, CO2, MPG.</span>
</td>
<td style="padding:10px 12px;border:none;border-left:1px solid #BBF7D0;border-right:1px solid #BBF7D0;border-bottom:1px solid #BBF7D0;vertical-align:top;width:50.0%;background:#F0FDF4;color:#1C1917">
<span style="overflow-wrap:break-word;word-break:break-word"><img src="https://apify-image-uploads-prod.s3.us-east-1.amazonaws.com/jNDbFabbVxMhnQNb4-actor-fFENf3VbAcwWmLX6O-wbF6LKTGeb-images_%2832%29.jpeg" width="20" height="20" style="vertical-align:middle;border-radius:4px">&nbsp;<a href="https://apify.com/getascraper/carandclassic-scraper" style="color:#166534;text-decoration:none;font-weight:700;font-size:13px">Car &amp; Classic</a></span><br>
<span style="color:#166534;font-size:11px;font-weight:700">&#10148; You are here</span>
</td>
</tr>
</table>
<table width="100%" style="display:table;width:100%;border-collapse:separate;border-spacing:0;min-width:100%;table-layout:fixed;margin:0;margin-top:0;margin-bottom:0">
<tbody>
<tr style="width:100%">
<td style="width:100%;padding:24px 28px;background:#F0FDF4;border:1px solid #BBF7D0;border-top:none;color:#1C1917">
<span style="font-size:23px;font-weight:800;line-height:1.3;color:#1C1917">Asking prices are opinions. Sold prices are evidence.</span><br>
<span style="font-size:15px;line-height:1.6;color:#57534E">Pull ended Car & Classic auctions with the final hammer price, the bid count, the reserve status, and a sold flag on every row, plus live and upcoming listings. Build comparables you can actually defend.</span>
</td>
</tr>
</tbody>
</table>
<table width="100%" style="display:table;width:100%;border-collapse:separate;border-spacing:0;min-width:100%;table-layout:fixed;margin:0;margin-top:0">
<tbody>
<tr style="width:100%">
<td style="width:25%;padding:14px 12px;background:#FFFFFF;border:1px solid #BBF7D0;border-right:none;vertical-align:top;border-top:none;color:#1C1917;border-radius:0 0 0 10px">
<span style="font-size:15px;font-weight:800;color:#14532D">🔨 Hammer prices, not guesses</span><br>
<span style="font-size:12px;color:#57534E">Final hammer price, bid count, and reserve status on every auction that sold.</span>
</td>
<td style="width:25%;padding:14px 12px;background:#FFFFFF;border:1px solid #BBF7D0;border-right:none;vertical-align:top;border-top:none;color:#1C1917">
<span style="font-size:15px;font-weight:800;color:#14532D">📸 The whole photo set</span><br>
<span style="font-size:12px;color:#57534E">Every image link from the gallery, not a photo count you cannot open.</span>
</td>
<td style="width:25%;padding:14px 12px;background:#FFFFFF;border:1px solid #BBF7D0;border-right:none;vertical-align:top;border-top:none;color:#1C1917">
<span style="font-size:15px;font-weight:800;color:#14532D">⏰ Catch lots before they close</span><br>
<span style="font-size:12px;color:#57534E">Auction start and end times, so you can watch live lots and move in time.</span>
</td>
<td style="width:25%;padding:14px 12px;background:#FFFFFF;border:1px solid #BBF7D0;vertical-align:top;border-top:none;color:#1C1917;border-radius:0 0 10px 0">
<span style="font-size:15px;font-weight:800;color:#14532D">📝 Condition in the seller's words</span><br>
<span style="font-size:12px;color:#57534E">The full listing write-up: service history, provenance, and known faults.</span>
</td>
</tr>
</tbody>
</table>

Car & Classic Scraper collects public vehicle listings from Car & Classic, one of Europe's largest classic and collector car marketplaces. Its edge is **ended-auction history**: every completed auction comes back with the hammer price, how many bids it drew, the reserve status, and an `isSold` flag, which is the evidence you need to value a car rather than guess at it. You can also pull live and upcoming listings, or paste specific listing links straight from your browser, and get price, full specification, location, seller detail, and photo galleries as clean structured data.

### 🔍 What does Car & Classic Scraper do?

It turns Car & Classic listings into a spreadsheet or a data feed. Point it at a search, or at individual cars, and it returns one clean row per vehicle.

It covers three things competing tools leave out:

- **Ended-auction history.** Filter to ended listings and each completed auction carries the final hammer price, how many bids it drew, whether the reserve was met, and an `isSold` flag. This is the comparable-sales evidence that asking prices cannot give you.
- **Real photo galleries.** You get the actual image links, so you can review condition or pull images into your own listing, valuation pack, or CRM.
- **The full listing description.** Service history, restoration notes, ownership history, and declared faults, in the seller's own words.

Run it once for a snapshot, or put it on a schedule to track a model's market week by week.

### 💡 Why use it?

**"I need to price a car for my forecourt this week."**
You are pricing a 1973 911 and the live listings all sit at hopeful money. Pull the completed auctions, filter to that model in your spreadsheet, and you can see what buyers actually paid, with bid counts showing how much real competition there was.

**"I track four models and I don't want to miss a lot."**
Filter to live and upcoming auctions and you get end times and current bid counts on every car. Schedule it daily and you know which lots are running hot before they close, not after.

**"My valuation has to survive a challenge."**
You write agreed-value policies or investment notes. Sold prices, mileage, condition text, and photographs land in one row per car, so your number comes with its evidence attached rather than a screenshot and a memory.

### 🚀 How to use it

<table width="100%" style="display:table;width:100%;border-collapse:separate;border-spacing:0;min-width:100%;table-layout:fixed;margin:0">
<tbody>
<tr style="width:100%">
<td style="width:33.333%;padding:16px 14px;background:#F0FDF4;border:1px solid #BBF7D0;border-right:none;border-radius:10px 0 0 10px;vertical-align:top;color:#1C1917">
<span style="font-size:13px;font-weight:800;color:#166534;letter-spacing:0.5px">STEP 1</span><br>
<span style="font-size:15px;font-weight:800;color:#14532D">Pick your cars</span><br>
<span style="font-size:12px;color:#57534E">Filter by vehicle type, mileage, gearbox, steering side, or seller. Or paste listing links straight from the site.</span>
</td>
<td style="width:33.333%;padding:16px 14px;background:#F0FDF4;border:1px solid #BBF7D0;border-right:none;vertical-align:top;color:#1C1917">
<span style="font-size:13px;font-weight:800;color:#166534;letter-spacing:0.5px">STEP 2</span><br>
<span style="font-size:15px;font-weight:800;color:#14532D">Choose live, upcoming, or ended</span><br>
<span style="font-size:12px;color:#57534E">Switch to ended lots when you want hammer-price evidence instead of current stock.</span>
</td>
<td style="width:33.333%;padding:16px 14px;background:#F0FDF4;border:1px solid #BBF7D0;border-radius:0 10px 10px 0;vertical-align:top;color:#1C1917">
<span style="font-size:13px;font-weight:800;color:#166534;letter-spacing:0.5px">STEP 3</span><br>
<span style="font-size:15px;font-weight:800;color:#14532D">Export and price with confidence</span><br>
<span style="font-size:12px;color:#57534E">Download as Excel, CSV, or JSON, or send it straight into your own sheet or tool.</span>
</td>
</tr>
</tbody>
</table>

1. Click **Try for free** and open the input form.
2. Leave the mode on **Search catalogue** and pick a vehicle type, transmission, steering side, or seller type if you want to narrow the search.
3. To get hammer-price evidence, set **Auction state** to **Ended**.
4. Set **Max items** to how many cars you want back.
5. Click **Start**, then open the **Output** tab to preview and download your data.

Turn on **Fetch full detail per listing** when you also want the description, registration plate, and seller contact detail on every row.

### ⚙️ Input

| Field | Type | Required | Description |
|---|---|---|---|
| `mode` | enum | No | `search` to filter the catalogue, or `listing` to fetch specific links. |
| `listingUrls` | array of URLs | No | Listing mode only. Car & Classic links to fetch in full detail. |
| `vehicleType` | enum | No | Cars, motorcycles, or commercial vehicles. |
| `auctionState` | array of enums | No | Any of live, upcoming, or ended. Ended returns completed auctions with hammer price, plus ended adverts. |
| `mileageMax` | integer | No | Highest odometer reading to include. |
| `transmissionType` | enum | No | Manual or automatic. |
| `steeringPosition` | enum | No | Left-hand drive or right-hand drive. |
| `sellerType` | enum | No | Dealer or private seller. |
| `scrapeDetails` | boolean | No | Also fetch each car's full description, plate, and seller detail. |
| `maxItems` | integer | No | Maximum number of vehicles to return. One search serves up to about 9,000. |
| `proxyConfiguration` | object | No | Connection settings. The default works and needs no changes. |

### 📊 Output

Each vehicle comes back as one row. You can download the dataset as JSON, CSV, Excel, or HTML.

```json
{
  "rowType": "listing",
  "id": 79435,
  "title": "1980 Porsche 911SC Targa Manual RHD",
  "url": "https://www.carandclassic.com/auctions/1980-porsche-911sc-targa-manual-rhd-nAvxk4",
  "listingType": "auction",
  "make": "Porsche",
  "year": "1980",
  "price": 32000,
  "currency": "GBP",
  "mileage": 110450,
  "mileageUnit": "mi",
  "engineSizeCc": "3000",
  "fuelType": "petrol",
  "transmission": "manual",
  "steeringPosition": "rhd",
  "colour": "brown",
  "countryCode": "GB",
  "town": "Portlethen",
  "isSold": false,
  "isAuction": true,
  "auctionStartsAt": "2026-08-23T09:00:00+00:00",
  "auctionEndsAt": "2026-08-30T19:40:00+00:00",
  "bidCount": 6,
  "reserveStatus": "reserve-not-met",
  "imageCount": 191,
  "imageUrls": ["https://assets.carandclassic.com/uploads/new/34192951/dsc03276.jpg"]
}
```

### 📋 Data table

| Field | Type | Description |
|---|---|---|
| `title` | string | Listing headline, usually year, make, and model. |
| `url` | string | Direct link back to the car on Car & Classic. |
| `listingType` | string | Whether the car is an auction lot or a classified advert. |
| `price` | number | Asking price, or the current bid on a live auction. |
| `soldPrice` | number | Final hammer price, only on auctions that sold. |
| `currency` | string | Currency of the price. Both GBP and EUR appear. |
| `isSold` | boolean | Whether the car sold. False on ended adverts that were never auctioned. |
| `bidCount` | number | How many bids the lot attracted. |
| `reserveStatus` | string | Whether the reserve was met, not met, or there was none. |
| `auctionStartsAt` | string | When bidding opened. |
| `auctionEndsAt` | string | When bidding closes or closed. |
| `year` | string | Model year. |
| `mileage` | number | Odometer reading. |
| `mileageUnit` | string | Miles or kilometres. Check this, both appear. |
| `engineSize` | string | Engine capacity. |
| `fuelType` | string | Petrol, diesel, and so on. |
| `transmission` | string | Gearbox type and speed count. |
| `steeringPosition` | string | Left-hand or right-hand drive. |
| `colour` | string | Exterior colour. |
| `description` | string | Full listing write-up, with detail mode on. |
| `registrationPlate` | string | Registration mark, with detail mode on. |
| `sellerType` | string | Dealer or private. |
| `sellerBusinessName` | string | Dealer name, on dealer listings. |
| `sellerPhone` | string | Dealer contact number, where published. |
| `sellerWebsite` | string | Dealer website, where published. |
| `countryCode` | string | Country the car is located in. |
| `region` | string | Region or county. |
| `town` | string | Town or city. |
| `imageUrl` | string | Lead photograph. |
| `imageUrls` | array | Every photograph link from the gallery. |
| `imageCount` | number | How many photographs the listing carries. |
| `guidePriceLow` | number | Lower guide price, on auction lots. |
| `guidePriceHigh` | number | Upper guide price, on auction lots. |

### 💰 Pricing

This Actor runs on pay per result. You are charged for the vehicle records you actually receive, plus a small fee each time a browsing session is opened to reach the site. A run that returns nothing costs you almost nothing, and there is no subscription or monthly minimum.

Keep costs down by setting **Max items** to what you need, and leaving **Fetch full detail per listing** off unless you want the description and seller contact detail.

### ⭐ Enjoying Car & Classic Scraper?

<table width="100%" style="display:table;width:100%;border-collapse:separate;border-spacing:0">
<tr>
<td style="padding:20px 24px 14px;background:#F0FDF4;border:1px solid #F0FDF4;border-left:5px solid #166534;border-radius:10px 10px 0 0;color:#1C1917">
<span style="font-size:20px;letter-spacing:4px">⭐ ⭐ ⭐ ⭐ ⭐</span><br>
<span style="font-size:17px;font-weight:800;color:#1C1917">Sold prices and full condition notes from Car & Classic, so your valuation comes with its evidence attached.</span><br>
<span style="font-size:14px;color:#57534E">A 5-star rating takes 10 seconds and helps other dealers, collectors, and valuers find it. Your feedback also tells us what to build next.</span>
</td>
</tr>
<tr>
<td style="padding:0;background:#166534;border:1px solid #166534;border-left:5px solid #166534;border-top:none;border-radius:0 0 10px 10px;text-align:center;color:#FFFFFF">
<a href="https://apify.com/getascraper/carandclassic-scraper/reviews" style="display:block;padding:13px 16px;color:#FFFFFF;text-decoration:none;font-weight:800;font-size:15px;letter-spacing:0.3px">★&nbsp;&nbsp;Rate this Actor on Apify</a>
</td>
</tr>
</table>

### 🎯 Tips

- **Build a price index.** Pull ended auctions on a schedule, keep the rows where `isSold` is true, and you have a running record of what cars fetch over time. Filter by make and year in your own sheet.
- **Keep the auctions, drop the adverts.** Ended results also include adverts that closed without an auction. Filter on `isAuction` to keep only completed auctions.
- **Check the currency and the mileage unit.** Car & Classic is pan-European, so GBP and EUR both appear, and mileage arrives in miles or kilometres. Both are labelled on every row.
- **Search first, enrich second.** Run a broad search to find the cars you care about, then re-run in listing mode with detail on for just those, rather than paying for detail on everything.
- **Watch reserve status, not just price.** A high bid on a lot where the reserve was never met tells you the market disagreed with the seller. The `isSold` field separates cars that actually changed hands from lots that ended unsold.

### ❓ FAQ

**Can I get the price a car actually sold for?**
Yes. Set **Auction state** to **Ended**, and every auction that sold carries its final hammer price, bid count, and reserve status. The ended set also contains adverts that closed without an auction, flagged by `isSold` and `isAuction` (both false), so you can keep them or filter them out.

**Can I filter by make, model, price, or year?**
Not in the input form. Car & Classic asks automated tools not to use those search filters, so this Actor leaves them out. Every row carries make, year, and price, so you can filter the export in a spreadsheet or your own tool.

**How many cars can one search return?**
Car & Classic serves up to 150 result pages per search, which is about 9,000 cars, even though its catalogue is larger. To reach more, run separate searches split by auction state, vehicle type, gearbox, steering side, or seller type.

**Do I need a Car & Classic account or login?**
No. It only reads pages that are public to any visitor.

**Does it cover motorcycles and commercial vehicles?**
Yes. Set **Vehicle type** to motorcycles or commercial vehicles. Cars are the default.

**Why is the model or variant field sometimes empty?**
Many sellers only fill in a make and a free-text title. Where the site has no model, this Actor leaves the field out rather than guessing, so your data stays trustworthy.

**Can I run it on a schedule?**
Yes. Use Apify's scheduler to run it daily, weekly, or monthly, and connect the output to Google Sheets, Make, Zapier, or your own tools.

### ⚖️ Disclaimers

This Actor collects only publicly available listing information. It does not access private data, accounts, or anything behind a login. You are responsible for using the data in line with Car & Classic's terms and applicable law, including data protection rules where seller contact details are involved.

Found a problem or want a field added? Open an issue on the **Issues** tab and it will be looked at.

### 🔗 Other actors

- [Heavy-equipment auction comps feed](https://apify.com/getascraper/heavy-equipment-auction-comps-feed) ↗ - Sold prices for machinery and plant, the same comparables approach applied to heavy equipment.
- [AuctionNinja Scraper: Estate Sales & Online Auctions](https://apify.com/getascraper/auctionninja-scraper) ↗ - Estate and online auction lots, useful for automobilia and collectables alongside cars.
- [Autohero Cars Scraper: All Europe Used Cars Catalog](https://apify.com/getascraper/autohero-cars-scraper) ↗ - Used-car stock and pricing across ten European markets.
- [Standvirtual Cars Scraper: Carros usados](https://apify.com/getascraper/standvirtual-cars-scraper) ↗ - Portugal's largest used-car marketplace, with full spec and seller data.
- [AutoTrader South Africa Cars Scraper](https://apify.com/getascraper/autotrader-za-cars-scraper) ↗ - South African used-car listings, prices, and dealer detail.

# Changelog

This Actor's version history is a separate document: https://apify.com/getascraper/carandclassic-scraper/changelog.md

# Actor input Schema

## `mode` (type: `string`):

Search the catalogue by filters, or fetch specific listing URLs directly.

## `listingUrls` (type: `array`):

Listing mode only. Paste one or more Car & Classic listing URLs to fetch full detail for.

## `vehicleType` (type: `string`):

Restrict to cars, motorcycles, or commercial vehicles.

## `auctionState` (type: `array`):

Filter by auction state. "Ended" returns completed auctions with their final hammer price, bid count, and reserve status. Ended results also include adverts that were never auctioned: check the isAuction and isSold fields, and soldPrice is only filled in when the car actually sold.

## `mileageMax` (type: `integer`):

Highest odometer reading to include.

## `transmissionType` (type: `string`):

Filter by transmission type.

## `steeringPosition` (type: `string`):

Filter by steering side.

## `sellerType` (type: `string`):

Filter by seller type.

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

Residential proxy is the default and is required to clear the site's bot protection reliably. Only the challenge-clearing browser session spends this bandwidth, and one session serves many page reads.

## `scrapeDetails` (type: `boolean`):

Search mode only. Also fetch each listing's detail page for the full description, seller contact info, registration plate, and precise model/variant/generation. Costs one extra page fetch per listing.

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

Maximum number of listings to return.

## Actor input object example

```json
{
  "mode": "search",
  "listingUrls": [
    "https://www.carandclassic.com/auctions/2002-mercedes-benz-clk-320-avantgarde-a208-nYWkK8"
  ],
  "vehicleType": "",
  "auctionState": [],
  "mileageMax": 0,
  "transmissionType": "",
  "steeringPosition": "",
  "sellerType": "",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "scrapeDetails": false,
  "maxItems": 25
}
```

# Actor output Schema

## `dataset` (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 = {
    "mode": "search",
    "listingUrls": [
        "https://www.carandclassic.com/auctions/2002-mercedes-benz-clk-320-avantgarde-a208-nYWkK8"
    ],
    "auctionState": [],
    "mileageMax": 0,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    },
    "maxItems": 25
};

// Run the Actor and wait for it to finish
const run = await client.actor("getascraper/carandclassic-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 = {
    "mode": "search",
    "listingUrls": ["https://www.carandclassic.com/auctions/2002-mercedes-benz-clk-320-avantgarde-a208-nYWkK8"],
    "auctionState": [],
    "mileageMax": 0,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
    "maxItems": 25,
}

# Run the Actor and wait for it to finish
run = client.actor("getascraper/carandclassic-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 '{
  "mode": "search",
  "listingUrls": [
    "https://www.carandclassic.com/auctions/2002-mercedes-benz-clk-320-avantgarde-a208-nYWkK8"
  ],
  "auctionState": [],
  "mileageMax": 0,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "maxItems": 25
}' |
apify call getascraper/carandclassic-scraper --silent --output-dataset

```

## MCP server setup

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