# CDW Price Tracker: Prices and Stock by Product URL (`agnes.developer.queen/cdw-price-tracker`) Actor

CDW price tracker. Paste CDW product URLs or CDW numbers and get advertised price, list price, stock status and part numbers. Optional price change tracking between runs. $4 per 1,000 products.

- **URL**: https://apify.com/agnes.developer.queen/cdw-price-tracker.md
- **Developed by:** [Agnes Maina](https://apify.com/agnes.developer.queen) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.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

CDW Price Tracker is an Apify Actor that reads CDW product pages from a list of product URLs or CDW numbers and returns one row per product with advertised price, list price, stock status, manufacturer part number, UNSPSC code, category, brand and image, without login. Turn on `trackChanges`, put the run on a schedule, and each run marks the products whose price or stock changed since the last one.

It costs $4 per 1,000 products with a readable price. Products with no public price are free.

### What does CDW Price Tracker do?

You give it CDW product URLs or CDW numbers. It reads each public product page on cdw.com once and writes one row per product. IT resellers, procurement teams and price comparison builders use it as a CDW scraper that keeps a CDW price list current without opening each page.

Limits:

- Product pages only. No keyword search and no category crawl.
- Public advertised prices only. Contract prices and signed in prices are not read.
- US site, cdw.com, only. Up to 1,000 products per run. The Apify residential US proxy is required.
- Stock is the page's status text, such as "In Stock" or "3-5+ Days". Quantities are not shown.

Measured on Apify on November 17, 2026, with 43 real product pages: all 43 were read in 48 seconds with one retry. 34 had a public price and 9 were quote only products, which are free.

### How to scrape CDW

1. Open the Actor and paste CDW product URLs or CDW numbers into `products`.
2. Leave the residential US proxy selected.
3. Click Start, then export the dataset as JSON, CSV or Excel.

```json
{
  "products": [
    "https://www.cdw.com/product/hp-thunderbolt-4-ultra-180w-g6-dock/8304346",
    "5935539"
  ],
  "trackChanges": true,
  "maxConcurrency": 3,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"],
    "apifyProxyCountry": "US"
  }
}
```

### How much does it cost to scrape CDW?

| Event | Price | You pay when |
| --- | --- | --- |
| `product` | $0.004 | A product row has a readable price |
| `apify-actor-start` | $0.00005 | A run starts, once per GB of run memory |

1,000 priced products cost 1,000 x $0.004 = $4.00, plus $0.00005 for the run start at the default 512 MB. Invalid inputs, missing products, failed requests and products that only show "Request Pricing" are free. A priced product costs the same whether or not it changed.

### What data can you get from CDW?

Missing source values are `null`. `specs` is an empty list when the page has none.

| Field | Value |
| --- | --- |
| `input` | First supplied value for this CDW number |
| `url` | Canonical product URL, or the fetched URL |
| `cdwNumber` | CDW product number from the page |
| `mfgNumber` | Manufacturer part number |
| `unspsc` | Trimmed UNSPSC code |
| `name` | Product name without the title tail |
| `category` | Last category in the breadcrumb |
| `brand` | Brand stated on the page |
| `price` | Advertised price as a number |
| `listPrice` | List price as a number, when shown |
| `currency` | USD |
| `priceLabel` | Page label, such as Advertised Price or Request Pricing |
| `availability` | Page stock status text |
| `inStock` | True or false for recognized stock text, otherwise null |
| `imageUrl` | Product image URL |
| `specs` | Up to 20 lines from the page's Quick tech specs list |
| `status` | `ok`, `not_found`, `invalid_input` or `failed` |
| `changed` | Whether price, list price or stock changed |
| `changedFields` | Names of changed fields, or null |
| `previous` | Earlier price, list price, availability and checkedAt when a change is detected |
| `checkedAt` | ISO time of the check |
| `charged` | Whether the row was charged as a `product` event |
| `reason` | Why the row is free, otherwise null |

### Input

| Field | Default | Meaning |
| --- | --- | --- |
| `products` | Required | Array of product URLs or CDW numbers with 5 to 9 digits. At most 1,000 entries. |
| `trackChanges` | false | Keep product readings between runs. |
| `webhookUrl` | None | Optional https URL that receives the changed rows when tracking is on. |
| `maxConcurrency` | 3 | Concurrent requests, from 1 to 5. Starts stay at least 500 ms apart. |
| `proxyConfiguration` | Residential US | Apify residential proxy in the US. Other proxy routes are rejected. |

Duplicate URLs and bare numbers for the same product collapse to one row. Invalid entries return free `invalid_input` rows. A failed request gets one retry for HTTP 403, 429, server errors or a network error, with a fresh proxy session.

### Output

One real row:

```json
{
  "input": "https://www.cdw.com/product/hp-thunderbolt-4-ultra-180w-g6-dock/8304346",
  "url": "https://www.cdw.com/product/hp-thunderbolt-4-ultra-180w-g6-dock/8304346",
  "cdwNumber": "8304346",
  "mfgNumber": "9X481UT#ABA",
  "unspsc": "43211602",
  "name": "HP Thunderbolt 4 Ultra 180W G6 Dock",
  "category": "Docking Stations & Port Replicators",
  "brand": "HP Inc",
  "price": 364.99,
  "listPrice": 394,
  "currency": "USD",
  "priceLabel": "Advertised Price",
  "availability": "In Stock",
  "inStock": true,
  "imageUrl": "https://webobjects2.cdw.com/is/image/CDW/8304346?$product_minithumb$",
  "specs": [
    "powered and dependable connection",
    "Thunderbolt 4 host interface allows quick transmission of data at a higher rate for your convenience",
    "5 GB/s maximum data transfer rate for fast, dependable data transfer with added productivity",
    "Charging capability provides a quicker, worry-free charging experience",
    "Desktop PC device supported for better reliance and optimal performance"
  ],
  "status": "ok",
  "changed": false,
  "changedFields": null,
  "previous": null,
  "checkedAt": "2026-11-17T12:00:00.000Z",
  "charged": true,
  "reason": null
}
```

### Watch CDW prices daily

Each scheduled run adds a dated reading per product, so the run datasets together form a CDW price history.

Set `trackChanges` to true, then create an Apify schedule with the same input.

The first reading has `changed: false`. Later runs compare `price`, `listPrice` and `availability`. A field counts as changed only when both readings have a value. Missing fields preserve the last known value. Failed and missing products do not replace a saved reading. Tracking fields are null when tracking is off.

The named store is `cdw-price-monitor-state`, with a `products` record keyed by CDW number. Delete that store to start over. Saves merge this run's products into the stored record. Use one schedule at a time. Simultaneous runs can overwrite stored readings, including products on different lists.

The dataset has a Products view and a Price changes view. Filter `changed` to true to see changes. `RUN_SUMMARY` in the default store records requested entries, unique valid products, result counts, charges, changes, retries, response body bytes and the stop reason. Bytes are decoded HTML bytes, not compressed proxy traffic.

#### Run it daily and get an alert

1. Run once with `trackChanges` on. That run stores the first reading.
2. In the Apify Console open Schedules, create a schedule, add this Actor with the same input and pick a daily time.
3. Optional: paste a Slack incoming webhook, or any https URL, into `webhookUrl`. When a run finds changes it posts one JSON message with a `text` summary and the changed rows (up to 50). Nothing is sent when nothing changed.

The result of the post is saved as `WEBHOOK_STATUS` in the run's key-value store. A failed post never fails the run. If the platform restarts a run midway, the message covers the rows read after the restart.

### Use cases

- A reseller checks 500 CDW products every morning and sends only the rows with `changed: true` to a sheet or a chat channel.
- A procurement team keeps list price and advertised price for its standard hardware next to quotes from other suppliers.
- A price comparison builder fills its CDW column by manufacturer part number, using `mfgNumber` as the join key.

### CDW API and Python example

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("agnes.developer.queen/cdw-price-tracker").call(run_input={
    "products": ["https://www.cdw.com/product/hp-thunderbolt-4-ultra-180w-g6-dock/8304346", "5935539"],
    "proxyConfiguration": {"useApifyProxy": True, "apifyProxyGroups": ["RESIDENTIAL"], "apifyProxyCountry": "US"},
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(row["cdwNumber"], row["price"], row["availability"])
```

### Is there an official CDW API?

Not an open one. CDW has an API for its account customers, which needs a CDW account and which we have not used. We found no public API that returns catalog prices and stock to anyone without an account. This Actor reads the same public product pages a visitor sees, so it needs no CDW account and returns no account prices.

### What is NOT returned

- Contract, quote or signed in prices
- Stock quantities, warehouse or delivery dates
- Search results, category listings or related products
- Reviews and full specification tables
- Products on other CDW country sites

### FAQ

#### Can I search by keyword or crawl a category?

No. Supply product URLs or CDW numbers. Search and category crawling are outside this version's scope.

#### Can it read my contract price?

No. It reads public advertised prices on cdw.com. Account access is outside this version's scope.

#### Do unchanged products cost money?

Yes. Every product with a readable price is one `product` event, changed or not, because each check reads the page again.

#### What happens at my charge limit?

Delivery stops before a product charge would exceed the configured maximum. The run saves its summary and remembered readings. A run that stops early can have fewer rows than inputs.

### For AI agents (MCP)

Add this Actor as a tool in any MCP client with `https://mcp.apify.com/?tools=agnes.developer.queen/cdw-price-tracker`. The agent passes `products` and gets the same rows back.

### Related scrapers

- [Google Hotels Scraper](https://apify.com/agnes.developer.queen/google-hotels-scraper) for hotel prices by date
- [LinkedIn Company Scraper](https://apify.com/agnes.developer.queen/linkedin-company-scraper) for company facts
- The source site: [cdw.com](https://www.cdw.com)

# Actor input Schema

## `products` (type: `array`):

One cdw.com product URL or CDW number per entry. Up to 1,000 entries. Duplicates collapse by CDW number. Invalid entries return a free row.

## `trackChanges` (type: `boolean`):

Remember delivered products between runs and compare price, list price and stock. The code default is false.

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

Optional https URL. When tracking is on and at least one row changed, the run posts one JSON message there with a `text` summary (works with a Slack incoming webhook) and the changed rows. Nothing is sent when nothing changed.

## `maxConcurrency` (type: `integer`):

Concurrent product requests. Request starts stay at least 500 ms apart. The code default is 3.

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

Apify residential proxy in the US is required. Each request uses a fresh session.

## Actor input object example

```json
{
  "products": [
    "https://www.cdw.com/product/hp-thunderbolt-4-ultra-180w-g6-dock/8304346",
    "5935539"
  ],
  "trackChanges": false,
  "maxConcurrency": 3,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}
```

# Actor output Schema

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

No description

## `summary` (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 = {
    "products": [
        "https://www.cdw.com/product/hp-thunderbolt-4-ultra-180w-g6-dock/8304346",
        "5935539"
    ],
    "trackChanges": false,
    "maxConcurrency": 3,
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "US"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("agnes.developer.queen/cdw-price-tracker").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 = {
    "products": [
        "https://www.cdw.com/product/hp-thunderbolt-4-ultra-180w-g6-dock/8304346",
        "5935539",
    ],
    "trackChanges": False,
    "maxConcurrency": 3,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "US",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("agnes.developer.queen/cdw-price-tracker").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 '{
  "products": [
    "https://www.cdw.com/product/hp-thunderbolt-4-ultra-180w-g6-dock/8304346",
    "5935539"
  ],
  "trackChanges": false,
  "maxConcurrency": 3,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "US"
  }
}' |
apify call agnes.developer.queen/cdw-price-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,agnes.developer.queen/cdw-price-tracker"
        }
    }
}
```

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/ee993WhE7EAtgZNQG/builds/qi14dquusZMCqGSqD/openapi.json
