{
  "data": {
    "id": "uVANImjPIpmB488jo",
    "actId": "KOBoQdHhmizfIMK0d",
    "userId": "NL4ThgItAwaoBlffQ",
    "startedAt": "2026-12-03T17:59:16.718Z",
    "finishedAt": "2026-12-03T17:59:21.062Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CLI"
    },
    "inputSchema": "{\n  \"title\": \"Canadian Tire Scraper\",\n  \"description\": \"Scrape products from CanadianTire.ca by keyword, category, exact product code, or URL. Add full details, variants and customer reviews.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"search = keyword search. category = browse categories. byProductCodes = exact products by code. byUrls = paste product, category or search URLs. reviews = customer reviews for products.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"search\",\n        \"category\",\n        \"byProductCodes\",\n        \"byUrls\",\n        \"reviews\"\n      ],\n      \"enumTitles\": [\n        \"Search by keyword\",\n        \"Browse categories\",\n        \"Get products by code\",\n        \"Paste product/category/search URLs\",\n        \"Get customer reviews\"\n      ],\n      \"default\": \"search\",\n      \"prefill\": \"search\"\n    },\n    \"searchQueries\": {\n      \"title\": \"Search queries (mode=search)\",\n      \"type\": \"array\",\n      \"description\": \"One or more keywords to search for, e.g. 'hammer', 'garden hose', 'dewalt drill'. Each query is run separately.\",\n      \"editor\": \"stringList\",\n      \"prefill\": [\n        \"hammer\"\n      ],\n      \"default\": [\n        \"hammer\"\n      ]\n    },\n    \"categoryCodes\": {\n      \"title\": \"Categories (mode=category)\",\n      \"type\": \"array\",\n      \"description\": \"Canadian Tire category codes or full category URLs. A code looks like 'DC0002027' (Drills) at the end of a category page URL.\",\n      \"editor\": \"stringList\",\n      \"prefill\": [\n        \"DC0002027\"\n      ]\n    },\n    \"productCodes\": {\n      \"title\": \"Product codes or product URLs (mode=byProductCodes / reviews)\",\n      \"type\": \"array\",\n      \"description\": \"Exact Canadian Tire product codes (e.g. '0574127P') or full product URLs. In reviews mode these select the products whose reviews are fetched.\",\n      \"editor\": \"stringList\",\n      \"prefill\": [\n        \"0574127P\"\n      ]\n    },\n    \"startUrls\": {\n      \"title\": \"Start URLs (mode=byUrls / reviews)\",\n      \"type\": \"array\",\n      \"description\": \"Paste Canadian Tire product, category or search-results URLs. The actor detects each URL type automatically. In reviews mode, product URLs are used.\",\n      \"editor\": \"stringList\",\n      \"prefill\": []\n    },\n    \"sortBy\": {\n      \"title\": \"Sort order (mode=search / category)\",\n      \"type\": \"string\",\n      \"description\": \"How Canadian Tire orders results before filters are applied.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"relevance\",\n        \"priceAsc\",\n        \"priceDesc\",\n        \"newest\",\n        \"ratingDesc\",\n        \"bestseller\",\n        \"topDeals\"\n      ],\n      \"enumTitles\": [\n        \"Relevance (recommended)\",\n        \"Price: low to high\",\n        \"Price: high to low\",\n        \"Newest arrivals\",\n        \"Best rated\",\n        \"Best seller\",\n        \"Top deals\"\n      ],\n      \"default\": \"relevance\",\n      \"prefill\": \"relevance\"\n    },\n    \"minPrice\": {\n      \"title\": \"Minimum price (CAD)\",\n      \"type\": \"number\",\n      \"description\": \"Only include products priced at or above this amount, in Canadian dollars (CAD).\",\n      \"minimum\": 0,\n      \"maximum\": 100000\n    },\n    \"maxPrice\": {\n      \"title\": \"Maximum price (CAD)\",\n      \"type\": \"number\",\n      \"description\": \"Only include products priced at or below this amount, in Canadian dollars (CAD).\",\n      \"minimum\": 0,\n      \"maximum\": 100000\n    },\n    \"minRating\": {\n      \"title\": \"Minimum rating\",\n      \"type\": \"number\",\n      \"description\": \"Only include products with a customer rating at or above this value (0-5). Products with no rating data are kept.\",\n      \"minimum\": 0,\n      \"maximum\": 5\n    },\n    \"onSaleOnly\": {\n      \"title\": \"Only on-sale products\",\n      \"type\": \"boolean\",\n      \"description\": \"Only include products currently marked on sale or clearance.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"inStockOnly\": {\n      \"title\": \"Only in-stock products\",\n      \"type\": \"boolean\",\n      \"description\": \"Only include products with available stock.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"brand\": {\n      \"title\": \"Brand contains\",\n      \"type\": \"string\",\n      \"description\": \"Only include products whose brand name contains this text (case-insensitive), e.g. 'mastercraft'.\",\n      \"editor\": \"textfield\"\n    },\n    \"brands\": {\n      \"title\": \"Exact brands (server-side)\",\n      \"type\": \"array\",\n      \"description\": \"Only include these exact brand names, e.g. ['DEWALT', 'Mastercraft']. Each brand is queried separately with Canadian Tire's own brand filter.\",\n      \"editor\": \"stringList\",\n      \"prefill\": []\n    },\n    \"dealType\": {\n      \"title\": \"Deal type (mode=search / category)\",\n      \"type\": \"string\",\n      \"description\": \"Only include products matching this deal type, applied server-side by Canadian Tire's search API.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"\",\n        \"clearance\",\n        \"sale\",\n        \"limitedTimeOffer\",\n        \"specialBuy\"\n      ],\n      \"enumTitles\": [\n        \"(none)\",\n        \"Store Clearance\",\n        \"Sale\",\n        \"Limited Time Offer\",\n        \"Special Buy\"\n      ],\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"availabilityType\": {\n      \"title\": \"Availability type (mode=search / category)\",\n      \"type\": \"string\",\n      \"description\": \"Only include products matching this availability category, applied server-side by Canadian Tire's search API.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"\",\n        \"inStoreOnly\",\n        \"onlineOnly\",\n        \"inStockAtMyStore\"\n      ],\n      \"enumTitles\": [\n        \"(none)\",\n        \"In-store only\",\n        \"Online only\",\n        \"In stock at my store\"\n      ],\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"featuredType\": {\n      \"title\": \"Featured badge (mode=search / category)\",\n      \"type\": \"string\",\n      \"description\": \"Only include products carrying this merchandising badge, applied server-side by Canadian Tire's search API.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"\",\n        \"exclusive\",\n        \"topRated\",\n        \"bestSeller\",\n        \"testedForLife\",\n        \"newArrivals\"\n      ],\n      \"enumTitles\": [\n        \"(none)\",\n        \"Exclusive\",\n        \"Top Rated\",\n        \"Best Seller\",\n        \"Tested For Life\",\n        \"New Arrivals\"\n      ],\n      \"default\": \"\",\n      \"prefill\": \"\"\n    },\n    \"storeIds\": {\n      \"title\": \"Store IDs (stock/availability reference)\",\n      \"type\": \"array\",\n      \"description\": \"Canadian Tire store IDs, e.g. ['144', '600']. Each store gets its own price and stock rows. Find IDs via the Store Locator; the number is at the end of a store page URL.\",\n      \"editor\": \"stringList\",\n      \"prefill\": [\n        \"144\"\n      ],\n      \"default\": [\n        \"144\"\n      ]\n    },\n    \"language\": {\n      \"title\": \"Language\",\n      \"type\": \"string\",\n      \"description\": \"English or French product data, titles, specifications and breadcrumbs.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"en\",\n        \"fr\"\n      ],\n      \"enumTitles\": [\n        \"English\",\n        \"French\"\n      ],\n      \"default\": \"en\",\n      \"prefill\": \"en\"\n    },\n    \"includeDetails\": {\n      \"title\": \"Include full details\",\n      \"type\": \"boolean\",\n      \"description\": \"Fetch each product's detail page data: description, full specifications, breadcrumbs, videos and manual links. Adds one request per product.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"includeVariants\": {\n      \"title\": \"Include variants\",\n      \"type\": \"boolean\",\n      \"description\": \"Add size/colour/SKU variants with option values and part numbers (when the product has variants). Also turns on full details.\",\n      \"default\": false,\n      \"prefill\": false\n    },\n    \"maxItems\": {\n      \"title\": \"Max items\",\n      \"type\": \"integer\",\n      \"description\": \"Maximum number of records to return in total (products or reviews).\",\n      \"minimum\": 1,\n      \"maximum\": 50000,\n      \"default\": 48,\n      \"prefill\": 3\n    },\n    \"maxPages\": {\n      \"title\": \"Max pages per query\",\n      \"type\": \"integer\",\n      \"description\": \"Maximum result pages (120 products/page) to walk per query, category or search URL.\",\n      \"minimum\": 1,\n      \"maximum\": 1000,\n      \"default\": 20,\n      \"prefill\": 1\n    },\n    \"maxItemsPerQuery\": {\n      \"title\": \"Max items per query\",\n      \"type\": \"integer\",\n      \"description\": \"Optional cap per keyword, category or URL when running several inputs. Leave blank for no per-input cap.\",\n      \"minimum\": 1,\n      \"maximum\": 50000\n    },\n    \"maxReviews\": {\n      \"title\": \"Max reviews (mode=reviews)\",\n      \"type\": \"integer\",\n      \"description\": \"Maximum number of review records to return.\",\n      \"minimum\": 1,\n      \"maximum\": 5000,\n      \"default\": 100,\n      \"prefill\": 20\n    },\n    \"maxReviewsPerProduct\": {\n      \"title\": \"Max reviews per product (mode=reviews)\",\n      \"type\": \"integer\",\n      \"description\": \"Optional cap on reviews per product when several products are supplied. Leave blank for no per-product cap.\",\n      \"minimum\": 1,\n      \"maximum\": 5000\n    },\n    \"oldestReviewDate\": {\n      \"title\": \"Oldest review date (mode=reviews)\",\n      \"type\": \"string\",\n      \"description\": \"Optional cut-off date in YYYY-MM-DD format. Older reviews are skipped.\",\n      \"editor\": \"textfield\"\n    },\n    \"reviewSort\": {\n      \"title\": \"Review order (mode=reviews)\",\n      \"type\": \"string\",\n      \"description\": \"How reviews are ordered.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"newest\",\n        \"oldest\",\n        \"highestRated\",\n        \"lowestRated\",\n        \"mostHelpful\"\n      ],\n      \"enumTitles\": [\n        \"Newest first\",\n        \"Oldest first\",\n        \"Highest rating first\",\n        \"Lowest rating first\",\n        \"Most helpful first\"\n      ],\n      \"default\": \"newest\",\n      \"prefill\": \"newest\"\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# Canadian Tire Product Price & Stock Extractor\n\nExtract product and review data from [CanadianTire.ca](https://www.canadiantire.ca) -- one of Canada's largest retailers, covering tools, automotive, sports, home and outdoor living. Get titles, prices, sale discounts, ratings, images, descriptions, full specifications, variants, store-level stock and customer reviews.\n\n## What can this actor do?\n\n- **Search by keyword** -- one or many search terms in a single run.\n- **Browse categories** -- paste category codes or full category URLs.\n- **Get exact products** -- paste product codes or product URLs.\n- **Paste any product, category or search URL** -- the actor detects the type automatically.\n- **Fetch customer reviews** -- review text, title, stars, author, date, photos, verified-purchase flags, pros and cons.\n- **Add full product details** -- long description, complete specifications, breadcrumbs, videos and manual links.\n- **Add variants** -- size, colour and SKU variants with option values and part numbers.\n- **Compare stores** -- one row per product per store, with that store's price, shelf stock and pickup/ship estimates.\n- **Filter and sort** -- price, rating, sale, stock, brand, deal type, availability, featured badge, and seven sort orders.\n- **Use English or French** product data.\n\nNo login, cookies, account or proxy setup is required.\n\n## Modes\n\n| Mode | What it does | Inputs to use |\n|---|---|---|\n| `search` | Keyword search across the catalogue | `searchQueries`, filters, `sortBy` |\n| `category` | Browse one or many categories | `categoryCodes` (codes or URLs) |\n| `byProductCodes` | Fetch exact products | `productCodes` (codes or URLs) |\n| `byUrls` | Paste product, category and search-results URLs together | `startUrls` |\n| `reviews` | Fetch reviews for products | `productCodes` and/or product URLs in `startUrls` |\n\n## Output\n\n### Product records (`recordType: \"product\"`)\n\n| Field | Description |\n|---|---|\n| `productCode` | Canadian Tire product code (e.g. `0574127P`) |\n| `title` | Product name |\n| `brand` | Brand name |\n| `productUrl` | Product page URL |\n| `images` | Product image URLs |\n| `price` | Current price in CAD |\n| `priceIsStartingFrom` | `true` when `price` is the lowest price across variants |\n| `priceRangeMax` | Highest variant price when the product has a price range |\n| `originalPrice` / `discountPercent` | Pre-discount price and percentage off |\n| `currency` | `CAD` |\n| `isOnSale` | Whether the product is on sale/clearance |\n| `rating` / `ratingsCount` | Average rating (0-5) and number of ratings |\n| `badges` | Merchandising badges (e.g. `EXCLUSIVE`, `TOPRATED`, `CLEARANCE`) |\n| `partNumber` / `skuId` | Manufacturer part number and Canadian Tire SKU |\n| `stockQuantity` | Units at the reference store |\n| `onlineStockQuantity` | Units available for online fulfilment |\n| `storeShelfLocation` | Shelf/aisle location when the store exposes it |\n| `shipDaysMin` / `shipDaysMax` | Estimated delivery window in days |\n| `sellable` / `orderable` / `isUrgentLowStock` | Fulfilment flags |\n| `warrantyMessage` | Warranty text when provided |\n| `featureBullets` | Feature and benefit bullets |\n| `specifications` | Full name/value specification pairs |\n| `description` / `shortDescription` | Long and short product descriptions |\n| `breadcrumbs` | Category path with names, URLs and category codes |\n| `categoryName` / `categoryCode` | Deepest category |\n| `isMultiSku` / `variantCount` / `variants` | Variant summary and per-SKU metadata |\n| `options` | Variant option groups and values |\n| `videos` / `productManualLink` | Product videos and manual/document links |\n| `productStatus` / `launchDate` / `vendorName` / `vendorNumber` | Detail metadata |\n| `storeId` / `storeName` / `storeAddress` / `storeCity` / `storeProvince` / `storePostalCode` | Reference store |\n| `source` / `sourceQuery` / `sourceCategory` / `language` | Where the record came from |\n| `recordType` | `product` |\n| `scrapedAt` | UTC scrape timestamp |\n\nOnly fields Canadian Tire actually provides are included -- no blank or placeholder values.\n\n### Review records (`recordType: \"review\"`)\n\n| Field | Description |\n|---|---|\n| `reviewId` | Review identifier |\n| `productCode` / `productName` | Reviewed product |\n| `title` / `reviewText` | Review headline and body |\n| `rating` | Star rating |\n| `author` | Public reviewer nickname |\n| `submissionTime` | Review date/time (UTC) |\n| `isVerifiedPurchaser` / `isRecommended` / `isSyndicated` | Review flags |\n| `contentLocale` | Review language |\n| `photos` / `videos` | Review media URLs |\n| `pros` / `cons` | Review pros and cons |\n| `helpfulCount` | Positive helpfulness votes |\n| `productUrl` / `productBrand` / `productRating` / `productRatingsCount` / `productPrice` / `currency` / `productImage` | Product context |\n| `source` | `reviews` |\n| `scrapedAt` | UTC scrape timestamp |\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `search` | `search`, `category`, `byProductCodes`, `byUrls`, `reviews` |\n| `searchQueries` | array | `[\"hammer\"]` | Keywords to search (mode=search) |\n| `categoryCodes` | array | – | Category codes or full category URLs (mode=category) |\n| `productCodes` | array | – | Product codes or product URLs (mode=byProductCodes / reviews) |\n| `startUrls` | array | – | Product, category or search-results URLs (mode=byUrls / reviews) |\n| `sortBy` | string | `relevance` | `relevance`, `priceAsc`, `priceDesc`, `newest`, `ratingDesc`, `bestseller`, `topDeals` |\n| `minPrice` / `maxPrice` | number | – | Price range in CAD |\n| `minRating` | number | – | Minimum rating (0-5) |\n| `onSaleOnly` | boolean | `false` | Only discounted products |\n| `inStockOnly` | boolean | `false` | Only products with stock |\n| `brand` | string | – | Brand name contains this text |\n| `brands` | array | – | Exact brand names, queried server-side one by one |\n| `dealType` | string | – | `clearance`, `sale`, `limitedTimeOffer`, `specialBuy` |\n| `availabilityType` | string | – | `inStoreOnly`, `onlineOnly`, `inStockAtMyStore` |\n| `featuredType` | string | – | `exclusive`, `topRated`, `bestSeller`, `testedForLife`, `newArrivals` |\n| `storeIds` | array | `[\"144\"]` | Reference stores; each gets its own row |\n| `language` | string | `en` | `en` or `fr` |\n| `includeDetails` | boolean | `false` | Add description, specifications, breadcrumbs, videos, manual |\n| `includeVariants` | boolean | `false` | Add variant/SKU metadata (also enables details) |\n| `maxItems` | integer | `48` | Total records to return (max 50,000) |\n| `maxPages` | integer | `20` | Result pages per query/store (120 products/page, max 1,000) |\n| `maxItemsPerQuery` | integer | – | Optional cap per keyword/category/URL/store |\n| `maxReviews` | integer | `100` | Total review records (mode=reviews) |\n| `maxReviewsPerProduct` | integer | – | Optional review cap per product |\n| `oldestReviewDate` | string | – | Skip reviews older than `YYYY-MM-DD` |\n| `reviewSort` | string | `newest` | `newest`, `oldest`, `highestRated`, `lowestRated`, `mostHelpful` |\n\nThe legacy keys `searchQuery`, `categoryCode` and `storeId` from older saved tasks are still accepted and mapped automatically.\n\n### Finding a category, store or product code\n\n- **Category:** open a category page such as `.../drills-DC0002027.html` and use `DC0002027`, or paste the full URL.\n- **Store:** open the Store Locator, pick a store and use the number at the end of its page URL (e.g. `...-144.html` → `144`).\n- **Product:** open a product page; the code is at the end of the URL (e.g. `...-0574127p.html` → `0574127P`), or paste the full URL.\n\n## Examples\n\n### Search several terms and compare two stores\n\n```json\n{\n  \"mode\": \"search\",\n  \"searchQueries\": [\"cordless drill\", \"hammer\"],\n  \"storeIds\": [\"144\", \"600\"],\n  \"maxItemsPerQuery\": 24,\n  \"maxItems\": 48\n}\n```\n\n### Paste product, category and search URLs together\n\n```json\n{\n  \"mode\": \"byUrls\",\n  \"startUrls\": [\n    \"https://www.canadiantire.ca/en/pdp/maximum-16-oz-magnetic-claw-hammer-0574166p.html\",\n    \"https://www.canadiantire.ca/en/cat/tools-hardware/power-tools/drills-accessories/drills-DC0002027.html\",\n    \"https://www.canadiantire.ca/en/search-results.html?q=hammer&sort=price+asc\"\n  ],\n  \"includeDetails\": true,\n  \"includeVariants\": true,\n  \"maxItems\": 50\n}\n```\n\n### Fetch reviews\n\n```json\n{\n  \"mode\": \"reviews\",\n  \"productCodes\": [\"0574127P\", \"4994567P\"],\n  \"maxReviews\": 200,\n  \"maxReviewsPerProduct\": 50,\n  \"reviewSort\": \"newest\"\n}\n```\n\n## Use cases\n\n- **Price monitoring** -- track prices, sale prices and discounts by product or category.\n- **Regional pricing and stock** -- compare the same products across several stores.\n- **Market and assortment research** -- analyse brands, ratings and pricing in a category.\n- **Deal hunting** -- filter to sale/clearance products and top deals.\n- **Catalogue enrichment** -- pull descriptions, specifications, variants and images for known products.\n- **Voice of customer** -- export reviews for sentiment, quality and product-feedback analysis.\n\n## FAQ\n\n**Does this actor require login, cookies or a proxy?**\nNo. It reads Canadian Tire's public product, category, store and review endpoints without an account or cookie. Proxy handling is automatic when needed.\n\n**What currency are prices in?**\nCanadian dollars (CAD).\n\n**Why do some products lack a rating, discount or warranty field?**\nCanadian Tire only returns those values for products that have them. Missing values are omitted rather than filled with placeholders.\n\n**Why do some products lack variants?**\n`variants` is populated for multi-SKU products. Single-SKU products have no variant list.\n\n**Why is a per-variant price not included?**\nCanadian Tire's variant-level price/availability endpoint is protected from direct public requests. The actor ships the family price and full variant metadata (SKU, options, part number, variant URL). See Limitations.\n\n**Why is the price sort not perfectly monotonic?**\nCanadian Tire's own price sort blends product-family grouping and relevance across a large result set. Individual price filters are exact; the source's global ordering may not be strictly monotonic.\n\n**How many products can I get?**\nUp to 50,000 records per run, 1,000 pages per input (120 products/page). The live catalogue has tens of thousands of products per large category and paginates normally.\n\n**Does `maxItems` apply per store or in total?**\n`maxItems` is the total across the run. When using several stores or queries, set `maxItemsPerQuery` so each input/store gets its own share.\n\n## Limitations\n\n- **Per-SKU price and stock:** Canadian Tire's variant-level PriceAvailability endpoint rejects direct public requests. Product-level price, store-level stock and full variant metadata are provided; per-variant price/stock is not.\n- **Postal-code nearest store:** the public store search needs latitude/longitude (the site geocodes postal codes separately). Use `storeIds` with the store number from the Store Locator.\n- **Sport Chek, Mark's and Party City:** these are separate banners/sites and are not covered by this actor; it is Canadian Tire only.\n- **Price sorting:** Canadian Tire's own price sort is not guaranteed to be globally monotonic across a very large result set; filters are exact.\n- **Cross-run price tracking:** this actor returns current prices per run; it does not keep price history between runs.\n- **Product page HTML:** Canadian Tire challenges plain non-browser requests to product pages. Product URLs in the output resolve normally in a browser; images are directly accessible.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "canadian-tire-product-price-and-stock-extractor",
      "title": "Canadian Tire Product Price & Stock Extractor",
      "description": "Extract CanadianTire.ca products by keyword, category, product code or URL, including prices, sale discounts, ratings, store-level stock, specifications, variants and customer reviews.",
      "version": "1.0",
      "buildTag": "latest",
      "dockerfile": "../Dockerfile",
      "readme": "# Canadian Tire Product Price & Stock Extractor\n\nExtract product and review data from [CanadianTire.ca](https://www.canadiantire.ca) -- one of Canada's largest retailers, covering tools, automotive, sports, home and outdoor living. Get titles, prices, sale discounts, ratings, images, descriptions, full specifications, variants, store-level stock and customer reviews.\n\n## What can this actor do?\n\n- **Search by keyword** -- one or many search terms in a single run.\n- **Browse categories** -- paste category codes or full category URLs.\n- **Get exact products** -- paste product codes or product URLs.\n- **Paste any product, category or search URL** -- the actor detects the type automatically.\n- **Fetch customer reviews** -- review text, title, stars, author, date, photos, verified-purchase flags, pros and cons.\n- **Add full product details** -- long description, complete specifications, breadcrumbs, videos and manual links.\n- **Add variants** -- size, colour and SKU variants with option values and part numbers.\n- **Compare stores** -- one row per product per store, with that store's price, shelf stock and pickup/ship estimates.\n- **Filter and sort** -- price, rating, sale, stock, brand, deal type, availability, featured badge, and seven sort orders.\n- **Use English or French** product data.\n\nNo login, cookies, account or proxy setup is required.\n\n## Modes\n\n| Mode | What it does | Inputs to use |\n|---|---|---|\n| `search` | Keyword search across the catalogue | `searchQueries`, filters, `sortBy` |\n| `category` | Browse one or many categories | `categoryCodes` (codes or URLs) |\n| `byProductCodes` | Fetch exact products | `productCodes` (codes or URLs) |\n| `byUrls` | Paste product, category and search-results URLs together | `startUrls` |\n| `reviews` | Fetch reviews for products | `productCodes` and/or product URLs in `startUrls` |\n\n## Output\n\n### Product records (`recordType: \"product\"`)\n\n| Field | Description |\n|---|---|\n| `productCode` | Canadian Tire product code (e.g. `0574127P`) |\n| `title` | Product name |\n| `brand` | Brand name |\n| `productUrl` | Product page URL |\n| `images` | Product image URLs |\n| `price` | Current price in CAD |\n| `priceIsStartingFrom` | `true` when `price` is the lowest price across variants |\n| `priceRangeMax` | Highest variant price when the product has a price range |\n| `originalPrice` / `discountPercent` | Pre-discount price and percentage off |\n| `currency` | `CAD` |\n| `isOnSale` | Whether the product is on sale/clearance |\n| `rating` / `ratingsCount` | Average rating (0-5) and number of ratings |\n| `badges` | Merchandising badges (e.g. `EXCLUSIVE`, `TOPRATED`, `CLEARANCE`) |\n| `partNumber` / `skuId` | Manufacturer part number and Canadian Tire SKU |\n| `stockQuantity` | Units at the reference store |\n| `onlineStockQuantity` | Units available for online fulfilment |\n| `storeShelfLocation` | Shelf/aisle location when the store exposes it |\n| `shipDaysMin` / `shipDaysMax` | Estimated delivery window in days |\n| `sellable` / `orderable` / `isUrgentLowStock` | Fulfilment flags |\n| `warrantyMessage` | Warranty text when provided |\n| `featureBullets` | Feature and benefit bullets |\n| `specifications` | Full name/value specification pairs |\n| `description` / `shortDescription` | Long and short product descriptions |\n| `breadcrumbs` | Category path with names, URLs and category codes |\n| `categoryName` / `categoryCode` | Deepest category |\n| `isMultiSku` / `variantCount` / `variants` | Variant summary and per-SKU metadata |\n| `options` | Variant option groups and values |\n| `videos` / `productManualLink` | Product videos and manual/document links |\n| `productStatus` / `launchDate` / `vendorName` / `vendorNumber` | Detail metadata |\n| `storeId` / `storeName` / `storeAddress` / `storeCity` / `storeProvince` / `storePostalCode` | Reference store |\n| `source` / `sourceQuery` / `sourceCategory` / `language` | Where the record came from |\n| `recordType` | `product` |\n| `scrapedAt` | UTC scrape timestamp |\n\nOnly fields Canadian Tire actually provides are included -- no blank or placeholder values.\n\n### Review records (`recordType: \"review\"`)\n\n| Field | Description |\n|---|---|\n| `reviewId` | Review identifier |\n| `productCode` / `productName` | Reviewed product |\n| `title` / `reviewText` | Review headline and body |\n| `rating` | Star rating |\n| `author` | Public reviewer nickname |\n| `submissionTime` | Review date/time (UTC) |\n| `isVerifiedPurchaser` / `isRecommended` / `isSyndicated` | Review flags |\n| `contentLocale` | Review language |\n| `photos` / `videos` | Review media URLs |\n| `pros` / `cons` | Review pros and cons |\n| `helpfulCount` | Positive helpfulness votes |\n| `productUrl` / `productBrand` / `productRating` / `productRatingsCount` / `productPrice` / `currency` / `productImage` | Product context |\n| `source` | `reviews` |\n| `scrapedAt` | UTC scrape timestamp |\n\n## Input\n\n| Field | Type | Default | Description |\n|---|---|---|---|\n| `mode` | string | `search` | `search`, `category`, `byProductCodes`, `byUrls`, `reviews` |\n| `searchQueries` | array | `[\"hammer\"]` | Keywords to search (mode=search) |\n| `categoryCodes` | array | – | Category codes or full category URLs (mode=category) |\n| `productCodes` | array | – | Product codes or product URLs (mode=byProductCodes / reviews) |\n| `startUrls` | array | – | Product, category or search-results URLs (mode=byUrls / reviews) |\n| `sortBy` | string | `relevance` | `relevance`, `priceAsc`, `priceDesc`, `newest`, `ratingDesc`, `bestseller`, `topDeals` |\n| `minPrice` / `maxPrice` | number | – | Price range in CAD |\n| `minRating` | number | – | Minimum rating (0-5) |\n| `onSaleOnly` | boolean | `false` | Only discounted products |\n| `inStockOnly` | boolean | `false` | Only products with stock |\n| `brand` | string | – | Brand name contains this text |\n| `brands` | array | – | Exact brand names, queried server-side one by one |\n| `dealType` | string | – | `clearance`, `sale`, `limitedTimeOffer`, `specialBuy` |\n| `availabilityType` | string | – | `inStoreOnly`, `onlineOnly`, `inStockAtMyStore` |\n| `featuredType` | string | – | `exclusive`, `topRated`, `bestSeller`, `testedForLife`, `newArrivals` |\n| `storeIds` | array | `[\"144\"]` | Reference stores; each gets its own row |\n| `language` | string | `en` | `en` or `fr` |\n| `includeDetails` | boolean | `false` | Add description, specifications, breadcrumbs, videos, manual |\n| `includeVariants` | boolean | `false` | Add variant/SKU metadata (also enables details) |\n| `maxItems` | integer | `48` | Total records to return (max 50,000) |\n| `maxPages` | integer | `20` | Result pages per query/store (120 products/page, max 1,000) |\n| `maxItemsPerQuery` | integer | – | Optional cap per keyword/category/URL/store |\n| `maxReviews` | integer | `100` | Total review records (mode=reviews) |\n| `maxReviewsPerProduct` | integer | – | Optional review cap per product |\n| `oldestReviewDate` | string | – | Skip reviews older than `YYYY-MM-DD` |\n| `reviewSort` | string | `newest` | `newest`, `oldest`, `highestRated`, `lowestRated`, `mostHelpful` |\n\nThe legacy keys `searchQuery`, `categoryCode` and `storeId` from older saved tasks are still accepted and mapped automatically.\n\n### Finding a category, store or product code\n\n- **Category:** open a category page such as `.../drills-DC0002027.html` and use `DC0002027`, or paste the full URL.\n- **Store:** open the Store Locator, pick a store and use the number at the end of its page URL (e.g. `...-144.html` → `144`).\n- **Product:** open a product page; the code is at the end of the URL (e.g. `...-0574127p.html` → `0574127P`), or paste the full URL.\n\n## Examples\n\n### Search several terms and compare two stores\n\n```json\n{\n  \"mode\": \"search\",\n  \"searchQueries\": [\"cordless drill\", \"hammer\"],\n  \"storeIds\": [\"144\", \"600\"],\n  \"maxItemsPerQuery\": 24,\n  \"maxItems\": 48\n}\n```\n\n### Paste product, category and search URLs together\n\n```json\n{\n  \"mode\": \"byUrls\",\n  \"startUrls\": [\n    \"https://www.canadiantire.ca/en/pdp/maximum-16-oz-magnetic-claw-hammer-0574166p.html\",\n    \"https://www.canadiantire.ca/en/cat/tools-hardware/power-tools/drills-accessories/drills-DC0002027.html\",\n    \"https://www.canadiantire.ca/en/search-results.html?q=hammer&sort=price+asc\"\n  ],\n  \"includeDetails\": true,\n  \"includeVariants\": true,\n  \"maxItems\": 50\n}\n```\n\n### Fetch reviews\n\n```json\n{\n  \"mode\": \"reviews\",\n  \"productCodes\": [\"0574127P\", \"4994567P\"],\n  \"maxReviews\": 200,\n  \"maxReviewsPerProduct\": 50,\n  \"reviewSort\": \"newest\"\n}\n```\n\n## Use cases\n\n- **Price monitoring** -- track prices, sale prices and discounts by product or category.\n- **Regional pricing and stock** -- compare the same products across several stores.\n- **Market and assortment research** -- analyse brands, ratings and pricing in a category.\n- **Deal hunting** -- filter to sale/clearance products and top deals.\n- **Catalogue enrichment** -- pull descriptions, specifications, variants and images for known products.\n- **Voice of customer** -- export reviews for sentiment, quality and product-feedback analysis.\n\n## FAQ\n\n**Does this actor require login, cookies or a proxy?**\nNo. It reads Canadian Tire's public product, category, store and review endpoints without an account or cookie. Proxy handling is automatic when needed.\n\n**What currency are prices in?**\nCanadian dollars (CAD).\n\n**Why do some products lack a rating, discount or warranty field?**\nCanadian Tire only returns those values for products that have them. Missing values are omitted rather than filled with placeholders.\n\n**Why do some products lack variants?**\n`variants` is populated for multi-SKU products. Single-SKU products have no variant list.\n\n**Why is a per-variant price not included?**\nCanadian Tire's variant-level price/availability endpoint is protected from direct public requests. The actor ships the family price and full variant metadata (SKU, options, part number, variant URL). See Limitations.\n\n**Why is the price sort not perfectly monotonic?**\nCanadian Tire's own price sort blends product-family grouping and relevance across a large result set. Individual price filters are exact; the source's global ordering may not be strictly monotonic.\n\n**How many products can I get?**\nUp to 50,000 records per run, 1,000 pages per input (120 products/page). The live catalogue has tens of thousands of products per large category and paginates normally.\n\n**Does `maxItems` apply per store or in total?**\n`maxItems` is the total across the run. When using several stores or queries, set `maxItemsPerQuery` so each input/store gets its own share.\n\n## Limitations\n\n- **Per-SKU price and stock:** Canadian Tire's variant-level PriceAvailability endpoint rejects direct public requests. Product-level price, store-level stock and full variant metadata are provided; per-variant price/stock is not.\n- **Postal-code nearest store:** the public store search needs latitude/longitude (the site geocodes postal codes separately). Use `storeIds` with the store number from the Store Locator.\n- **Sport Chek, Mark's and Party City:** these are separate banners/sites and are not covered by this actor; it is Canadian Tire only.\n- **Price sorting:** Canadian Tire's own price sort is not guaranteed to be globally monotonic across a very large result set; filters are exact.\n- **Cross-run price tracking:** this actor returns current prices per run; it does not keep price history between runs.\n- **Product page HTML:** Canadian Tire challenges plain non-browser requests to product pages. Product URLs in the output resolve normally in a browser; images are directly accessible.\n",
      "input": {
        "title": "Canadian Tire Scraper",
        "description": "Scrape products from CanadianTire.ca by keyword, category, exact product code, or URL. Add full details, variants and customer reviews.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "type": "string",
            "description": "search = keyword search. category = browse categories. byProductCodes = exact products by code. byUrls = paste product, category or search URLs. reviews = customer reviews for products.",
            "editor": "select",
            "enum": [
              "search",
              "category",
              "byProductCodes",
              "byUrls",
              "reviews"
            ],
            "enumTitles": [
              "Search by keyword",
              "Browse categories",
              "Get products by code",
              "Paste product/category/search URLs",
              "Get customer reviews"
            ],
            "default": "search",
            "prefill": "search"
          },
          "searchQueries": {
            "title": "Search queries (mode=search)",
            "type": "array",
            "description": "One or more keywords to search for, e.g. 'hammer', 'garden hose', 'dewalt drill'. Each query is run separately.",
            "editor": "stringList",
            "prefill": [
              "hammer"
            ],
            "default": [
              "hammer"
            ]
          },
          "categoryCodes": {
            "title": "Categories (mode=category)",
            "type": "array",
            "description": "Canadian Tire category codes or full category URLs. A code looks like 'DC0002027' (Drills) at the end of a category page URL.",
            "editor": "stringList",
            "prefill": [
              "DC0002027"
            ]
          },
          "productCodes": {
            "title": "Product codes or product URLs (mode=byProductCodes / reviews)",
            "type": "array",
            "description": "Exact Canadian Tire product codes (e.g. '0574127P') or full product URLs. In reviews mode these select the products whose reviews are fetched.",
            "editor": "stringList",
            "prefill": [
              "0574127P"
            ]
          },
          "startUrls": {
            "title": "Start URLs (mode=byUrls / reviews)",
            "type": "array",
            "description": "Paste Canadian Tire product, category or search-results URLs. The actor detects each URL type automatically. In reviews mode, product URLs are used.",
            "editor": "stringList",
            "prefill": []
          },
          "sortBy": {
            "title": "Sort order (mode=search / category)",
            "type": "string",
            "description": "How Canadian Tire orders results before filters are applied.",
            "editor": "select",
            "enum": [
              "relevance",
              "priceAsc",
              "priceDesc",
              "newest",
              "ratingDesc",
              "bestseller",
              "topDeals"
            ],
            "enumTitles": [
              "Relevance (recommended)",
              "Price: low to high",
              "Price: high to low",
              "Newest arrivals",
              "Best rated",
              "Best seller",
              "Top deals"
            ],
            "default": "relevance",
            "prefill": "relevance"
          },
          "minPrice": {
            "title": "Minimum price (CAD)",
            "type": "number",
            "description": "Only include products priced at or above this amount, in Canadian dollars (CAD).",
            "minimum": 0,
            "maximum": 100000
          },
          "maxPrice": {
            "title": "Maximum price (CAD)",
            "type": "number",
            "description": "Only include products priced at or below this amount, in Canadian dollars (CAD).",
            "minimum": 0,
            "maximum": 100000
          },
          "minRating": {
            "title": "Minimum rating",
            "type": "number",
            "description": "Only include products with a customer rating at or above this value (0-5). Products with no rating data are kept.",
            "minimum": 0,
            "maximum": 5
          },
          "onSaleOnly": {
            "title": "Only on-sale products",
            "type": "boolean",
            "description": "Only include products currently marked on sale or clearance.",
            "default": false,
            "prefill": false
          },
          "inStockOnly": {
            "title": "Only in-stock products",
            "type": "boolean",
            "description": "Only include products with available stock.",
            "default": false,
            "prefill": false
          },
          "brand": {
            "title": "Brand contains",
            "type": "string",
            "description": "Only include products whose brand name contains this text (case-insensitive), e.g. 'mastercraft'.",
            "editor": "textfield"
          },
          "brands": {
            "title": "Exact brands (server-side)",
            "type": "array",
            "description": "Only include these exact brand names, e.g. ['DEWALT', 'Mastercraft']. Each brand is queried separately with Canadian Tire's own brand filter.",
            "editor": "stringList",
            "prefill": []
          },
          "dealType": {
            "title": "Deal type (mode=search / category)",
            "type": "string",
            "description": "Only include products matching this deal type, applied server-side by Canadian Tire's search API.",
            "editor": "select",
            "enum": [
              "",
              "clearance",
              "sale",
              "limitedTimeOffer",
              "specialBuy"
            ],
            "enumTitles": [
              "(none)",
              "Store Clearance",
              "Sale",
              "Limited Time Offer",
              "Special Buy"
            ],
            "default": "",
            "prefill": ""
          },
          "availabilityType": {
            "title": "Availability type (mode=search / category)",
            "type": "string",
            "description": "Only include products matching this availability category, applied server-side by Canadian Tire's search API.",
            "editor": "select",
            "enum": [
              "",
              "inStoreOnly",
              "onlineOnly",
              "inStockAtMyStore"
            ],
            "enumTitles": [
              "(none)",
              "In-store only",
              "Online only",
              "In stock at my store"
            ],
            "default": "",
            "prefill": ""
          },
          "featuredType": {
            "title": "Featured badge (mode=search / category)",
            "type": "string",
            "description": "Only include products carrying this merchandising badge, applied server-side by Canadian Tire's search API.",
            "editor": "select",
            "enum": [
              "",
              "exclusive",
              "topRated",
              "bestSeller",
              "testedForLife",
              "newArrivals"
            ],
            "enumTitles": [
              "(none)",
              "Exclusive",
              "Top Rated",
              "Best Seller",
              "Tested For Life",
              "New Arrivals"
            ],
            "default": "",
            "prefill": ""
          },
          "storeIds": {
            "title": "Store IDs (stock/availability reference)",
            "type": "array",
            "description": "Canadian Tire store IDs, e.g. ['144', '600']. Each store gets its own price and stock rows. Find IDs via the Store Locator; the number is at the end of a store page URL.",
            "editor": "stringList",
            "prefill": [
              "144"
            ],
            "default": [
              "144"
            ]
          },
          "language": {
            "title": "Language",
            "type": "string",
            "description": "English or French product data, titles, specifications and breadcrumbs.",
            "editor": "select",
            "enum": [
              "en",
              "fr"
            ],
            "enumTitles": [
              "English",
              "French"
            ],
            "default": "en",
            "prefill": "en"
          },
          "includeDetails": {
            "title": "Include full details",
            "type": "boolean",
            "description": "Fetch each product's detail page data: description, full specifications, breadcrumbs, videos and manual links. Adds one request per product.",
            "default": false,
            "prefill": false
          },
          "includeVariants": {
            "title": "Include variants",
            "type": "boolean",
            "description": "Add size/colour/SKU variants with option values and part numbers (when the product has variants). Also turns on full details.",
            "default": false,
            "prefill": false
          },
          "maxItems": {
            "title": "Max items",
            "type": "integer",
            "description": "Maximum number of records to return in total (products or reviews).",
            "minimum": 1,
            "maximum": 50000,
            "default": 48,
            "prefill": 3
          },
          "maxPages": {
            "title": "Max pages per query",
            "type": "integer",
            "description": "Maximum result pages (120 products/page) to walk per query, category or search URL.",
            "minimum": 1,
            "maximum": 1000,
            "default": 20,
            "prefill": 1
          },
          "maxItemsPerQuery": {
            "title": "Max items per query",
            "type": "integer",
            "description": "Optional cap per keyword, category or URL when running several inputs. Leave blank for no per-input cap.",
            "minimum": 1,
            "maximum": 50000
          },
          "maxReviews": {
            "title": "Max reviews (mode=reviews)",
            "type": "integer",
            "description": "Maximum number of review records to return.",
            "minimum": 1,
            "maximum": 5000,
            "default": 100,
            "prefill": 20
          },
          "maxReviewsPerProduct": {
            "title": "Max reviews per product (mode=reviews)",
            "type": "integer",
            "description": "Optional cap on reviews per product when several products are supplied. Leave blank for no per-product cap.",
            "minimum": 1,
            "maximum": 5000
          },
          "oldestReviewDate": {
            "title": "Oldest review date (mode=reviews)",
            "type": "string",
            "description": "Optional cut-off date in YYYY-MM-DD format. Older reviews are skipped.",
            "editor": "textfield"
          },
          "reviewSort": {
            "title": "Review order (mode=reviews)",
            "type": "string",
            "description": "How reviews are ordered.",
            "editor": "select",
            "enum": [
              "newest",
              "oldest",
              "highestRated",
              "lowestRated",
              "mostHelpful"
            ],
            "enumTitles": [
              "Newest first",
              "Oldest first",
              "Highest rating first",
              "Lowest rating first",
              "Most helpful first"
            ],
            "default": "newest",
            "prefill": "newest"
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Canadian Tire Product Price & Stock Extractor Output",
        "description": "Products and reviews scraped from CanadianTire.ca -- prices, sale discounts, ratings, images, stock, specifications, variants and customer reviews.",
        "properties": {
          "products": {
            "type": "string",
            "title": "Canadian Tire products",
            "description": "Dataset containing all scraped Canadian Tire products.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          },
          "reviews": {
            "type": "string",
            "title": "Canadian Tire reviews",
            "description": "The same dataset, filtered by recordType=review when mode=reviews (review text, rating, author and date).",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "defaultRunOptions": {
        "build": "latest",
        "timeoutSecs": 3600,
        "memoryMbytes": 1024
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Products",
              "transformation": {
                "fields": [
                  "title",
                  "brand",
                  "price",
                  "originalPrice",
                  "discountPercent",
                  "rating",
                  "productUrl"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            },
            "reviews": {
              "title": "Reviews",
              "transformation": {
                "fields": [
                  "reviewId",
                  "productCode",
                  "productName",
                  "title",
                  "rating",
                  "author",
                  "submissionTime",
                  "isVerifiedPurchaser"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "1.0.2",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.0"
    }
  }
}