# Car & Classic Auctions Scraper (`mai_amm/car-and-classic-auctions-scraper`) Actor

Scrape live and sold vehicle auctions from Car & Classic. Extract bids, sold prices, reserve status, mileage, specs, locations, images, and auction URLs for classic cars and motorcycles.

- **URL**: https://apify.com/mai\_amm/car-and-classic-auctions-scraper.md
- **Developed by:** [wiseld\_squid](https://apify.com/mai_amm) (community)
- **Categories:** E-commerce, Automation, Lead generation
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, NaN bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.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.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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

## Car & Classic Auctions Scraper

Scrape live and sold vehicle auctions from Car & Classic. Extract bids, sold prices, reserve status, mileage, specs, locations, images, and auction URLs for classic cars and motorcycles.

### What It Does

This Apify Actor crawls publicly visible auction pages on `carandclassic.com` and saves one JSON row per unique auction to the default Apify Dataset.

It supports:

- Live auctions
- Sold auction results
- Auctions starting soon
- Filtered auction pages
- Direct auction detail URLs
- Cars and motorcycles

### Supported URLs

Examples:

```text
https://www.carandclassic.com/auctions
https://www.carandclassic.com/auctions/results
https://www.carandclassic.com/auctions/starting-soon
https://www.carandclassic.com/auctions/motorcycles
https://www.carandclassic.com/auctions/no-reserve
https://www.carandclassic.com/auctions/1960-rover-p5-3l-mk1-8eeRR8
````

### Input Example

```json
{
  "accessMode": "full",
  "startUrls": [
    {
      "url": "https://www.carandclassic.com/auctions"
    }
  ],
  "maxResults": 100,
  "includeDetails": true,
  "includeImages": true,
  "includeDescription": true,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

### Preview and Full Modes

- `accessMode: "preview"` saves a free sample capped at 20 auctions per run.
- `accessMode: "full"` can save more than 20 auctions only when the Apify runtime confirms the runner is a paid-plan user.
- If `full` is requested by a runner that is not confirmed as paid, the Actor automatically falls back to preview mode and caps output at 20 auctions.
- `maxResults` can be set above 20 for full paid runs. In preview mode, any higher value is capped automatically.

### Output Example

```json
{
  "source": "carandclassic.com",
  "scrapedAt": "2026-06-02T00:00:00.000Z",
  "auctionUrl": "https://www.carandclassic.com/auctions/1960-rover-p5-3l-mk1-8eeRR8",
  "auctionId": "75233",
  "title": "1960 Rover P5 3L Mk1",
  "vehicleType": "car",
  "priceAmount": 7000,
  "priceCurrency": "GBP",
  "priceType": "current_bid",
  "auction": {
    "stage": "live",
    "currentBidAmount": 7000,
    "soldPriceAmount": null,
    "currencyCode": "GBP",
    "bidCount": 3,
    "reserveStatus": "no-reserve",
    "timeRemainingText": null,
    "endsAt": "2026-06-01T18:45:00+00:00"
  },
  "vehicle": {
    "year": 1960,
    "make": "Rover",
    "model": "P5",
    "engineText": "3000cc",
    "fuelType": "Petrol",
    "transmission": "Manual, 4 speed",
    "mileageValue": 79575,
    "mileageUnit": "miles",
    "driveSide": "Right Hand Drive"
  },
  "location": "International, South Africa",
  "description": "Highlights ...",
  "specifications": [
    {
      "label": "year",
      "value": "1960"
    }
  ],
  "images": [
    "https://assets.carandclassic.com/uploads/new/29697402/example.jpeg"
  ],
  "raw": {
    "warnings": []
  }
}
```

### Extracted Fields

- Auction URL and ID
- Title and vehicle type
- Auction stage
- Top-level price amount, currency, and price type
- Nested current bid or sold price
- Bid count
- Reserve status
- Auction end timestamp
- Year, make, model
- Engine, fuel, transmission, mileage, drive side
- Location
- Description
- Specifications
- Images
- Parser warnings

### Usage

Run locally:

```bash
npm install
npm run build
apify run
```

Run parser tests:

```bash
npm test
```

Run a small cloud test input:

```json
{
  "accessMode": "preview",
  "startUrls": [
    {
      "url": "https://www.carandclassic.com/auctions"
    }
  ],
  "maxResults": 5,
  "includeDetails": true
}
```

Expected cloud-test checks:

- Exactly 5 dataset rows
- No duplicate `auctionUrl` values
- Data is saved with `Actor.pushData(row)`
- Default dataset is used
- JSON and CSV exports are available from the default dataset
- No named dataset is opened

### Known Limitations

- The scraper uses public HTML and embedded Inertia JSON. If Car & Classic changes page payloads or selectors, parser updates may be required.
- `timeRemainingText` is rendered dynamically and is not always present in the embedded JSON, so it may be `null`.
- `endsAt` is extracted when a timestamp is available.
- Some motorcycle fields such as drive side can be unavailable and are returned as `null`.
- Respect Car & Classic terms, robots rules, and applicable laws before running automated collection.

### Inspection Summary

The inspected list and detail pages returned server-rendered HTML with an embedded Inertia JSON payload:

```html
<script data-page="app" type="application/json">...</script>
```

List pages expose `props.searchResults.data[]`; detail pages expose `props.listing` and `props.biddingData`. CheerioCrawler is sufficient for the MVP. Pagination uses ordinary `?page=N` links. No CAPTCHA or hard blocking was observed during the small inspection.

# Actor input Schema

## `accessMode` (type: `string`):

Choose Preview for a free sample capped at 20 auctions. Choose Full for paid results with higher limits.

## `startUrls` (type: `array`):

List, filtered list, results, starting-soon, or direct auction-detail URLs.

## `maxResults` (type: `integer`):

Maximum number of unique auctions to save. Preview mode is capped at 20 auctions automatically. Full mode can collect more for paid-plan users.

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

Visit detail pages to extract description, full specs, and richer images.

## `includeImages` (type: `boolean`):

Include image URLs in each dataset row.

## `includeDescription` (type: `boolean`):

Include the public auction description from detail pages.

## `maxConcurrency` (type: `integer`):

Maximum number of pages to crawl concurrently.

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

Apify proxy configuration.

## Actor input object example

```json
{
  "accessMode": "full",
  "startUrls": [
    {
      "url": "https://www.carandclassic.com/auctions"
    }
  ],
  "maxResults": 100,
  "includeDetails": true,
  "includeImages": true,
  "includeDescription": true,
  "maxConcurrency": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `auctions` (type: `string`):

Main dataset view with one row per unique auction, including vehicle metadata, bidding status, price, location, source URL, images, and parser warnings.

## `dataset` (type: `string`):

Raw default dataset items in JSON format.

# 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 = {
    "accessMode": "full",
    "startUrls": [
        {
            "url": "https://www.carandclassic.com/auctions"
        }
    ],
    "maxResults": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("mai_amm/car-and-classic-auctions-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 = {
    "accessMode": "full",
    "startUrls": [{ "url": "https://www.carandclassic.com/auctions" }],
    "maxResults": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("mai_amm/car-and-classic-auctions-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "accessMode": "full",
  "startUrls": [
    {
      "url": "https://www.carandclassic.com/auctions"
    }
  ],
  "maxResults": 100
}' |
apify call mai_amm/car-and-classic-auctions-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=mai_amm/car-and-classic-auctions-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Car & Classic Auctions Scraper",
        "description": "Scrape live and sold vehicle auctions from Car & Classic. Extract bids, sold prices, reserve status, mileage, specs, locations, images, and auction URLs for classic cars and motorcycles.",
        "version": "0.1",
        "x-build-id": "WJnUude7reZFsTfGF"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/mai_amm~car-and-classic-auctions-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-mai_amm-car-and-classic-auctions-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/mai_amm~car-and-classic-auctions-scraper/runs": {
            "post": {
                "operationId": "runs-sync-mai_amm-car-and-classic-auctions-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/mai_amm~car-and-classic-auctions-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-mai_amm-car-and-classic-auctions-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "startUrls"
                ],
                "properties": {
                    "accessMode": {
                        "title": "Result type",
                        "enum": [
                            "preview",
                            "full"
                        ],
                        "type": "string",
                        "description": "Choose Preview for a free sample capped at 20 auctions. Choose Full for paid results with higher limits.",
                        "default": "full"
                    },
                    "startUrls": {
                        "title": "Start URLs",
                        "type": "array",
                        "description": "List, filtered list, results, starting-soon, or direct auction-detail URLs.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "title": "URL",
                                    "description": "Car & Classic auction list, filtered list, results, starting-soon, or direct auction detail URL.",
                                    "type": "string"
                                }
                            }
                        }
                    },
                    "maxResults": {
                        "title": "Maximum results",
                        "minimum": 1,
                        "type": "integer",
                        "description": "Maximum number of unique auctions to save. Preview mode is capped at 20 auctions automatically. Full mode can collect more for paid-plan users.",
                        "default": 100
                    },
                    "includeDetails": {
                        "title": "Include details",
                        "type": "boolean",
                        "description": "Visit detail pages to extract description, full specs, and richer images.",
                        "default": true
                    },
                    "includeImages": {
                        "title": "Include images",
                        "type": "boolean",
                        "description": "Include image URLs in each dataset row.",
                        "default": true
                    },
                    "includeDescription": {
                        "title": "Include description",
                        "type": "boolean",
                        "description": "Include the public auction description from detail pages.",
                        "default": true
                    },
                    "maxConcurrency": {
                        "title": "Max concurrency",
                        "minimum": 1,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Maximum number of pages to crawl concurrently.",
                        "default": 5
                    },
                    "proxyConfiguration": {
                        "title": "Proxy configuration",
                        "type": "object",
                        "description": "Apify proxy configuration.",
                        "default": {
                            "useApifyProxy": false
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
