# Autotrader Canada Scraper — Car & Truck Listings + Dealers (`blackfalcondata/autotrader-ca-scraper`) Actor

Scrape autotrader.ca — Canada's largest car marketplace. Get structured make/model/year/price filters with full vehicle specs, dealer contacts (name and phone), and the complete national inventory for any make or model.

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

## Pricing

from $1.60 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

### What does Autotrader Canada Scraper do?

Autotrader Canada Scraper extracts structured listing data from [autotrader.ca](https://autotrader.ca) — including contact details, full descriptions, location data, and seller ratings. It supports controllable result limits, so you can run the same query consistently over time. The actor also offers detail enrichment (full descriptions and contact information) where the source provides them.

### How to use this actor

- 👉 **Register for a free Apify account** — no credit card required.
- 🎉 Just click **[Sign up free on Apify →](https://console.apify.com/sign-up?fpr=1h3gvi&fp_sid=ctarich)** and complete a quick signup.
- 💰 A free Apify account includes $5 in monthly credits — enough to test this actor.
- ⏳ Scrape during the free trial, with no commitment or upfront payment required.

### Key features

<!-- KEY_FEATURES:START -->
- **🇨🇦 Complete national inventory** — pull the full set of matching listings for a make or model across every Canadian province (ON, QC, BC, AB, …) — not just the first page of results. Run a single make, a specific model, or filtered searches and get the complete inventory back as clean structured records.
- **🚗 Structured vehicle data with dealer contacts** — every listing returns make, model, model year, price (CAD), mileage, fuel, transmission, body type, drivetrain, colour, province/city and the selling dealer's name and phone — already parsed into clean fields, no HTML to scrape.
- **♻️ Incremental mode** — daily runs emit only listings that are new or whose price/condition changed since last run. Perfect for inventory-diff dashboards and competitive pricing alerts. Saves 80–95% on recurring monitoring.
- **🔔 Notifications** — telegram / Slack / Discord / WhatsApp / webhook alerts on each run. Combine with incremental to ping only when prices or inventory actually move.
- **📋 Detail enrichment** — two-stage scraping — list first, then enrich each listing with the full detail-page payload. One input toggle controls the depth.
- **💵 Structured pricing** — listing price parsed into a numeric `price` field plus filter inputs (`priceFrom` / `priceTo`) so you can target a budget band. Use `priceType` (where supported) to exclude leasing or wholesale listings.
- **📦 Compact mode** — light payload with core fields only — comparable rows across listings without HTML or metadata overhead. Perfect for pricing dashboards.
- **✂️ Description truncation** — cap description length with `descriptionMaxLength` to control LLM prompt cost and dataset size — set 0 for full descriptions, or any char-limit to trim.
- **📌 Change classification** — each record carries a `changeType` of NEW / UPDATED / UNCHANGED / REAPPEARED / EXPIRED. Default emits NEW + UPDATED + REAPPEARED; opt into the others with `emitUnchanged` / `emitExpired`. Repost detection flags previously-expired listings that come back.
- **📤 Export anywhere** — Download the dataset as JSON, CSV, or Excel from the Apify Console, or stream live via the Apify API and integrations (Make, Zapier, Google Sheets, n8n, …).
- **🔌 MCP connectors** — export your results into Notion via Apify's MCP connectors — a clean run-summary page, no glue code. Opt-in via the App connector field; deterministic field-mapping, no AI. Built on Apify's connector framework, so more destinations open up as their catalog grows.
<!-- KEY_FEATURES:END -->

### What data can you extract from autotrader.ca?

Each result includes Core listing fields (`listingId`, `title`, `url`, `portalUrl`, `make`, `model`, `modelGroup`, and `variant`, and more), detail fields when enrichment is enabled (`description`, `descriptionHtml`, and `descriptionMarkdown`), and contact information (`sellerContact` and `sellerPhone`). In standard mode, all fields are always present — unavailable data points are returned as `null`, never omitted. In compact mode, only core fields are returned.

Enable detail enrichment in the input to get richer fields such as full descriptions and contact information where the source provides them.

### Input

The main inputs are a result limit. Additional filters and options are available in the input schema.

Key parameters:

- **`make`** — Car manufacturer (e.g. bmw, honda, toyota, ford). Use URL-style slug.
- **`makes`** — Optional: scrape several makes in one run (e.g. ["bmw", "audi"]). Each make is searched and its full inventory collected independently. Overrides the single Make field.
- **`model`** — Car model (e.g. x3, civic, corolla). Use URL-style slug. Requires make.
- **`priceFrom`** — Minimum price in CAD.
- **`priceTo`** — Maximum price in CAD.
- **`yearFrom`** — Model year from (e.g. 2018).
- **`yearTo`** — Model year to (e.g. 2024).
- **`mileageTo`** — Maximum mileage in kilometers.
- **`fuelType`** — Filter by fuel type.
- **`transmission`** — Filter by transmission type.
- **`bodyType`** — Filter by body type.
- **`condition`** — Limit results by vehicle condition. `all` (default) includes both new and used listings. `new` returns only manufacturer-new vehicles. `used` returns only pre-owned listings.
- ...and 23 more parameters

### Input examples

**Basic search** — Targeted run scoped to a specific make.

→ Full payload per result — all standard fields populated where the source provides them.

```json
{
  "make": "bmw",
  "maxResults": 50
}
````

**Incremental tracking** — Only emit vehicles that changed since the previous run with this `stateKey`.

→ First run builds the baseline state. Subsequent runs emit only records that are new or whose tracked content changed. Set `emitUnchanged: true` to include unchanged records as well.

```json
{
  "make": "bmw",
  "maxResults": 200,
  "incrementalMode": true,
  "stateKey": "bmw-tracker"
}
```

**Compact output for AI agents** — Return only core fields for AI-agent and MCP workflows.

→ Small payload with the most important fields — ideal for piping into LLMs without token overhead.

```json
{
  "make": "bmw",
  "maxResults": 50,
  "compact": true
}
```

### Output

Each run produces a dataset of structured listing records. Results can be downloaded as JSON, CSV, or Excel from the Dataset tab in Apify Console.

### Example listing record

```json
{
  "listingId": "50ab5090-87ba-49b3-8389-61f98fe1447d",
  "title": "Honda Civic No Accident | Manual Transmission | AS-IS",
  "url": "https://www.autotrader.ca/offers/honda-civic-no-accident-manual-transmission-as-is-gasoline-white-cat_ma31gr200622va2411tr11736-50ab5090-87ba-49b3-8389-61f98fe1447d",
  "portalUrl": "https://www.autotrader.ca/offers/honda-civic-no-accident-manual-transmission-as-is-gasoline-white-cat_ma31gr200622va2411tr11736-50ab5090-87ba-49b3-8389-61f98fe1447d",
  "make": "Honda",
  "model": "Civic",
  "modelGroup": "Civic",
  "variant": "Civic Sedan",
  "modelVersion": "No Accident | Manual Transmission | AS-IS",
  "bodyType": "Sedan",
  "vehicleType": "Car",
  "condition": "Used",
  "year": 2017,
  "mileageKm": 167754,
  "fuelType": "Gasoline",
  "transmission": "Manual",
  "engineDisplacementCcm": 1500,
  "cylinders": 4,
  "driveTrain": "Front Wheel Drive",
  "bodyColor": "White",
  "numberOfSeats": 5,
  "numberOfDoors": 4,
  "price": 13940,
  "priceFormatted": "$ 13,940",
  "currency": "CAD",
  "priceNegotiable": false,
  "priceEvaluation": "top-price",
  "vatDeductible": false,
  "sellerType": "Dealer",
  "sellerName": "MORNINGSIDE NISSAN",
  "sellerPhone": "+18883454880",
  "dealerUrl": "https://www.autotrader.ca/dealerinfo/morningside-nissan?atype=C",
  "country": "CA",
  "province": "ON",
  "city": "Scarborough",
  "zip": "M1B 5V8",
  "latitude": 43.79981,
  "longitude": -79.19236,
  "imageCount": 25,
  "images": [
    "https://prod.pictures.autotrader-ca.net/listing-images/50ab5090-87ba-49b3-8389-61f98fe1447d_e026a37b-1bbf-4a91-b754-9766cf882274.jpg/250x188.webp",
    "https://prod.pictures.autotrader-ca.net/listing-images/50ab5090-87ba-49b3-8389-61f98fe1447d_715d1282-7e33-474e-b65e-96d05a57c1a1.jpg/250x188.webp",
    "https://prod.pictures.autotrader-ca.net/listing-images/50ab5090-87ba-49b3-8389-61f98fe1447d_d4c7f128-cd8c-443e-a908-14fdcae8a041.jpg/250x188.webp",
    "https://prod.pictures.autotrader-ca.net/listing-images/50ab5090-87ba-49b3-8389-61f98fe1447d_666166a6-c525-47fc-ab16-865fc71bfde5.jpg/250x188.webp",
    "https://prod.pictures.autotrader-ca.net/listing-images/50ab5090-87ba-49b3-8389-61f98fe1447d_023e4de0-4d9d-4ef9-88c5-430b5fdd4c4d.jpg/250x188.webp",
    "https://prod.pictures.autotrader-ca.net/listing-images/50ab5090-87ba-49b3-8389-61f98fe1447d_11cf3323-2e82-4d5a-97a1-d39d43773100.jpg/250x188.webp",
    "https://prod.pictures.autotrader-ca.net/listing-images/50ab5090-87ba-49b3-8389-61f98fe1447d_45d9ab84-c9b8-45e7-8140-82f9af0db2ed.jpg/250x188.webp",
    "https://prod.pictures.autotrader-ca.net/listing-images/50ab5090-87ba-49b3-8389-61f98fe1447d_9597ebe7-7e5a-46e5-937f-f8d1c66f725a.jpg/250x188.webp",
    "https://prod.pictures.autotrader-ca.net/listing-images/50ab5090-87ba-49b3-8389-61f98fe1447d_9c1922f9-a651-4d8e-bac5-e3a851d23234.jpg/250x188.webp",
    "https://prod.pictures.autotrader-ca.net/listing-images/50ab5090-87ba-49b3-8389-61f98fe1447d_4c7cf5d8-2e83-41b0-9a83-1da4fdb33b6c.jpg/250x188.webp",
    "https://prod.pictures.autotrader-ca.net/listing-images/50ab5090-87ba-49b3-8389-61f98fe1447d_76127fd7-681b-4d37-b3c1-6a11f4029505.jpg/250x188.webp",
    "https://prod.pictures.autotrader-ca.net/listing-images/50ab5090-87ba-49b3-8389-61f98fe1447d_78e56b55-8a31-4e11-962b-4c4263909851.jpg/250x188.webp",
    "https://prod.pictures.autotrader-ca.net/listing-images/50ab5090-87ba-49b3-8389-61f98fe1447d_3c3db184-2523-4402-b1d8-ed3e7fb268ae.jpg/250x188.webp",
    "https://prod.pictures.autotrader-ca.net/listing-images/50ab5090-87ba-49b3-8389-61f98fe1447d_add5afb2-90d3-4e02-90ed-8af58d2375b9.jpg/250x188.webp",
    "https://prod.pictures.autotrader-ca.net/listing-images/50ab5090-87ba-49b3-8389-61f98fe1447d_986da6bc-1c6d-402a-904d-3a5ed52c3f03.jpg/250x188.webp",
    "https://prod.pictures.autotrader-ca.net/listing-images/50ab5090-87ba-49b3-8389-61f98fe1447d_83ce57db-3383-4d92-a233-a2d7617f008f.jpg/250x188.webp",
    "https://prod.pictures.autotrader-ca.net/listing-images/50ab5090-87ba-49b3-8389-61f98fe1447d_7c7ab5e8-b4ec-4c76-8ff9-7d2832101f10.jpg/250x188.webp",
    "https://prod.pictures.autotrader-ca.net/listing-images/50ab5090-87ba-49b3-8389-61f98fe1447d_b35045fd-5fa2-43c3-a186-fda28bea8955.jpg/250x188.webp",
    "https://prod.pictures.autotrader-ca.net/listing-images/50ab5090-87ba-49b3-8389-61f98fe1447d_560e0798-5ba0-402a-899d-3927b2215e85.jpg/250x188.webp",
    "https://prod.pictures.autotrader-ca.net/listing-images/50ab5090-87ba-49b3-8389-61f98fe1447d_6d1b2e88-6582-4724-8274-ba5cf22e81c4.jpg/250x188.webp",
    "https://prod.pictures.autotrader-ca.net/listing-images/50ab5090-87ba-49b3-8389-61f98fe1447d_2debdcc9-b617-40ee-9aaf-335e8481c27e.jpg/250x188.webp",
    "https://prod.pictures.autotrader-ca.net/listing-images/50ab5090-87ba-49b3-8389-61f98fe1447d_5b883665-9de6-481c-aec7-08be03ea5caa.jpg/250x188.webp",
    "https://prod.pictures.autotrader-ca.net/listing-images/50ab5090-87ba-49b3-8389-61f98fe1447d_3e4e6e87-2ef4-4389-9ea4-200e1043a686.jpg/250x188.webp",
    "https://prod.pictures.autotrader-ca.net/listing-images/50ab5090-87ba-49b3-8389-61f98fe1447d_4163482c-1195-44df-afe1-d8a1c8c277bc.jpg/250x188.webp",
    "https://prod.pictures.autotrader-ca.net/listing-images/50ab5090-87ba-49b3-8389-61f98fe1447d_f769ba04-049a-42b5-ac1c-3a3628c2e985.jpg/250x188.webp"
  ],
  "description": "2017 Honda Civic Si No Accident | Manual Transmission | AS-IS<br /><strong>MARKET VALUE PRICING</strong>.<br />Welcome to Morningside Nissan, your destination for all things Nissan in Scarborough and...",
  "descriptionMarkdown": "2017 Honda Civic Si No Accident | Manual Transmission | AS-IS<br /><strong>MARKET VALUE PRICING</strong>.<br />Welcome to Morningside Nissan, your destination for all things Nissan in Scarborough and...",
  "contentHash": "6349838791fdcd2a522418fa48cb46bf85b622eb43dfad17b3a7bccc89d9d758",
  "equipment": [
    "Air conditioning",
    "Cruise control",
    "Heated Seats",
    "Navigation system",
    "Panoramic Roof",
    "Power Mirrors",
    "Power windows",
    "Remote Keyless Entry",
    "On-board computer",
    "Alloy wheels",
    "Rear Spoiler",
    "Alarm system",
    "Anti-lock braking system (ABS)",
    "Electronic stability control",
    "Fog lights",
    "Power steering",
    "Traction control"
  ],
  "fuelConsumption": "- (l/100 km)",
  "co2Emissions": "- (g/km)",
  "hasServiceHistory": false,
  "hadAccident": false,
  "createdAt": "2026-06-19T11:18:10.718Z",
  "scrapedAt": "2026-06-22T17:36:26.848Z",
  "source": "autotrader.ca"
}
```

### Incremental fields

When incremental mode is on, each record also carries:

- `changeType` — one of `NEW`, `UPDATED`, `UNCHANGED`, `REAPPEARED`, `EXPIRED`.
- `isRepost`, `repostOfId`, `repostDetectedAt` — populated when a new listing matches the tracked content of a previously expired one. Set `skipReposts: true` to drop detected reposts from the output.

### How to scrape autotrader.ca

1. Go to [Autotrader Canada Scraper](https://apify.com/blackfalcondata/autotrader-ca-scraper?fpr=1h3gvi) in Apify Console.
2. Configure the input.
3. Set `maxResults` to control how many results you need.
4. Enable `includeDetails` if you need full descriptions, contact info, equipment and emissions data.
5. Click **Start** and wait for the run to finish.
6. Export the dataset as JSON, CSV, or Excel.

### Use cases

- Extract listing data from autotrader.ca for market research and competitive analysis.
- Track pricing trends across regions and categories over time.
- Monitor new and changed listings on scheduled runs without processing the full dataset every time.
- Use structured location data for regional analysis, mapping, and geo-targeting.
- Feed structured data into AI agents, MCP tools, and automated pipelines using compact mode.
- Export clean, structured data to dashboards, spreadsheets, or data warehouses.
- Benchmark seller / dealer reputation using rating fields.

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

Autotrader Canada Scraper uses [pay-per-event](https://docs.apify.com/platform/actors/paid-actors/pay-per-event) pricing. You pay a small fee when the run starts and then for each result that is actually produced.

- **Run start:** $0.005 per run
- **Per result:** $0.0016 per listing record

Example costs:

- 10 results: **$0.021**
- 25 results: **$0.045**
- 100 results: **$0.17**
- 200 results: **$0.33**
- 500 results: **$0.81**

#### Example: recurring monitoring savings

These examples compare full re-scrapes with incremental runs at different churn rates. Churn is the share of listings that are new or whose tracked content changed since the previous run. Actual churn depends on your query breadth, source activity, and polling frequency — the scenarios below are examples, not predictions.

Example setup: 250 results per run, daily polling (30 runs/month). Event-pricing examples scale linearly with result count.

| Churn rate | Full re-scrape run cost | Incremental run cost | Savings vs full re-scrape | Monthly cost after baseline |
|---|---:|---:|---:|---:|
| 5% — stable niche query | $0.41 | $0.03 | $0.38 (94%) | $0.75 |
| 15% — moderate broad query | $0.41 | $0.07 | $0.34 (84%) | $1.95 |
| 30% — high-volume aggregator | $0.41 | $0.13 | $0.28 (69%) | $3.75 |

Full re-scrape monthly cost at daily polling: $12.15. First month with incremental costs $1.13 / $2.29 / $4.03 for the 5% / 15% / 30% scenarios because the first run builds baseline state at full cost before incremental savings apply.

Platform usage (compute and proxies) is billed separately by Apify based on actual consumption. Incremental runs consume less on result processing, though fixed per-run overhead stays the same.

### FAQ

#### How many results can I get from autotrader.ca?

The number of results depends on the search query and available listings on autotrader.ca. Use the `maxResults` parameter to control how many results are returned per run.

#### Does Autotrader Canada Scraper support recurring monitoring?

Yes. Enable incremental mode to only receive new or changed listings on subsequent runs. This is ideal for scheduled monitoring where you want to track changes over time without re-processing the full dataset.

#### Can I integrate Autotrader Canada Scraper with other apps?

Yes. Autotrader Canada Scraper works with Apify's [integrations](https://apify.com/integrations?fpr=1h3gvi) to connect with tools like Zapier, Make, Google Sheets, Slack, and more. You can also use webhooks to trigger actions when a run completes.

#### Can I use Autotrader Canada Scraper with the Apify API?

Yes. You can start runs, manage inputs, and retrieve results programmatically through the [Apify API](https://docs.apify.com/api/v2). Client libraries are available for JavaScript, Python, and other languages.

#### Can I use Autotrader Canada Scraper through an MCP Server?

Yes. Apify provides an [MCP Server](https://apify.com/apify/actors-mcp-server?fpr=1h3gvi) that lets AI assistants and agents call this actor directly. Use compact mode, `descriptionMaxLength`, a single `descriptionFormat`, and `excludeEmptyFields` to keep payloads manageable for LLM context windows.

#### Is it legal to scrape autotrader.ca?

This actor extracts publicly available data from autotrader.ca. Web scraping of public information is generally considered legal, but you should always review the target site's terms of service and ensure your use case complies with applicable laws and regulations, including GDPR where relevant.

#### Your feedback

If you have questions, need a feature, or found a bug, please [open an issue](https://apify.com/blackfalcondata/autotrader-ca-scraper/issues?fpr=1h3gvi) on the actor's page in Apify Console. Your feedback helps us improve.

### You might also like

- [🚗 mobile.de \[$1/1K💰\] Fast Scraper · Finance · Dealer GPS](https://apify.com/blackfalcondata/mobile-de-scraper?fpr=1h3gvi) — Scrape mobile.de — Germany's largest car marketplace (1.4M+ listings) at $1 / 1,000 results. Full.
- [AutoScout24 Scraper — European Car Listings with Dealer Data](https://apify.com/blackfalcondata/autoscout24-scraper?fpr=1h3gvi) — Scrape autoscout24.com — Europe's largest used-car marketplace with 770K+ listings across 8.
- [Autotrader AU \[$0.9💰\] Car & Caravan Scraper 🇦🇺](https://apify.com/blackfalcondata/autotrader-au-scraper?fpr=1h3gvi) — Scrape autotrader.com.au car & caravan listings — advertised + previous price with a computed.
- [Bilbasen Scraper - Denmark’s Car Marketplace](https://apify.com/blackfalcondata/bilbasen-scraper?fpr=1h3gvi) — Scrape bilbasen.dk, Denmark’s largest car marketplace, with full vehicle specs, seller contacts,.
- [DBA Scraper - Denmark’s Largest Marketplace](https://apify.com/blackfalcondata/dba-listings-scraper?fpr=1h3gvi) — Scrape dba.dk — Denmark's largest classifieds platform. Covers both marketplace and vehicle.
- [Finn.no Mobility Scraper 💰 $2/1K — Cars, MC, Boats & More](https://apify.com/blackfalcondata/finn-mobility-scraper?fpr=1h3gvi) — Scrape finn.no/mobility — Norway's largest vehicle marketplace with 100,000+ listings across 6.

### Getting started with Apify

New to Apify? [Create a free account with $5 credit](https://console.apify.com/sign-up?fpr=1h3gvi\&fp_sid=ctarich) — no credit card required.

1. Sign up — $5 platform credit included
2. Open this actor and configure your input
3. Click **Start** — export results as JSON, CSV, or Excel

Need more later? [See Apify pricing](https://apify.com/pricing?fpr=1h3gvi).

# Actor input Schema

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

Car manufacturer (e.g. bmw, honda, toyota, ford). Use URL-style slug.

## `makes` (type: `array`):

Optional: scrape several makes in one run (e.g. \["bmw", "audi"]). Each make is searched and its full inventory collected independently. Overrides the single Make field.

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

Car model (e.g. x3, civic, corolla). Use URL-style slug. Requires make.

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

Minimum price in CAD.

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

Maximum price in CAD.

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

Model year from (e.g. 2018).

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

Model year to (e.g. 2024).

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

Maximum mileage in kilometers.

## `fuelType` (type: `string`):

Filter by fuel type.

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

Filter by transmission type.

## `bodyType` (type: `string`):

Filter by body type.

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

Limit results by vehicle condition. `all` (default) includes both new and used listings. `new` returns only manufacturer-new vehicles. `used` returns only pre-owned listings.

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

Paste autotrader.ca search URLs directly. Overrides all filters above. Also accepts individual listing URLs.

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

Maximum total results to return (0 = unlimited — collects the complete matching inventory).

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

Fetch full listing details (description, equipment, GPS coordinates, body/colour/drivetrain). Slower but more data.

## `descriptionMaxLength` (type: `integer`):

Truncate description to N characters. 0 = no truncation.

## `compact` (type: `boolean`):

Core fields only (for AI-agent/MCP workflows).

## `incrementalMode` (type: `boolean`):

Track changes across runs. Detects NEW, UPDATED, and EXPIRED listings.

## `stateKey` (type: `string`):

Optional stable identifier for the tracked search universe. Leave empty to auto-derive a stable identifier from your search inputs — different make/model/filter combinations get isolated state automatically.

## `skipReposts` (type: `boolean`):

Exclude listings detected as reposts of previously seen listings.

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

Proxy used for detail-page fetches. The default configuration works reliably for autotrader.ca; you can override it (e.g. switch to Residential) if you ever hit rate-limits on very large runs.

## `telegramToken` (type: `string`):

Telegram bot token (from @BotFather). Required for Telegram notifications.

## `telegramChatId` (type: `string`):

Telegram chat or channel ID (e.g. "-100123456789"). Required when telegramToken is set.

## `discordWebhookUrl` (type: `string`):

Discord incoming webhook URL. Server Settings → Integrations → Webhooks → New Webhook.

## `slackWebhookUrl` (type: `string`):

Slack incoming webhook URL. api.slack.com/messaging/webhooks.

## `notificationLimit` (type: `integer`):

Maximum number of listings included in each notification message (1–20).

## `notifyOnlyChanges` (type: `boolean`):

When Incremental Mode is on, only send notifications for NEW and UPDATED listings. Has no effect outside incremental mode.

## `whatsappAccessToken` (type: `string`):

WhatsApp Cloud API permanent access token (System User token from Meta Business). Recipient must have messaged the business number within the last 24h (service-conversation window — free since Nov 2024).

## `whatsappPhoneNumberId` (type: `string`):

Your WhatsApp Business phone-number ID (numeric, from Meta dashboard). Required when whatsappAccessToken is set.

## `whatsappTo` (type: `string`):

Recipient phone in E.164 format without + (e.g. "14165551234"). Recipient must have messaged your business number within last 24h.

## `webhookUrl` (type: `string`):

Receives a JSON POST with {metadata, items} after each run. Universal escape hatch for n8n / Make / Zapier / custom backends.

## `webhookHeaders` (type: `object`):

Optional JSON object of custom headers (e.g. {"Authorization":"Bearer ..."}).

## `descriptionFormat` (type: `string`):

Pick a single description representation. `all` keeps every variant; `text` / `html` / `markdown` drop the others.

## `excludeEmptyFields` (type: `boolean`):

Drop null, empty-string, and empty-array fields from each record before push. Smaller payloads for AI agents and dashboards.

## `appConnector` (type: `string`):

Optional. Pick a connected app under Settings → API & Integrations to receive your results. Notion is supported today (a run-summary page); other MCP connectors are best-effort as Apify expands its catalog.

## `mcpIssueTeam` (type: `string`):

Only when the connected app is an issue tracker: the team (name or ID) the summary issue is created under, if that app requires one.

## Actor input object example

```json
{
  "make": "bmw",
  "condition": "all",
  "maxResults": 50,
  "includeDetails": true,
  "descriptionMaxLength": 0,
  "compact": false,
  "incrementalMode": false,
  "skipReposts": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "notificationLimit": 5,
  "notifyOnlyChanges": false,
  "descriptionFormat": "all",
  "excludeEmptyFields": 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": "bmw",
    "condition": "all",
    "maxResults": 50,
    "includeDetails": false,
    "proxyConfiguration": {
        "useApifyProxy": true
    },
    "descriptionFormat": "all",
    "excludeEmptyFields": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("blackfalcondata/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": "bmw",
    "condition": "all",
    "maxResults": 50,
    "includeDetails": False,
    "proxyConfiguration": { "useApifyProxy": True },
    "descriptionFormat": "all",
    "excludeEmptyFields": False,
}

# Run the Actor and wait for it to finish
run = client.actor("blackfalcondata/autotrader-ca-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 '{
  "make": "bmw",
  "condition": "all",
  "maxResults": 50,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "descriptionFormat": "all",
  "excludeEmptyFields": false
}' |
apify call blackfalcondata/autotrader-ca-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=blackfalcondata/autotrader-ca-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "Autotrader Canada Scraper — Car & Truck Listings + Dealers",
        "description": "Scrape autotrader.ca — Canada's largest car marketplace. Get structured make/model/year/price filters with full vehicle specs, dealer contacts (name and phone), and the complete national inventory for any make or model.",
        "version": "0.1",
        "x-build-id": "5l7sDW71bxdY7805Z"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/blackfalcondata~autotrader-ca-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-blackfalcondata-autotrader-ca-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/blackfalcondata~autotrader-ca-scraper/runs": {
            "post": {
                "operationId": "runs-sync-blackfalcondata-autotrader-ca-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/blackfalcondata~autotrader-ca-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-blackfalcondata-autotrader-ca-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",
                "properties": {
                    "make": {
                        "title": "Make",
                        "type": "string",
                        "description": "Car manufacturer (e.g. bmw, honda, toyota, ford). Use URL-style slug."
                    },
                    "makes": {
                        "title": "Makes (multiple)",
                        "type": "array",
                        "description": "Optional: scrape several makes in one run (e.g. [\"bmw\", \"audi\"]). Each make is searched and its full inventory collected independently. Overrides the single Make field.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "model": {
                        "title": "Model",
                        "type": "string",
                        "description": "Car model (e.g. x3, civic, corolla). Use URL-style slug. Requires make."
                    },
                    "priceFrom": {
                        "title": "Price From",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Minimum price in CAD."
                    },
                    "priceTo": {
                        "title": "Price To",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum price in CAD."
                    },
                    "yearFrom": {
                        "title": "📅 Model Year From",
                        "minimum": 1900,
                        "maximum": 2030,
                        "type": "integer",
                        "description": "Model year from (e.g. 2018)."
                    },
                    "yearTo": {
                        "title": "📅 Model Year To",
                        "minimum": 1900,
                        "maximum": 2030,
                        "type": "integer",
                        "description": "Model year to (e.g. 2024)."
                    },
                    "mileageTo": {
                        "title": "🛣️ Max Mileage (km)",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Maximum mileage in kilometers."
                    },
                    "fuelType": {
                        "title": "Fuel Type",
                        "enum": [
                            "petrol",
                            "diesel",
                            "electric",
                            "hybrid",
                            "lpg",
                            "cng",
                            "flex fuel"
                        ],
                        "type": "string",
                        "description": "Filter by fuel type."
                    },
                    "transmission": {
                        "title": "⚙️ Transmission",
                        "enum": [
                            "automatic",
                            "manual"
                        ],
                        "type": "string",
                        "description": "Filter by transmission type."
                    },
                    "bodyType": {
                        "title": "Body Type",
                        "enum": [
                            "sedan",
                            "suv",
                            "pickup",
                            "hatchback",
                            "coupe",
                            "convertible",
                            "wagon",
                            "minivan"
                        ],
                        "type": "string",
                        "description": "Filter by body type."
                    },
                    "condition": {
                        "title": "✨ Condition",
                        "enum": [
                            "all",
                            "new",
                            "used"
                        ],
                        "type": "string",
                        "description": "Limit results by vehicle condition. `all` (default) includes both new and used listings. `new` returns only manufacturer-new vehicles. `used` returns only pre-owned listings."
                    },
                    "searchUrls": {
                        "title": "Search URLs",
                        "type": "array",
                        "description": "Paste autotrader.ca search URLs directly. Overrides all filters above. Also accepts individual listing URLs.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "maxResults": {
                        "title": "💯 Max Results",
                        "minimum": 0,
                        "maximum": 100000,
                        "type": "integer",
                        "description": "Maximum total results to return (0 = unlimited — collects the complete matching inventory)."
                    },
                    "includeDetails": {
                        "title": "📋 Include Full Details",
                        "type": "boolean",
                        "description": "Fetch full listing details (description, equipment, GPS coordinates, body/colour/drivetrain). Slower but more data.",
                        "default": true
                    },
                    "descriptionMaxLength": {
                        "title": "✂️ Description Max Length",
                        "minimum": 0,
                        "type": "integer",
                        "description": "Truncate description to N characters. 0 = no truncation.",
                        "default": 0
                    },
                    "compact": {
                        "title": "📦 Compact Output",
                        "type": "boolean",
                        "description": "Core fields only (for AI-agent/MCP workflows).",
                        "default": false
                    },
                    "incrementalMode": {
                        "title": "♻️ Incremental Mode",
                        "type": "boolean",
                        "description": "Track changes across runs. Detects NEW, UPDATED, and EXPIRED listings.",
                        "default": false
                    },
                    "stateKey": {
                        "title": "🔑 State Key",
                        "type": "string",
                        "description": "Optional stable identifier for the tracked search universe. Leave empty to auto-derive a stable identifier from your search inputs — different make/model/filter combinations get isolated state automatically."
                    },
                    "skipReposts": {
                        "title": "🚫 Skip Reposts",
                        "type": "boolean",
                        "description": "Exclude listings detected as reposts of previously seen listings.",
                        "default": false
                    },
                    "proxyConfiguration": {
                        "title": "🛡️ Proxy Configuration",
                        "type": "object",
                        "description": "Proxy used for detail-page fetches. The default configuration works reliably for autotrader.ca; you can override it (e.g. switch to Residential) if you ever hit rate-limits on very large runs."
                    },
                    "telegramToken": {
                        "title": "🔑 Telegram Bot Token",
                        "type": "string",
                        "description": "Telegram bot token (from @BotFather). Required for Telegram notifications."
                    },
                    "telegramChatId": {
                        "title": "💬 Telegram Chat ID",
                        "type": "string",
                        "description": "Telegram chat or channel ID (e.g. \"-100123456789\"). Required when telegramToken is set."
                    },
                    "discordWebhookUrl": {
                        "title": "🎮 Discord Webhook URL",
                        "type": "string",
                        "description": "Discord incoming webhook URL. Server Settings → Integrations → Webhooks → New Webhook."
                    },
                    "slackWebhookUrl": {
                        "title": "💼 Slack Webhook URL",
                        "type": "string",
                        "description": "Slack incoming webhook URL. api.slack.com/messaging/webhooks."
                    },
                    "notificationLimit": {
                        "title": "📊 Max Listings Per Notification",
                        "minimum": 1,
                        "maximum": 20,
                        "type": "integer",
                        "description": "Maximum number of listings included in each notification message (1–20).",
                        "default": 5
                    },
                    "notifyOnlyChanges": {
                        "title": "🔄 Notify Only New/Updated",
                        "type": "boolean",
                        "description": "When Incremental Mode is on, only send notifications for NEW and UPDATED listings. Has no effect outside incremental mode.",
                        "default": false
                    },
                    "whatsappAccessToken": {
                        "title": "📱 WhatsApp Access Token",
                        "type": "string",
                        "description": "WhatsApp Cloud API permanent access token (System User token from Meta Business). Recipient must have messaged the business number within the last 24h (service-conversation window — free since Nov 2024)."
                    },
                    "whatsappPhoneNumberId": {
                        "title": "📞 WhatsApp Phone Number ID",
                        "type": "string",
                        "description": "Your WhatsApp Business phone-number ID (numeric, from Meta dashboard). Required when whatsappAccessToken is set."
                    },
                    "whatsappTo": {
                        "title": "📲 WhatsApp Recipient",
                        "type": "string",
                        "description": "Recipient phone in E.164 format without + (e.g. \"14165551234\"). Recipient must have messaged your business number within last 24h."
                    },
                    "webhookUrl": {
                        "title": "🪝 Generic Webhook URL",
                        "type": "string",
                        "description": "Receives a JSON POST with {metadata, items} after each run. Universal escape hatch for n8n / Make / Zapier / custom backends."
                    },
                    "webhookHeaders": {
                        "title": "📋 Webhook Headers",
                        "type": "object",
                        "description": "Optional JSON object of custom headers (e.g. {\"Authorization\":\"Bearer ...\"})."
                    },
                    "descriptionFormat": {
                        "title": "Description format",
                        "enum": [
                            "all",
                            "text",
                            "html",
                            "markdown"
                        ],
                        "type": "string",
                        "description": "Pick a single description representation. `all` keeps every variant; `text` / `html` / `markdown` drop the others.",
                        "default": "all"
                    },
                    "excludeEmptyFields": {
                        "title": "Exclude empty fields from output",
                        "type": "boolean",
                        "description": "Drop null, empty-string, and empty-array fields from each record before push. Smaller payloads for AI agents and dashboards.",
                        "default": false
                    },
                    "appConnector": {
                        "title": "Send results to Notion (or another connected app)",
                        "type": "string",
                        "description": "Optional. Pick a connected app under Settings → API & Integrations to receive your results. Notion is supported today (a run-summary page); other MCP connectors are best-effort as Apify expands its catalog."
                    },
                    "mcpIssueTeam": {
                        "title": "Issue tracker team",
                        "type": "string",
                        "description": "Only when the connected app is an issue tracker: the team (name or ID) the summary issue is created under, if that app requires one."
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
