# Coles Scraper - Australia Grocery Prices (`scrapewise/coles-scraper`) Actor

Scrape coles.com.au, Australia's supermarket: product name, brand, size, shelf price in AUD, was-price on promotion, unit price, availability and links from any search or category. No login. Error rows are free.

- **URL**: https://apify.com/scrapewise/coles-scraper.md
- **Developed by:** [Scrapewise Data](https://apify.com/scrapewise) (community)
- **Categories:** E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.76 / 1,000 product delivereds

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

## Coles Scraper

Scrape **Coles supermarket products** from coles.com.au without an account: name, brand, pack size, shelf price in AUD, was-price, unit price, availability and link. **US$ 1 per 1,000 products**, 328 products for `milk` alone.

### What does this Coles scraper do?

- Searches Coles by keyword, or reads any Coles category or search link you paste.
- Filters by brand, price range in AUD and products on special, relevance or lowest price first.
- Returns one clean row per product, with the was-price and the unit price when Coles shows them.

### Who uses it

- **Grocery price trackers and comparison sites:** shelf price, was-price and unit price of every product in a category, every day.
- **Brands and suppliers:** how their products and the competitors' are priced and promoted at Coles.
- **Retail and market analysts:** promotions and price changes across categories over time.
- **Shoppers' tools and newsletters:** this week's specials by keyword or brand.

### Coles scraper at a glance

| | |
|---|---|
| Source | coles.com.au search and category pages (public, logged out) |
| Price | US$ 1 per 1,000 products delivered, plus US$ 0.001 per run start |
| Currency | prices are in AUD, as the site shows them |
| Free | error rows, repeated products, products filtered out, and products already delivered after a restart |
| Input | a search term, optional category or search links, sort order, brand and price filters, on-special filter |
| Output | one row per product (type `product`), or one free row per problem (type `error`) |

### How to scrape Coles products

1. Type a product in **Search term**, for example `milk`, or paste **Category or search links**.
2. If you want, add **Brands**, a price range or **Only products on special**.
3. Click **Start**. Products appear in the Output tab and export to JSON, CSV or Excel.

The same run as JSON input, cheapest first, 20 products:

```json
{
  "searchQuery": "milk",
  "sortBy": "Price low to high",
  "maxItems": 20
}
```

If you leave the search term empty and paste no links, the Actor searches `milk` as an example and says so in the log.

### Coles scraper input

| Field | Type | Default | What it does |
|---|---|---|---|
| `searchQuery` | text | `milk` | Words to search for on coles.com.au, for example `peanut butter`. |
| `startUrls` | list | empty | Category links such as `https://www.coles.com.au/browse/dairy-eggs-fridge/milk` or search links such as `https://www.coles.com.au/search/products?q=milk`. |
| `sortBy` | select | `Relevance` | `Relevance` keeps the site's order. `Price low to high` orders search results by shelf price. Category pages keep the site's own order. |
| `brands` | list | empty | Only products of these brands, for example `Coles` or `Pauls`. Capital letters do not matter. |
| `minPriceAud` / `maxPriceAud` | number | empty | Shelf price range in Australian dollars. |
| `onSpecialOnly` | boolean | `false` | Only products whose shelf price is below their was-price. |
| `maxItems` | integer | 50 | Most products delivered in one run across all searches. `0` means no limit. |
| `proxyConfiguration` | object | default | Connection settings for the run. Leave the default. |

Brand and price filters are applied to the products as the search pages list them. A narrow filter reads more pages before it finds enough products, and every page read is part of the run's time, not extra charges: you pay only for products delivered. In a sample run with the brands `Coles` and `Pauls` and a limit of 60 products, the Actor read 6 pages, kept 60 products and set aside 228 that did not match.

Two searches in one run can return the same product; it is delivered and charged once, with the search that found it first.

### Fields

| Field | Type | Meaning |
|---|---|---|
| `type` | string | `product` for a delivered product, `error` for a free error row. |
| `productId` | string | Coles product code. |
| `name` | string | Product name as listed. |
| `brand` | string | Brand as listed. |
| `size` | string | Pack size as listed, for example `3L` or `400mL`. |
| `priceAud` | number | Shelf price in Australian dollars. |
| `wasPriceAud` | number | Previous price, only when the product is on special. |
| `onSpecial` | boolean | `true` when the shelf price is below the was-price. |
| `unitPriceAud` | number | Price per unit of measure, as the site computes it. |
| `unitMeasure` | string | The unit the unit price refers to, for example `1 L`. |
| `availability` | string | Availability as the site labels it, for example `InStoreAndOnline`. |
| `imageUrl` | string | Product image link. |
| `url` | string | Product page link, as the site lists it. |
| `sourceQuery` | string | The search term or category that found the product. |
| `scrapedAt` | string | When the Actor read the product, UTC. |
| `errorCode` / `error` | string | Only on error rows. |

No store or shopper information is delivered. Fields the site does not show for a product are left empty.

### Example output

A real row from a run with the brands `Coles` and `Pauls` and the cheapest first order. The product is on special, so both prices are present:

```json
{
  "type": "product",
  "productId": "1043596",
  "name": "Plus+ Protein Chocolate Low Fat Nas Milk",
  "brand": "Pauls",
  "size": "400mL",
  "priceAud": 3.6,
  "wasPriceAud": 4.5,
  "onSpecial": true,
  "unitPriceAud": 9.0,
  "unitMeasure": "1 L",
  "availability": "InStoreAndOnline",
  "imageUrl": "https://productimages.coles.com.au/productimages/1/1043596.jpg",
  "url": "https://www.coles.com.au/product/pauls-plus+-protein-chocolate-low-fat-nas-milk-400ml-1043596",
  "sourceQuery": "milk",
  "errorCode": null,
  "error": null
}
```

### Errors

Every error is a row with `type` set to `error`, an `errorCode`, a message and no charge.

| `errorCode` | When |
|---|---|
| `INVALID_INPUT` | A value is wrong, for example an unknown sort order or a minimum price above the maximum. The run stops before any search. |
| `INVALID_URL` | A link is not a coles.com.au search or category link. |
| `NO_RESULTS` | The search or category returned no products. |
| `BLOCKED` | The site refused every attempt for a search. Run it again in a few minutes. |
| `UNEXPECTED` | Something outside the normal flow stopped the run. The products already delivered stay delivered and charged once. |

### Integrations, scheduling and AI agents

- **Schedules**: run it every day on a category link to follow shelf prices. A restart of the same run does not charge a product twice.
- **Export**: download the dataset as a table, JSON or CSV from the run page.
- **Make, n8n and Zapier**: use the Apify app of each tool to start the Actor and read its dataset.
- **Apify MCP server**: let an AI agent start the Actor for a search term and read the products back.

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

| Apify plan | Per 1,000 products |
|---|---|
| Free | US$ 1.00 |
| Bronze | US$ 0.95 |
| Silver | US$ 0.86 |
| Gold and above | US$ 0.76 |

- 20 products (the example input) cost about US$ 0.02 on the Free plan, start charge included.
- A full `milk` search (328 products) costs about US$ 0.33.
- Error rows, repeated products, products left out by filters and products already delivered before a restart are free.

### Coles scraper FAQ

**Do I need a Coles account?** No. The Actor reads public search and category pages only.

**Why are prices in Australian dollars?** The site shows prices in AUD, and the Actor keeps them as shown. Convert them in your own tool if you need US dollars.

**Why is there no price-range search on the site itself?** The site does not take a price filter in its address, so the Actor applies the minimum and maximum after reading each page.

**How many products does a search return?** A search for `milk` has 328 results over 7 pages. Category pages have their own counts. The Actor stops when the last page has been read.

**Why do some products have no unit price?** The site does not show one for every product, for example for some single items.

**Why does the sort option only offer two orders?** The Actor offers the two orders it has checked on the site: the site's relevance order and lowest price first.

**Can I scrape a single product page?** Not with this version. Paste a category or search link instead.

**What does a run cost?** One start charge (US$ 0.001) plus US$ 0.001 per product delivered. A run that delivers 1,000 products costs about US$ 1.00 plus the start charge.

### Limitations

- Results come from the public search and category pages. The number of products per page varies, so a run with a limit may read a few more pages than the number of products it delivers.
- The same product can appear on two pages of one search. The Actor delivers it once and charges it once.
- Brand and price filters are applied to the list the site returns. They do not change what the site returns, so they read the pages they need.
- If the site refuses a search, it comes back as a free `BLOCKED` row; run it again a few minutes later.
- Category pages do not take the sort option. They keep the site's own order.
- Product availability and prices change through the day. A run shows the prices at the time it reads each page.

### Try it now

Click **Start** with the example input: 20 `milk` products for about US$ 0.02. Need a field, a filter or a single
product page? Open an issue in the **Issues** tab of this page; user requests decide what the next version adds.

### Changelog

**03 Nov 2026, version 0.1**: first release. Search and category links, relevance or lowest-price order, brand, price and on-special filters, promotion and unit price fields, free error rows and a restart-safe charge.

# Actor input Schema

## `searchQuery` (type: `string`):

Words to search for on coles.com.au, for example milk, bread or peanut butter. Leave empty when you paste category or search links below.

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

coles.com.au links: a category page such as https://www.coles.com.au/browse/dairy-eggs-fridge/milk or a search page such as https://www.coles.com.au/search/products?q=milk. Filters below apply to them too.

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

Price low to high orders search results by shelf price. Category pages keep the site's own order.

## `brands` (type: `array`):

Only products of these brands, for example Coles or Pauls. Name matching ignores capital letters. Leave empty for all brands.

## `minPriceAud` (type: `number`):

Only products whose shelf price is at least this much, in Australian dollars.

## `maxPriceAud` (type: `number`):

Only products whose shelf price is at most this much, in Australian dollars.

## `onSpecialOnly` (type: `boolean`):

Only products whose shelf price is below their was-price.

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

Most products delivered across all searches in one run. 0 means no limit. You pay only for products delivered.

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

Connection for the run. Leave the default.

## Actor input object example

```json
{
  "searchQuery": "milk",
  "sortBy": "Relevance",
  "onSpecialOnly": false,
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

## `resultsCsv` (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 = {
    "searchQuery": "milk",
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapewise/coles-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 = {
    "searchQuery": "milk",
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("scrapewise/coles-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 '{
  "searchQuery": "milk",
  "maxItems": 20,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call scrapewise/coles-scraper --silent --output-dataset

```

## MCP server setup

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