# Canadian Tire Scraper - Products, Prices, Stock & Ratings (`abotapi/canadian-tire-scraper`) Actor

Scrape Canadian Tire (canadiantire.ca) products by keyword, category or URL. Extract prices, sale prices, ratings, specifications, images, fulfilment options and stock availability. Supports incremental tracking (NEW, UPDATED, REAPPEARED, EXPIRED), resume and MCP export.

- **URL**: https://apify.com/abotapi/canadian-tire-scraper.md
- **Developed by:** [Abot API](https://apify.com/abotapi) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.70 / 1,000 product records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## Canadian Tire Scraper: Products, Prices & Stock

Canadian Tire Scraper turns canadiantire.ca (Canadian Tire) into structured product data. Search by keyword, or paste a search, category or product link you copied from the site, and get prices, sale prices, ratings, specifications, images, fulfillment detail and stock status. Run with detail off for a fast listing-level pull, or turn on detail enrichment for a fully specced record, then export to JSON, CSV or Excel, or pull results straight into your app through the API.

### Why This Scraper?

- **A listing page returns full product rows without a per-product page read.** A search or category result carries its whole result grid as structured data, so a listing-level pull returns price, sale price, rating and fulfillment detail for every card with no extra detail-page fetch needed.
- **Filters that are actually true.** The storefront's own sort and filter parameters are sent with the request, so brand, on-sale and in-stock filters narrow results before they count against your item cap. Price and rating filters are additionally re-checked on every row, so an exact range always means exactly that, not the storefront's nearest bucket.
- **Keywords, categories, product and store links in one run.** Mix keyword searches with pasted search-result, category, product or store-locator/single-store links; each is read on its own, page by page for a listing, one record for a store.
- **Each search carries its own summary.** Every keyword or link also returns one search-summary record with the result count, the storefront's facet and sort vocabulary for that search, and any "did you mean" or similar-products hints it published.
- **Monitoring built in.** Label every record NEW, UPDATED, REAPPEARED or EXPIRED across scheduled runs, resume an interrupted crawl, and export results through MCP connectors.
- **Structured failures.** A run the storefront refuses fails loudly with a clear message instead of returning an empty dataset that looks like a search with no matches.

### Use Cases

- **Price and stock monitoring:** track prices, sale prices and store-level availability for a product list or a category, and get alerted only to what actually changed.
- **Catalog and assortment analysis:** pull a whole category or search result to study assortment, brand coverage and pricing bands.
- **Rating and review-volume analysis:** collect ratings and rating counts for products you sell or compete with.
- **Fitment and tire research:** collect tire-specific fields (size, road rating, fitment codes) for tire and wheel listings.
- **Comparison shopping and repricing tools:** feed live prices and stock data into your own pricing or comparison app through the API.

### Data You Get

> Sample shape: values are illustrative placeholders, not from a live record.

| Field | Example |
| --- | --- |
| `kind` | `"product"`, `"searchResult"` (one summary record per search or category scope), or `"store"` (one record per store, URL mode only) |
| `code` / `skuId` | `"0000000p"` / `"000-0000-0"` |
| `title` / `name` | `"Sample Brand Cordless Drill Kit, 20V"` (search card) / the same product's own name on its product page |
| `url` / `pdpUrl` / `canonicalUrl` | the link this record was found at / the product page's own link / its canonical link |
| `brand` | `{"label": "Sample Brand"}` |
| `currentPrice` / `originalPrice` / `isOnSale` | `{"value": 69.99}` / `{"value": 144.99}` / `true` |
| `rating` / `ratingsCount` | `4.4` / `1124` |
| `images` / `videoList` | the full image gallery (`fetchDetails` only) / any product videos the page publishes |
| `specifications` / `featureBullets` | name/value/label specification rows / the bullet points the listing publishes |
| `shortDescription` / `longDescription` | short and full product copy (`longDescription` is `fetchDetails` only) |
| `partNumber` / `badges` | `"SAMPLE-20V-KIT"` / `["EXCLUSIVE", "TOPRATED"]` |
| `fulfillment` / `lowStockThreshold` / `isUrgentLowStock` | store and online availability detail / the storefront's low-stock cutoff / whether that cutoff was crossed |
| `isTire` / `tireCategory` / `roadRating` / `fitmentTypeCode` | tire-specific fields, present only on tire and wheel listings |
| `skus` | every size/configuration SKU the product lists, each with its own specifications |
| `warrantyMessage` / `productManualLink` | `"3 yr repair"` / a link to the product manual (`fetchDetails` only) |
| `searchQuery` / `categoryId` / `sourceUrl` | which keyword, category id or pasted link a record was found through |
| `resultCount` / `facets` / `sortBy` / `pagination` | search-summary fields: how many results the search had, its filter vocabulary, its sort options and its page count (`kind: "searchResult"` records only) |
| `similarProducts` / `autoCorrectQuery` / `didYouMean` | the storefront's own suggestions for a search (`kind: "searchResult"` records only) |
| `changeType` / `changedFields` / `firstSeenAt` / `lastSeenAt` | incremental mode only: `"NEW"`, `"UPDATED"`, `"UNCHANGED"`, `"REAPPEARED"` or `"EXPIRED"`, the fields that changed, and when the record was first and last seen |
| `storeName` / `storeAddress` / `storeHours` / `geoPoint` / `services` | a store's name, address, opening hours, coordinates and listed services (`kind: "store"` records only -- paste a store-locator or single-store link in URL mode) |

On a `kind: "product"` row, `storeName`/`storeAddress`/`storeHours` stay `null` (that row's own payload never carries them, only the numeric `storeId` it used for price/stock); a fee breakdown, an order-eligibility flag, and a category id/label distinct from the breadcrumb are likewise never published by this catalog and always return `null`.

**Output views.** The dataset has four views in the Console: **Results** (a unified grid of products and search summaries), **Products**, **Search summaries**, and **Stores**. Each run also stores a run summary under the `OUTPUT` key of its default key-value store.

### How to Use

1. Keep the default **search** mode and add one or more keywords, or switch to **url** mode and paste search-result, category or product links instead.
2. Narrow with the storefront's own filters: sort, brands, on-sale only, in-stock-at-store only, minimum rating and price range.
3. Turn on **Fetch product details** (on by default) for the full description, specifications, every image, fulfillment detail and manual link. Turn it off for a faster, cheaper listing-level pull.
4. Set **Max items** to control run size and cost, then click **Start**.

**Quick keyword search:**

```json
{
  "mode": "search",
  "searchTerms": ["drill"],
  "maxItems": 20
}
```

**Filtered search, sorted and priced within a range:**

```json
{
  "mode": "search",
  "searchTerms": ["patio set"],
  "sortBy": "price_low",
  "brands": ["Mastercraft"],
  "minPrice": 100,
  "maxPrice": 500,
  "onSaleOnly": true,
  "maxItems": 50
}
```

**A whole category, with full detail:**

```json
{
  "mode": "url",
  "urls": ["https://www.canadiantire.ca/en/cat/tools-hardware/power-tools-DC0001707.html"],
  "fetchDetails": true,
  "maxItems": 100
}
```

**Look up a specific product:**

```json
{
  "mode": "url",
  "urls": ["https://www.canadiantire.ca/en/pdp/sample-product-0000000p.html"],
  "fetchDetails": true
}
```

#### Run it from your code

Python:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("abotapi/canadian-tire-scraper").call(run_input={"mode": "search", "searchTerms": ["drill"], "maxItems": 20})
for product in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(product.get("title"), product.get("currentPrice"))
```

JavaScript:

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('abotapi/canadian-tire-scraper').call({ mode: 'search', searchTerms: ['drill'], maxItems: 20 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

Or connect it to Make, Zapier, n8n, Google Sheets or webhooks from the **Integrations** tab.

#### Caps and pagination

**Max items** stops the whole run once that many records have been returned; each keyword, category or product link is otherwise walked to its own natural end. **Max result pages** bounds how many pages are walked per keyword or link; `0` walks every page the storefront offers for that search, up to an internal ceiling of 100 pages per scope, then stops at the storefront's own last page or when a page returns nothing new.

#### Resume and recurring updates

- **Resume** (`resumeFromRunId`) skips products already collected by an earlier run: paste its run or dataset ID and those products are neither returned nor charged again.
- **Incremental mode** (`incrementalMode`) is for scheduled runs over the same search or link. Each record is classified `NEW`, `UPDATED` (with `changedFields`), `UNCHANGED` (suppressed and not billed unless `emitUnchanged` is on), `REAPPEARED`, or `EXPIRED` (only after a run whose walks all reached their end, never after a capped or resumed run, and only with `emitExpired` on). `stateKey` names or shares the stored state; leave it empty and the actor derives one from the run's search and filter setup.

### Send results into your apps (MCP connectors)

Optionally pipe the scraped results into the apps you already use, via Model Context Protocol (MCP) connectors. This is an extra delivery step **after** the scrape: the Apify dataset is never changed.

**What gets written to the connector:** a condensed, human-readable **summary** of each record, not the full JSON. Each item becomes one entry with a **title** and its key fields flattened to plain text. The **complete record always stays in the Apify dataset**.

1. Authorize a connector once under **Apify, Settings, Integrations** (Notion, Linear, Airtable, or Apify).
2. Select it in the **"Pipe results into your apps"** input field (`mcpConnectors`). (If the picker is empty, you haven't authorized a connector yet.)
3. For **Notion**, also set `notionParentPageUrl` to the page where items should be created.
4. Optionally set `maxNotifyListings` to cap how many items are written to each connector per run (default 50).

The connection is mediated by Apify's MCP proxy, so this actor never sees your third-party credentials. Leave the field empty to skip.

### Input Parameters

| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `mode` | string | `search` | `search` (keywords) or `url` (pasted search, category or product links). |
| `searchTerms` | array | `drill` | Search mode: keywords to search, each walked separately. |
| `sortBy` | string | `relevance` | Storefront sort order: relevance, top deals, best seller, price low/high, ratings high to low, or newest. |
| `brands` | array | (none) | Keep only products from these brands, spelled as the storefront spells them; several are combined as "any of these". |
| `onSaleOnly` | boolean | `false` | Keep only products currently carrying a store-promotion (sale) flag. |
| `inStockAtStoreOnly` | boolean | `false` | Keep only products the storefront reports as available at the run's store. |
| `minRating` | string | `any` | Narrow to 4 stars and up, or 3 stars and up. |
| `minPrice` | integer | (none) | Only keep products priced at or above this amount (CAD). |
| `maxPrice` | integer | (none) | Only keep products priced at or below this amount (CAD). |
| `urls` | array | one example link per supported shape | URL mode: a canadiantire.ca search-result, category, product, store-locator or single-store link, or the matching API link; French-localized links too. An unrecognised entry is skipped with a warning in the log. |
| `fetchDetails` | boolean | `true` | Read each product's own page for the full description, specifications, every image, fulfillment detail and manual link. Charged once per record enriched. |
| `storeId` | string | `452` | The canadiantire.ca store number used to price and check stock context for every request. |
| `maxPages` | integer | `0` | Maximum result pages walked per keyword or pasted link. `0` walks every page the storefront offers for that search. |
| `maxItems` | integer | `20` | Maximum number of records to return across the whole run. `0` is unlimited. |
| `proxy` | object | Apify Proxy (Automatic) | Connection settings. The default (Automatic) is the measured, recommended choice and works on every plan, including the free plan. |
| `resumeFromRunId` | string | (none) | Paste a previous run ID or dataset ID to continue a large crawl without returning or charging for products already collected there. |
| `incrementalMode` | boolean | `false` | Turn on for scheduled monitoring. The first run returns every matching product as `NEW`; later runs return only `NEW`, `UPDATED` and `REAPPEARED` products by default. |
| `stateKey` | string | (none) | Name this monitoring campaign to keep its state stable, or to deliberately share state across differently configured runs. |
| `changeScope` | string | `all` | Incremental mode only. `all` compares the whole record; `priceAndStock` compares only price, sale status and fulfillment, so a specification, image or badge change is `UNCHANGED`. |
| `compactUpdates` | boolean | `false` | Incremental mode only. An `UPDATED` row carries only identifiers plus the price/stock fields that moved (`priceChanges`, `variantChanges`), instead of the full record. |
| `expireAfterMissedScans` | integer | `1` | Incremental mode only. A tracked product absent from this many consecutive complete scans in a row is marked `EXPIRED`. |
| `emitUnchanged` | boolean | `false` | Also return, and bill, products that have not changed since the last run, marked `UNCHANGED`. |
| `emitExpired` | boolean | `false` | Also return, and bill, products present in a previous run but no longer found, marked `EXPIRED`. |
| `ignoreFieldsForChanges` | array | `[]` | Incremental mode only. Field names (matched at any depth) that never count as a change. |
| `mcpConnectors` | array | (none) | Optional: send a summary of each record to apps you authorized under Integrations. |
| `notionParentPageUrl` | string | (none) | Notion connector only: page under which item pages are created. |
| `maxNotifyListings` | integer | `50` | Cap on items written to each connector per run. Does not affect the dataset. |

### Output Example

> Sample shape: values are illustrative placeholders, not from a live record.

```json
{
  "kind": "product",
  "code": "0000000p",
  "title": "Sample Brand Cordless Drill Kit, 20V",
  "name": "Sample Brand Cordless Drill Kit, 20V",
  "url": "https://www.canadiantire.ca/en/pdp/sample-product-0000000p.html",
  "pdpUrl": "https://www.canadiantire.ca/en/pdp/sample-product-0000000p.html",
  "canonicalUrl": "https://www.canadiantire.ca/en/pdp/sample-product-0000000p.html",
  "brand": {"label": "Sample Brand"},
  "rating": 4.4,
  "ratingsCount": 1124,
  "currentPrice": {"value": 69.99},
  "originalPrice": {"value": 144.99},
  "isOnSale": true,
  "partNumber": "SAMPLE-20V-KIT",
  "badges": ["EXCLUSIVE", "TOPRATED"],
  "images": [{"url": "https://example.com/sample-image.jpg", "altText": "Sample product image"}],
  "shortDescription": "A sample product description written for this example.",
  "longDescription": "A longer sample description written for this example.",
  "specifications": [{"code": "sample_spec", "label": "Sample Spec", "value": "Sample value"}],
  "fulfillment": {"availability": {"quantity": 24}},
  "warrantyMessage": "3 yr repair",
  "searchQuery": "drill",
  "categoryId": null,
  "sourceUrl": null,
  "source": "search",
  "resultPage": 1,
  "resultPosition": 1,
  "changeType": "NEW",
  "changedFields": [],
  "firstSeenAt": "2026-09-04T02:00:00+00:00",
  "lastSeenAt": "2026-09-04T02:00:00+00:00"
}
```

Every value above is illustrative and fictional, invented for this example, not a real canadiantire.ca product, price or image.

### Plan Requirement

Pay per event: one unit per returned record (products and search summaries alike), plus an actor start event, plus a detail-enrichment unit for each record actually enriched from its product page. The detail-enrichment unit is charged per record, one at a time as each enriched record is delivered, not as a single total at the end of the run. A record whose product page could not be read still ships, uncharged, and a suppressed unchanged record in incremental mode is neither returned nor charged.

### FAQ

#### How much does it cost?

You pay per record returned, plus one detail-enrichment unit for every record actually read from its own product page (on by default; turn `fetchDetails` off for listing-only records). A record whose product page could not be read ships uncharged for detail enrichment. The **Pricing** tab shows the current rates. Use **Max items** to cap the cost of any run.

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

This actor collects only publicly available product data that canadiantire.ca prints on its own pages. You are responsible for how you use it: follow Canadian Tire's terms and the laws that apply to you, and get legal advice if you plan commercial redistribution. Prices and specifications are generally facts, but images and description text may be subject to third-party rights.

#### Can I get only new or changed products on a schedule?

Yes. Schedule the actor from the **Schedules** tab and turn on **Incremental mode**. Each run then returns only new, updated and reappeared products, and unchanged ones are not billed unless you turn `emitUnchanged` on.

#### Why does a search also return a record I did not ask for?

Each keyword, category or pasted link also returns exactly one `kind: "searchResult"` record alongside the product records: a summary of that search (result count, sort options, facet vocabulary, and any suggestions the storefront published). It is billed the same as a product record; filter on `kind` if you only want products.

#### Which proxy should I use?

The default (Automatic, datacenter-eligible) is the measured, recommended choice and works on every plan, including the free plan; most runs should leave it as-is. If the connection you selected is unavailable or gets refused, the run automatically continues on a backup connection (the next Apify proxy tier, then a backup gateway) rather than stopping; that escalation is disclosed in the run log the first time it happens, and any residential traffic it uses is billed to your own Apify plan. Set `CANADIANTIRE_CA_ALTERNATE_CONNECTION=0` in the run's environment variables to disable the backup connection entirely.

#### Why did my run fail instead of returning an empty dataset?

If the storefront refuses every request, the run stops with a clear message so "no products matched" is never confused with "nothing could be read". Run it again in a few minutes. The messages you may see in the run log:

- When the selected connection is unavailable to your account, the log says: "The selected connection is unavailable to this run. Apify free plans do not include residential proxies. Continuing on a backup connection; some pages may still be unavailable. For residential access, upgrade at https://apify.com/pricing or supply your own proxy URLs."
- When pages are then read over the backup connection: "Served over the backup connection (the default connection was unavailable)." Set `CANADIANTIRE_CA_ALTERNATE_CONNECTION=0` in the run's environment variables to disable the backup connection.
- If the proxy connection is refused for the account and no page could be read: "The proxy connection was refused for this account, so no page could be read. Your Apify plan does not include proxy access; a paid plan is required: https://apify.com/pricing. If you entered your own proxy URLs, check that their credentials are valid."
- If this is a free-plan run and the backup connection still could not load a usable page: "No results: residential proxies are unavailable on this run (Apify free plans do not include them), and the backup connection could not load the requested Canadian Tire pages. Upgrade at https://apify.com/pricing or supply your own proxy URLs, then try again."
- If every page request failed for another reason: "Could not load any results page (the requests failed), so nothing was collected. This is a connection problem, not an empty search. Please try again later."

If only some keywords or pages could be read, you still get what was found.

#### Can I use it with AI agents or MCP?

Yes. Call it from any Apify integration or MCP client, and use the connector field to push results into Notion, Linear or Airtable.

### 🔗 Want more e-commerce data?

Pair this actor with these related scrapers from the same team:

<table>
<tr><td>🧩 <a href="https://apify.com/abotapi/walmart-scraper"><b>Walmart Scraper</b></a><br>Scrape Walmart.com by keyword, URL, or item ID. Extract prices, was-prices, sellers...</td><td>🏷️ <a href="https://apify.com/abotapi/kijiji-scraper"><b>Kijiji.ca Scraper</b></a><br>Scrape Kijiji.ca listings across property, vehicles, jobs, electronics, furniture...</td></tr>
<tr><td>🏠 <a href="https://apify.com/abotapi/distressed-ca-scraper"><b>Canada Distressed Property Scraper</b></a><br>Canadian tax-sale properties from taxsales.ca: tender and auction listings across 9...</td><td>👗 <a href="https://apify.com/abotapi/24s-com-scraper"><b>24S Scraper</b></a><br>Scrape 24S luxury fashion by category, filters, or URL. Extract brand, name, price...</td></tr>
<tr><td>🧩 <a href="https://apify.com/abotapi/gopuff-prices-assortment-scraper"><b>Gopuff Scraper</b></a><br>Scrape Gopuff, the US quick-commerce delivery store, by location or product: prices...</td><td>🛒 <a href="https://apify.com/abotapi/shein-product-scraper"><b>SHEIN Scraper</b></a><br>Scrape SHEIN product listings by keyword or from any category, sale or search link...</td></tr>
</table>

👉 [Browse all abotapi scrapers](https://apify.com/abotapi)

### 💬 Support

- 🐞 **Found a bug or a missing field?** Open a ticket on the [Issues tab](https://apify.com/abotapi/canadian-tire-scraper/issues/open). We usually reply within hours.
- 🛠️ **Need another site, extra fields or a private build?** Email <contact@abotapi.com>.
- ⭐ **Enjoying it?** A quick review on the actor page helps other users find it.

# Actor input Schema

## `mode` (type: `string`):

Choose 'search' to run keyword searches. Choose 'url' to paste search, category or product links.

## `searchTerms` (type: `array`):

One or more keywords to search on canadiantire.ca, for example 'drill' or 'patio set'. Each keyword is searched separately and walked page by page.

## `sortBy` (type: `string`):

The storefront's own sort order for search and category results.

## `brands` (type: `array`):

Optional. Keep only products from these brands, exactly as the storefront spells them (for example 'DEWALT', 'Mastercraft'). Several brands are combined as 'any of these'.

## `onSaleOnly` (type: `boolean`):

Optional. Keep only products currently carrying a store promotion (sale) flag.

## `inStockAtStoreOnly` (type: `boolean`):

Optional. Keep only products the storefront reports as available at the store used for this run (see Store number below).

## `minRating` (type: `string`):

Optional. Keep only products rated at or above this number of stars; each returned row is checked against the number.

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

Optional. Only keep products priced at or above this amount.

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

Optional. Only keep products priced at or below this amount.

## `urls` (type: `array`):

Paste canadiantire.ca links: a search-results link (/en/search-results.html?q=...), a category link (/en/cat/.../<id>.html), a product link (/en/pdp/...html), a store-locator link (/api/v1/store/v2/stores?...), a single-store link (/api/v1/store/store/<id>), or the matching API links. French-localized links (lang=fr_CA) are read too.

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

Read each product's own page to add the full description, specifications, every image, fulfillment detail, warranty and manual links. Charged once per record enriched. Turn off for a faster, cheaper listing-level pull.

## `storeId` (type: `string`):

The canadiantire.ca store number used to price and check stock context for every request (the catalog itself is the same nationwide; price and stock context are store-specific). Leave as the default unless you know your store's number.

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

Optional. Defaults to unlimited (0 = walk every page the storefront offers for that search). This field does NOT cap the run on its own; it defers entirely to Max items below. With the default of 0, pages keep walking until Max items is reached, the storefront's own last page is hit, or a page returns nothing new. Only set this if you want to stop earlier than Max items would, at a specific page depth.

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

THE cap on this run: the maximum number of records returned across the whole run, regardless of Max result pages above. Defaults to 20 so a first run is fast and cheap. Use 0 for unlimited.

## `proxy` (type: `object`):

Leave this on the default (Automatic) for most runs; it is the measured, recommended choice and works on every plan.

## `resumeFromRunId` (type: `string`):

Paste a previous run ID or dataset ID to continue a large crawl without returning or charging for products already collected there. For recurring monitoring of the same search, use Incremental mode below instead.

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

Turn this on for daily or recurring monitoring. The first run returns every matching product as NEW. Later runs normally return only NEW, UPDATED and REAPPEARED products. State is kept separately for each search term, link, filter and detail setup; use State key when you want to name or deliberately share a monitoring campaign.

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

Optional. Name this monitoring campaign to keep its state stable, or to deliberately share state across differently configured runs. Leave empty to derive a key automatically from this run's search and filter setup.

## `changeScope` (type: `string`):

'Price and stock only' compares just price, sale status and fulfillment; a specification, image or badge change is treated as UNCHANGED and is never returned or billed as UPDATED. 'All fields' compares the whole record.

## `compactUpdates` (type: `boolean`):

When on, an UPDATED row carries only identifiers plus the price/stock fields that actually moved (priceChanges, variantChanges), instead of the full record. Off by default.

## `expireAfterMissedScans` (type: `integer`):

A tracked product absent from this many consecutive complete scans in a row is marked EXPIRED; fewer misses are held over without being reported. 1 (default) expires on the first miss, matching this actor's previous behaviour.

## `emitUnchanged` (type: `boolean`):

Off by default. Turn on to also return products that have not changed since the last run, marked UNCHANGED. This returns, and bills, extra rows you already have.

## `emitExpired` (type: `boolean`):

Off by default. Turn on to also return products that were present in a previous run but are no longer found, marked EXPIRED. Only produced once a run has fully scanned the tracked search, never when Max items capped it or when Resume was used. This returns, and bills, extra synthetic rows.

## `ignoreFieldsForChanges` (type: `array`):

Optional. Field names that must NOT count as a change in incremental mode, for example "badges" or "lowStockThreshold". A product whose only differences are in these fields is treated as UNCHANGED, so it is not returned or billed as UPDATED. Names match at any nesting depth. The fields still appear in the output of rows that are returned.

## `mcpConnectors` (type: `array`):

Optionally send results into the apps you already use, via Model Context Protocol (MCP) connectors. Authorize one under Apify, Settings, API & Integrations, then select it here. Notion gets a rich page-per-item export; other connectors get a best-effort write or digest. Leave empty to skip; this never changes the dataset output. Supported: Notion (https://mcp.notion.com/mcp), Linear (https://mcp.linear.app/sse), Airtable (https://mcp.airtable.com/mcp), Apify (https://mcp.apify.com).

## `notionParentPageUrl` (type: `string`):

URL or id of the Notion page under which item pages are created. Required to enable the Notion export; ignored by other connectors.

## `maxNotifyListings` (type: `integer`):

Cap on items written to each connector per run. Does not affect the dataset.

## Actor input object example

```json
{
  "mode": "search",
  "searchTerms": [
    "drill"
  ],
  "sortBy": "relevance",
  "onSaleOnly": false,
  "inStockAtStoreOnly": false,
  "minRating": "any",
  "urls": [
    "https://www.canadiantire.ca/en/search-results.html?q=drill",
    "https://www.canadiantire.ca/api/v1/search/v2/search?q=drill&store=452",
    "https://www.canadiantire.ca/en/cat/tools-hardware/power-tools-DC0001707.html",
    "https://www.canadiantire.ca/api/v1/category/api/v1/categories/DC0001707?lang=en_CA",
    "https://www.canadiantire.ca/en/pdp/black-decker-bdc120vaca-cordless-drill-with-battery-charger-and-100-pc-accessory-set-20v-3-8-in-0543199p.html",
    "https://www.canadiantire.ca/api/v1/product/api/v2/product/productFamily/0543199p?baseStoreId=CTR&lang=en_CA&storeId=452&light=true",
    "https://www.canadiantire.ca/api/v1/search/v2/search?q=drill&store=452&lang=fr_CA",
    "https://www.canadiantire.ca/api/v1/store/v2/stores?maxCount=5&language=en_CA&banner=CTR",
    "https://www.canadiantire.ca/api/v1/store/store/452?lang=en_CA"
  ],
  "fetchDetails": true,
  "storeId": "452",
  "maxPages": 0,
  "maxItems": 20,
  "proxy": {
    "useApifyProxy": true
  },
  "incrementalMode": false,
  "changeScope": "all",
  "compactUpdates": false,
  "expireAfterMissedScans": 1,
  "emitUnchanged": false,
  "emitExpired": false,
  "ignoreFieldsForChanges": [],
  "maxNotifyListings": 50
}
```

# Actor output Schema

## `overview` (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 = {
    "mode": "search",
    "searchTerms": [
        "drill"
    ],
    "urls": [
        "https://www.canadiantire.ca/en/search-results.html?q=drill",
        "https://www.canadiantire.ca/api/v1/search/v2/search?q=drill&store=452",
        "https://www.canadiantire.ca/en/cat/tools-hardware/power-tools-DC0001707.html",
        "https://www.canadiantire.ca/api/v1/category/api/v1/categories/DC0001707?lang=en_CA",
        "https://www.canadiantire.ca/en/pdp/black-decker-bdc120vaca-cordless-drill-with-battery-charger-and-100-pc-accessory-set-20v-3-8-in-0543199p.html",
        "https://www.canadiantire.ca/api/v1/product/api/v2/product/productFamily/0543199p?baseStoreId=CTR&lang=en_CA&storeId=452&light=true",
        "https://www.canadiantire.ca/api/v1/search/v2/search?q=drill&store=452&lang=fr_CA",
        "https://www.canadiantire.ca/api/v1/store/v2/stores?maxCount=5&language=en_CA&banner=CTR",
        "https://www.canadiantire.ca/api/v1/store/store/452?lang=en_CA"
    ],
    "storeId": "452",
    "proxy": {
        "useApifyProxy": true
    },
    "incrementalMode": false,
    "compactUpdates": false,
    "emitUnchanged": false,
    "emitExpired": false,
    "ignoreFieldsForChanges": []
};

// Run the Actor and wait for it to finish
const run = await client.actor("abotapi/canadian-tire-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 = {
    "mode": "search",
    "searchTerms": ["drill"],
    "urls": [
        "https://www.canadiantire.ca/en/search-results.html?q=drill",
        "https://www.canadiantire.ca/api/v1/search/v2/search?q=drill&store=452",
        "https://www.canadiantire.ca/en/cat/tools-hardware/power-tools-DC0001707.html",
        "https://www.canadiantire.ca/api/v1/category/api/v1/categories/DC0001707?lang=en_CA",
        "https://www.canadiantire.ca/en/pdp/black-decker-bdc120vaca-cordless-drill-with-battery-charger-and-100-pc-accessory-set-20v-3-8-in-0543199p.html",
        "https://www.canadiantire.ca/api/v1/product/api/v2/product/productFamily/0543199p?baseStoreId=CTR&lang=en_CA&storeId=452&light=true",
        "https://www.canadiantire.ca/api/v1/search/v2/search?q=drill&store=452&lang=fr_CA",
        "https://www.canadiantire.ca/api/v1/store/v2/stores?maxCount=5&language=en_CA&banner=CTR",
        "https://www.canadiantire.ca/api/v1/store/store/452?lang=en_CA",
    ],
    "storeId": "452",
    "proxy": { "useApifyProxy": True },
    "incrementalMode": False,
    "compactUpdates": False,
    "emitUnchanged": False,
    "emitExpired": False,
    "ignoreFieldsForChanges": [],
}

# Run the Actor and wait for it to finish
run = client.actor("abotapi/canadian-tire-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 '{
  "mode": "search",
  "searchTerms": [
    "drill"
  ],
  "urls": [
    "https://www.canadiantire.ca/en/search-results.html?q=drill",
    "https://www.canadiantire.ca/api/v1/search/v2/search?q=drill&store=452",
    "https://www.canadiantire.ca/en/cat/tools-hardware/power-tools-DC0001707.html",
    "https://www.canadiantire.ca/api/v1/category/api/v1/categories/DC0001707?lang=en_CA",
    "https://www.canadiantire.ca/en/pdp/black-decker-bdc120vaca-cordless-drill-with-battery-charger-and-100-pc-accessory-set-20v-3-8-in-0543199p.html",
    "https://www.canadiantire.ca/api/v1/product/api/v2/product/productFamily/0543199p?baseStoreId=CTR&lang=en_CA&storeId=452&light=true",
    "https://www.canadiantire.ca/api/v1/search/v2/search?q=drill&store=452&lang=fr_CA",
    "https://www.canadiantire.ca/api/v1/store/v2/stores?maxCount=5&language=en_CA&banner=CTR",
    "https://www.canadiantire.ca/api/v1/store/store/452?lang=en_CA"
  ],
  "storeId": "452",
  "proxy": {
    "useApifyProxy": true
  },
  "incrementalMode": false,
  "compactUpdates": false,
  "emitUnchanged": false,
  "emitExpired": false,
  "ignoreFieldsForChanges": []
}' |
apify call abotapi/canadian-tire-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,abotapi/canadian-tire-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/TxIJ1oLKL2w945vZP/builds/yY2mSl7nr77swbN25/openapi.json
