# AutoTrader.ca Car Scraper (`axlymxp/autotrader-ca-scraper`) Actor

Scrape AutoTrader.ca car listings across Canada by make, model, province and city: price (CAD), price rating, mileage, year, fuel, transmission, location, dealer name, plus optional full detail (description, equipment, images, dealer info). Pay per vehicle.

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

## Pricing

from $2.00 / 1,000 vehicles

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.ca Car Scraper

Scrape **AutoTrader.ca** — Canada's car marketplace — new and used vehicles by make, model, province and city, with prices, mileage, specs and **dealer** details. Pay only for the vehicles you get.

### Output fields

`id`, `url`, `title`, `price`, `price_formatted`, `currency`, `price_label`, `price_evaluation`, `make`, `model`, `variant`, `offer_type`, `first_registration`, `mileage_km`, `power`, `fuel`, `transmission`, `is_new`, `country`, `province`, `zip`, `city`, `street`, `distance_km`, `seller_type`, `seller_company`, `seller_id`, `seller_info_url`, `image_count`, `image`, `total_results`.
With **Fetch full detail**: `description`, `equipment`, `images`, `seller_detail`, `vehicle_full`.

### Use cases

Used-car price monitoring and valuation comps in Canada, dealer inventory tracking, lead lists of dealers by city, market research by model and province.

### Input

| Field | Description |
|---|---|
| `make` / `model` | e.g. honda / civic |
| `province` / `city` | ON / Toronto, BC / Vancouver… |
| `condition` | new / used |
| `priceFrom`, `priceTo`, `yearFrom`, `yearTo`, `mileageTo` | Filters |
| `fuel`, `transmission`, `sort` | Filters |
| `searchUrls` | AutoTrader.ca search URLs (take priority) |
| `fetchDetails` | Add full detail per vehicle |
| `maxItems` | Max vehicles (~400 per search; split by model/province for more) |

#### Example

```json
{ "make": "toyota", "model": "rav4", "province": "BC", "city": "Vancouver", "condition": "used", "priceTo": 35000, "maxItems": 300 }
```

### Scheduling & integration

Schedule daily runs to track prices and new inventory; send results via webhooks. Results via the Apify API, dataset exports and the MCP server.

### FAQ

**Is this autotrader.com (US)?** No — this is AutoTrader.ca (Canada).
**Do I need a proxy?** No.

# Actor input Schema

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

e.g. honda, toyota, ford, tesla. Empty = all makes.

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

e.g. civic, rav4, f-150 (needs a make).

## `province` (type: `string`):

Two-letter province code: ON, QC, BC, AB, MB, SK, NS, NB, NL, PE. Empty = all of Canada.

## `city` (type: `string`):

City within the province, e.g. Toronto, Ottawa, Vancouver, Calgary, Montreal.

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

New, used or both.

## `priceFrom` (type: `integer`):

Minimum price.

## `priceTo` (type: `integer`):

Maximum price.

## `yearFrom` (type: `integer`):

Minimum model year.

## `yearTo` (type: `integer`):

Maximum model year.

## `mileageTo` (type: `integer`):

Maximum odometer reading.

## `fuel` (type: `string`):

Fuel type.

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

Gearbox.

## `sort` (type: `string`):

AutoTrader.ca sort key: standard, price, mileage, year, age (newest listings).

## `searchUrls` (type: `array`):

Optional: AutoTrader.ca search URLs (copy the address bar after filtering). Takes priority over the fields above.

## `fetchDetails` (type: `boolean`):

Add description, equipment, all images and dealer details (one extra request per vehicle; charged per detail).

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

Maximum vehicles (AutoTrader.ca shows up to 20 pages × 20 per search; split by model/province for more).

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

Optional; not needed.

## Actor input object example

```json
{
  "make": "honda",
  "model": "civic",
  "province": "ON",
  "city": "Toronto",
  "condition": "",
  "fuel": "",
  "transmission": "",
  "searchUrls": [],
  "fetchDetails": false,
  "maxItems": 100,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `results` (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 = {
    "make": "honda",
    "model": "civic",
    "province": "ON",
    "city": "Toronto",
    "searchUrls": [],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("axlymxp/autotrader-ca-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 = {
    "make": "honda",
    "model": "civic",
    "province": "ON",
    "city": "Toronto",
    "searchUrls": [],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("axlymxp/autotrader-ca-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 '{
  "make": "honda",
  "model": "civic",
  "province": "ON",
  "city": "Toronto",
  "searchUrls": [],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call axlymxp/autotrader-ca-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,axlymxp/autotrader-ca-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/uLzbPXnRg2m9JMgXA/builds/0yNwKMlFCKiVsxFws/openapi.json
