# Coles Scraper — Australia Grocery Prices, Specials & GTIN (`yugenox/coles-scraper`) Actor

Scrape Coles (coles.com.au) supermarket products by category, URL or product number: price, was price, unit price, specials and multi-buys, stock, category, image. Optional GTIN barcode, ingredients, allergens, nutrition and country of origin. Any Coles store. No login.

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

## Pricing

from $0.90 / 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 Scraper — Australia Grocery Prices, Specials & GTIN

Scrape **Coles** (coles.com.au), Australia's second-largest supermarket, and get every product of a department, category or
sub-category as clean rows: **price, was price, unit price, specials and multi-buys ("2 for $7"), stock, category and image**.
Turn on **product details** to add the **GTIN / EAN barcode, ingredients, allergens, nutrition per serving and per 100 g,
country of origin with the Australian-ingredients percentage**, the long description and every image. Prices can be read for
**any Coles store** by its store number. No login, no browser extension, no account needed.

### What you can use it for

- **Price monitoring** — track Coles shelf prices, unit prices and specials day by day for your brand or a whole category.
- **Price comparison apps** — feed Coles prices next to Woolworths, Aldi and IGA by GTIN barcode.
- **Promotion tracking** — see which products are on a price drop, half price or a multi-buy this week, and what they save.
- **Grocery inflation research** — unit prices for the same pack size across months and states.
- **Product catalogues for CPG brands** — ingredients, allergens, nutrition and origin labels exactly as Coles shows them.
- **Store-level checks** — compare prices and stock of one store with Coles' standard online prices.

### How to use it

1. Type one or more **categories** — a department like `dairy-eggs-fridge`, a category like `dairy-eggs-fridge/milk`, or its
   name, e.g. `Dairy, Eggs & Fridge`. You can also paste Coles **category URLs** (`coles.com.au/browse/pantry/breakfast`) or
   **product URLs**, or type **product numbers**.
2. Set **Max products** (0 = everything).
3. Optional: **Only specials**, **Include product details**, and a **Store number** for one store's prices.
4. Run it and download the results as JSON, CSV, Excel or HTML, or read them through the API.

Leave categories and URLs empty to scrape every department.

#### Input example

```json
{
  "categories": ["dairy-eggs-fridge/milk", "pantry/breakfast"],
  "maxItems": 500,
  "onlySpecials": false,
  "includeDetails": true,
  "storeId": "313"
}
```

| Field | What it does |
|---|---|
| `categories` | Departments / categories by slug or name: fruit-vegetables, meat-seafood, dairy-eggs-fridge, bakery, deli, pantry, chips-chocolates-snacks, drinks, frozen, international-foods, health-dietary, baby, pet, health-beauty, cleaning-laundry, home-garden, liquorland, deliver-more-range (and any category below them, e.g. `meat-seafood/chicken`). |
| `startUrls` | Coles category pages and/or product pages. Product pages always come with details. |
| `productIds` | Coles product numbers (the number at the end of a product URL). |
| `maxItems` | Max products for the whole run, shared fairly between your categories. 0 = everything. Default 100. |
| `onlySpecials` | Keep only products on special right now. Others are skipped and not charged. |
| `includeDetails` | Read each product's own page for GTIN, ingredients, allergens, nutrition, origin and all images. |
| `storeId` | A Coles store number (e.g. `313` for coles.com.au/find-stores/coles/wa/karratha-313, the page URL works too). Empty = Coles' standard online prices. |

### Output

One row per product. A real row (Coles Full Cream Milk 3L, store 313 Karratha WA, with details; trimmed):

```json
{
  "productId": "8150288",
  "name": "Full Cream Milk",
  "brand": "Coles",
  "size": "3L",
  "fullName": "Coles Full Cream Milk | 3L",
  "url": "https://www.coles.com.au/product/coles-full-cream-milk-3l-8150288",
  "imageUrl": "https://cdn.productimages.coles.com.au/productimages/8/8150288.jpg",
  "price": 4.95,
  "wasPrice": null,
  "isOnSpecial": false,
  "offerText": null,
  "multiBuyQuantity": null,
  "unitPrice": 1.65,
  "unitPriceMeasure": "1L",
  "unitPriceText": "$1.65/ 1L",
  "isAvailable": true,
  "availabilityType": "InStoreAndOnline",
  "availableQuantity": 549,
  "retailLimit": 20,
  "department": "Dairy, Eggs & Fridge",
  "category": "Milk",
  "aisle": "Full Cream Milk",
  "variantCount": 18,
  "storeId": "313",
  "storeName": "Karratha",
  "storeState": "WA",
  "sourceCategory": "dairy-eggs-fridge/milk",
  "position": 2,
  "detailsIncluded": true,
  "gtin": "9300601186945",
  "ingredients": "Homogenised and Pasteurised Full Cream Milk.",
  "allergens": "Contains Milk",
  "dietary": "Source of Calcium",
  "countryOfOrigin": "Australian",
  "countryOfOriginStatement": "Australian Milk",
  "australianContentPercent": 100,
  "servingSize": "250mL",
  "servingsPerPackage": 12,
  "nutritionPer100": { "Energy (kJ)": "258 kJ", "Protein": "3.4 g", "Fat - Total": "3.4 g", "Sugars - Total": "4.4 g", "Sodium": "44 mg", "Calcium": "118 mg" },
  "imageUrls": ["https://shop.coles.com.au/wcsstore/Coles-CAS/images/8/1/5/8150288-zm.jpg", "…"],
  "scrapedAt": "2026-10-29T04:56:57.742Z"
}
```

A multi-buy special looks like this: `"isOnSpecial": true, "specialType": "MULTI_SAVE", "offerText": "Pick any 2 for $11.50",
"multiBuyQuantity": 2, "multiBuyItemPrice": 5.75, "multiBuyTotalPrice": 11.5`. A price drop has `wasPrice` and `saveAmount`.

All fields: productId, name, brand, size, fullName, shortDescription, url, imageUrl, price, wasPrice, isOnSpecial, specialType,
promotionType, priceLabel, offerText, saveAmount, savePercent, isOnlineOnlySpecial, multiBuyQuantity, multiBuyItemPrice,
multiBuyTotalPrice, multiBuyUnitPriceText, unitPrice, unitPriceMeasure, unitPriceText, isWeighted, isAvailable,
availabilityType, availableQuantity, retailLimit, promotionalLimit, isLiquor, department, category, aisle, departmentId,
categoryId, aisleId, merchandiseHierarchy, storeAisle, shelfLife, variantCount, storeId, storeName, storeState, sourceCategory,
position, detailsIncluded, gtin, ingredients, allergens, dietary, nutritionalClaims, countryOfOrigin, countryOfOriginStatement,
australianContentPercent, longDescription, servingSize, servingsPerPackage, nutritionPerServing, nutritionPer100, productInfo,
imageUrls, lastUpdated, scrapedAt. Every row has every field (null when Coles doesn't show it).

### Pricing

Pay per result:

- **$0.90 per 1,000 products** saved to your dataset.
- **$0.40 per 1,000 product details** — only when "Include product details" is on (or for pasted product links), only for
  products whose page was read.
- **$0.001 per run start**.

So 1,000 products cost about $0.90, or $1.30 with full details. Products skipped by "Only specials", sponsored placements and
duplicates are never charged. You can cap the cost with Max products or the run's spending limit; the run stops cleanly at it.

### Tips

- **Smaller categories run faster.** `dairy-eggs-fridge/milk` (~200 products) takes seconds; a whole department (2,000+) a
  minute or two; every department several minutes.
- **Only specials** is the cheapest way to build a weekly specials feed: you pay only for the products on special.
- **Product details** add one request per product. Turn them on when you need GTIN, ingredients or nutrition; leave them off
  for pure price tracking.
- **Store prices** differ from online prices, and each store carries a different range — pick the store with `storeId`.
- Find a category's slug in the address bar on coles.com.au: `coles.com.au/browse/`**`pantry/breakfast`**.
- Schedule the actor daily or weekly in Apify to build a price history.

### FAQ

**Is it legal to scrape Coles?**
This actor reads only public product pages that anyone can open without an account — product names, prices, specials and
the labels printed on the pack. It follows the site's robots.txt (it never uses the search pages, which the site asks
crawlers not to use) and spaces its requests. Scraping publicly available data is generally lawful, but how you use the data
is your responsibility: check the rules that apply to you (for example on database rights or commercial reuse) and consult
a lawyer if you are unsure.

**Does it access any private data?**
No. It never logs in and reads no customer accounts, orders, reviews or personal information — only products, prices,
stock levels and store numbers that Coles publishes for everyone.

**Can I search by keyword?**
No — use categories instead (every product sits in a department and category). Coles asks crawlers not to use its search
pages, and the actor respects that.

**Why does a category have fewer products in my store?**
Each store carries its own range. The online default (no store number) shows Coles' full online range.

**What happens if Coles is slow or refuses a request?**
The run retries, and if Coles keeps refusing it stops with a plain message and whatever was saved — you only pay for the
products in your dataset.

**Can I get the data through the API or into Google Sheets?**
Yes — use the Apify API, the integrations (Google Sheets, Make, Zapier, webhooks …), or download CSV / Excel / JSON.

# Actor input Schema

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

Coles departments or categories to scrape, as their name or the part of the URL after coles.com.au/browse/. Examples: "dairy-eggs-fridge", "Dairy, Eggs & Fridge", "dairy-eggs-fridge/milk", "pantry/breakfast", "meat-seafood/chicken". Departments: fruit-vegetables, meat-seafood, dairy-eggs-fridge, bakery, deli, pantry, chips-chocolates-snacks, drinks, frozen, international-foods, health-dietary, baby, pet, health-beauty, cleaning-laundry, home-garden, liquorland, deliver-more-range, lunchbox, bonus-credit-products. Leave this and the URLs empty to scrape every department.

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

Optional: Coles category pages (coles.com.au/browse/pantry/breakfast) and/or product pages (coles.com.au/product/coles-full-cream-milk-3l-8150288). Product pages always come with product details (GTIN, ingredients, nutrition …).

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

Optional: Coles product numbers (the number at the end of a product URL), e.g. "8150288". Each one is read from its product page, with details.

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

Maximum number of products for the whole run, shared fairly between your categories. 0 = everything.

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

Keep only products that are on special right now (price drops, half price, multi-buys like "2 for $7"). Products not on special are skipped and not charged.

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

Also read each product's own page for its GTIN barcode, ingredients, allergens, dietary info, nutrition per serving and per 100 g/ml, country of origin and Australian content, the long description and all images. One extra request per product, charged as "Product details" (see Pricing).

## `storeId` (type: `string`):

Optional: prices and stock of one Coles store. Use the number at the end of the store's page on coles.com.au, e.g. 313 for coles.com.au/find-stores/coles/wa/karratha-313 (the page URL works too). Empty = Coles' standard online prices.

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

Apify Proxy (datacenter) is the default and comes with every Apify plan. If Coles refuses datacenter IPs for a while, the run switches to residential proxies when your account has them.

## Actor input object example

```json
{
  "categories": [
    "dairy-eggs-fridge/milk"
  ],
  "maxItems": 20,
  "onlySpecials": false,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

All scraped products.

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

Status and statistics for this run.

## `report` (type: `string`):

RUN_REPORT: how the run ended, counts, requests and proxy use.

# 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 = {
    "categories": [
        "dairy-eggs-fridge/milk"
    ],
    "maxItems": 20,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("yugenox/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 = {
    "categories": ["dairy-eggs-fridge/milk"],
    "maxItems": 20,
    "proxyConfiguration": { "useApifyProxy": True },
}

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

```

## MCP server setup

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