# Costco Canada, UK & Australia Scraper: Prices & Savings (`vant47/costco-canada-uk-australia-scraper`) Actor

Monitor Costco Canada, UK and Australia products by item ID, URL or keyword. Get separate online and published warehouse prices, savings dates, member flags, ratings and stock signals. Canada warehouse inventory; UK/AU online stock. About $0.0015 per product plus $0.0015 setup. No login.

- **URL**: https://apify.com/vant47/costco-canada-uk-australia-scraper.md
- **Developed by:** [fortbrand](https://apify.com/vant47) (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 $1.20 / 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.
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

## Costco Canada, UK & Australia Scraper: Prices & Savings

For retail price analysts, brands and comparison services monitoring Costco products across Canada, the United Kingdom and Australia. Collect current prices, item numbers, promotions, ratings and public stock observations in one consistent retail schema.

About **$0.0015 per delivered product**: 20 products cost **$0.03**, 100 cost **$0.15**, and 1,000 cost **$1.50**, plus a **$0.0015 run setup charge**. Product details are included in that price. No Costco login, membership credentials or account cookies are required.

Use a warehouse or postal code for Canadian warehouse observations or UK/AU online products with location context. Every row identifies country, currency and price scope.

### What you get

| Data | Fields | How to use it |
| --- | --- | --- |
| Identity | `retailer`, `country`, `productId`, `sku`, `itemNumber`, `parentProductId` | Join observations using country, warehouse and product code. Preserve variant suffixes. |
| Location | `storeId`, `storeName`, `location`, `requestedLocations`, `storeAddress` | See the verified warehouse and every requested postal code represented by the row. |
| Selected price | `currency`, `price`, `regularPrice`, `priceScope` | Compare the selected Canadian warehouse price, or the online price for an online observation. |
| Price comparison | `onlinePrice`, `onlineRegularPrice`, `warehousePrice`, `priceWarehouseNumber` | Keep national online observations and published warehouse observations in separate columns. |
| Savings | `onSale`, `isDeal`, `promoText`, `promoType`, `promoStart`, `promoEnd` | Monitor current promotion wording and source validity dates. |
| Savings detail | `instantSavings`, `discountAmount`, `promotions`, `onlinePromotions` | Retain savings amount, text, dates and purchase limit when supplied. |
| Membership | `memberOnly`, `memberPrice`, `memberProgram`, `priceHidden` | Identify explicit membership restrictions and hidden-price records. |
| Unit price | `unitPrice`, `unitOfMeasure` | Use source-published unit pricing and its original unit code. |
| Availability | `inStock`, `stockLevel`, `warehouseInStock`, `deliveryInStock` | Interpret stock together with country and price scope. |
| Availability evidence | `warehouseAvailability`, `deliveryAvailability`, `deliveryByZip` | Preserve Canadian warehouse and delivery-program observations. |
| Product metadata | `title`, `brand`, `size`, `category`, `model` | Match products to your catalog and compare like-for-like packs. |
| Barcode | `gtin` | A source-labelled GTIN, UPC or EAN with a valid length and check digit, when supplied. |
| Ratings | `rating`, `ratingAverage`, `reviewCount` | Aggregate source rating and review count. |
| Traceability | `url`, `imageUrl`, `sourceUrl`, `scrapedAt` | Open the original product page and retain the observation timestamp. |
| Extra details | `specifications`, `details` | Public descriptions and structured specifications when `includeDetails` is enabled. |

The retail fields, `recordType: "PRODUCT"`, overview and deals views, and `SUMMARY` record match the US Costco Actor.

### Read the price scope

Canadian `price` and `warehousePrice` use the selected warehouse; `onlinePrice` retains the national price. UK/AU rows have `priceScope: "online"`, with warehouse location context. Read scope and currency before comparing rows.

A Canadian validation observation on 10 November 2026 showed item `309240`, Illy Intenso Espresso Bold Roast Ground Coffee, 250 g, at **CAD 9.49** in warehouse `1316` and **CAD 12.99** online. Those are two distinct observations and both are retained.

Checkout reductions stay in the promotion fields; the displayed price remains in `price`.

### Start a run

1. Choose `CA`, `GB` or `AU`, then enter keywords, product codes or country-specific URLs.
2. Enter postal codes for warehouse context, or exact `storeIds` for the warehouses you monitor.
3. Set `maxItems`, start the run and export the Product prices dataset view as JSON, CSV or Excel.

The prefill uses `coffee`, Toronto postal code `M5V 3L9` and 20 products. Exact warehouse IDs take priority; postal codes retain delivery context.

#### Canadian warehouse basket

```json
{
  "country": "CA",
  "productIds": ["309240", "2030838"],
  "storeIds": ["1316"],
  "locations": ["M5V 3L9"],
  "maxItems": 20,
  "includeDetails": false
}
```

#### Canadian keyword discovery

```json
{
  "country": "CA",
  "searchTerms": ["organic coffee", "protein"],
  "locations": ["V6B 1V4"],
  "maxItemsPerSearch": 50,
  "maxItems": 100
}
```

Canadian keywords match all words against product names encoded in the current public product sitemap. This is useful for building and refreshing a monitoring basket. Save the returned item numbers for subsequent scheduled runs.

#### UK native search and offers

```json
{
  "country": "GB",
  "searchTerms": ["coffee", "chocolate"],
  "locations": ["SW1A 1AA"],
  "maxItemsPerSearch": 30,
  "maxItems": 60,
  "dealsOnly": true
}
```

#### Australian product details

```json
{
  "country": "AU",
  "productIds": ["255146", "42943_BD"],
  "locations": ["2000"],
  "maxItems": 20,
  "includeDetails": true
}
```

Keep codes such as `42943_BD` exactly as returned. A source suffix identifies a distinct catalog record. Known product links are also accepted, including their variant suffixes.

#### Category monitoring

```json
{
  "country": "GB",
  "startUrls": ["https://www.costco.co.uk/c/cos_6"],
  "maxItemsPerSearch": 100,
  "maxItems": 100
}
```

UK and Australian category paths ending in `/c/<category-code>` use the public paginated category API. Product URLs are recognized automatically. Canadian category and savings pages contribute their explicit product links.

### Inputs

| Input | Default | Meaning |
| --- | --- | --- |
| `country` | `CA` | Country storefront: Canada, United Kingdom or Australia. One country per run. |
| `searchTerms` | `coffee` when no source is supplied | Canadian sitemap name discovery; native search in the UK and Australia. |
| `startUrls` | empty | Product, search, category or savings URLs on the selected country domain. Strings and URL objects are accepted. |
| `productIds` | empty | Source item numbers or product codes, including UK/AU suffixes. Up to 20,000 supplied codes. |
| `locations` | empty; form prefills Toronto | Country postal codes for warehouse resolution and supported delivery context. |
| `storeIds` | empty | Exact Canadian warehouse number, UK warehouse code or Australian warehouse code. |
| `maxItemsPerSearch` | 20 | Maximum new product rows per keyword or linked source at each warehouse, up to 10,000. |
| `maxItems` | 20 | Global product-row limit across sources and warehouses, up to 20,000. |
| `dealsOnly` | false | Deliver products with current source savings or promotion evidence. |
| `includeDetails` | false | Add available descriptions, specifications and verified source-labelled barcodes. |
| `proxyConfiguration` | automatic | Default datacenter selection first, followed by direct HTTP or country-matched residential retries as required. |

Only these canonical input names are supported. Set limits with `maxItems` and `maxItemsPerSearch`. Explicit proxy disable, custom URLs, selected groups and selected countries are preserved. The automatic proxy object added by Apify retains automatic fallback behavior.

With no location or warehouse, the run uses the country online storefront. Several postal codes that resolve to the same Canadian warehouse share one product observation and one product charge; `requestedLocations` and `deliveryByZip` retain their context. Exact `storeIds` take priority over nearest-postcode selection.

### Example output

Canadian warehouse observation, 10 November 2026, with fields omitted:

```json
{"country":"CA","currency":"CAD","storeId":"1316","productId":"309240","price":9.49,"warehousePrice":9.49,"onlinePrice":12.99,"priceScope":"warehouse","recordType":"PRODUCT"}
```

Parent listings expand into source item or variant codes. Preserve suffixes and `parentProductId` when grouping them.

### Monitor prices every day

Create an Apify task containing the product basket, country, locations and row limit you want to monitor. Add the task to an Apify schedule. Each run produces a separate dataset and timestamps, ready for your own database, spreadsheet or reporting system.

Join observations by `(retailer, country, storeId, productId)`. Keep currency and price scope in the comparison. Build price alerts from numeric observations; use null as an unknown value. Preserve promotion dates and checkout wording alongside an alert so a reviewer can see the conditions.

Interrupted runs resume saved results. Repeated products at one warehouse receive one product charge.

Read `SUMMARY` for product, store and deal counts, failures, duplicates and spending-limit status. Output links include overview, Instant Savings, `DEALS` JSON and summary.

### Price and spending limits

| Delivered products | List-price product charge |
| --- | --- |
| 1 | $0.0015 |
| 20 | $0.03 |
| 100 | $0.15 |
| 1,000 | $1.50 |

Bronze has a 5% product discount, Silver 10%, and Gold and higher 20%. The run setup charge is $0.0015 per start unit, with the platform's memory-based minimum of one unit. A normal 20-product run costs $0.0315 at list price. See the Pricing tab for your plan.

One distinct product code at one selected warehouse or online location is one billable product row. A hidden-price record can still supply product identity, stock, ratings and specifications. Those delivered records count toward the product limit and product charge. Product details have no additional fee.

Duplicate products, retry attempts, invalid-input notes, unsupported-source notes and empty matches have no product charge. The Actor checks the buyer's maximum total charge before saving another product and stops cleanly when the remaining budget cannot cover one row.

Two Canadian validation runs each delivered **1,100 distinct product rows** successfully, across three searches and a different warehouse in each run. Validation also exercises postal codes, duplicate inputs, details and the exact input-form prefill.

### API use

Start asynchronously and read the dataset ID returned by Apify:

```bash
curl -X POST 'https://api.apify.com/v2/acts/vant47~costco-canada-uk-australia-scraper/runs' \
  -H "Authorization: Bearer $APIFY_TOKEN" \
  -H 'Content-Type: application/json' \
  -d '{"country":"CA","productIds":["309240"],"storeIds":["1316"],"locations":["M5V3L9"],"maxItems":20}'
```

Python:

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ['APIFY_TOKEN'])
run = client.actor('vant47/costco-canada-uk-australia-scraper').call(run_input={
    'country': 'CA',
    'productIds': ['309240'],
    'storeIds': ['1316'],
    'locations': ['M5V3L9'],
    'maxItems': 20,
})
for row in client.dataset(run['defaultDatasetId']).iterate_items():
    if row.get('recordType') == 'PRODUCT':
        print(row['productId'], row['price'], row['onlinePrice'])
```

JavaScript:

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('vant47/costco-canada-uk-australia-scraper').call({
  country: 'GB', searchTerms: ['coffee'], maxItems: 20,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items.filter(row => row.recordType === 'PRODUCT'));
```

Connect runs to Make, Zapier, n8n, Sheets or webhooks. Filter `recordType` to exclude free notes.

### Use with AI agents (MCP)

Expose `vant47/costco-canada-uk-australia-scraper` through `https://mcp.apify.com`. Fetch its schema. Example: collect Costco Canada item 309240 for warehouse 1316 and postal code M5V 3L9, show warehouse and online prices separately, and return the run summary.

For a UK or Australian request, ask for online prices and online stock with warehouse context. Use source product codes when creating a recurring basket. Read the summary and null fields before turning the output into a purchasing or availability alert.

### Limits

- Canadian keyword discovery matches product names in the current sitemap. Native Canadian ranked search and dynamically populated category completeness are unavailable through this route.
- Canadian warehouse prices, inventory and delivery-program status depend on what the public source publishes for the selected location. An unreported observation stays null.
- UK and Australian rows provide online prices and online stock. Warehouse shelf prices, warehouse-specific inventory and postcode delivery eligibility are unavailable through the tested signed-out routes.
- Some Australian and UK prices are hidden behind membership access. The Actor leaves those prices null and collects the remaining public product metadata.
- The Actor uses public product, inventory and warehouse responses. It does not log in, use account cookies, solve verification challenges or enter checkout.
- GTIN requires a source label and a valid check digit. A Costco SKU, model, supplier code or item number is preserved in its own field and does not become a barcode.
- Promotion conditions, purchase limits, tax, shipping and checkout reductions can change the final payable amount. Retain the source offer wording for interpretation.
- Ratings and review counts are source snapshots. Different public page and API caches can update at different moments. Review text and reviewer identities are excluded.
- Availability is an observation rather than a reservation or an audited shelf count. Base listings awaiting a variant selection carry unknown stock when variant observations are unavailable.

### FAQ

#### Can I combine countries?

Yes. Run one country per job and retain currency, warehouse and price scope when joining datasets.

#### Why is price null while onlinePrice has a number?

The selected Canadian warehouse did not publish a price, while the online storefront did.

#### What happens with no matches?

The summary records no matches and the product charge is zero. Source failures have separate explanations.

#### Are variants charged separately?

Each distinct product code at one warehouse is a row. Repeated codes are deduplicated.

#### Do details cost more?

No. Public descriptions, specifications and verified barcodes are included in the product price.

This independent tool uses Costco names to identify the source. Follow the source terms when using the results.

# Actor input Schema

## `country` (type: `string`):

One country per run. Uses the same product fields in each currency.

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

Canada: match all words in public sitemap product names. UK and Australia: native ranked product search.

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

Product, category, offers or search URLs on the selected country domain. Canada category pages contribute explicit product links, without a category-completeness guarantee.

## `productIds` (type: `array`):

Costco item numbers or product codes for the selected country. Preserve UK/AU variant suffixes such as \_BD. Each distinct source code is a separate product.

## `locations` (type: `array`):

Canadian postal codes, UK postcodes or Australian postcodes. Resolves a warehouse; UK/AU prices and stock remain online observations.

## `storeIds` (type: `array`):

Exact warehouse number in Canada (for example 1316), UK warehouse code (wembley) or Australian warehouse code (102). Takes priority over nearest-postcode selection; postal codes retain delivery context.

## `maxItemsPerSearch` (type: `integer`):

Maximum product rows per keyword, linked savings page or category source at each warehouse. Product ID lists use the global maxItems limit.

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

Global product cap across warehouses. About $0.0015 per product plus $0.0015 per run setup; 20 products cost $0.0315 at list price.

## `dealsOnly` (type: `boolean`):

Keep published active savings or promotion records. Checkout promotions remain descriptive; a future discount is not subtracted from the displayed price.

## `includeDetails` (type: `boolean`):

Add public product descriptions, specifications and source-labelled valid barcodes when available. Included in the product price.

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

Automatic default datacenter selection first; direct HTTP and country-matched residential retries as needed. Explicit disable, groups, country and custom proxy URLs are preserved.

## Actor input object example

```json
{
  "country": "CA",
  "searchTerms": [
    "coffee"
  ],
  "locations": [
    "M5V 3L9"
  ],
  "maxItemsPerSearch": 20,
  "maxItems": 20,
  "dealsOnly": false,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `products` (type: `string`):

No description

## `dealsView` (type: `string`):

No description

## `dealsOnly` (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 = {
    "country": "CA",
    "searchTerms": [
        "coffee"
    ],
    "locations": [
        "M5V 3L9"
    ],
    "maxItemsPerSearch": 20,
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("vant47/costco-canada-uk-australia-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 = {
    "country": "CA",
    "searchTerms": ["coffee"],
    "locations": ["M5V 3L9"],
    "maxItemsPerSearch": 20,
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("vant47/costco-canada-uk-australia-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 '{
  "country": "CA",
  "searchTerms": [
    "coffee"
  ],
  "locations": [
    "M5V 3L9"
  ],
  "maxItemsPerSearch": 20,
  "maxItems": 20
}' |
apify call vant47/costco-canada-uk-australia-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,vant47/costco-canada-uk-australia-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/tb2cMOJ5zBRP7XX32/builds/bLQKjvD92Invhl9Lw/openapi.json
