# AutoTrader Canada Scraper · Full listing details · $0.68/1K (`mlg14/autotrader-scraper`) Actor

Scrape used and new car listings from AutoTrader Canada for price tracking, dealer research and market analysis. Returns price, mileage, specs, photos and seller info from search or vehicle URLs. $0.68/1K results.

- **URL**: https://apify.com/mlg14/autotrader-scraper.md
- **Developed by:** [MLG Data](https://apify.com/mlg14) (community)
- **Categories:** Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.68 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

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

## AutoTrader Canada Scraper

Scrape public AutoTrader.ca vehicle listings and export Canadian car data to CSV, JSON, or Excel. This AutoTrader.ca API alternative collects search results and individual listing details, with prices, mileage, specifications, photos, seller information, and source URLs in a consistent dataset.

Start with a public `/cars` results URL or an `/offers/` vehicle URL. The scraper follows search pages, removes duplicate listing IDs, and can visit each vehicle page for richer attributes. Set an item limit before a large search to control result volume and cost. Each dataset row represents one vehicle offer observed during the run.

### What data can you extract from AutoTrader.ca?

The output is flat: each field occupies its own column in CSV and Excel. JSON retains numbers, booleans, arrays, and null values. Some detail fields are available only when `includeListingDetails` is enabled and the vehicle page loads. Empty optional values remain null; the scraper does not infer specifications from a listing title or description.

| Field | Description | Example |
|---|---|---|
| `listingId` | Stable vehicle listing ID | `"1ae05594-957c-478f-9581-da934917caad"` |
| `listingUrl` | Direct public offer page | `"https://www.autotrader.ca/offers/..."` |
| `title` | Headline assembled from listed vehicle attributes | `"2022 sedan"` |
| `make` | Vehicle manufacturer | `"Example make"` |
| `model` | Vehicle model | `"Example model"` |
| `variant` | Model variant or trim | `"Touring"` |
| `year` | Model year | `2022` |
| `condition` | New or used classification | `"Used"` |
| `mileageKm` | Odometer reading in kilometres | `110500` |
| `price` | Advertised amount in Canadian dollars | `22985` |
| `priceFormatted` | Price text shown on the listing | `"$ 22,985"` |
| `currency` | ISO currency code | `"CAD"` |
| `bodyType` | Body style from the detail page | `"Sedan"` |
| `fuelType` | Fuel type | `"Gasoline"` |
| `transmission` | Transmission | `"Automatic"` |
| `driveTrain` | Driven wheels | `"Front Wheel Drive"` |
| `doors` | Number of doors | `4` |
| `seats` | Number of seats | `5` |
| `exteriorColor` | Body color | `"Blue"` |
| `engineSizeL` | Engine displacement in litres | `1.5` |
| `cylinders` | Engine cylinder count | `4` |
| `description` | Public description with markup removed | `"Clean, well equipped..."` |
| `imageUrls` | Array of public vehicle image URLs | `["https://..."]` |
| `imageCount` | Number of image URLs found | `23` |
| `sellerName` | Public seller display name | `"Example dealership"` |
| `sellerType` | Seller classification | `"Dealer"` |
| `sellerId` | Site seller identifier | `"47944101"` |
| `sellerPhone` | Public office telephone number | `"000-000-0000"` |
| `sellerWebsite` | Public seller website, if listed | `null` |
| `city` | Seller city | `"EXETER"` |
| `province` | Canadian province code | `"ON"` |
| `postalCode` | Seller postal code | `"N0M 1S1"` |
| `listedAt` | Listing creation timestamp, when shown | `"2026-09-19T14:26:52.689Z"` |
| `has360View` | Whether a 360-degree view is available | `false` |
| `detailsIncluded` | Whether detail-page data was used | `true` |

Use `listingId` to compare repeated exports and `listingUrl` to inspect the original offer. The price is a listing price, not a final purchase cost or an estimate of taxes and fees. `mileageKm` is normalized to a numeric value in kilometres even when the page displays punctuation in the mileage text. `imageUrls` contains links to images; image files are not downloaded into the dataset.

### How to scrape AutoTrader.ca

1. Open a public vehicle search on AutoTrader.ca, apply the site filters you need, and copy the resulting `/cars` URL. You can also copy a single public `/offers/` URL.
2. Paste one or more URLs into `startUrls`. The scraper accepts search and individual vehicle URLs in the same run.
3. Set `maxItems` to a manageable number. Keep `includeListingDetails` on when specifications and seller website matter; turn it off for a faster search-result export.
4. Run the actor and inspect the dataset. Download the results as CSV, JSON, or Excel, or read them through the dataset API.

The scraper paginates each search URL independently and deduplicates vehicles across pages and start URLs. The item limit applies to the total run, not to each search. A single vehicle URL normally yields one row. Searches may yield fewer rows than requested when the public inventory is smaller, listings disappear, pages fail to load, or the site reaches its page cap.

### Input

| Name | Type | Default | Description |
|---|---|---|---|
| `startUrls` | array | Required | Public `/cars` search URLs and `/offers/` listing URLs on autotrader.ca. |
| `includeListingDetails` | boolean | `true` | Open each result's vehicle page to collect additional specifications, seller information, images, and listing date. |
| `maxItems` | integer | `100` | Maximum unique listings for the entire run; `0` removes this item cap. |
| `maxPagesPerSearch` | integer | `200` | Maximum result pages to request for each search URL, within the site's 200-page limit. |
| `proxyConfiguration` | object | Enabled | Proxy settings for public page requests. The default starts with datacenter access and escalates on blocking. |

A bounded search input:

```json
{
  "startUrls": [
    { "url": "https://www.autotrader.ca/cars" }
  ],
  "includeListingDetails": true,
  "maxItems": 30,
  "maxPagesPerSearch": 3
}
```

Keep the filters in the site URL. There is no separate make, model, location, or price field in the input. This lets you use the same visible search definition that you inspected on the website. Save the URL with your exported data so later runs use the same scope. If you combine overlapping URLs, the scraper emits a listing once per run. If you need snapshots over time, compare runs by `listingId` and record when each run was made.

### Output example

The following selected fields came from one record in a 30-result verification run. The full dataset row also included the remaining schema fields, a public listing URL, a description, image URLs, and public seller fields.

```json
{
  "listingId": "1ae05594-957c-478f-9581-da934917caad",
  "year": 2022,
  "condition": "Used",
  "mileageKm": 110500,
  "price": 22985,
  "priceFormatted": "$ 22,985",
  "currency": "CAD",
  "bodyType": "Sedan",
  "fuelType": "Gasoline",
  "transmission": "Automatic",
  "driveTrain": "Front Wheel Drive",
  "doors": 4,
  "seats": 5,
  "exteriorColor": "Blue",
  "engineSizeL": 1.5,
  "cylinders": 4,
  "imageCount": 23,
  "sellerType": "Dealer",
  "city": "EXETER",
  "province": "ON",
  "postalCode": "N0M 1S1",
  "listedAt": "2026-09-19T14:26:52.689Z",
  "has360View": false,
  "detailsIncluded": true
}
```

Treat the example as an observed offer, not a template for every vehicle. Older listings, private offers, different vehicle types, and newly added inventory may expose different optional values. The `detailsIncluded` flag distinguishes a row enriched from its individual page from a row built only from search results. Search-only rows still retain the core price, vehicle, seller, image, and location fields available on the results page.

### Use cases

- Vehicle pricing analysts can compare asking prices by year, mileage, region, and body type using repeatable search URLs.
- Dealership inventory teams can monitor competing public offers and identify changes by stable listing ID.
- Automotive researchers can study the mix of fuel types, transmissions, and body styles in a selected search area.
- Buyers can build a shortlist of public listings and revisit each source URL for current details before contacting a seller.
- Data teams can combine scheduled exports with their own inventory data to observe listing turnover and price movement.
- Regional market teams can compare city and province coverage, while preserving the precise search definition for each export.

For price comparisons, narrow the search to comparable vehicles first. A price difference across unrelated years, conditions, or trims is usually not meaningful. The scraper reports the public asking price at the time of the run; the source listing can change or disappear later. Preserve the source URL and a run timestamp when the data is used for reporting.

### How much does it cost to scrape AutoTrader.ca?

The configured result price is **$0.68 per 1,000 listings**. At that rate, 100 results cost **$0.068**, 1,000 results cost **$0.68**, and 5,000 results cost **$3.40**. These examples multiply the number of emitted dataset rows by the per-result rate. A maximum such as `maxItems: 1000` sets a ceiling on rows, not a promise that the chosen public search contains 1,000 accessible offers.

A verification run produced 30 listings with detail enrichment in about one minute. That observation is useful for sizing a small job, but timing changes with page response, blocked requests, the number of detail pages, and how narrow the search is. If you only need results-page attributes, turn detail enrichment off and compare the smaller run against your required fields. Inspect the platform's current pricing display before planning a recurring high-volume job.

### Tips for best results

Choose a public search that already represents your desired market segment. Apply vehicle type, location, or other available filters on the website and copy the resulting URL. Narrow searches make exports easier to interpret and help work around the site's page cap. For broad research, split work into several searches with distinct filters, then combine exports by `listingId`. The scraper removes duplicates inside one run; separate dataset exports should be deduplicated after merging.

Set `maxItems` even when you expect a small search. This prevents a saved task from growing unexpectedly if the site's inventory increases. Set `maxPagesPerSearch` to a low value for a quick sample, then raise it after checking result quality. If you need body type, seats, engine size, drive train, or listing date, keep detail enrichment on. If you need only price, mileage, make, model, seller, and location, search pages may be sufficient.

When a result matters to a purchase or business decision, open `listingUrl` and confirm it is still active. Listing prices and descriptions are supplied by public sellers and can be corrected or withdrawn. Optional vehicle fields should remain null downstream when absent. Avoid substituting a value from another trim, year, or nearby listing. Match records using `listingId`; titles and prices are not unique identifiers.

### Limits

The public search reports a maximum of 200 pages for a query. A request for page 201 returned no listings during source verification. A broad query can report more offers than those 200 pages expose; splitting by visible site filters is the practical way to reach different slices. A page currently presents about 20 result records, but that layout and the available inventory can change. The scraper stops at the reported page count, the 200-page maximum, `maxPagesPerSearch`, or `maxItems`, whichever comes first.

Detail fields are conditional. A vehicle page can omit a specification, image, seller website, or public phone number. An offer can be removed between fetching search results and its detail page. In that case, the scraper keeps the search result where possible and marks `detailsIncluded` false. Search-only rows are useful but have fewer specification columns filled. The scraper does not fetch seller email addresses, private contact information, vehicle history reports, paid data, or data behind an account. It does not guarantee complete historical inventory.

Search page order can change during a long run, especially for broad or frequently updated queries. Deduplication prevents duplicate rows, but it cannot prevent a newly inserted listing from shifting positions and causing an older listing to be missed. Run narrower searches for more stable coverage. Proxy escalation helps with access interruptions, yet site blocking or downtime can still reduce results.

### Use with AI agents (MCP)

Add this actor to any MCP client (Claude, Cursor, VS Code, n8n and others) with one URL:

`https://mcp.apify.com?tools=mlg14/autotrader-scraper`

The actor returns one dataset item per vehicle listing (make, model, year, price, mileage, seller, photos and optional detail fields). Keep `maxItems` at 20-100 and `maxPagesPerSearch` at 2-3 so runs finish quickly.

**Prompt 1:** "Get 30 car listings from AutoTrader Canada with prices and mileage."

```json
{
  "startUrls": [
    {
      "url": "https://www.autotrader.ca/cars"
    }
  ],
  "includeListingDetails": false,
  "maxItems": 30,
  "maxPagesPerSearch": 2
}
```

**Prompt 2:** "Collect 20 AutoTrader Canada listings with full vehicle specs and seller details."

```json
{
  "startUrls": [
    {
      "url": "https://www.autotrader.ca/cars"
    }
  ],
  "includeListingDetails": true,
  "maxItems": 20,
  "maxPagesPerSearch": 2
}
```

**Prompt 3:** "Sample 50 current Canadian car listings quickly for a price comparison."

```json
{
  "startUrls": [
    {
      "url": "https://www.autotrader.ca/cars"
    }
  ],
  "maxItems": 50,
  "maxPagesPerSearch": 3
}
```

### FAQ

**Is it legal to collect these listings?** The scraper reads public pages. Review the site's terms and applicable law for your use, especially if you plan to republish data or contact sellers. Handle public seller information responsibly and do not use the dataset to misuse personal data.

**Do I need to configure a proxy?** The default proxy configuration is ready for public pages. The actor begins with datacenter access and can escalate when a page is blocked. You can override `proxyConfiguration` if your account requires different settings.

**How fast will a run finish?** It depends on the number of search pages, whether detail enrichment is enabled, and the site's response time. A 30-listing verification run with detail pages took about a minute. Use a small `maxItems` value to estimate timing for your own search.

**Can I schedule or monitor it?** Yes. Save the input as a task, schedule that task, and inspect its runs and dataset counts. Compare IDs and prices across dated exports rather than assuming a missing row means a vehicle sold.

**Can I export to spreadsheets?** Yes. The default dataset supports CSV and Excel exports. JSON is useful when you want to keep `imageUrls` as an array and preserve native types. In a spreadsheet, filter by price, year, mileage, and province after export.

**Why are some fields empty?** Some attributes are not supplied for every public offer. Detail enrichment also depends on the individual vehicle page being available. Check `detailsIncluded`, then open the source listing when the missing field is important.

**Can it collect every vehicle in a broad search?** A single search exposes at most 200 pages. Divide a broad search into narrower site-filtered URLs and merge exports by `listingId`. Inventory can change while a run is in progress, so the result is a snapshot of visible public offers, not a permanent catalog.

### Integrations

Use the dataset API or platform webhooks to feed a reporting pipeline. Scheduling supports repeated snapshots, while workflow connectors can move finished results to another system. CSV and Excel exports work for manual analysis; a connected spreadsheet can be refreshed from the dataset. Keep listing IDs, source URLs, and run dates in any downstream store so changes can be traced to a particular public offer and observation time.

### Support

Open an issue on the Issues tab; we reply within 24h and add fields on request.

# Actor input Schema

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

AutoTrader Canada (autotrader.ca) search URLs or /offers/ vehicle listing URLs; search pages are paginated automatically. Example: https://www.autotrader.ca/cars. Use a filtered search URL (make, model, province) to narrow results.

## `includeListingDetails` (type: `boolean`):

Visit each vehicle page for body style, color, doors, seats, engine, drivetrain, seller website and listing date. Allowed values: true or false. Example: false for faster list-only rows. Use true for full vehicle specs.

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

Stop after this many unique listings across all start URLs. Example: 50 for a quick sample. Set 0 for no item cap. Use a small value (20-100) for tests and agent calls.

## `maxPagesPerSearch` (type: `integer`):

Read at most this many result pages per search URL; the site exposes up to 200 pages per search (1 to 200). Example: 3 for a quick sample. Use a low value to keep runs short, leave at 200 for full exports.

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

Proxy configuration for public site requests. Datacenter addresses are tried first, then residential on blocks.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.autotrader.ca/cars"
    }
  ],
  "includeListingDetails": true,
  "maxItems": 50,
  "maxPagesPerSearch": 200,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `listings` (type: `string`):

Vehicle records in the default dataset.

# 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 = {
    "startUrls": [
        {
            "url": "https://www.autotrader.ca/cars"
        }
    ],
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("mlg14/autotrader-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 = {
    "startUrls": [{ "url": "https://www.autotrader.ca/cars" }],
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("mlg14/autotrader-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 '{
  "startUrls": [
    {
      "url": "https://www.autotrader.ca/cars"
    }
  ],
  "maxItems": 50
}' |
apify call mlg14/autotrader-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mlg14/autotrader-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/89derLwibszf8Vu11/builds/FjFCkLyGjyISlOBhv/openapi.json
