# Coles Grocery Scraper - Prices, Specials & Unit Prices (`randy-tools/coles-grocery-scraper`) Actor

Scrape Coles (coles.com.au) products by search term, category, specials or URL. Returns current and was price, unit price, promotion type, stock availability, purchase limits and category. Fast HTTP-only, pay per product.

- **URL**: https://apify.com/randy-tools/coles-grocery-scraper.md
- **Developed by:** [AICORP Tools](https://apify.com/randy-tools) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 0.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.

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

## Coles Australia Grocery Scraper — Prices, Specials & Unit Prices

Extract product and price data from **Coles** (coles.com.au), one of Australia's largest supermarkets. Search by keyword, crawl any category or the whole store, or pull the full **On Special** catalogue. Get current and previous price, savings, **unit price** ($/100g, $/L), promotion type, stock availability, purchase limits and category, in one clean table.

Built for **reliability**: it runs on Australian residential proxies, paces its requests and recovers automatically from bot challenges, so your scheduled price-monitoring runs keep succeeding.

### What you can do with it

- **Price monitoring:** track daily prices and specials for your products or competitors
- **Grocery price comparison apps:** feed a comparison site, app or newsletter
- **Promotions intelligence:** see what is on special each week, by department and brand
- **Inflation and economic research:** build unit-price time series across thousands of SKUs
- **Brand and category analysis:** measure shelf presence, sponsored placements and pricing strategy

### Features

- 🔎 **Search:** any keyword, e.g. `milk`, `coffee pods`, `tim tam`
- 🗂️ **Categories:** any `coles.com.au/browse/...` category or sub-category, or the **entire catalogue**
- 🏷️ **Specials:** the complete On Special catalogue, or filter any listing to discounted items only
- 🔗 **URLs:** paste search, browse or on-special URLs straight from your browser
- ⚖️ **Unit prices:** comparable $/unit values for true value comparison
- 📦 **Stock and limits:** availability, available quantity and retail/promotional purchase limits
- 📣 **Sponsored flag:** identify paid placements (`isSponsored`)
- ♻️ **Deduplication** across listings, and a **maxItems** cap to control cost
- ⚡ **Fast and light:** HTTP-only (no browser), so it's quick and cheap

### Input example

```json
{
  "searchTerms": ["milk", "coffee"],
  "categories": ["dairy-eggs-fridge", "pantry/breakfast"],
  "specials": false,
  "onlySpecials": false,
  "sortBy": "unitPriceAscending",
  "maxItems": 500
}
```

### Output example

```json
{
  "productId": "1849330",
  "name": "Orange Soft Drink Multipack Cans 375ml",
  "brand": "Fanta",
  "size": "10 Pack",
  "fullName": "Fanta Orange Soft Drink Multipack Cans 375ml 10 Pack",
  "url": "https://www.coles.com.au/product/fanta-orange-soft-drink-multipack-cans-375ml-10-pack-1849330",
  "imageUrl": "https://productimages.coles.com.au/productimages/1/1849330.jpg",
  "price": 11.5,
  "wasPrice": 23.0,
  "saveAmount": 11.5,
  "isOnSpecial": true,
  "promotionType": "SPECIAL",
  "offerDescription": "save $11.50",
  "unitPrice": 3.07,
  "unitPriceMeasure": "1l",
  "unitPriceText": "$3.07/ 1L",
  "available": true,
  "availabilityType": "InStoreAndOnline",
  "availableQuantity": 254,
  "retailLimit": 20,
  "promotionalLimit": 12,
  "isSponsored": false,
  "department": "Drinks",
  "category": "Soft Drinks",
  "aisle": "Soft Drink Cans",
  "source": "specials",
  "scrapedAt": "2026-09-28T01:19:50+00:00"
}
```

You can export results as JSON, CSV, Excel or HTML, or pull them via the Apify API, webhooks, Make, Zapier, n8n or MCP.

### Pricing

Pay only for what you get: a small fee per run start plus a fee **per product** returned. Proxy costs are included. Use `maxItems` to cap your spend.

### Tips

- **Weekly specials:** enable `specials` and schedule the Actor weekly (Coles specials change on Wednesdays).
- **Whole store:** `allCategories: true` crawls every department (tens of thousands of products). Set `maxItems: 0` for no limit.
- **Category slugs:** open a category on coles.com.au and copy the part after `/browse/`, e.g. `meat-seafood/beef-veal`.

### FAQ

**Are prices store-specific?** Coles shows online prices for its default location. Some fresh items and promotions can vary by store or state.

**Is scraping Coles legal?** This Actor only collects publicly visible product and price information. It collects no personal data and uses no logins. You are responsible for using the data in line with applicable laws and the website's terms.

**Something broke?** Open an issue on the Issues tab. We monitor the Actor daily and usually respond within 24 hours.

# Actor input Schema

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

Products to search for, e.g. "milk", "weet-bix", "coffee pods".

## `categories` (type: `array`):

Category slugs from coles.com.au/browse/..., e.g. "dairy-eggs-fridge", "meat-seafood", "pantry/breakfast".

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

Paste search, category (browse) or on-special URLs from coles.com.au.

## `specials` (type: `boolean`):

Include the full 'On Special' catalogue (thousands of products).

## `allCategories` (type: `boolean`):

Crawl every top-level category (the whole store, ~25k+ products). Use maxItems to cap cost.

## `onlySpecials` (type: `boolean`):

Filter any listing down to discounted products.

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

Sort order passed to Coles.

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

Stop after this many products (0 = no limit).

## `includeSponsored` (type: `boolean`):

Keep products shown as paid placements (flagged with isSponsored).

## `dedupe` (type: `boolean`):

Output each product once even if it appears in several listings.

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

Coles uses Imperva bot protection. Australian residential proxy (the default) gives the most reliable runs; proxy cost is included in the per-product price.

## Actor input object example

```json
{
  "searchTerms": [
    "milk"
  ],
  "specials": false,
  "allCategories": false,
  "onlySpecials": false,
  "sortBy": "",
  "maxItems": 200,
  "includeSponsored": true,
  "dedupe": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "AU"
  }
}
```

# Actor output Schema

## `results` (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 = {
    "searchTerms": [
        "milk"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "AU"
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("randy-tools/coles-grocery-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": ["milk"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "AU",
    },
}

# Run the Actor and wait for it to finish
run = client.actor("randy-tools/coles-grocery-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": [
    "milk"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "AU"
  }
}' |
apify call randy-tools/coles-grocery-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,randy-tools/coles-grocery-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/dEeZsB4mjC8d4lhuv/builds/46UTpsRFAS09Bbt2c/openapi.json
