# Boots Scraper - Products, Prices, Offers & Ratings (UK) (`abotapi/boots-com-scraper`) Actor

Scrape Boots (boots.com) products: current and regular prices, savings, price per unit, stock and basket availability, ratings, promotions, variants, categories and attributes. Search by keyword, category or brand, or paste search, category and product links.

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

## Pricing

from $1.40 / 1,000 product 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/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

## Boots Scraper: Products, Prices, Offers & Ratings (UK)

Boots Scraper turns boots.com, the UK's health, beauty and pharmacy retailer, into structured product data. Search by keyword or category, or paste a search, category or product link, and get current and regular prices, savings, price per unit, stock and basket availability, ratings, promotions, colour options, category paths and the full attribute set 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 catalog.** Keyword searches, whole categories, the home page (the whole catalogue), search and category links, and single product links, each read to its natural end or to the cap you set. Brand, category, rating and any other filter the shop offers are applied by the search itself.
- **Prices that tell the whole story.** Current price, regular price, saving, price per unit and the promotion texts, in pounds sterling.
- **Stock you can act on.** The in-stock flag, whether the product can be added to the basket, the stock message ("coming soon", "sold out", "larger stores only") and express delivery.
- **Identifiers you can join on.** Product ID, part number, manufacturer model and the article number that appears in every product link.
- **Rich product attributes.** Every attribute Boots lists for a product (product type, gender, format, hair and skin type, free-from claims, key ingredients, pharmacy flag and more), plus the full category paths and colour options.
- **Ratings on every row.** Average rating and rating count, with a minimum-rating filter.
- **Monitoring built in.** Label every product NEW, UPDATED, REAPPEARED or EXPIRED across scheduled runs, track price and stock 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 current prices, savings and offer texts across beauty, skincare, health and toiletries, and get alerted only to what actually changed.
- **Competitor and market analysis:** compare Boots ranges, price bands and brand coverage by category or by keyword.
- **Catalog enrichment:** match your own product list to Boots by part number or article number and add categories, images and attributes.
- **Stock and availability tracking:** follow the in-stock flag, basket availability and stock messages for a product line.
- **Brand reporting:** measure how many products, at what rating and price, each brand has in a category.

### Data You Get

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

| Field | Example |
| --- | --- |
| `objectId` | `"0000000"` (the product ID of the listed option) |
| `partNumber` / `manufacturerModel` / `articleNumber` / `parentId` | `"00000000.P"` / `"0000000"` / `"00000000"` / `"0000000"` |
| `title` / `brand` | `"Sample Brand Repair Treatment 100ml"` / `"SAMPLE BRAND"` |
| `url` | the product page address, ending in the article number |
| `price_current` / `price_regular` / `price_saving` / `currency` | `22.4` / `32` / `9.6` / `"GBP"` |
| `price_per_unit` / `size` | `"GBP 224.00 per 1L"` / `"100ML"` |
| `rating_average` / `rating_count` | `4.7` / `579` |
| `in_stock` / `can_add_to_basket` / `express_delivery` | `true` / `true` / `false` |
| `stock_message` / `stock_message_text` | `"STOCK_COMING_SOON"` / `"Stock coming soon"` |
| `promotions` / `promotionsByChannel` / `has_other_promotion` | the offer texts / the same texts per sales channel / `true` |
| `advantage_card_points` / `opticians` | `66` / `false` |
| `image` / `images` | the main picture / the picture sizes the listing carries |
| `variants` / `has_size_variants` | `[{"name": "Black", "hex": "#000000"}]` / `false` |
| `categories` | every category path the product sits in, for example `"beauty & skincare > hair > hair styling"` |
| `attributes` | the product's attributes as a map, for example `{"product_type": "hair mask", "gender": ["unisex"], "format": "cream"}` |
| `position` / `page` / `totalResults` | the row's position in the walk, the result page and the number of results of the search |
| `query` / `sourceUrl` / `scrapedAt` | which keyword or pasted link found the row, and when it was read |
| `changeType` / `changedFields` / `firstSeenAt` / `lastSeenAt` | incremental mode only: `"NEW"`, `"UPDATED"`, `"UNCHANGED"`, `"REAPPEARED"` or `"EXPIRED"`, the fields that changed, and when the product was first and last seen |

Every field comes from the search results themselves, so a run reads one result page per request and needs no extra step per product. Boots does not show the product description, usage directions, warnings, full ingredient list, barcode, delivery options, customer review text or questions in its search results, so those are not part of the output. Rating averages and counts are empty for products with no ratings.

**Output views.** The dataset has two views in the Console: **Products** and **Changes (incremental)**. Each run also stores a run summary under the `OUTPUT` key of its default key-value store.

### How to Use

1. Keep the default **search** mode and add keywords or categories, or switch to **url** mode and paste search, category, product or home page links.
2. Narrow with brands, a price range, a minimum rating, offers only or any other shop filter, and choose a sort order.
3. Set **Max items** to control run size and cost.
4. Click **Start**.

**Quick keyword search:**

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

**A category, offers only, cheapest first:**

```json
{
  "mode": "search",
  "searchTerms": [],
  "categories": ["Facial skincare"],
  "onlyOffers": true,
  "sortBy": "price_low",
  "maxItems": 50
}
```

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

```json
{
  "mode": "url",
  "urls": [
    "https://www.boots.com/sitesearch?searchTerm=shampoo",
    "https://www.boots.com/beauty/skincare",
    "https://www.boots.com/olaplex-no4-strengthening-shampoo-250ml-10401541"
  ],
  "maxItemsPerSearch": 10,
  "maxItems": 30
}
```

#### Run it from your code

Python:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("abotapi/boots-com-scraper").call(run_input={"mode": "search", "searchTerms": ["shampoo"], "maxItems": 20})
for product in client.dataset(run.default_dataset_id).iterate_items():
    print(product.get("title"), product.get("price_current"), product.get("currency"))
```

JavaScript:

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('abotapi/boots-com-scraper').call({ mode: 'search', searchTerms: ['shampoo'], maxItems: 20 });
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

Or connect it to Make, Zapier, n8n, Google Sheets or webhooks from the **Integrations** tab.

#### Pasted links

- **Search pages** such as `/sitesearch?searchTerm=shampoo` read that keyword's results.
- **Category pages** such as `/beauty/skincare` read that category and everything below it. A category the shop does not list is skipped with a note in the log.
- **Product pages** such as `/olaplex-no4-strengthening-shampoo-250ml-10401541` return the one product with that article number (the number at the end of the link).
- **The home page** reads the whole catalogue once per run, in the sort order you choose, up to Max items.
- A search or category link that carries a result page number (for example `&pageNo=2`) is read from its first result, because the site's page size differs from this actor's, and it counts as a partial selection: it never marks products EXPIRED.
- Sitemap files, `robots.txt`, the shop's service addresses and other site pages (store finder, account, help and similar) are not product listings: each is skipped with a note in the log that says why, and a run given only such links fails at once, before any request.

#### Filters

Brand, category, minimum rating and the **Other filters** field are applied by the search itself. The minimum and maximum price and **Offers only** are applied to each page after it is read, so with them set a page can yield fewer rows than it lists. Other filters take the shop's own names and values, for example `{"hair_type": ["curly"], "skin_type": ["dry skin"]}`.

#### Caps and pagination

**Max items** stops the whole run once that many products have been returned (`0` = no cap). **Max items per keyword 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 (100 products each) each keyword or link walks; it does not cap the run by itself. Without a cap, each keyword or category is walked to its last page. Very large result lists such as the whole catalogue report a result total that varies from one request to the next, so those walks never count as complete for EXPIRED detection.

#### 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 read as many distinct products as one consistent result total, on one listing; never after a capped, page-limited, cost-limited, resumed or stopped-before-timeout run, a single product link, a pasted link at a later result page, or a run where any page could not be read). The result position and page, the scrape time, the keyword or link a product was found through, the result total and the per-channel promotion map never count as a change. `ignoreFieldsForChanges` defaults to the rating (`rating_average`) and the rating count (`rating_count`), which drift with every new review; remove names to be told about them, or add more. `changeScope: "priceAndStock"` compares only the current price, regular price, saving, price per unit, the in-stock flag, basket availability and the stock message; `compactUpdates` returns slim rows with just what moved. `stateKey` names or shares the stored state; leave it empty and the actor derives one from the run's keywords, links, categories, sort and filter setup. At the default memory one state key tracks up to 1,600 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 categories) or `url` (pasted links). |
| `searchTerms` | array | `shampoo` | Search mode: keywords to search, each read separately. Leave empty to read only the categories below. |
| `categories` | array | (none) | Search mode: categories by name or path, for example `Facial skincare`. |
| `sortBy` | string | `relevance` | `relevance`, `price_low`, `price_high`, `top_rated` or `newest`. |
| `brands` | array | (none) | Keep only these brands; several are combined as "any of these". |
| `minPrice` | number | (none) | Lowest current price kept, in pounds sterling. |
| `maxPrice` | number | (none) | Highest current 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 a saving. |
| `facetFilters` | object | (none) | Any other filter the shop offers, as name to list of values. |
| `urls` | array | one link of each shape | URL mode: search, category and product links and the home page on boots.com. |
| `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 or pasted link; `0` = no per-keyword cap. |
| `proxy` | object | Residential, United Kingdom | 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 | rating + rating count | 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",
  "objectId": "0000000",
  "partNumber": "00000000.P",
  "manufacturerModel": "0000000",
  "articleNumber": "00000000",
  "parentId": "0000000",
  "title": "Sample Brand Repair Treatment 100ml",
  "brand": "SAMPLE BRAND",
  "url": "https://www.boots.com/sample-brand-repair-treatment-100ml-00000000",
  "currency": "GBP",
  "price_current": 22.4,
  "price_regular": 32,
  "price_saving": 9.6,
  "price_per_unit": "GBP 224.00 per 1L",
  "size": "100ML",
  "rating_average": 4.72,
  "rating_count": 579,
  "in_stock": true,
  "can_add_to_basket": true,
  "stock_message": null,
  "stock_message_text": null,
  "express_delivery": false,
  "promotions": ["Save up to 35 percent on selected haircare"],
  "has_other_promotion": true,
  "advantage_card_points": 66,
  "opticians": false,
  "image": "https://images.example.com/sample-1.jpg",
  "images": ["https://images.example.com/sample-1.jpg", "https://images.example.com/sample-1-small.jpg"],
  "variants": [],
  "has_size_variants": false,
  "categories": ["beauty & skincare > hair > hair treatments and masks"],
  "attributes": {"product_type": "hair mask", "gender": ["unisex"], "format": "cream"},
  "position": 1,
  "page": 1,
  "query": "shampoo",
  "totalResults": 1576,
  "scrapedAt": "2026-01-20T08:00:00+00:00"
}
```

### Plan Requirement

Pay per event: one unit per returned product row, plus an actor start event. Each row unit is charged as the row is delivered, never as a single total at the end, and an unchanged product left out in incremental mode is neither returned nor charged. This actor needs a residential proxy: Boots refuses most datacenter requests, so the default is the Residential group with the United Kingdom, which is billed to your own Apify plan. Apify free plans do not include residential proxies: a free-plan run continues on a backup connection where Boots refuses part of the requests, 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 product row returned, plus the actor start event. The **Pricing** tab shows the current rates. Use **Max items** to cap the cost of any run.

#### Is it legal to scrape boots.com?

This actor collects only publicly available product data that Boots shows on its own pages. You are responsible for how you use it: follow Boots's terms and the laws that apply to you, and get legal advice if you plan commercial redistribution. Prices and attributes are generally facts, but images 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 stock moves.

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

The site groups the options of one product, so the number of rows can differ from the count the site quotes. Filters you set (brands, price, rating, offers only) narrow the same result the site would show, and rows without a rating are dropped when you set a minimum rating.

#### Why is there no description, ingredient list, barcode or review text?

Boots does not include them in its search results, which is where every field of this actor comes from. The attributes map carries what Boots does list per product, including key ingredients and free-from claims where they exist.

#### Which proxy should I use?

Keep the default (Residential, United Kingdom): Boots refuses most datacenter requests, so residential is the setting that serves reliably. 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 `BOOTS_COM_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 `BOOTS_COM_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 Boots pages. Upgrade at https://apify.com/pricing or supply your own proxy URLs, then try again."
- If the run is about to reach its timeout, it stops starting new pages 20 seconds before the end, returns every row already read and its status says: "Partial results: stopped before the platform timeout (N product(s) returned). Give the run more time (Timeout in the run options) to collect everything in one run." Such a run never marks products EXPIRED. Set `BOOTS_COM_STOP_BEFORE_TIMEOUT=0` in the run's environment variables to turn this off.
- 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. A run with no keywords, categories or supported links fails at once with "Nothing to scrape: add search keywords or a category in Search mode, or paste valid boots.com search, category or product 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.

#### 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 e-commerce data?

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

<table>
<tr><td>🛒 <a href="https://apify.com/abotapi/chemistwarehouse-com-au-scraper"><b>Chemist Warehouse AU</b></a><br>Scrape chemistwarehouse.com.au products with prices, RRP, discounts, stock, images...</td><td>🛒 <a href="https://apify.com/abotapi/cvs-product-scraper"><b>CVS Scraper</b></a><br>Scrape CVS.com pharmacy, beauty, health and personal care products by keyword search...</td></tr>
<tr><td>🛒 <a href="https://apify.com/abotapi/drogasil-com-br-scraper"><b>Drogasil Brazil Pharmacy, Health &amp; Beauty Scraper</b></a><br>Scrape Drogasil (drogasil.com.br) medicines, health and beauty products by keyword...</td><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></tr>
<tr><td>🛒 <a href="https://apify.com/abotapi/walgreens-com"><b>Walgreens Products &amp; Reviews Scraper</b></a><br>Scrape Walgreens products by keyword, category or product URL. Extract prices...</td><td>🛒 <a href="https://apify.com/abotapi/cdon-scraper"><b>CDON Scraper</b></a><br>Scrape CDON (cdon.se, cdon.no, cdon.dk, cdon.fi) marketplace products in Sweden, Norway...</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/boots-com-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 search, category and product links.

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

One or more keywords to search on Boots, for example 'shampoo', 'sunscreen' or a brand and product name. Each keyword is searched separately. Leave empty and pick a category below to read a whole category.

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

Optional. Read these categories, written as the name Boots shows (for example 'Facial skincare') or as a path ('Beauty & skincare > Skincare'). Combine with keywords to search inside a category. A name the shop does not list is skipped.

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

Order of the results.

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

Only return products of these brands, written the way Boots shows them (for example 'Olaplex', 'No7'). Leave empty for all brands.

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

Lowest current price in pounds sterling (GBP). Applied after each page is read, so it can lower the number of rows per page. Leave empty for no lower bound.

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

Highest current price in pounds sterling (GBP). Applied after each page is read, so it can lower the number of rows per page. 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 a saving (a regular price above the current price).

## `facetFilters` (type: `object`):

Optional. Any other filter the shop offers, as filter name to list of values, for example {"hair_type": \["curly"], "skin_type": \["dry skin"], "gender": \["womens"]}. Names and values are the ones the shop lists for a search; several values of one filter match any of them.

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

Paste Boots links: a search page (/sitesearch?searchTerm=shampoo), a category page (/beauty/skincare), a product page (/product-name-10401541), or the home page, which reads the whole catalogue. The home page reads the whole catalogue once per run. Sitemap files, robots.txt, the shop's service addresses and other site pages are not product listings: they are skipped with a note in the log.

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

Optional. Limits how many result pages each keyword or link walks (a page holds up to 100 products). Empty or 0 means no page limit; it does NOT cap the run by itself, Max items below does.

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

THE cap on this run: the maximum number of product 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 the whole catalogue).

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

Optional. Caps how many products each keyword 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 (Residential, United Kingdom) for the most reliable results. 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, except the result position and page, the scrape time, the search or link it was found through, the result total, and by default its rating and rating count (see Ignore fields below); with 'Price and stock only' just current price, regular price, saving, price per unit, in-stock flag, basket availability and stock message are compared. State is kept separately for each keyword, link, category, sort and filter 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,600 products at the default memory.

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

'Price and stock only' compares just the current price, regular price, saving, price per unit, the in-stock flag, basket availability and the stock message; a title, image or promotion 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 stock fields that actually moved (priceChanges), 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 read as many distinct products as the site's result total. Never when Max items, Max pages or the maximum cost per run stopped it, for a single product link, when any page 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 rating (rating_average) and the rating count (rating_count), which drift with every new review; remove names 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": [
    "shampoo"
  ],
  "sortBy": "relevance",
  "onlyOffers": false,
  "urls": [
    "https://www.boots.com/",
    "https://www.boots.com/sitesearch?searchTerm=shampoo",
    "https://www.boots.com/beauty/skincare",
    "https://www.boots.com/olaplex-no4-strengthening-shampoo-250ml-10401541"
  ],
  "maxItems": 20,
  "maxItemsPerSearch": 0,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "GB"
  },
  "incrementalMode": false,
  "changeScope": "all",
  "compactUpdates": false,
  "expireAfterMissedScans": 1,
  "emitUnchanged": false,
  "emitExpired": false,
  "ignoreFieldsForChanges": [
    "rating_average",
    "rating_count"
  ],
  "maxNotifyListings": 50,
  "notifyOnlyChanges": false,
  "notificationLimit": 5
}
```

# Actor output Schema

## `overview` (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": [
        "shampoo"
    ],
    "sortBy": "relevance",
    "onlyOffers": false,
    "urls": [
        "https://www.boots.com/",
        "https://www.boots.com/sitesearch?searchTerm=shampoo",
        "https://www.boots.com/beauty/skincare",
        "https://www.boots.com/olaplex-no4-strengthening-shampoo-250ml-10401541"
    ],
    "maxItems": 20,
    "proxy": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ],
        "apifyProxyCountry": "GB"
    },
    "incrementalMode": false,
    "compactUpdates": false,
    "emitUnchanged": false,
    "emitExpired": false,
    "ignoreFieldsForChanges": [
        "rating_average",
        "rating_count"
    ],
    "notifyOnlyChanges": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("abotapi/boots-com-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": ["shampoo"],
    "sortBy": "relevance",
    "onlyOffers": False,
    "urls": [
        "https://www.boots.com/",
        "https://www.boots.com/sitesearch?searchTerm=shampoo",
        "https://www.boots.com/beauty/skincare",
        "https://www.boots.com/olaplex-no4-strengthening-shampoo-250ml-10401541",
    ],
    "maxItems": 20,
    "proxy": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
        "apifyProxyCountry": "GB",
    },
    "incrementalMode": False,
    "compactUpdates": False,
    "emitUnchanged": False,
    "emitExpired": False,
    "ignoreFieldsForChanges": [
        "rating_average",
        "rating_count",
    ],
    "notifyOnlyChanges": False,
}

# Run the Actor and wait for it to finish
run = client.actor("abotapi/boots-com-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": [
    "shampoo"
  ],
  "sortBy": "relevance",
  "onlyOffers": false,
  "urls": [
    "https://www.boots.com/",
    "https://www.boots.com/sitesearch?searchTerm=shampoo",
    "https://www.boots.com/beauty/skincare",
    "https://www.boots.com/olaplex-no4-strengthening-shampoo-250ml-10401541"
  ],
  "maxItems": 20,
  "proxy": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ],
    "apifyProxyCountry": "GB"
  },
  "incrementalMode": false,
  "compactUpdates": false,
  "emitUnchanged": false,
  "emitExpired": false,
  "ignoreFieldsForChanges": [
    "rating_average",
    "rating_count"
  ],
  "notifyOnlyChanges": false
}' |
apify call abotapi/boots-com-scraper --silent --output-dataset

```

## MCP server setup

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