# Canada Computers & Memory Express Stock & Price Scraper (`yugenox/canada-pc-parts-stock-scraper`) Actor

PC parts prices and per-store stock from Canada Computers and Memory Express: price, sale price, UPC, MPN, specs, and exact units at every store. Search, category or product URLs. Changes-only mode returns just restocks, sell-outs and price changes for scheduled GPU/CPU alerts.

- **URL**: https://apify.com/yugenox/canada-pc-parts-stock-scraper.md
- **Developed by:** [Yugenox Corp](https://apify.com/yugenox) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 products

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

## Canada Computers & Memory Express Scraper: Prices and Store Stock

Get PC parts prices and **per-store stock** from **Canada Computers** and **Memory Express**, the two big Canadian PC hardware chains. Search by keyword, paste a category or product URL, and get clean JSON, CSV or Excel with:

- **The unit count at each of Canada Computers' ~42 stores**, split into new, open-box and demo, with the store's address, phone number, coordinates and last stock update.
- **Memory Express availability at every store.** It gives exact counts up to 9 and "10+" above that.
- **Current price, regular price, sale flag, discount and sale end date**, plus mail-in rebate and after-rebate price on Memory Express.
- **UPC and manufacturer part number (MPN)** for matching the same product across retailers, along with brand, category, specs, rating and images.
- **Changes-only monitoring.** Schedule the actor and get only restocks, sell-outs and price changes since the last run.

It is built for GPU and CPU launch stock trackers, resellers and deal hunters, price comparison sites, and anyone who needs to know which store near them has a part right now.

**Your Apify plan needs residential proxies for Canada Computers (or Apify's unblocker proxy group, without per-store counts) and the unblocker proxy group for Memory Express**; a store your plan can't reach is skipped with a note in the status message, and you are never charged for it.

### What you can scrape

| Input | Example |
|---|---|
| Search terms | `rtx 5070`, `ddr5 ram`, `9800x3d`, `4tb nvme`, or a UPC / Memory Express item number for one exact product |
| Category pages | `https://www.canadacomputers.com/en/931/desktop-computers`, `https://www.memoryexpress.com/Category/VideoCards` |
| Product pages | `https://www.canadacomputers.com/en/powered-by-nvidia/268300/...html`, `https://www.memoryexpress.com/Products/MX00133011` |

Search terms run on the stores you tick. The default is Canada Computers only; tick **Memory Express** to search both. A URL always runs on the store it belongs to.

### Quick start

1. Enter one or more **search terms** (or paste URLs).
2. Pick the **stores** to search.
3. Optionally narrow the stock list to **your stores** with *Only these stores*. It accepts a city such as `Toronto` (this also covers Scarborough, North York and Etobicoke) or `Calgary`, a province such as `ON` or `Alberta`, or a store code such as `KI`. Enter `GTA` for every Greater Toronto Area store.
4. Run. Each product arrives with its `stores` list.

#### Input example

```json
{
  "searchTerms": ["rtx 5070", "ddr5 ram"],
  "retailers": ["canadacomputers", "memoryexpress"],
  "maxItemsPerQuery": 100,
  "storeFilter": ["Toronto", "Ottawa"],
  "onlyInStock": true
}
```

### Output example

One row per product (trimmed):

```json
{
  "retailer": "Canada Computers",
  "productId": "268301",
  "sku": "VCASU00608",
  "mpn": "PRIME-RTX5070-O12G",
  "upc": "197105870406",
  "brand": "ASUS",
  "name": "Prime GeForce RTX 5070 OC Edition 12GB GDDR7",
  "category": "Powered By Nvidia",
  "price": 1269.99,
  "regularPrice": 1269.99,
  "onSale": false,
  "onlineStatus": "Online - Available to Ship",
  "inStoreStatus": "In Store - Available for Pickup",
  "onlineQty": 84,
  "totalStoreQty": 258,
  "storesInStock": 42,
  "storeCount": 42,
  "stores": [
    {
      "code": "TK", "name": "Scarborough", "city": "Scarborough", "province": "ON",
      "postalCode": "M1P 2L5", "address": "1306 Kennedy Road", "phone": "416-915-7558",
      "lat": 43.7593, "lng": -79.279439,
      "qty": 12, "qtyText": "12", "inStock": true, "status": "In Stock",
      "openBox": 0, "demo": 0, "updatedAt": "2026-08-04T17:32:31.000Z"
    }
  ],
  "specs": { "GPU": "GeForce RTX 5070", "Memory Size": "12GB", "Memory Type": "GDDR7" },
  "url": "https://www.canadacomputers.com/en/powered-by-nvidia/268301/prime-geforce-rtx-5070-oc-edition-12gb-gddr7-prime-rtx5070-o12g.html",
  "scrapedAt": "2026-09-24T04:15:00.000Z"
}
```

A Memory Express row has the same fields. `stores[].qtyText` holds values such as `"10+"`, `"7"` or `"Out of Stock"`, and `afterRebatePrice` and `hasMailInRebate` are filled in.

#### One row per store

Set **Output layout** to *One row per product per store* for a flat table. Every row is one product at one store, with `storeName`, `storeCity`, `storeQty`, `storeStatus` and similar columns. This layout suits spreadsheets and alerting.

### Monitoring restocks and price drops

Turn on **Only changes since the last run** and schedule the actor, for example every 15 minutes during a GPU launch. Each run compares against the previous run with the same settings and returns only products that changed. Every returned row has:

- `changeTypes` — for example `["restock"]` or `["priceDrop", "soldOut"]`
- `changes` — the details, for example `{ "type": "restock", "store": "TK", "storeName": "Scarborough", "from": "0", "to": "3" }`

Possible change types are `new`, `priceDrop`, `priceIncrease`, `rebateChange`, `restock`, `soldOut`, `stockChange`, `onlineRestock`, `onlineSoldOut` and `onlineStockChange`.

The **first run records a baseline** and returns every product marked `new`. From then on you receive only changes. Give the monitor a **name** so that several schedules or edited searches keep separate baselines. Use the same name to keep one baseline across edits.

Every run re-checks all the products it covers. Products that are checked but not returned (because they didn't change, or your filters drop them) are billed at the lower *Product checked* rate instead of the full product rate.

### Options

| Option | What it does |
|---|---|
| Max products per search / URL | Takes the first N results of each search or listing (0 = all). |
| Sort | Best match, price low to high or high to low, best selling, top rated. |
| Include per-store stock | Canada Computers store counts, on by default and at no extra cost. |
| Memory Express per-store stock | Fetches each Memory Express product page to get its store availability, MPN and sale end date. It adds one page per product, and you can cap it with *Max Memory Express product pages*. Memory Express product URLs and exact UPC / item-number searches always include store stock. Each stock page loaded is billed as a *Memory Express store stock* event. |
| Only these stores / Hide stores with no stock | Trims the stock list to the stores you care about. |
| Only in-stock / Only on sale / Min and max price | Filters out products you don't want. |

### Good to know

- **Stock counts come from the stores' own inventory systems.** Canada Computers stamps each store's count with `updatedAt`, and some stores update less often than others. Treat counts as "very likely there", and call the store before driving across town for a launch-day card.
- **All timestamps are UTC ISO-8601** (`saleEndsAt`, store `updatedAt`). Canada Computers publishes Toronto local time; it is converted.
- **Memory Express** only shows exact counts up to 9, then "10+". That's why `totalStoreQty` is only summed for Canada Computers.
- Open-box units at Canada Computers are listed as separate products (condition `Open Box`), and the `openBox` count on each store shows open-box stock of the same product.
- Memory Express pages take longer to load (about 3–50 seconds each), so leave its store-stock option off when you only need prices.
- Prices are in CAD and exclude tax and provincial environmental handling fees (EHF).

### FAQ

**Do I need an account or cookies?**
No. The actor works on public product listings. You don't need a login, and you don't need to set up a proxy yourself. Your Apify plan does need the right proxy access (see the next question).

**Which proxies does my Apify plan need?**
Canada Computers needs Apify's **residential proxies**. Memory Express needs Apify's **unblocker** proxy group. The actor checks your plan's proxy access at the start of each run. Without residential proxies, Canada Computers still returns prices and availability through the unblocker group, but without per-store counts. If your plan has neither, the run ends within seconds with 0 items and no charge, and the status message tells you what to enable in Apify Console → Proxy.

**How fast is it?**
Canada Computers returns about 48 products per page in 4–8 seconds, including every store's stock. A few hundred products take well under a minute. Memory Express returns 120 products per page but is slower.

**Can I track a fixed list of products?**
Yes. Paste their product URLs, turn on *Only changes since the last run* and schedule it.

**Why do I get fewer products than the site shows?**
Check *Max products per search / URL* (default 100) and *Max products in total*.

**Memory Express was skipped. Why?**
The status message explains the reason. Memory Express only works through Apify's unblocker proxy group. If your Apify plan does not include it, the run still returns all Canada Computers results and you are not charged for Memory Express.

**How is a run billed?**
You pay for each product returned, once per product even in the one-row-per-store layout. Memory Express store stock is an add-on, billed for each Memory Express product page loaded. In changes-only mode, products that are re-checked but not returned are billed at the lower *Product checked* rate.

**Is it legal to scrape Canada Computers and Memory Express?**
This Actor only collects publicly available data: product listings, prices, stock levels and store locations that anyone can see on the Canada Computers and Memory Express websites without an account. Collecting publicly available data is generally legal, but you're responsible for how you use it. You must follow privacy laws such as GDPR, PIPEDA and CCPA, as well as Canada Computers' and Memory Express's terms. If you're unsure, check with a lawyer. More on this: [Is web scraping legal?](https://blog.apify.com/is-web-scraping-legal/)

**Does it access any private data?**
No. Everything comes from pages Canada Computers and Memory Express show to any visitor without logging in. It never uses a login, never touches private or restricted accounts, and never reaches password-protected areas.

# Actor input Schema

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

Keywords to search, e.g. "rtx 5070", "ddr5 ram", "4tb nvme". Each term is searched separately on every store selected below. A UPC or a Memory Express item number (MX…) returns that exact product.

## `retailers` (type: `array`):

Which stores the search terms run on. Memory Express pages load more slowly (about 3–50 s each), so it is off unless you tick it. URLs below always run on the store they belong to.

## `startUrls` (type: `array`):

Search result, category or product pages from canadacomputers.com or memoryexpress.com, e.g. https://www.canadacomputers.com/en/931/desktop-computers, https://www.memoryexpress.com/Category/VideoCards or a product page. Product URLs are ideal for watching a fixed list of items.

## `maxItemsPerQuery` (type: `integer`):

How many products to take from each search term or listing URL (in the store's own order). 0 = all results.

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

Hard cap on products for the whole run. 0 = no cap.

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

Order of search and category results (matters when you cap the number of products). "Top rated" applies to Canada Computers only.

## `includeStoreInventory` (type: `boolean`):

Adds a stores list to every Canada Computers product: exact units at each of its ~42 stores (new, open-box and demo), with store address, phone and coordinates. Free: it comes with the search results. Turn off for smaller, price-only rows.

## `memoryExpressStoreInventory` (type: `boolean`):

Also fetch each Memory Express product page to get availability at all its stores (exact counts up to 9, then "10+"), plus the manufacturer part number and sale end date. One extra page per product (billed as a Memory Express store stock event), so it is slower. Search results alone include price, UPC and brand. Memory Express product URLs and exact UPC / item-number searches always include store stock, because they load the product page anyway.

## `maxMemoryExpressProductPages` (type: `integer`):

Upper limit on Memory Express product pages fetched for store stock in one run. Products beyond it are returned without store stock. 0 = no limit.

## `storeFilter` (type: `array`):

Keep only matching stores in each product's stock list. Use store codes (e.g. KI), cities (e.g. Toronto, Calgary), store names, or provinces (ON, Alberta). Leave empty for all stores.

## `hideOutOfStockStores` (type: `boolean`):

Drop stores with zero units from each product's stock list (the counts still cover all selected stores).

## `onlyInStock` (type: `boolean`):

Skip products that are not in stock at any selected store or online. With a store filter, a product must be in stock at one of those stores.

## `onlyOnSale` (type: `boolean`):

Skip products that are at their regular price (a mail-in rebate also counts as a deal).

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

Only products at or above this price (CAD).

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

Only products at or below this price (CAD).

## `outputMode` (type: `string`):

One row per product with a stores list, or one row per product and store (easier for spreadsheets and alerts).

## `changesOnly` (type: `boolean`):

For scheduled monitoring: return only products whose price or stock changed since the previous run with the same settings (restocks, sell-outs, price drops/increases, quantity changes). Each row gets changeTypes and a changes list. The first run records a baseline and returns everything, marked "new". Products checked but not returned are billed at the lower Product checked rate.

## `monitorId` (type: `string`):

Optional. Runs with the same monitor name share one baseline, even if you edit the search terms. Leave empty to key the baseline on the settings.

## `concurrency` (type: `integer`):

How many pages to fetch at once from each store.

## `_noUnblocker` (type: `boolean`):

Internal (canaries): behave exactly like an account without the UNBLOCKER proxy group.

## `_noResidential` (type: `boolean`):

Internal (canaries): behave exactly like an account without the RESIDENTIAL proxy group.

## Actor input object example

```json
{
  "searchTerms": [
    "rtx 5070"
  ],
  "retailers": [
    "canadacomputers"
  ],
  "maxItemsPerQuery": 24,
  "maxItems": 0,
  "sortBy": "relevance",
  "includeStoreInventory": true,
  "memoryExpressStoreInventory": false,
  "maxMemoryExpressProductPages": 100,
  "hideOutOfStockStores": false,
  "onlyInStock": false,
  "onlyOnSale": false,
  "outputMode": "product",
  "changesOnly": false,
  "concurrency": 4,
  "_noUnblocker": false,
  "_noResidential": false
}
```

# Actor output Schema

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

All scraped products with prices and store stock.

## `run` (type: `string`):

Status and statistics for this run.

# 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 = {
    "searchTerms": [
        "rtx 5070"
    ],
    "retailers": [
        "canadacomputers"
    ],
    "maxItemsPerQuery": 24
};

// Run the Actor and wait for it to finish
const run = await client.actor("yugenox/canada-pc-parts-stock-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 = {
    "searchTerms": ["rtx 5070"],
    "retailers": ["canadacomputers"],
    "maxItemsPerQuery": 24,
}

# Run the Actor and wait for it to finish
run = client.actor("yugenox/canada-pc-parts-stock-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 '{
  "searchTerms": [
    "rtx 5070"
  ],
  "retailers": [
    "canadacomputers"
  ],
  "maxItemsPerQuery": 24
}' |
apify call yugenox/canada-pc-parts-stock-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,yugenox/canada-pc-parts-stock-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/AN8avmpaIGhTrBntS/builds/feDP1nnZJv79aSaDt/openapi.json
