# Sainsbury's Scraper - Groceries, Prices & Nectar Offers (UK) (`abotapi/sainsburys-co-uk-scraper`) Actor

Scrape Sainsbury's (sainsburys.co.uk) groceries: prices, unit prices, Nectar offers and promotions, availability, EANs, full image galleries, categories, descriptions, labels and health data. Search by keyword or category, or paste search, category, promotion, product and sitemap links.

- **URL**: https://apify.com/abotapi/sainsburys-co-uk-scraper.md
- **Developed by:** [Abot API](https://apify.com/abotapi) (community)
- **Categories:** Automation, Developer tools, E-commerce
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 result rows

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

## Sainsbury's Scraper: Groceries, Prices & Nectar Offers (UK)

Sainsbury's Scraper turns sainsburys.co.uk, one of the UK's largest supermarkets, into structured grocery data. Search by keyword or category, or paste a search, category, promotion, product or feature link, and get shelf prices, unit prices, Nectar prices and promotions, availability, EAN barcodes, full image galleries, labels, health classification and the category list of every product. Export to JSON, CSV or Excel, or pull results straight into your app through the API.

### Why This Scraper?

- **Every way into the range.** Keyword searches and category numbers with brand, allergy, dietary, new-in and offers filters, whole category pages, promotion lists, single product pages, feature, event and brand pages, the offers and Nectar pages and the category tree, each read to its natural end or to the cap you set.
- **Prices that tell the whole story.** Shelf price, unit price with its measure (per litre, per kilogram), the original unit price, and every promotion with its strap line, start and end dates, original price, Nectar flag and discount percentage, all in pounds sterling.
- **Identifiers you can join on.** Product ID, the shop's own SAIN identifier and every EAN barcode of the product, plus the brand and the product type.
- **Complete product detail.** Description and short description as plain text, the full image gallery with every size, important information, the full category list, labels and badges.
- **Health and compliance data.** The health rating, the high fat, salt and sugar (HFSS) restriction status for England, Scotland, Wales and Northern Ireland, and the alcohol flag.
- **Listing context on every row.** The result position, the relevancy rank, the total number of results, the sort order, the category path of a category walk, and the brand, allergy and dietary filter options with their counts, so a row can be placed in its listing.
- **Monitoring built in.** Label every product NEW, UPDATED, REAPPEARED or EXPIRED across scheduled runs, track price and offers only, resume an interrupted crawl, get a chat alert when a run finishes, and export through MCP connectors.

### Use Cases

- **Price and promotion monitoring:** track shelf prices, unit prices and Nectar offers across your basket of products, and get alerted only to what actually changed.
- **Competitor and market analysis:** compare Sainsbury's own-brand and branded ranges, price bands and promotion depth by category or keyword.
- **Catalog enrichment:** match your own product list to Sainsbury's by EAN and add descriptions, images and category lists.
- **Nutrition and compliance research:** collect health ratings and HFSS restriction status by product and by nation.
- **Availability tracking:** follow the availability flag of key products across a category.

### Data You Get

> Sample shape: values are illustrative placeholders, not from a live record.

| Field | Example |
| --- | --- |
| `product_uid` / `sainId` | `"0000000"` / `"a0b0c0d0"` |
| `eans` | `["0000000000000"]` |
| `name` / `brand` | `"Sample Whole Milk 2L"` / `"Sample Brand"` |
| `full_url` | the product page address |
| `price` / `currency` | `1.75` / `"GBP"` |
| `retail_price` | `{"price": 1.75, "measure": "ea"}` |
| `unit_price` / `original_unit_price` | `{"price": 0.88, "measure": "ltr", "measure_amount": 1}` |
| `is_available` | `true` |
| `promotions` | list of `promotion_uid`, `strap_line`, `start_date`, `end_date`, `original_price`, `is_nectar`, `promo_type`, `discount_percentage` |
| `labels` / `badges` | label text, colour and link / badge flags |
| `reviews` | `{"is_enabled": true, "total": 120, "average_rating": 4.6}`; with the product page option it also carries `items`, the customer reviews: `review_id`, `title`, `text`, `rating`, `ratings` (quality, value), `author`, `date`, `recommended` |
| `categories` | `[{"id": "0", "name": "Fresh milk"}]` |
| `category_tree` | the path from the root to the category of a category walk |
| `short_description` / `description` / `important_information` | plain-text paragraphs |
| `ingredients` / `dietary_info` / `storage` / `origin` / `manufacturer` | text from the product page (option **Fetch ingredients and nutrition**) |
| `nutrition` | `{"columns": ["Column A", "Column B"], "rows": [{"name": "Energy", "values": ["0kJ", "0kJ"]}]}` (same option) |
| `long_description` / `product_information` | the long description and the other titled sections of the page, such as size, packaging, preparation and safety (same option) |
| `image` / `images` / `assets` | main image / largest size of each gallery picture / every size and any video |
| `health_classification` / `hfss_restriction` | health rating score / restriction status per nation |
| `is_alcoholic` / `product_type` / `relevancyRank` | `false` / `"BASIC"` / `1` |
| `facets_brand` / `facets_allergy` / `facets_diet` | the filter options of the listing with their counts |
| `sort_order` / `totalResults` / `position` / `page` / `query` | the sort used, the listing total, the row's place in the walk and the keyword |
| `kind` | `"product"` or `"category"` |

A row from a keyword, category or promotion list gets its detail fields (brand, descriptions, gallery, full category list, important information, health data) from the product's own detail when **Fetch product details** is on. Ingredients, the nutrition table, dietary information, storage, country of origin, manufacturer and the other titled sections of the product page are returned when **Fetch ingredients and nutrition (product page)** is on: it reads each product's page (about 2 MB) and is charged once per row it fills. Both options are optional extras; the shop does not list every section for every product (a nappy has no ingredients), so a section the page does not carry stays empty.

### How to Use

1. Keep the default **search** mode and add one or more keywords or category numbers, or switch to **url** mode and paste search, category, promotion, product or feature page links.
2. Narrow with brands, allergy or dietary filters, a price range, a minimum rating, new-in or offers only, and choose a sort order.
3. Keep **Fetch product details** on for the richest rows, or turn it off for a cheaper listing-level pull. Add **Fetch ingredients and nutrition** when you need ingredients, nutrition tables, storage, origin or manufacturer.
4. Set **Max items** to control run size and cost, then click **Start**.

**Quick keyword search:**

```json
{
  "mode": "search",
  "searchTerms": ["milk"],
  "maxItems": 20
}
```

**Offers only, two brands, cheapest first:**

```json
{
  "mode": "search",
  "searchTerms": ["chocolate"],
  "brands": ["Cadbury", "Galaxy"],
  "onlyOffers": true,
  "sortBy": "price_low",
  "maxItems": 50
}
```

**Several links, a few products from each:**

```json
{
  "mode": "url",
  "urls": [
    "https://www.sainsburys.co.uk/groceries/browse/dairy-eggs-and-chilled/fresh-milk/c:1019342",
    "https://www.sainsburys.co.uk/groceries/promotions/10775477",
    "https://www.sainsburys.co.uk/groceries/product/sainsburys-british-semi-skimmed-milk-2-27l-4-pint"
  ],
  "maxItemsPerSearch": 10,
  "maxItems": 30
}
```

#### Pasted links

- **Search pages** such as `/groceries/search?searchTerm=milk`, also with `pageNumber` (starts at that page) and `sort` (keeps that sort), the older `/gol-ui/SearchResults/milk` form and the mobile address. Tracking parameters are ignored.
- **Category pages** such as `/groceries/browse/dairy-eggs-and-chilled/fresh-milk/c:1019342`, also the older `/shop/gb/groceries/...` form. Each category row carries its category path.
- **Promotion lists** such as `/groceries/promotions/10775477` return every product of that promotion.
- **Product pages** such as `/groceries/product/<product-name>` (also the older `/gol-ui/product/...` form) return one complete row, with no separate detail charge.
- **Feature, event and brand pages** such as `/groceries/features/best-of-british` return the first page of products the page lists (at most 60). This is a selection, never a complete list of the topic.
- **Offers and Nectar pages** (`/groceries/nectar`, `/gol-ui/offers`) read every product currently on offer, up to the 10,000 records the shop reports for one list.
- **The groceries home page** (`/gol-ui/groceries`, also the older `/shop/gb/groceries`) returns the category tree: one row per category (`kind` is `category`) with its name, number, level, parent and address.
- Sitemaps, `robots.txt`, store finder pages, the shop's service addresses, image and other file links, recipes and other site pages are not product listings: they are skipped with a note in the log (a service address is never written out), and a run given only such links fails at once, before any request.
- A filter ticked on the shop's own page is not written into the page address, so a pasted address always reads the whole list; set the filters in this actor's input instead.

#### Caps and pagination

**Max items** stops the whole run once that many rows have been returned (`0` = no cap). **Max items per keyword, category or link** caps each one on its own, so one large category cannot use up the whole run. **Max pages** limits how many result pages each keyword or link walks (60 products per page); it does not cap the run by itself. Without a cap, each keyword or category is walked to its last page. A pasted link at `pageNumber` above 1 starts at that page and never triggers EXPIRED detection.

A run that is about to reach its own timeout (the **Timeout** in the run options) stops reading 20 seconds before it, keeps every row already returned, saves its incremental state without marking anything EXPIRED, and ends with a status that starts `Partial results: stopped before the platform timeout`. Give the run more time, or resume it (below), to collect the rest.

#### Resume and recurring updates

- **Resume** (`resumeFromRunId`) skips products already collected by an earlier run: paste its run or dataset ID and those products are neither returned nor charged again.
- **Incremental mode** (`incrementalMode`) is for scheduled runs over the same search, link or category. Each product is classified `NEW`, `UPDATED` (with `changedFields`), `UNCHANGED` (left out and not billed unless `emitUnchanged` is on), `REAPPEARED`, or `EXPIRED` (only with `emitExpired` on, and only after a complete scan: every walk started at page 1 and read as many distinct products as the shop's result total (below its 10,000-record window), with product details on and every wanted detail read; never after a capped, page-limited, cost-limited or resumed run, a pasted later page, a feature, event or brand page, or a run stopped before the platform timeout, or a run where any page or product could not be read). The result position and page, the relevancy rank, the scrape time, the keyword or link a product was found through, the facet counts, sort and result total, and the category path of the walk never count as a change. `ignoreFieldsForChanges` defaults to the review score and count (`reviews`), which drift with every new review; remove it to be told about them, or add more names. `changeScope: "priceAndStock"` compares only the shelf price, unit price, original unit price, the availability flag and each promotion (strap line, original price, Nectar flag, discount and dates); `compactUpdates` returns slim rows with just what moved. Category, label and promotion lists are compared as sets, so a re-ordered list is not a change. If a product's detail cannot be read during an incremental run, that product is held back (not returned, not charged, its saved state untouched) and the next run that can read it reports it. `stateKey` names or shares the stored state; leave it empty and the actor derives one from the run's keywords, categories, links, sort and filter setup and the **Fetch product details** setting. Turning **Fetch product details** on or off therefore starts a new campaign: the next run reports every product as NEW again (and bills it as a returned row). To keep one campaign across that change, set the same `stateKey` on both runs. A run that reads a product without its detail compares it only on the listing fields, so missing detail fields never make a row UPDATED. At the default memory one state key tracks up to 1,000 products (6 MB of saved state; more with more memory): past that, the run still returns the extra products as NEW, says so once in the log, and leaves the saved state unchanged; a saved state over the limit is not loaded and the run starts fresh. Split very large campaigns across several state keys.

#### Alerts

Fill in a Slack incoming webhook, a Discord channel webhook or a Telegram bot token with a chat ID, and the actor posts one short summary when the run finishes: the number of rows (and, in incremental mode, how many are new, updated, reappeared or expired) followed by up to **Rows listed per alert** products. With **Alert on changes only** on and Incremental changes on, nothing is sent when nothing changed. Alerts add no charge and never change the run's result; leave every field empty to skip them.

### Send results into your apps (MCP connectors)

Optionally pipe the scraped results into the apps you already use, via Model Context Protocol (MCP) connectors. This is an extra delivery step **after** the scrape: the Apify dataset is never changed.

**What gets written to the connector:** a condensed, human-readable **summary** of each record, not the full JSON. Each item becomes one entry with a **title** and its key fields flattened to plain text. The **complete record always stays in the Apify dataset**.

1. Authorize a connector once under **Apify, Settings, Integrations** (Notion, Linear, Airtable, or Apify).
2. Select it in the **"Pipe results into your apps"** input field (`mcpConnectors`). (If the picker is empty, you haven't authorized a connector yet.)
3. For **Notion**, also set `notionParentPageUrl` to the page where items should be created.
4. Optionally set `maxNotifyListings` to cap how many items are written to each connector per run (default 50).

The connection is mediated by Apify's MCP proxy, so this actor never sees your third-party credentials. Leave the field empty to skip.

### Input Parameters

| Parameter | Type | Default | Description |
| --- | --- | --- | --- |
| `mode` | string | `search` | `search` (keywords and category numbers) or `url` (pasted links). |
| `searchTerms` | array | `milk` | Search mode: keywords to search, each read separately. |
| `categories` | array | (none) | Search mode: category numbers (the number after `c:` in a browse link), each read in full. |
| `sortBy` | string | `relevance` | `relevance`, `price_low`, `price_high` or `top_rated` (customer rating). |
| `brands` | array | (none) | Keep only these brands, spelled as the shop spells them; several are combined as "any of these". |
| `allergyFilters` | array | (none) | Keep only products matching these allergy and intolerance filters (for example `gluten free`). |
| `dietFilters` | array | (none) | Keep only products matching these dietary filters (for example `vegetarian`). |
| `newIn` | boolean | `false` | Only products the shop lists as new. |
| `minPrice` | number | (none) | Lowest shelf price kept, in pounds sterling. |
| `maxPrice` | number | (none) | Highest shelf price kept, in pounds sterling. |
| `minRating` | number | (none) | Only products rated at least this many stars; unrated products are left out. |
| `onlyOffers` | boolean | `false` | Only products that currently carry an offer or a Nectar price. |
| `urls` | array | one link of each shape | URL mode: search, category, promotion, product, feature page, offers and groceries home (category tree) links on sainsburys.co.uk, see Pasted links above. Sitemaps, robots.txt, store pages, service addresses and other site pages are skipped. |
| `fetchDetails` | boolean | `true` | Keyword, category and list rows: add brand, descriptions, full gallery, full category list, important information and health data (charged per enriched row). |
| `fetchProductPage` | boolean | `false` | Also read each product page: ingredients, nutrition table, dietary information, storage, origin, manufacturer, long description, other sections (charged per row, slower). |
| `maxReviews` | integer | `20` | Customer reviews returned per product, newest first (0 skips them, up to 200). Read from the product page, so only used with `fetchProductPage`; a row that returns at least one review carries one customer reviews unit, whatever the number of reviews, on top of its product detail data charge. |
| `maxPages` | integer | (none) | Optional page limit per keyword or link; does not cap the run, Max items does. |
| `maxItems` | integer | `20` | Cap on the whole run; `0` = no cap. |
| `maxItemsPerSearch` | integer | `0` | Cap per keyword, category or pasted link; `0` = no per-keyword cap. |
| `proxy` | object | Automatic | Apify Proxy settings, or your own proxy URLs. |
| `resumeFromRunId` | string | (none) | Run or dataset ID whose products are skipped. |
| `incrementalMode` | boolean | `false` | Return only new, changed and reappeared products on repeat runs. |
| `stateKey` | string | (auto) | Name or share the incremental state. |
| `changeScope` | string | `all` | `all` or `priceAndStock`. |
| `compactUpdates` | boolean | `false` | Slim UPDATED rows with only what moved. |
| `expireAfterMissedScans` | integer | `1` | Complete scans a product must be missing before EXPIRED. |
| `emitUnchanged` | boolean | `false` | Also return UNCHANGED rows (billed as rows). |
| `emitExpired` | boolean | `false` | Also return EXPIRED rows after a complete scan (billed as rows). |
| `ignoreFieldsForChanges` | array | `reviews` | Fields that never count as a change; remove names to be told about them. |
| `mcpConnectors` | array | (none) | Optional MCP connectors to send results into, see above. |
| `notionParentPageUrl` | string | (none) | Notion page that receives the items (Notion connector only). |
| `maxNotifyListings` | integer | `50` | Cap on items written to each connector per run. |
| `notifyOnlyChanges` | boolean | `false` | Send the alert only when something changed (needs Incremental changes). |
| `notificationLimit` | integer | `5` | Product rows listed in an alert. |
| `slackWebhookUrl` | string | (none) | Optional Slack incoming webhook for the run summary. |
| `discordWebhookUrl` | string | (none) | Optional Discord channel webhook for the run summary. |
| `telegramBotToken` | string | (none) | Optional Telegram bot token for the run summary. |
| `telegramChatId` | string | (none) | Telegram chat ID that receives the summary. |

### Output Example

> Sample shape: values are illustrative placeholders, not from a live record.

```json
{
  "kind": "product",
  "product_uid": "0000000",
  "sainId": "a0b0c0d0",
  "eans": ["0000000000000"],
  "name": "Sample Whole Milk 2L",
  "brand": "Sample Brand",
  "full_url": "https://www.sainsburys.co.uk/groceries/product/sample-whole-milk-2l",
  "image": "https://media.example.com/sample/image.jpg",
  "images": ["https://media.example.com/sample/1/2365x2365.jpg"],
  "price": 1.75,
  "currency": "GBP",
  "retail_price": {"price": 1.75, "measure": "ea"},
  "unit_price": {"price": 0.88, "measure": "ltr", "measure_amount": 1},
  "original_unit_price": {"price": 0.88, "measure": "ltr", "measure_amount": 1},
  "is_available": true,
  "promotions": [{"promotion_uid": "0000000", "strap_line": "Half Price with Nectar", "start_date": "2026-01-01T00:00:00Z", "end_date": "2026-01-31T00:00:00Z", "original_price": 3.5, "is_nectar": true, "promo_type": "SIMPLE_FIXED_PRICE", "discount_percentage": 50}],
  "labels": [{"label_uid": "BRITISH", "text": "BRITISH", "color": "#4c4c4c"}],
  "badges": [],
  "reviews": {"is_enabled": true, "total": 120, "average_rating": 4.6, "items": [{"review_id": "0000000", "title": "Sample title", "text": "Sample review text.", "rating": 5, "ratings": {"Quality": 5, "Value": 4}, "author": "Sample", "date": "2026-01-31", "recommended": true}]},
  "categories": [{"id": "0", "name": "Fresh milk"}],
  "category_tree": ["Groceries", "Dairy, eggs & chilled", "Fresh milk"],
  "short_description": "Sample short description.",
  "description": ["Sample description paragraph."],
  "important_information": ["Sample important information paragraph."],
  "health_classification": {"health_rating_score_value": "5"},
  "hfss_restriction": [{"country": "ENG", "restricted": false, "hfss_category": "Out of scope or Product not in a legislative category", "hfss_score": 0}],
  "is_alcoholic": false,
  "product_type": "BASIC",
  "relevancyRank": 1,
  "facets_brand": [{"value": "sample brand", "label": "Sample Brand", "count": 12}],
  "sort_order": "-relevance",
  "totalResults": 947,
  "query": "milk",
  "position": 1,
  "page": 1,
  "scrapedAt": "2026-01-20T08:00:00+00:00"
}
```

### Plan Requirement

Pay per event. Each unit is charged per row, as the row is delivered, never as a single total at the end.

| Charge | When it applies | Input option |
|---|---|---|
| **Row** | Every returned row (a product, or a category from the category tree) | always |
| **Actor start** | Once per run | always |
| **Product detail data** | A keyword, category or list row that was enriched with the product's structured detail: description, brand, full image gallery, complete category list, important information, health classification, HFSS status | `fetchDetails` (on by default) |
| **Ingredients & nutrition (page text)** | A row that received the product page text: ingredients, nutrition table, dietary information, storage, country of origin, manufacturer, long description | `fetchProductPage` (off by default) |
| **Customer reviews** | A row that returns at least one review, one unit per row whatever the number of reviews | `maxReviews` above 0, needs the product page option and the detail charge on the same row |

The two enrichments are independent: product detail data is the product's structured data, ingredients & nutrition is the text read from the product page itself. With both on, a listing row carries both units.

- **Pasted product links:** these rows already carry the full detail from the same read, so they never carry the product detail data unit. They carry the ingredients & nutrition unit only when you turn that option on.
- **Not charged:** a row whose detail could not be read still ships, without the product detail data unit. An unchanged product left out in incremental mode is neither returned nor charged.
- **Reviews:** returned only with the product page option, up to the **Customer reviews per product** limit (20 by default).

This actor needs an Apify Proxy connection billed to your own Apify plan; the default Automatic setting is used first, and the run continues on a backup connection when it is refused, as described in the FAQ. Apify free plans do not include proxies: a free-plan run continues on a backup connection, so it may return fewer products or end with the failure message described in the FAQ; your own proxy URLs are the other option.

### FAQ

#### How much does it cost?

You pay per row returned, plus the optional units in the table under **Plan Requirement**:

- **Listing only:** turn `fetchDetails` off. You pay just the row charge.
- **Default:** row plus one product detail data unit per keyword, category or list row.
- **Ingredients and nutrition:** also turn on `fetchProductPage`. Each row then adds one ingredients & nutrition unit on top of product detail data.
- **Reviews:** set `maxReviews` above 0 (default 20) to add one review unit per row that returns reviews; 0 skips them.

The **Pricing** tab shows the current rates. Use **Max items** to cap the cost of any run.

#### Is it legal to scrape sainsburys.co.uk?

This actor collects only publicly available product data that Sainsbury's shows on its own pages. You are responsible for how you use it: follow Sainsbury's terms and the laws that apply to you, and get legal advice if you plan commercial redistribution. Prices and product facts are generally facts, but images and description text may be subject to third-party rights.

#### Can I get only new or changed products on a schedule?

Yes. Schedule the actor from the **Schedules** tab and turn on **Incremental mode**. Each run then returns only new, updated and reappeared products; unchanged ones are not billed unless you turn `emitUnchanged` on. Use `changeScope: "priceAndStock"` to be told only about price and offer moves.

#### Why does a keyword return fewer products than the site shows?

The shop reports at most 10,000 records for one list, and a run that reaches that window is never treated as a complete scan. Filters you set (brands, allergy, dietary, price, rating, offers, new in) narrow the same result the shop would show, and rows without a rating are dropped when you set a minimum rating.

#### How do I get ingredients, nutrition, storage and origin?

Turn on **Fetch ingredients and nutrition (product page)** (`fetchProductPage`). The shop shows those as text inside each product page, so the actor reads the page (about 2 MB per product, which makes runs slower) and returns `ingredients`, `nutrition`, `dietary_info`, `storage`, `origin`, `manufacturer`, `long_description` and `product_information`. It is charged once per row that received page text, on top of the product detail charge, and it is off by default.

#### How do I get customer reviews?

Turn on **Fetch ingredients and nutrition (product page)** and keep **Customer reviews per product** (`maxReviews`, 20 by default, 0 skips). The shop lists reviews inside each product page, ten per page, so the actor reads one extra page per further ten reviews and returns them newest first in `reviews.items`. A row that returns at least one review is charged one customer reviews unit (not one per review), only when that row also carries the product detail data charge, so a pasted product link, an unchanged product in incremental mode and a row whose detail could not be read return and bill no reviews. The review score and count in `reviews` are always there and are not charged.

#### Why is the category path empty on keyword rows?

The category path (`category_tree`) is filled for category walks, where the category is known exactly. A keyword result mixes products from many categories, so no single path applies; each row still lists its categories in `categories`.

#### Which proxy should I use?

The default Automatic (datacenter) setting was measured to serve every page this actor reads on plans that include Apify Proxy; Apify free plans do not include proxies, so a free-plan run continues on a backup connection or needs your own proxy URLs. Residential is recommended for the most reliable results, especially for large or frequent runs; select it in the proxy field (it is billed to your own Apify plan). If the connection you selected is unavailable or keeps getting refused, the run automatically continues on a backup connection (the other Apify proxy tier, then a backup gateway) rather than stopping; that escalation is disclosed in the run log the first time it happens, and any residential traffic it uses is billed to your own Apify plan. Set `SAINSBURYS_CO_UK_ALTERNATE_CONNECTION=0` in the run's environment variables to disable the backup connection entirely. If you enter your own proxy URLs, they are used as-is with no backup connection; if your proxy re-signs HTTPS traffic, the run says so once in the log ("The custom proxy re-signs HTTPS traffic; retrying without certificate verification for it.") and continues on it.

#### Why did my run fail instead of returning an empty dataset?

If every search or link could not be read, the run stops with a clear message so "no products matched" is never confused with "nothing could be read". Run it again in a few minutes. The messages you may see in the run log:

- When the selected connection is unavailable to your account, the log says: "The selected connection is unavailable to this run. Apify free plans do not include residential proxies. Continuing on a backup connection; some pages may still be unavailable. For residential access, upgrade at https://apify.com/pricing or supply your own proxy URLs."
- When pages are then read over the backup connection: "Served over the backup connection (the default connection was unavailable)." Set `SAINSBURYS_CO_UK_ALTERNATE_CONNECTION=0` in the run's environment variables to disable the backup connection.
- If the proxy connection is refused for the account and no page could be read: "The proxy connection was refused for this account, so no page could be read. Your Apify plan does not include proxy access; a paid plan is required: https://apify.com/pricing. If you entered your own proxy URLs, check that their credentials are valid."
- If the run reaches the maximum cost per run you set, it stops and its status says: "Stopped early: the run reached the maximum cost per run you set, after N row(s). Nothing more was read, delivered or charged. Raise the maximum cost per run to collect more."
- If the run has no residential access and the backup connection still could not load a usable page: "No results: residential proxies are unavailable on this run (Apify free plans do not include them), and the backup connection could not load the requested Sainsbury's pages. Upgrade at https://apify.com/pricing or supply your own proxy URLs, then try again."
- If every request failed for another reason: "Could not load any results page (the requests failed), so nothing was collected. This is a connection problem, not an empty search. Please try again later."

Each of these failure messages ends with how many of your searches or links could not be read (or, in incremental mode, how many products were held back because their detail could not be read). A run with no keywords, categories or supported links fails at once with "Nothing to scrape: add search keywords or category numbers in Search mode, or paste valid sainsburys.co.uk search, category, promotion, product or feature page links in URL mode." If only some keywords or links could be read, you still get what was found, and the run's status message says how many could not be read.

#### Why does a row have no description or brand?

Those fields come from the product's own detail and need **Fetch product details** on keyword, category and list runs. If a product's detail could not be read during the run, the row still ships with everything else and is not charged for the missing part.

#### Can I use it with AI agents or MCP?

Yes. Call it from any Apify integration or MCP client, and use the connector field to push results into Notion, Linear or Airtable.

### 🔗 Want more grocery data?

Pair this actor with these related scrapers from the same team:

<table>
<tr><td>🥦 <a href="https://apify.com/abotapi/woolworths-au-scraper"><b>Woolworths AU Scraper</b></a><br>Scrape Woolworths Australia (woolworths.com.au) grocery products and reviews. Search by...</td><td>🥦 <a href="https://apify.com/abotapi/leclerc-fr-scraper"><b>E.Leclerc Scraper</b></a><br>Scrape E.Leclerc France (e.leclerc) grocery and retail products. Search by keyword or...</td></tr>
<tr><td>🥦 <a href="https://apify.com/abotapi/coles-au-scraper"><b>Coles AU Scraper</b></a><br>Scrape Coles.com.au grocery products and customer reviews. Search by keyword, browse...</td><td>🥦 <a href="https://apify.com/abotapi/rewe-de-scraper"><b>REWE.de Scraper</b></a><br>Scrape REWE Germany (rewe.de) grocery products: current price, was-price and discount...</td></tr>
<tr><td>🥦 <a href="https://apify.com/abotapi/carrefour-es-scraper"><b>Carrefour Spain Scraper</b></a><br>Scrape Carrefour Spain (carrefour.es) products. Search by keyword, browse a category, or...</td><td>🥦 <a href="https://apify.com/abotapi/flashfood-grocery-deals-scraper"><b>Flashfood Scraper</b></a><br>Scrape Flashfood discounted groceries and stores by location or store. Extract current...</td></tr>
</table>

👉 [Browse all abotapi scrapers](https://apify.com/abotapi)

### 💬 Support

- 🐞 **Found a bug or a missing field?** Open a ticket on the [Issues tab](https://apify.com/abotapi/sainsburys-co-uk-scraper/issues/open). We usually reply within hours.
- 🛠️ **Need another site, extra fields or a private build?** Email <contact@abotapi.com>.
- ⭐ **Enjoying it?** A quick review on the actor page helps other users find it.

# Actor input Schema

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

Choose 'search' to run keyword and category searches or 'url' to paste Sainsbury's links.

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

One or more keywords to search on Sainsbury's, for example 'milk', 'free range eggs' or a brand and product. Each keyword is searched separately.

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

Optional. Category numbers to read in full, the number after 'c:' at the end of a browse link (for example 1019342 for Fresh milk). A pasted browse link also works. Each category is read separately, after the keywords.

## `sortBy` (type: `string`):

Order of the results. A pasted link that carries its own sort keeps it.

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

Only return products of these brands, written the way Sainsbury's lists them (for example 'Cadbury', 'Alpro', "Sainsbury's"). Several brands are combined. Leave empty for all brands.

## `allergyFilters` (type: `array`):

Only return products matching these allergy filters, written the way Sainsbury's lists them (for example 'gluten free', 'no celery', 'no crustaceans'). The facets_allergy field of each row lists the options with their counts. Leave empty for none.

## `dietFilters` (type: `array`):

Only return products matching these dietary filters, written the way Sainsbury's lists them (for example 'vegetarian', 'high protein', 'low salt'). The facets_diet field of each row lists the options with their counts. Leave empty for none.

## `newIn` (type: `boolean`):

Only return products the shop lists as new.

## `minPrice` (type: `number`):

Lowest shelf price in pounds sterling (GBP). Leave empty for no lower bound.

## `maxPrice` (type: `number`):

Highest shelf price in pounds sterling (GBP). Leave empty for no upper bound.

## `minRating` (type: `number`):

Only products rated at least this many stars (1 to 5). Products with no rating are left out. Leave empty for all.

## `onlyOffers` (type: `boolean`):

Only return products that currently carry an offer or a Nectar price. Applied by the shop on keyword, category and promotion lists; on other pasted links a product must carry a promotion.

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

Paste Sainsbury's links: a search page (also its pageNumber and sort forms, the older SearchResults form and the mobile address), a category page (/groceries/browse/.../c:1019342, also the older /shop/gb/groceries/... form), a promotion list (/groceries/promotions/<number>), a product page, a feature, event or brand page (the first page of products it lists), the offers and Nectar pages (every product on offer, up to the shop's 10,000-record window), or the groceries home page /gol-ui/groceries (the category tree, one row per category). Sitemaps, robots.txt, store finder pages, the shop's service addresses, files, recipes and other site pages are not product listings and are skipped before any request.

## `fetchDetails` (type: `boolean`):

Read each listed product's detail to add the description, short description, brand, full image gallery, complete category list, important information, health classification and the sales-restriction (HFSS) status per nation. This is the Product detail data charge, once per row enriched; ingredients and nutrition are a separate option below. Rows from pasted product links or sitemap product entries already carry all of this and are never charged for it. Turn off for a cheaper listing-level pull.

## `fetchProductPage` (type: `boolean`):

Also read each product's page for the ingredients, the nutrition table, dietary information, storage, country of origin, manufacturer, the long description and any other product information the shop lists (size, packaging, preparation and safety, alcohol, dosage and similar). This is the Ingredients & nutrition charge, once per row that received it, on top of the Product detail data charge (separate from product details above). Each product page is about 2 MB, so runs with this option on are slower. Rows from pasted product links get the page text with this option and no separate detail charge.

## `maxReviews` (type: `integer`):

How many customer reviews to return on each product (title, text, star rating, quality and value ratings, author, date, recommendation), newest first, 10 per product page. Default 20, 0 skips reviews. Only used when 'Fetch ingredients and nutrition (product page)' is on, because the reviews are read from the product page. A row that returns at least one review carries one customer-reviews charge, whatever the number of reviews, and only when it also carries its product detail charge; rows that get no detail read (a pasted product link, an unchanged product in incremental mode) carry none and are not charged for reviews.

## `maxPages` (type: `integer`):

Optional. Limits how many result pages each keyword or link walks. Empty or 0 (the default) means no page limit. This does NOT cap the run and has no finite default; it defers to Max items, which is the one cap on the run.

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

THE one cap on this run: the maximum number of rows returned across the whole run. Defaults to 20 so a first run is quick and cheap. Use 0 for unlimited (a whole category or search). Max pages does not cap on its own and defers to this field.

## `maxItemsPerSearch` (type: `integer`):

Optional. Caps how many products each keyword, category or pasted link may return, so one large category cannot use up the whole run. 0 (default) = no per-keyword cap; Max items still caps the run.

## `proxy` (type: `object`):

Leave this on the default (Automatic) for the standard connection. Residential is recommended for the most reliable results (large or frequent runs); it is billed to your own Apify plan. You can also paste your own proxy URL.

## `resumeFromRunId` (type: `string`):

Paste a previous run ID or dataset ID to continue a large crawl without returning or charging for products already collected there. For recurring monitoring of the same search, use Incremental mode below instead.

## `incrementalMode` (type: `boolean`):

Turn this on for daily or recurring monitoring. The first run returns every matching product as NEW. Later runs normally return only NEW, UPDATED and REAPPEARED products. A product counts as UPDATED when any of its fields changed (price, unit price, availability, promotions, labels, categories, description, images), except the result position and page, the relevancy rank, the scrape time, the keyword or link it was found through, the facet counts, sort and result total of the listing, the category path of the scope, and by default the review score and count (see Ignore fields below). With 'Price and offers only' just the shelf price, unit price, was-unit price, availability and each promotion's strap line, original price, Nectar flag, discount and dates are compared. State is kept separately for each keyword, category, link, sort, filter and detail setup; use State key to name or deliberately share a monitoring campaign.

## `stateKey` (type: `string`):

Optional. Name this monitoring campaign to keep its state stable, or to deliberately share state across differently configured runs. Leave empty to derive a key automatically from this run's search and filter setup. One state key tracks up to 1,000 products at the default memory.

## `changeScope` (type: `string`):

'Price and offers only' compares just the shelf price, unit price, was-unit price, availability flag and each promotion (strap line, original price, Nectar flag, discount, dates); a description, image or label change is treated as UNCHANGED and is never returned or billed as UPDATED. 'All fields' compares the whole record (minus the fields listed under Incremental changes).

## `compactUpdates` (type: `boolean`):

When on, an UPDATED row carries only identifiers plus the price and availability fields that actually moved (priceChanges, variantChanges for promotions), instead of the full record. Off by default.

## `expireAfterMissedScans` (type: `integer`):

A tracked product absent from this many consecutive complete scans in a row is marked EXPIRED; fewer misses are held over without being reported. 1 (default) expires on the first miss, matching this actor's previous behaviour.

## `emitUnchanged` (type: `boolean`):

Off by default. Turn on to also return products that have not changed since the last run, marked UNCHANGED. This returns, and bills, extra rows you already have.

## `emitExpired` (type: `boolean`):

Off by default. Turn on to also return products that were present in a previous run but are no longer found, marked EXPIRED. Only produced after a complete scan: every walk started at page 1 and read as many distinct products as the site's result total (below the shop's 10,000-record window), with product details on and every wanted product detail read. Never when Max items, Max pages or the maximum cost per run stopped it, when a pasted link started past page 1, for feature, brand, sitemap, offers or category tree links, when any page or product could not be read, or when Resume was used. This returns, and bills, extra synthetic rows.

## `ignoreFieldsForChanges` (type: `array`):

Field names that must NOT count as a change in incremental mode. The default list leaves out the review score and count (reviews), which drift with every new review; remove it from the list to be told about them. A product whose only differences are in these fields is treated as UNCHANGED, so it is not returned or billed as UPDATED. Names match at any nesting depth. The fields still appear in the output of rows that are returned.

## `mcpConnectors` (type: `array`):

Optionally send results into the apps you already use, via Model Context Protocol (MCP) connectors. Authorize one under Apify, Settings, API & Integrations, then select it here. Notion gets a rich page-per-item export; other connectors get a best-effort write or digest. Leave empty to skip; this never changes the dataset output. Supported: Notion (https://mcp.notion.com/mcp), Linear (https://mcp.linear.app/sse), Airtable (https://mcp.airtable.com/mcp), Apify (https://mcp.apify.com).

## `notionParentPageUrl` (type: `string`):

URL or id of the Notion page under which item pages are created. Required to enable the Notion export; ignored by other connectors.

## `maxNotifyListings` (type: `integer`):

Cap on items written to each connector per run. Does not affect the dataset.

## `notifyOnlyChanges` (type: `boolean`):

Only send the alert when Incremental changes is on and at least one product is NEW, UPDATED, REAPPEARED or EXPIRED. Without Incremental changes every finished run sends its summary.

## `notificationLimit` (type: `integer`):

How many product rows the alert message lists (the run's totals are always in the first line).

## `slackWebhookUrl` (type: `string`):

Optional Slack incoming-webhook URL to post the summary to.

## `discordWebhookUrl` (type: `string`):

Optional Discord channel webhook URL to post the summary to.

## `telegramBotToken` (type: `string`):

Optional Telegram bot token to post the summary with (needs the chat ID below).

## `telegramChatId` (type: `string`):

Optional Telegram chat ID that receives the summary (needs the bot token above).

## Actor input object example

```json
{
  "mode": "search",
  "searchTerms": [
    "milk"
  ],
  "sortBy": "relevance",
  "newIn": false,
  "onlyOffers": false,
  "urls": [
    "https://www.sainsburys.co.uk/groceries/search?searchTerm=milk",
    "https://www.sainsburys.co.uk/groceries/search?searchTerm=milk&pageNumber=2",
    "https://www.sainsburys.co.uk/groceries/search?searchTerm=milk&sort=PRICE_ASC",
    "https://www.sainsburys.co.uk/gol-ui/SearchResults/milk",
    "https://www.sainsburys.co.uk/groceries/browse/dairy-eggs-and-chilled/fresh-milk/c:1019342",
    "https://www.sainsburys.co.uk/shop/gb/groceries/dairy-eggs-and-chilled",
    "https://www.sainsburys.co.uk/groceries/product/sainsburys-british-semi-skimmed-milk-2-27l-4-pint",
    "https://www.sainsburys.co.uk/gol-ui/product/sainsburys-british-semi-skimmed-milk-2-27l-4-pint",
    "https://www.sainsburys.co.uk/groceries/features/best-of-british",
    "https://www.sainsburys.co.uk/groceries/promotions/10775477",
    "https://www.sainsburys.co.uk/gol-ui/groceries",
    "https://www.sainsburys.co.uk/groceries/nectar",
    "https://www.sainsburys.co.uk/gol-ui/offers",
    "https://www.sainsburys.co.uk/groceries/search?searchTerm=milk&fromMegaNav=1&utm_source=x",
    "https://m.sainsburys.co.uk/groceries/search?searchTerm=milk"
  ],
  "fetchDetails": true,
  "fetchProductPage": false,
  "maxReviews": 20,
  "maxItems": 20,
  "maxItemsPerSearch": 0,
  "proxy": {
    "useApifyProxy": true
  },
  "incrementalMode": false,
  "changeScope": "all",
  "compactUpdates": false,
  "expireAfterMissedScans": 1,
  "emitUnchanged": false,
  "emitExpired": false,
  "ignoreFieldsForChanges": [
    "reviews"
  ],
  "maxNotifyListings": 50,
  "notifyOnlyChanges": false,
  "notificationLimit": 5
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `detail` (type: `string`):

No description

## `categories` (type: `string`):

No description

## `changes` (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 = {
    "mode": "search",
    "searchTerms": [
        "milk"
    ],
    "sortBy": "relevance",
    "newIn": false,
    "onlyOffers": false,
    "urls": [
        "https://www.sainsburys.co.uk/groceries/search?searchTerm=milk",
        "https://www.sainsburys.co.uk/groceries/search?searchTerm=milk&pageNumber=2",
        "https://www.sainsburys.co.uk/groceries/search?searchTerm=milk&sort=PRICE_ASC",
        "https://www.sainsburys.co.uk/gol-ui/SearchResults/milk",
        "https://www.sainsburys.co.uk/groceries/browse/dairy-eggs-and-chilled/fresh-milk/c:1019342",
        "https://www.sainsburys.co.uk/shop/gb/groceries/dairy-eggs-and-chilled",
        "https://www.sainsburys.co.uk/groceries/product/sainsburys-british-semi-skimmed-milk-2-27l-4-pint",
        "https://www.sainsburys.co.uk/gol-ui/product/sainsburys-british-semi-skimmed-milk-2-27l-4-pint",
        "https://www.sainsburys.co.uk/groceries/features/best-of-british",
        "https://www.sainsburys.co.uk/groceries/promotions/10775477",
        "https://www.sainsburys.co.uk/gol-ui/groceries",
        "https://www.sainsburys.co.uk/groceries/nectar",
        "https://www.sainsburys.co.uk/gol-ui/offers",
        "https://www.sainsburys.co.uk/groceries/search?searchTerm=milk&fromMegaNav=1&utm_source=x",
        "https://m.sainsburys.co.uk/groceries/search?searchTerm=milk"
    ],
    "fetchDetails": true,
    "fetchProductPage": false,
    "maxReviews": 20,
    "maxItems": 20,
    "proxy": {
        "useApifyProxy": true
    },
    "incrementalMode": false,
    "compactUpdates": false,
    "emitUnchanged": false,
    "emitExpired": false,
    "ignoreFieldsForChanges": [
        "reviews"
    ],
    "notifyOnlyChanges": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("abotapi/sainsburys-co-uk-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 = {
    "mode": "search",
    "searchTerms": ["milk"],
    "sortBy": "relevance",
    "newIn": False,
    "onlyOffers": False,
    "urls": [
        "https://www.sainsburys.co.uk/groceries/search?searchTerm=milk",
        "https://www.sainsburys.co.uk/groceries/search?searchTerm=milk&pageNumber=2",
        "https://www.sainsburys.co.uk/groceries/search?searchTerm=milk&sort=PRICE_ASC",
        "https://www.sainsburys.co.uk/gol-ui/SearchResults/milk",
        "https://www.sainsburys.co.uk/groceries/browse/dairy-eggs-and-chilled/fresh-milk/c:1019342",
        "https://www.sainsburys.co.uk/shop/gb/groceries/dairy-eggs-and-chilled",
        "https://www.sainsburys.co.uk/groceries/product/sainsburys-british-semi-skimmed-milk-2-27l-4-pint",
        "https://www.sainsburys.co.uk/gol-ui/product/sainsburys-british-semi-skimmed-milk-2-27l-4-pint",
        "https://www.sainsburys.co.uk/groceries/features/best-of-british",
        "https://www.sainsburys.co.uk/groceries/promotions/10775477",
        "https://www.sainsburys.co.uk/gol-ui/groceries",
        "https://www.sainsburys.co.uk/groceries/nectar",
        "https://www.sainsburys.co.uk/gol-ui/offers",
        "https://www.sainsburys.co.uk/groceries/search?searchTerm=milk&fromMegaNav=1&utm_source=x",
        "https://m.sainsburys.co.uk/groceries/search?searchTerm=milk",
    ],
    "fetchDetails": True,
    "fetchProductPage": False,
    "maxReviews": 20,
    "maxItems": 20,
    "proxy": { "useApifyProxy": True },
    "incrementalMode": False,
    "compactUpdates": False,
    "emitUnchanged": False,
    "emitExpired": False,
    "ignoreFieldsForChanges": ["reviews"],
    "notifyOnlyChanges": False,
}

# Run the Actor and wait for it to finish
run = client.actor("abotapi/sainsburys-co-uk-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 '{
  "mode": "search",
  "searchTerms": [
    "milk"
  ],
  "sortBy": "relevance",
  "newIn": false,
  "onlyOffers": false,
  "urls": [
    "https://www.sainsburys.co.uk/groceries/search?searchTerm=milk",
    "https://www.sainsburys.co.uk/groceries/search?searchTerm=milk&pageNumber=2",
    "https://www.sainsburys.co.uk/groceries/search?searchTerm=milk&sort=PRICE_ASC",
    "https://www.sainsburys.co.uk/gol-ui/SearchResults/milk",
    "https://www.sainsburys.co.uk/groceries/browse/dairy-eggs-and-chilled/fresh-milk/c:1019342",
    "https://www.sainsburys.co.uk/shop/gb/groceries/dairy-eggs-and-chilled",
    "https://www.sainsburys.co.uk/groceries/product/sainsburys-british-semi-skimmed-milk-2-27l-4-pint",
    "https://www.sainsburys.co.uk/gol-ui/product/sainsburys-british-semi-skimmed-milk-2-27l-4-pint",
    "https://www.sainsburys.co.uk/groceries/features/best-of-british",
    "https://www.sainsburys.co.uk/groceries/promotions/10775477",
    "https://www.sainsburys.co.uk/gol-ui/groceries",
    "https://www.sainsburys.co.uk/groceries/nectar",
    "https://www.sainsburys.co.uk/gol-ui/offers",
    "https://www.sainsburys.co.uk/groceries/search?searchTerm=milk&fromMegaNav=1&utm_source=x",
    "https://m.sainsburys.co.uk/groceries/search?searchTerm=milk"
  ],
  "fetchDetails": true,
  "fetchProductPage": false,
  "maxReviews": 20,
  "maxItems": 20,
  "proxy": {
    "useApifyProxy": true
  },
  "incrementalMode": false,
  "compactUpdates": false,
  "emitUnchanged": false,
  "emitExpired": false,
  "ignoreFieldsForChanges": [
    "reviews"
  ],
  "notifyOnlyChanges": false
}' |
apify call abotapi/sainsburys-co-uk-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,abotapi/sainsburys-co-uk-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/x2LS3AbMCiOvMbmym/builds/oRySLSrdwPIfwWHXn/openapi.json
