# Coles Scraper: Products, Prices, Specials & Nutrition (`tacps126/coles-products`) Actor

Coles.com.au products from any search, category, specials page or product link: price, was-price, special type, unit price, stock, aisle and image. Optional product details: barcode, ingredients, allergens, origin and nutrition. Price change monitoring.

- **URL**: https://apify.com/tacps126/coles-products.md
- **Developed by:** [Tapaswai Choudhary](https://apify.com/tacps126) (community)
- **Categories:** E-commerce, Automation
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.35 / 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/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: Products, Prices, Specials & Nutrition

Products from **Coles.com.au** for any search, category, specials page or product link: price and was-price, special type and offer text, unit price, stock, aisle, category and image. Turn on **Product details** for barcode (GTIN), full description, ingredients, allergens, country of origin and the nutrition panel. Schedule it with **Only new or changed** to get price and specials alerts with a price history.

**Built for** grocery and FMCG brands, pricing analysts, retail and market researchers, nutrition and recipe apps, and AI agents.

### What you get

| Field | Meaning |
|---|---|
| `id`, `name`, `brand`, `description`, `size`, `url`, `image` | The product |
| `price`, `wasPrice`, `saveAmount`, `saveStatement`, `currency` | Prices in AUD |
| `onSpecial`, `promotionType`, `offerDescription`, `multiBuy`, `onlineSpecial` | Specials and offers |
| `unitPrice`, `unitOfMeasure`, `comparablePrice` | Unit pricing |
| `available`, `availabilityType`, `availableQuantity`, `retailLimit`, `promotionalLimit` | Stock and purchase limits |
| `aisle`, `category`, `department`, `merchandiseCategory` | Where it sits in the store |

**With Product details:** `gtin`, `longDescription`, `ingredients`, `allergens`, `productInfo`, `countryOfOrigin`, `nutrition`, `minimumShelfLife`, `variationsCount`.

**With Only new or changed:** `changeType` (new or changed), `changes` (old and new price, was-price or stock) and `priceHistory`.

### Why this Actor

- **Search terms, category pages, the specials page and product links** in one run, or every product on special store-wide.
- **Only products on special** filter.
- **Price and specials monitoring** with change details and history.
- **Fast and low cost:** 48 products per page in a second or two.
- **For AI agents.** Callable as an MCP tool.

### How to use it

```json
{ "searchTerms": ["tim tam", "coffee pods"], "maxItemsPerSource": 200 }
```

A category with barcodes and nutrition:

```json
{ "startUrls": ["https://www.coles.com.au/browse/dairy-eggs-fridge/milk"], "includeDetails": true }
```

Weekly specials alerts:

```json
{ "allSpecials": true, "maxItems": 5000, "onlyChanges": true, "monitorName": "specials" }
```

### Pricing

**$1.50 per 1,000 products** plus a small start fee per run; **product details** add **$0.50 per 1,000** product pages. Higher Apify plans pay less. On the Apify free plan a run returns up to 100 products.

### FAQ

**What can I scrape from Coles?** Any product you can find on coles.com.au: search results, category pages, the specials page and single product pages, with price, specials, unit price and stock. *Product details* adds barcode, ingredients, allergens, origin and nutrition.

**Can I monitor prices and specials?** Yes. *Only new or changed* returns new products and products whose price, was-price or stock changed, with the old and new values and `priceHistory`.

**Which store are the prices for?** The prices Coles shows online with no store picked.

# Actor input Schema

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

Words as you would type them in the Coles search box.

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

Search, category (browse), specials or product links from coles.com.au.

## `allSpecials` (type: `boolean`):

Every product on special across the store.

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

Keep only products with a special price or offer.

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

Open each product page for barcode, full description, ingredients, allergens, country of origin and nutrition (charged per product page).

## `maxItemsPerSource` (type: `integer`):

Coles lists 48 products per page.

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

Most products returned per run.

## `onlyChanges` (type: `boolean`):

Schedule the Actor and each run returns only products that are new or changed price, was-price or stock since the last run, with the change and a price history.

## `monitorName` (type: `string`):

Optional name for the "only new" history, so several monitors can run side by side.

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

Apify Proxy is used by default.

## `debug` (type: `boolean`):

Save extra diagnostics with the run (for support requests).

## Actor input object example

```json
{
  "searchTerms": [
    "milk"
  ],
  "allSpecials": false,
  "onlySpecials": false,
  "includeDetails": false,
  "maxItemsPerSource": 100,
  "maxItems": 1000,
  "onlyChanges": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  },
  "debug": false
}
```

# Actor output Schema

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

The produced items (default dataset items).

# 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
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("tacps126/coles-products").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 },
}

# Run the Actor and wait for it to finish
run = client.actor("tacps126/coles-products").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
  }
}' |
apify call tacps126/coles-products --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,tacps126/coles-products"
        }
    }
}
```

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/moLT9evtbFX1IkHpy/builds/1hbFaihkyLxSgbpjP/openapi.json
