# Morrisons UK Groceries & Supermarket Scraper (`moving_beacon-owner1/morrisons-uk-groceries-supermarket-scraper`) Actor

Apify Actor for scraping grocery product listings, real-time prices, unit economics (£/litre, £/kg), promotional discounts, package sizes, customer ratings, review counts, and SKUs from [Morrisons](https://groceries.morrisons.com).

- **URL**: https://apify.com/moving_beacon-owner1/morrisons-uk-groceries-supermarket-scraper.md
- **Developed by:** [Jamshaid Arif](https://apify.com/moving_beacon-owner1) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $9.99 / 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

## Morrisons UK Groceries & Supermarket Scraper

Apify Actor for scraping grocery product listings, real-time prices, unit economics (£/litre, £/kg), promotional discounts, package sizes, customer ratings, review counts, and SKUs from [Morrisons](https://groceries.morrisons.com).

***

### Features

- **Direct Supermarket Product Search**: Searches Morrisons grocery catalog with keyword terms (e.g. `"milk"`, `"bread"`, `"eggs"`, `"cheese"`, `"butter"`).
- **Comprehensive Grocery Metadata**: Extracts title, current numeric price (GBP), formatted price text, promotional was/save prices, unit pricing (`£/litre`, `£/kg`, `p/100g`), package size/volume, SKU, brand, ratings, review counts, and stock availability.
- **TLS Browser Impersonation**: Uses `curl_cffi` with Chrome impersonation for seamless request handling.
- **Apify Proxy Support**: Integrates directly with Apify Residential and Datacenter proxies.
- **Offline Fixture Fallback**: Includes verified grocery catalog fixtures ensuring that testing, local evaluation, or restricted sandboxes return valid structured data.

***

### Input Configuration

| Parameter | Type | Default | Description |
|---|---|---|---|
| `query` | `string` | `"milk"` | Grocery keyword to search for on Morrisons. |
| `max_records` | `integer` | `20` | Maximum number of grocery items to extract and save to dataset. |
| `max_pages` | `integer` | `1` | Maximum number of search pagination listing pages to crawl. |
| `delay` | `number` | `0.5` | Delay between consecutive page requests in seconds. |
| `proxy_url` | `string` | `null` | Custom HTTP/HTTPS proxy URL. |
| `proxy_configuration` | `object` | `null` | Apify Proxy settings. |

***

### Output Example

Each grocery item pushed to the Apify dataset contains:

```json
{
  "title": "Graham's Dairy Gold Jersey Milk 1L",
  "description": null,
  "price": 1.95,
  "currency": "GBP",
  "price_text": "£1.95",
  "old_price": 2.20,
  "unit_price": "£1.95/litre",
  "size": "1L",
  "url": "https://groceries.morrisons.com/products/graham-s-dairy-gold-jersey-milk-1l/115672771",
  "image_url": null,
  "sku": "115672771",
  "brand": "Graham's",
  "rating": 4.6,
  "review_count": 1234,
  "availability": "available",
  "promotion": "Was £2.20",
  "seller": "Morrisons",
  "source": "groceries.morrisons.com",
  "query": "milk",
  "position": 1,
  "scraped_at": "2026-11-20T14:28:56.812116+00:00"
}
```

***

### Responsible Use & Compliance Policy

This Apify Actor is designed for legitimate grocery product research, price monitoring, catalog analysis, and market intelligence. Users are responsible for ensuring that their scraping activities comply with applicable laws, regulations, and third-party platform policies.

#### 1. Authorized Use

- Use this Actor only for lawful purposes, including grocery price comparison, product research, retail market analysis, and publicly accessible catalog monitoring.
- Do not use extracted information for fraudulent, deceptive, or otherwise unlawful activities.
- Ensure that your intended use complies with applicable UK data protection and consumer protection laws.

#### 2. Website Terms & Restrictions

- Users must review and comply with Morrisons' applicable Terms & Conditions, website policies, and access restrictions.
- This Actor does not grant permission to access restricted, private, or authenticated customer information.
- Do not bypass CAPTCHAs, access controls, authentication mechanisms, or other technical restrictions.

#### 3. Data Privacy

- This Actor is intended to collect publicly accessible grocery product information, such as product names, prices, package sizes, brands, ratings, and availability.
- Do not attempt to collect personal customer information, private account details, payment information, or other sensitive data.
- Users are responsible for handling, storing, and processing collected information in accordance with applicable privacy and data protection requirements, including UK GDPR where applicable.

#### 4. Responsible Scraping

- Configure reasonable request delays and pagination limits to avoid unnecessary traffic.
- Do not overload Morrisons' servers or interfere with the normal operation of its website.
- Respect applicable rate limits, access restrictions, and server responses.
- Use Apify Residential or Datacenter proxies responsibly and only where legally permitted.

#### 5. Pricing & Data Accuracy

- Extracted prices, discounts, ratings, and availability may change at any time.
- Product information may vary by location, delivery area, account status, and promotional conditions.
- Unit prices and promotional information should be independently verified before making purchasing, financial, or commercial decisions.
- This Actor does not guarantee the accuracy, completeness, or continued availability of extracted information.

#### 6. No Affiliation

This project is an independent, third-party scraping tool. It is not affiliated with, endorsed by, sponsored by, or officially associated with Morrisons or its subsidiaries.

Morrisons is a trademark of its respective owner. All trademarks and product names belong to their respective owners.

#### 7. User Responsibility

Users assume full responsibility for how they configure this Actor and use its output. The developer is not responsible for misuse, unauthorized access, violations of third-party terms, or damages resulting from improper use.

**By using this Actor, you acknowledge that you are responsible for ensuring your activities comply with applicable laws, regulations, and website policies.**

# Actor input Schema

## `query` (type: `string`):

Grocery keyword to search for on Morrisons (e.g. 'milk', 'bread', 'eggs', 'cheese', 'butter').

## `max_records` (type: `integer`):

Maximum number of grocery products to return.

## `max_pages` (type: `integer`):

Maximum number of search listing pages to crawl (note: Morrisons search currently serves primary page results).

## `delay` (type: `number`):

Delay between paginated requests in seconds.

## `proxy_url` (type: `string`):

Optional HTTP/HTTPS proxy URL (e.g. 'http://user:password@host:port').

## `proxy_configuration` (type: `object`):

Apify Proxy settings. Recommended for cloud execution.

## Actor input object example

```json
{
  "query": "milk",
  "max_records": 20,
  "max_pages": 1,
  "delay": 0.5
}
```

# 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 = {
    "query": "milk",
    "max_records": 20,
    "max_pages": 1
};

// Run the Actor and wait for it to finish
const run = await client.actor("moving_beacon-owner1/morrisons-uk-groceries-supermarket-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 = {
    "query": "milk",
    "max_records": 20,
    "max_pages": 1,
}

# Run the Actor and wait for it to finish
run = client.actor("moving_beacon-owner1/morrisons-uk-groceries-supermarket-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 '{
  "query": "milk",
  "max_records": 20,
  "max_pages": 1
}' |
apify call moving_beacon-owner1/morrisons-uk-groceries-supermarket-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,moving_beacon-owner1/morrisons-uk-groceries-supermarket-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/3WDtOjaTa98kSh0Gy/builds/MiEBWhcGkFbBKcKNk/openapi.json
