# Morrisons Product Search Scraper (`stealth_mode/morrisons-product-search-scraper`) Actor

Scrape product listings from Morrisons.com with complete details including pricing, availability, ratings, brand info, and images. Ideal for price monitoring, market research, and competitive analysis in the UK grocery sector.

- **URL**: https://apify.com/stealth_mode/morrisons-product-search-scraper.md
- **Developed by:** [Stealth mode](https://apify.com/stealth_mode) (community)
- **Categories:** Automation, Developer tools, E-commerce
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 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.
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

## Morrisons Product Search Scraper: Extract Grocery Data from UK's Leading Supermarket

***

### What Is Morrisons.com?

Morrisons is the UK's fourth-largest supermarket chain, operating both physical stores and a comprehensive online grocery platform at `groceries.morrisons.com`. The site hosts tens of thousands of products across fresh produce, meat, fish, bakery, and more. Manual product data collection from Morrisons is tedious and error-prone — the **Morrisons Product Search Scraper** automates extraction at scale, delivering structured product intelligence in minutes.

***

### Overview

The **Morrisons Product Search Scraper** extracts detailed product information from Morrisons category and search pages, transforming unstructured listings into clean, analyzable data. It is designed for:

- **Price monitoring platforms** tracking grocery inflation and competitor pricing
- **Market researchers** analyzing UK retail trends and product availability
- **Data aggregators** building grocery product feeds
- **E-commerce analysts** benchmarking Morrisons against other retailers

Key features include configurable item limits per page, error tolerance for failed URLs, and comprehensive product metadata including pricing, availability, images, and customer ratings.

***

### Input Format

The Actor supports **two scraping modes** — use only **one at a time**:

1. **Scrape by URLs** — scrape data directly from a list of Morrisons category or search result page URLs.

```json
{
  "urls": [
    "https://groceries.morrisons.com/categories/meat-fish/179549?source=CAROUSEL_IMAGE"
  ],
  "ignore_url_failures": true,
  "max_items_per_url": 200
}
```

2. **Scrape by search filters** — scrape data using a keyword and additional filters (category, brand, sort order, dietary preferences) instead of providing URLs.

```json
{
  "keyword": "a",
  "sort_by": "pricePerAscending",
  "category": "",
  "brands": [],
  "dietary_and_lifestyle": [],
  "max_items_per_url": 200
}

```

There is also a **General settings** group that applies to both modes.

#### 1. Scrape by URLs

Use this mode when you already have specific Morrisons category or search result page URLs. When this mode is used, all options in the "Scrape by search filters" section will be disabled.

| Field | Type | Default | Description |
|---|---|---|---|
| `urls` | `array` | *(required)* | One or more Morrisons product category or search result page URLs to scrape (e.g. `/categories/meat-fish/`, `/categories/fresh-produce/`). You can paste URLs one by one, or use the Bulk edit section to add a prepared list. |
| `ignore_url_failures` | `boolean` | `true` | If `true`, the scraper continues running when a URL fails instead of stopping the entire run. Recommended for bulk jobs. |

#### 2. Scrape by search filters

Use this mode when you want to search using a keyword and additional filter attributes instead of scraping by URLs. If you use this mode, leave the `urls` field above empty.

| Field | Type | Default | Description |
|---|---|---|---|
| `keyword` | `string` | — | The keyword to search for. |
| `sort_by` | `string` | — | Sort results by: **Favorite** (`favorite`), **Price per unit ascending** (`pricePerAscending`), **Price per unit descending** (`pricePerDescending`), **Price ascending** (`priceAscending`), **Price descending** (`priceDescending`), or **Customer rating** (`customerRating`). |
| `category` | `string` | `""` (Any) | Restrict results to a single product category, e.g. Drinks, Fresh Foods, Food Cupboard, Beer/Wines & Spirits, Toiletries & Beauty, Frozen Food, Fruit & Veg, Household, and more. Selected from a dropdown of Morrisons category IDs. |
| `brands` | `array` | — | Restrict results to one or more specific brands (e.g. `Morrisons`, `Nestle`, `Heinz`, `Kellogg's`). Selected from a dropdown of supported Morrisons brands; leave empty to include all brands. |
| `dietary_and_lifestyle` | `array` | — | Filter by dietary/lifestyle attributes: Vegetarian, Vegan, Gluten free, Halal, Milk Free, Organic, Kosher, Wheat Free, Yeast Free, Nut Free, Egg Free, Lactose Free, Fairtrade, Fat Free. Multiple values can be selected. |

#### 3. General settings

Applies to both scraping modes above.

| Field | Type | Default | Description |
|---|---|---|---|
| `max_items_per_url` | `integer` | `20` | The maximum number of products to collect per URL/search (1–200). Use `200` for comprehensive category scrapes. |

#### Input Guidelines

- Paste full URLs from Morrisons category pages (e.g., `/categories/meat-fish/`, `/categories/fresh-produce/`) when using **Scrape by URLs**. Search result URLs are also supported.
- Use **Scrape by search filters** instead when you don't have specific URLs and want to search by keyword, category, brand, or dietary preference.
- Set `max_items_per_url` to limit data volume; use `200` for comprehensive category scrapes.
- Enable `ignore_url_failures: true` for bulk runs to handle temporary network issues.

***

### Output Format

**Sample output**

```json
{
  "product_id": "a2466201-608e-4d82-90c6-2300e1cceb21",
  "retailer_product_id": "111600244",
  "name": "Volvic Touch Of Fruit Sugar Free Apple & Blackcurrant 1.5L",
  "brand": "Volvic",
  "size": "1.5L",
  "category": "Vitamin Water",
  "category_path": [
    "Drinks",
    "Water",
    "Vitamin Water"
  ],
  "available": true,
  "is_new": false,
  "is_featured": "false",
  "is_alcohol": false,
  "is_time_restricted": false,
  "price": "1.55",
  "currency": "GBP",
  "unit_price": "1.03",
  "unit_price_unit": "litre",
  "has_offer": true,
  "offers": [
    {
      "description": "Buy 3 for £3",
      "type": "OFFER",
      "required_quantity": 3,
      "limit_reached": false
    }
  ],
  "rating": "4.4",
  "rating_count": 38,
  "shelf_life_quantity": null,
  "shelf_life_unit": null,
  "certification_icons": [],
  "legal_icons": [],
  "image_url": "https://groceries.morrisons.com/images-v3/4b85987b-1398-4173-a0c1-3546047c9d74/737ba4df-dffd-45ba-8ad3-0460d8e6f26f/300x300.jpg",
  "image_count": 5,
  "image_urls": [
    "https://groceries.morrisons.com/images-v3/4b85987b-1398-4173-a0c1-3546047c9d74/737ba4df-dffd-45ba-8ad3-0460d8e6f26f/500x500.jpg",
    "https://groceries.morrisons.com/images-v3/4b85987b-1398-4173-a0c1-3546047c9d74/30f4ef19-a54e-4c47-8bb3-270d17b77487/500x500.jpg",
    "https://groceries.morrisons.com/images-v3/4b85987b-1398-4173-a0c1-3546047c9d74/d3d1a406-4109-44aa-9b32-7bb6981ad2d5/500x500.jpg",
    "https://groceries.morrisons.com/images-v3/4b85987b-1398-4173-a0c1-3546047c9d74/d891516d-713c-4273-af25-ebcb429470b6/500x500.jpg",
    "https://groceries.morrisons.com/images-v3/4b85987b-1398-4173-a0c1-3546047c9d74/14f4719a-1de3-43d6-9fd2-887e8914c26b/500x500.jpg"
  ],
  "raw_data": null,
  "from_url": "https://groceries.morrisons.com/search?q=a&sortBy=pricePerAscending&dietaryAndLifestyle="
}
```

The scraper returns JSON data with each product as an object containing detailed fields. Understanding field purposes enables effective analysis and application.

#### Product Identification

**Product ID:** Unique identifier of the product in the retailer's platform. **Purpose:** Database indexing, tracking products over time, avoiding duplicates.

**Retailer Product ID:** Retailer's own product code (SKU). **Purpose:** Matching products with the retailer's catalog, internal systems and cross-store comparison.

**Name:** Full product name as displayed on the store. **Purpose:** Product search, matching and catalog display.

**Brand:** Brand of the product (e.g., Morrisons own brand). **Purpose:** Brand share analysis, own-label versus branded comparison.

**Size:** Pack size or weight of the product. **Purpose:** Comparing pack sizes and normalizing prices.

#### Categorization

**Category:** Lowest-level category of the product. **Purpose:** Grouping products for category-level analysis.

**Category Path:** Full category hierarchy from top level to leaf. **Purpose:** Multi-level segmentation, assortment analysis and navigation mapping.

#### Availability and Status

**Available:** Whether the product can currently be purchased. **Purpose:** Stock and availability monitoring.

**Is New:** Whether the product is flagged as new. **Purpose:** Tracking new product launches.

**Is Featured:** Whether the product is featured/promoted in the listing. **Purpose:** Analyzing retailer promotion strategy and visibility.

**Is Alcohol:** Whether the product contains alcohol. **Purpose:** Filtering age-restricted items.

**Is Time Restricted:** Whether the product is only orderable within certain time windows. **Purpose:** Understanding ordering constraints and availability limits.

#### Pricing

**Price:** Current selling price of the product. **Purpose:** Price monitoring, competitor benchmarking, price history tracking.

**Currency:** Currency of the price (e.g., GBP). **Purpose:** Correct financial interpretation across markets.

**Unit Price:** Price per standard unit (e.g., per kg). **Purpose:** Fair comparison between different pack sizes and products.

**Unit Price Unit:** Unit that the unit price refers to (e.g., kg). **Purpose:** Correct interpretation of the unit price.

#### Offers

**Has Offer:** Whether the product currently has a promotion. **Purpose:** Filtering discounted products and promotion frequency analysis.

**Offers:** List of active promotions, each with description, type, required quantity and limit status. **Purpose:** Analyzing multi-buy deals, promotion mechanics and promotional pricing strategy.

#### Ratings

**Rating:** Average customer rating of the product. **Purpose:** Product quality assessment and ranking.

**Rating Count:** Number of customer ratings. **Purpose:** Judging the reliability of the rating and product popularity.

#### Shelf Life

**Shelf Life Quantity:** Guaranteed minimum freshness duration (number). **Purpose:** Freshness assessment and delivery planning.

**Shelf Life Unit:** Unit of the guaranteed shelf life (e.g., DAY). **Purpose:** Correct interpretation of shelf life quantity.

#### Labels

**Certification Icons:** List of certification labels on the product (e.g., organic, sustainable). **Purpose:** Filtering products by quality and sustainability credentials.

**Legal Icons:** List of legal/regulatory labels on the product. **Purpose:** Compliance and labeling analysis.

#### Media

**Image URL:** Main product image link. **Purpose:** Display in catalogs, dashboards and reports.

**Image Count:** Number of product images. **Purpose:** Evaluating listing completeness.

**Image URLs:** List of product image links. **Purpose:** Downloading images, visual inspection, computer vision analysis.

#### Raw Data

**Raw Data:** Complete original JSON object of the product as scraped, without modification. **Purpose:** Auditing, debugging, accessing fields not included in the cleaned output, and reprocessing without re-scraping.

***

### How to Use

1. **Identify target categories** — Visit `groceries.morrisons.com`, navigate to product categories (e.g., Meat & Fish, Fresh Produce), and copy the full page URL.

2. **Configure input** — Paste category URLs into the `urls` array. Typical values for `max_items_per_url`:
   - `50` – Quick sample per category
   - `100` – Balanced coverage
   - `200` – Full category extraction (recommended for market analysis)

3. **Set error handling** — Keep `ignore_url_failures: true` to skip temporarily unavailable pages without halting the run.

4. **Run the scraper** — Start the actor and monitor the execution log.

5. **Download results** — Export as JSON, CSV, or Excel. Data is ready for analysis in spreadsheets or BI tools.

**Pro tips:**

- Scrape during off-peak hours (night/early morning) for faster page loads
- Use specific category URLs rather than site-wide searches for cleaner, more relevant data
- Combine with historical runs to track price changes over time

***

### Use Cases & Business Value

- **Price intelligence:** Monitor Morrisons grocery prices against competitors (Sainsbury's, Tesco, Asda)
- **Product trend analysis:** Track new launches, promotions, and seasonal product availability
- **Supply chain insight:** Identify stock-outs, allocation changes, and supplier impacts
- **Retail research:** Benchmark product mix, category depth, and private label strategy
- **Data enrichment:** Build comprehensive grocery product databases for API resale or SaaS platforms

By automating data extraction, this scraper replaces hours of manual browsing with actionable, machine-readable product intelligence.

***

### Conclusion

The **Morrisons Product Search Scraper** delivers fast, reliable access to UK grocery data at scale. With 23+ fields spanning pricing, availability, media, and customer signals, it empowers retailers, researchers, and data professionals to make smarter decisions. Start scraping category pages today and transform raw product listings into strategic intelligence.

# Actor input Schema

## `urls` (type: `array`):

Add the URLs of the product search list urls you want to scrape. You can paste URLs one by one, or use the Bulk edit section to add a prepared list.

## `ignore_url_failures` (type: `boolean`):

If true, the scraper will continue running even if some URLs fail to be scraped.

## `keyword` (type: `string`):

Enter the keyword to search for items

## `sort_by` (type: `string`):

Sort items by options

## `category` (type: `string`):

Enter the category to search for items

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

Enter the brands to search for items

## `dietary_and_lifestyle` (type: `array`):

Select dietary and lifestyle preferences

## `max_items_per_url` (type: `integer`):

The maximum number of items to scrape per URL.

## `include_raw_data` (type: `boolean`):

If true, the scraper will include raw data from website before cleaning in the output.

## Actor input object example

```json
{
  "urls": [
    "https://groceries.morrisons.com/categories/meat-fish/179549?source=CAROUSEL_IMAGE"
  ],
  "ignore_url_failures": true,
  "max_items_per_url": 20,
  "include_raw_data": false
}
```

# 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 = {
    "urls": [
        "https://groceries.morrisons.com/categories/meat-fish/179549?source=CAROUSEL_IMAGE"
    ],
    "ignore_url_failures": true,
    "max_items_per_url": 20,
    "include_raw_data": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("stealth_mode/morrisons-product-search-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 = {
    "urls": ["https://groceries.morrisons.com/categories/meat-fish/179549?source=CAROUSEL_IMAGE"],
    "ignore_url_failures": True,
    "max_items_per_url": 20,
    "include_raw_data": False,
}

# Run the Actor and wait for it to finish
run = client.actor("stealth_mode/morrisons-product-search-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 '{
  "urls": [
    "https://groceries.morrisons.com/categories/meat-fish/179549?source=CAROUSEL_IMAGE"
  ],
  "ignore_url_failures": true,
  "max_items_per_url": 20,
  "include_raw_data": false
}' |
apify call stealth_mode/morrisons-product-search-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,stealth_mode/morrisons-product-search-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/BUa3qINYYNVtVX0ed/builds/ikXhO7EBf8c5gvUmV/openapi.json
