# Coles Scraper - $0.90 / 1000 Products (`scrapeunblocker/coles-scraper`) Actor

Scrape Coles Australia groceries: search, categories, specials (half price, multibuy, online only) or product pages. Price, was-price, unit price, promotions, stock count, purchase limits, categories, plus nutrition, ingredients and allergens. $0.90 per 1000 products.

- **URL**: https://apify.com/scrapeunblocker/coles-scraper.md
- **Developed by:** [Scrapeunblocker](https://apify.com/scrapeunblocker) (community)
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.90 / 1,000 results

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

Scrape **Coles Australia** (coles.com.au) groceries as clean JSON: **search results, whole categories, the products on special** (all, half price, multibuy, online only) or **product pages**. Every product comes with price, was-price, savings, **unit price**, the promotion (half price, special, multibuy), availability and **stock count**, purchase and promotional limits, image, categories and minimum shelf life; product pages add the description, **ingredients, allergens, nutrition panel**, storage, dimensions, country of origin, image gallery and variants. Prices are Coles' online prices in AUD.

### Features

- **Search mode** - products matching each search term (`queries`); `specialType` keeps only products on that kind of special.
- **Category mode** - every product of each category (`categories`: browse link or path).
- **Specials mode** - the products on special (`specialType`: all, half price, multibuy or online only).
- **Product mode** - one product page per input (`products`: product link or id) with nutrition and ingredients.
- **Up to 2000 products per listing** - pages are followed automatically.
- **Many inputs per run** - search terms, categories or products in parallel.

### Use cases

- **Price monitoring** - shelf prices, specials and unit prices across categories.
- **Promotions research** - every half price and multibuy deal.
- **Stock tracking** - available quantity and purchase limits.
- **Nutrition and ingredient databases** - nutrition panels and allergens.

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `mode` | string | `search` | `search`, `category`, `specials` or `product`. |
| `queries` | array | `milk` | Search terms (search mode). |
| `categories` | array | - | Browse links or paths (`dairy-eggs-fridge/milk`) (category mode). |
| `products` | array | - | Product links or ids (product mode). |
| `maxResults` | integer | `48` | Products per listing (1-2000). |
| `sort` | string | `relevance` | `relevance`, `price_asc`, `price_desc`, `unit_price_asc`. |
| `specialType` | string | `none` | `none`, `all`, `half-price`, `multibuy`, `online-only`: which specials to list, or a search filter. |
| `proxyCountry` | string | - | Optional exit-IP country: AU, NZ, US or CA. |
| `concurrency` | integer | `3` | Inputs processed at the same time (1-5). |

#### Example input

```json
{
  "mode": "specials",
  "specialType": "half-price",
  "maxResults": 300,
  "sort": "price_asc"
}
```

### Output

One dataset item per product. A listing item (search, category, specials):

```json
{
  "mode": "search",
  "input": "milk",
  "position": 1,
  "id": "8150288",
  "name": "Full Cream Milk",
  "brand": "Coles",
  "size": "3L",
  "url": "https://www.coles.com.au/product/coles-full-cream-milk-3l-8150288",
  "barcode": null,
  "price": 4.95,
  "wasPrice": null,
  "currency": "AUD",
  "onSale": false,
  "savings": null,
  "promotion": null,
  "unitPrice": {
    "price": 1.65,
    "per": "1l",
    "text": "$1.65/ 1L"
  },
  "priceDescription": null,
  "inStock": true,
  "available": true,
  "availableQuantity": 2749,
  "purchaseLimit": 20,
  "promotionalLimit": 12,
  "onlineOnly": false,
  "sponsored": false,
  "image": "https://cdn.productimages.coles.com.au/productimages/8/8150288.jpg",
  "categories": [
    "Dairy, Eggs & Fridge",
    "Milk"
  ],
  "minimumShelfLife": "Life 7 days min"
}
```

A product-mode item adds the product page's details (lists shortened):

```json
{
  "mode": "product",
  "input": "8150288",
  "id": "8150288",
  "name": "Full Cream Milk",
  "brand": "Coles",
  "size": "3L",
  "url": "https://www.coles.com.au/product/coles-full-cream-milk-3l-8150288",
  "barcode": "9300601186945",
  "price": 4.95,
  "wasPrice": null,
  "currency": "AUD",
  "onSale": false,
  "savings": null,
  "promotion": null,
  "unitPrice": {
    "price": 1.65,
    "per": "1L",
    "text": "$1.65/ 1L"
  },
  "priceDescription": null,
  "inStock": true,
  "available": true,
  "availableQuantity": null,
  "purchaseLimit": 20,
  "promotionalLimit": 12,
  "onlineOnly": false,
  "sponsored": false,
  "image": "https://cdn.productimages.coles.com.au/productimages/8/8150288.jpg",
  "categories": [
    "Dairy, Eggs & Fridge",
    "Milk"
  ],
  "minimumShelfLife": "Life 7 days min",
  "description": "Coles is committed to bringing you high quality fresh milk from dairy farms across Australia",
  "ingredients": "Homogenised and Pasteurised Full Cream Milk.",
  "allergens": "Contains Milk",
  "dietary": "Source of Calcium",
  "storage": "Keep this way up,Keep refrigerated. Store at or below 5°C",
  "usage": null,
  "dimensions": "273.00 x 153.00 x 102.00 mm",
  "nutrition": [
    {
      "name": "Energy (kJ)",
      "perServing": "646 kJ",
      "per100": "258 kJ",
      "dailyIntake": "7% DI"
    },
    {
      "name": "Energy (Cal)",
      "perServing": "155 Cal",
      "per100": "61.8 Cal"
    }
  ],
  "servingSize": "250mL",
  "servingsPerPack": "12.00",
  "countryOfOrigin": "Australian",
  "countryOfOriginLabel": "Australian Milk",
  "australianIngredientsPercent": 100.0,
  "images": [
    "https://cdn.productimages.coles.com.au/productimages/8/8150288.jpg",
    "https://shop.coles.com.au/wcsstore/Coles-CAS/images/8/1/5/8150288.jpg"
  ],
  "variants": [
    {
      "id": "5593963",
      "name": "Reduced Fat Hi Lo Milk",
      "brand": "Coles",
      "size": "2L",
      "url": "https://www.coles.com.au/product/coles-reduced-fat-hi-lo-milk-2l-5593963",
      "barcode": null,
      "price": null,
      "wasPrice": null,
      "currency": "AUD",
      "onSale": false,
      "savings": null,
      "promotion": null,
      "unitPrice": null,
      "priceDescription": null,
      "inStock": false,
      "available": false,
      "availableQuantity": null,
      "purchaseLimit": null,
      "promotionalLimit": null,
      "onlineOnly": false,
      "sponsored": false,
      "image": "https://cdn.productimages.coles.com.au/productimages/5/5593963.jpg",
      "categories": [
        "Dairy, Eggs & Fridge",
        "Milk",
        "Skim & Low Fat Milk"
      ],
      "minimumShelfLife": null
    },
    {
      "id": "8083883",
      "name": "Lite Milk",
      "brand": "Coles",
      "size": "3L",
      "url": "https://www.coles.com.au/product/coles-lite-milk-3l-8083883",
      "barcode": null,
      "price": null,
      "wasPrice": null,
      "currency": "AUD",
      "onSale": false,
      "savings": null,
      "promotion": null,
      "unitPrice": null,
      "priceDescription": null,
      "inStock": false,
      "available": false,
      "availableQuantity": null,
      "purchaseLimit": null,
      "promotionalLimit": null,
      "onlineOnly": false,
      "sponsored": false,
      "image": "https://cdn.productimages.coles.com.au/productimages/8/8083883.jpg",
      "categories": [
        "Dairy, Eggs & Fridge",
        "Milk",
        "Skim & Low Fat Milk"
      ],
      "minimumShelfLife": null
    }
  ],
  "lastUpdated": "2026-10-12T18:36:12Z"
}
```

The key-value store also holds:

- `LISTINGS` - per search term, category or specials listing: total results, pages fetched and products collected.
- `ERRORS` - inputs that returned no products (no match, unknown product or category, blocked) with the reason. These are **not billed**.

### Pricing

**$0.90 per 1000 products.** You pay only for products delivered; inputs without products are not charged.

### Notes

- Coles shows 48 products per page; a listing returns at most `maxResults` products, sometimes a few less when pages repeat sponsored products.
- Coles serves only Australia, New Zealand, the US and Canada, so `proxyCountry` must be one of AU, NZ, US, CA (or empty).
- This actor is not affiliated with Coles.

# Actor input Schema

## `mode` (type: `string`):

Search: products for each search term. Category: every product of each category. Specials: the products on special (Special type picks which). Product: one product page each, with description, nutrition, ingredients and allergens.

## `queries` (type: `array`):

Used when What to scrape = Search. What to search on Coles, e.g. milk, tim tam, chicken breast. One per line.

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

Used when What to scrape = Category. Browse links (https://www.coles.com.au/browse/dairy-eggs-fridge/milk) or browse paths (dairy-eggs-fridge/milk). One per line.

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

Used when What to scrape = Product. Product links (https://www.coles.com.au/product/coles-full-cream-milk-3l-8150288) or product ids (8150288). One per line.

## `maxResults` (type: `integer`):

Upper limit of products for each search term, category or specials listing (1-2000). Coles lists 48 products per page.

## `sort` (type: `string`):

Order of the listings.

## `specialType` (type: `string`):

Specials mode: which specials to list (all when Any). Search: only products on this kind of special.

## `proxyCountry` (type: `string`):

Optional exit-IP country: AU, NZ, US or CA (Coles serves only these). Leave empty to spread over all of them.

## `concurrency` (type: `integer`):

How many search terms, categories, specials pages or products to process at the same time (1-5).

## Actor input object example

```json
{
  "mode": "search",
  "queries": [
    "milk"
  ],
  "maxResults": 48,
  "sort": "relevance",
  "specialType": "none",
  "proxyCountry": "",
  "concurrency": 3
}
```

# Actor output Schema

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

One item per product with the input it came from and its position

## `listings` (type: `string`):

Per search, category or specials page: total results, pages fetched and products collected

## `errors` (type: `string`):

Inputs that returned no products (no match, unknown product or category, blocked), with the reason (not billed)

# 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 = {
    "queries": [
        "milk"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapeunblocker/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 = { "queries": ["milk"] }

# Run the Actor and wait for it to finish
run = client.actor("scrapeunblocker/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 '{
  "queries": [
    "milk"
  ]
}' |
apify call scrapeunblocker/coles-scraper --silent --output-dataset

```

## MCP server setup

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