# CarGurus Canada Car Listings Scraper (`xerneas_ftw/cargurus-ca`) Actor

Fast, low-cost CarGurus Canada (cargurus.ca) used car listings: price in CAD, CarGurus deal rating and expected price, mileage in km, year, fuel, drivetrain, VIN, dealer, photo. Search by postal code and radius. No personal data.

- **URL**: https://apify.com/xerneas_ftw/cargurus-ca.md
- **Developed by:** [Prathamesh Chavan](https://apify.com/xerneas_ftw) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.40 / 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

## CarGurus Canada Scraper: used car listings with deal ratings

Scrape used car listings from **CarGurus Canada** (cargurus.ca) around any Canadian postal code. You get clean JSON with make, model, trim, price in CAD, CarGurus' own deal rating and expected price, mileage in kilometres, fuel, fuel consumption, drivetrain, VIN, days on market, dealer name and photos. Use it as an unofficial CarGurus API for Canadian used car prices and dealer inventory. Export to JSON, CSV or Excel, or call it from your own code.

- **Cheap:** $0.40 per 1,000 results, plus $0.0005 per run.
- **Fast:** 24 listings per request, with no browser.
- **Deal ratings included:** every listing carries CarGurus' `dealRating` (Great, Good, Fair, High or Overpriced) and `expectedPrice`.
- **Filtered at the source:** make, model, price, year and mileage are filtered by CarGurus itself, so you only pay for listings you asked for.
- **No personal data:** private sellers' names and all postal codes and phone numbers are never collected.

### What can you use it for?

- **Car flipping and wholesale:** find listings priced below CarGurus' own expected price.
- **Dealer inventory monitoring:** track new listings and competitor stock around a postal code every day.
- **Cross-border comparison:** compare Canadian asking prices with the US market (see [CarGurus US Scraper](https://apify.com/xerneas_ftw/cargurus-us)).
- **Market data:** feed listings into a spreadsheet, dashboard or pricing model.

### How to scrape CarGurus Canada

1. Enter a Canadian postal code in `zip` and a `distance` in kilometres.
2. Optionally add a `make`, `model`, price, year and mileage filters, and set `maxItems`.
3. Click **Start**. Download the results as JSON, CSV or Excel, or read them through the API.

### Input

```json
{
  "zip": "M5V 3L9",
  "distance": 100,
  "make": "Ford",
  "model": "F-150",
  "maxPrice": 45000,
  "yearMin": 2018,
  "maxMileage": 120000,
  "sortType": "LISTING_DATE",
  "sortDirection": "DESC",
  "maxItems": 100
}
```

| Field | Description |
|---|---|
| `zip` | Canadian postal code to search around, with or without the space. Default `M5V 3L9` (Toronto). |
| `distance` | Radius in kilometres. Default 50. |
| `make` / `model` | Make and model by name (`Ford`, `Mercedes-Benz`, `Chevy`, `F-150`). Filtered by CarGurus itself; a partial model name is matched on the results. |
| `minPrice` / `maxPrice` | Price range in CAD. |
| `yearMin` / `yearMax` | Model year range. |
| `maxMileage` | Maximum mileage in kilometres. |
| `sortType` | `LISTING_DATE` (default), `PRICE` or `MILEAGE`. |
| `sortDirection` | `DESC` (default; newest first for listing date) or `ASC`. |
| `maxItems` | How many listings to return (up to 1,200). |
| `maxPages` | Optional cap on result pages (24 listings each). |
| `makeModelTrimPaths` | Advanced: CarGurus entity ids such as `m2` (Ford) or `d337` (Ford F-150), filtered by CarGurus itself. |
| `useCache` / `cacheTtlMinutes` | Repeating the same search within 30 minutes returns the stored results instantly, without contacting the site. Set `useCache: false` for always-live data. |

The input names are the same as in the CarGurus US and UK scrapers, so one integration covers all three.

### Output

```json
{
  "listingId": "464047713",
  "title": "2023 Lincoln Corsair Reserve AWD",
  "year": 2023,
  "make": "Lincoln",
  "model": "Corsair",
  "trim": "Reserve AWD",
  "price": 37922,
  "priceString": "$37,922",
  "currency": "CAD",
  "expectedPrice": 40590,
  "dealRating": "GREAT_PRICE",
  "mileage": 29845,
  "mileageUnit": "km",
  "fuelType": "Gasoline",
  "fuelConsumption": "10 L/100km",
  "transmission": "Automatic",
  "bodyType": "SUV / Crossover",
  "color": "Gray (Metallic Graphite Black)",
  "interiorColor": null,
  "engine": "250 hp 2L I4",
  "doors": "4 doors",
  "driveTrain": "All-Wheel Drive",
  "certifiedPreOwned": false,
  "isFeatured": false,
  "vin": "5LMCJ2DA5PUL10391",
  "stockNumber": "L10391",
  "daysOnMarket": 0,
  "sellerType": "Dealer",
  "dealerName": "CA Auto Sales and Wholesale",
  "sellerCity": "Brampton, ON",
  "sellerRegion": "ON",
  "distanceKm": 31,
  "options": ["Bluetooth", "Remote Start", "Blind Spot Monitoring"],
  "mainImage": "https://static.cargurus.com/images/forsale/2026/11/11/21/15/2023_lincoln_corsair-pic-1429824189354533396-1024x768.jpeg",
  "images": ["https://static.cargurus.com/images/forsale/…-1024x768.jpeg"],
  "listingUrl": "https://www.cargurus.ca/Cars/inventorylisting/vdp.action?listingId=464047713",
  "scrapedAt": "2026-11-12T10:21:44.120Z"
}
```

Fields CarGurus doesn't show for a listing are `null`. `sellerRegion` is the province code. `dealerName` is filled for dealers only. `isFeatured` marks paid placements, which CarGurus mixes into the results regardless of the sort order. A listing without an asking price comes through with `price: null` and `dealRating: "NA"`; setting `minPrice` excludes those.

### Pricing

Pay per event: **$0.0005 per run + $0.0004 per result**.

| Results | Cost |
|---|---|
| 100 | $0.04 |
| 1,000 | $0.40 |
| 10,000 | $4.00 |

The actor respects your run's maximum charge. It stops fetching once that limit is reached, so you are never billed past it.

### Tips

- Use the full model name (`F-150`, `3 Series`) so CarGurus filters it; partial names make the actor read extra pages.
- For a daily feed of new listings, schedule it with `sortType: LISTING_DATE` and `maxItems` a little above your daily volume.
- To cover a whole province or the country, run several searches with different postal codes and a large `distance`.

### Use it from your code

Call the scraper through the Apify API, here with the Python client (`pip install apify-client`):

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("xerneas_ftw/cargurus-ca").call(run_input={
    "zip": "V6B 1A1",
    "distance": 100,
    "make": "Toyota",
    "model": "RAV4",
    "maxPrice": 35000,
    "maxItems": 200,
})
for car in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(car["title"], car["price"], car["dealRating"])
```

It also works with JavaScript, plain HTTP, Make, Zapier, n8n and Google Sheets through Apify integrations.

### FAQ

**Is there an official CarGurus API?** Not a public one for searching listings. This actor gives you search results as structured JSON.

**Does it cover CarGurus US or UK?** Not this actor. Use [CarGurus US Scraper](https://apify.com/xerneas_ftw/cargurus-us) for cargurus.com and [CarGurus UK Scraper](https://apify.com/xerneas_ftw/cargurus-uk) for cargurus.co.uk.

**Are prices in Canadian dollars?** Yes. `price` and `expectedPrice` are in CAD and `mileage` is in kilometres.

**Do I need a CarGurus account or proxies?** No. Everything is handled for you.

**Does it collect seller contact details?** No. It collects only listing data. Private sellers' names, postal codes and phone numbers are never output.

### Legal

This actor collects only publicly available listing data and no personal data. CarGurus' terms of use restrict automated collection. You are responsible for checking that your use of the data is allowed by CarGurus' terms and applicable law, including PIPEDA and provincial privacy laws.

# Actor input Schema

## `zip` (type: `string`):

Canadian postal code to search around, with or without the space (e.g. M5V 3L9).

## `distance` (type: `integer`):

Search radius around the postal code, in kilometres.

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

One make, any spelling (e.g. "Ford", "Mercedes-Benz", "Chevy"). Filtered by CarGurus itself. Optional.

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

Model name (e.g. "F-150", "RAV4"). An exact name is filtered by CarGurus; partial text is matched on the results. Optional.

## `minPrice` (type: `integer`):

Lowest price in CAD. Optional.

## `maxPrice` (type: `integer`):

Highest price in CAD. Optional.

## `yearMin` (type: `integer`):

Oldest model year. Optional.

## `yearMax` (type: `integer`):

Newest model year. Optional.

## `maxMileage` (type: `integer`):

Highest mileage in kilometres. Optional.

## `sortType` (type: `string`):

How CarGurus orders the results.

## `sortDirection` (type: `string`):

Sort direction.

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

Stop after this many listings. Empty = 24, or Max pages × 24 when Max pages is set.

## `maxPages` (type: `integer`):

Optional cap on result pages fetched (24 listings each). Empty = as many as Max results needs.

## `makeModelTrimPaths` (type: `array`):

CarGurus make/model ids such as "m2" (Ford) or "d337" (Ford F-150), filtered by CarGurus itself. Optional; most users should use Make instead.

## `searchCountry` (type: `string`):

cargurus.ca (Canada) only.

## `useCache` (type: `boolean`):

Serve a repeat search within the TTL from a named key-value store.

## `cacheTtlMinutes` (type: `integer`):

How long a cached search stays fresh.

## `cacheStoreName` (type: `string`):

Named key-value store for the cache (persists across runs).

## Actor input object example

```json
{
  "zip": "M5V 3L9",
  "distance": 50,
  "sortType": "LISTING_DATE",
  "sortDirection": "DESC",
  "searchCountry": "CA",
  "useCache": true,
  "cacheTtlMinutes": 30,
  "cacheStoreName": "cargurus-ca-cache"
}
```

# Actor output Schema

## `results` (type: `string`):

Scraped listings in the default dataset.

## `stats` (type: `string`):

Requests made, bytes transferred, cache use and duration.

# 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 = {
    "zip": "M5V 3L9"
};

// Run the Actor and wait for it to finish
const run = await client.actor("xerneas_ftw/cargurus-ca").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 = { "zip": "M5V 3L9" }

# Run the Actor and wait for it to finish
run = client.actor("xerneas_ftw/cargurus-ca").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 '{
  "zip": "M5V 3L9"
}' |
apify call xerneas_ftw/cargurus-ca --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,xerneas_ftw/cargurus-ca"
        }
    }
}
```

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/abEja5Rjw02bNcWlf/builds/fpxdwpNG3SYTL8sf5/openapi.json
