# Selfridges Scraper — Luxury Product Prices, Stock & Images (`studio-amba/selfridges-scraper`) Actor

Scrape selfridges.com, the UK luxury department store: product names, brands, prices, sale/markdown status, sizes, images and breadcrumb categories from site search, unblocked with Bright Data Web Unlocker.

- **URL**: https://apify.com/studio-amba/selfridges-scraper.md
- **Developed by:** [Studio Amba](https://apify.com/studio-amba) (community)
- **Categories:** E-commerce
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 result scrapeds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Selfridges Scraper

Pull product data from selfridges.com, the UK luxury department store. This scraper reads Selfridges' own search-results and product pages, so it returns clean, structured data — name, brand, price, sale status, sizes, images — for real catalogue listings, not a scraped screenshot of a page.

### How to scrape Selfridges data

Give the actor a free-text `searchQuery` (e.g. `"dior bag"` or `"midi dress"`) and it pages through Selfridges' own site search, 60 products per page, until it hits `maxResults`. Search is the only listing source on selfridges.com — the category pages under `/GB/en/cat/{brand-or-category}/` are CMS landing pages with a fixed ~10-item product carousel, not a real paginated catalogue, so this actor doesn't use them.

Selfridges sits behind a Cloudflare WAF: a plain request to any `selfridges.com` path — including `/robots.txt` — comes back as Cloudflare's own "Attention Required! Sorry, you have been blocked" page (HTTP 403), even from a real headless browser. This actor routes every request through Bright Data's Web Unlocker, which clears the block, so you don't need your own proxy or browser-automation setup.

Selfridges runs on Next.js, streaming its product data as React Server Component payloads embedded in the page rather than a single data blob — the actor reassembles those chunks and pulls out each product's record directly, so search-mode results come straight out of the page with no extra requests. Every product's `lowestPrice` block also carries its markdown status: when an item is discounted, the current price and the original ("was") price are both present, so `onSale` and `originalPrice` come for free without a detail-page fetch.

Turn on `fetchProductDetails` to fetch each product's own page too, adding the full description, breadcrumb category, complete colour/image list and the sizes currently orderable.

If you don't provide any input, it defaults to a `"dress"` search as a demo (3,000+ results on Selfridges today).

### Input

| Field | Type | Description |
|-------|------|-------------|
| `searchQuery` | string | A free-text search term run against Selfridges' own site search (default: `"dress"`) |
| `maxResults` | integer | Cap on number of products returned (default: 20, max: 500) |
| `fetchProductDetails` | boolean | OFF by default. ON adds description, breadcrumb category, full colour/image list and currently orderable sizes — at the cost of one extra Bright Data request per product. |
| `brightDataApiKey` | string | Your own Bright Data API key, if you want to use your own Web Unlocker zone instead of the actor's built-in one |
| `proxyConfiguration` | object | Not used — this actor reaches selfridges.com exclusively through Bright Data, which handles unblocking on its own. Kept for input-shape compatibility. |

### What you get back

| Field | Type | Example |
|-------|------|---------|
| `name` | string | `"Aster Sequin Stretch-Knit Midi Dress"` |
| `brand` | string | `"PH5"` — falls back to `"Selfridges"` for own-label items |
| `price` | number | null | `276` — current/effective selling price in GBP |
| `currency` | string | `"GBP"` — selfridges.com is a single UK storefront |
| `originalPrice` | number | null | `460` — pre-discount price, only present when the item is on sale |
| `onSale` | boolean | `true` when `originalPrice` is present |
| `sku` | string | null | `"R04654674"` — Selfridges' internal product ID |
| `productId` | string | null | Same value as `sku` |
| `inStock` | boolean | null | `true` when derived from currently orderable sizes (`fetchProductDetails` on); `null` on listing-mode rows, which carry no stock signal at all — never coerced to `false` |
| `url` | string | Full product page URL |
| `imageUrl` | string | null | Primary product image |
| `imageUrls` | array | Product images (default + alternate from listing; full gallery with `fetchProductDetails` on) |
| `colour` | string | null | `"PINK"` |
| `colours` | array | All colour variants found for this product |
| `description` | string | null | Editorial product copy — only with `fetchProductDetails` on |
| `category` | string | null | Deepest breadcrumb category — only with `fetchProductDetails` on |
| `categories` | array | Full breadcrumb path — only with `fetchProductDetails` on |
| `sizes` | array | Currently orderable size labels — only with `fetchProductDetails` on. Not a per-size stock quantity ladder; Selfridges doesn't expose one on the product page. |
| `scrapedAt` | string | ISO timestamp |

### Sample output

```json
{
  "name": "Linda Gathered-Waist Satin Midi Dress",
  "brand": "MALINA",
  "price": 276,
  "currency": "GBP",
  "originalPrice": 460,
  "onSale": true,
  "sku": "R04617890",
  "productId": "R04617890",
  "inStock": true,
  "url": "https://www.selfridges.com/GB/en/product/malina-linda-gathered-waist-satin-midi-dress_R04617890/",
  "imageUrl": "https://images.selfridges.com/is/image/selfridges/R04617890_VANILLA_M",
  "imageUrls": [
    "https://images.selfridges.com/is/image/selfridges/R04617890_VANILLA_M",
    "https://images.selfridges.com/is/image/selfridges/R04617890_VANILLA_ALT01"
  ],
  "colour": "VANILLA",
  "colours": ["VANILLA"],
  "description": "- Malina satin midi dress\n- 100% acetate\n- Concealed zip fastening\n- Regular fit, round-neck, short sleeves, gathered waist\n- Hand wash\n- True to size",
  "category": "Midi",
  "categories": ["Womens", "Dresses", "Midi"],
  "sizes": ["8", "10", "12", "14", "16"],
  "scrapedAt": "2026-09-08T20:36:16.578Z"
}
```

### Use cases

- **Price monitoring** — track Selfridges' own pricing and markdown activity across designer brands over time.
- **Sale tracking** — `onSale` and `originalPrice` flag every discounted item without a detail-page fetch.
- **Assortment research** — see which designers and products are showing up for a given search term, and in what depth of size runs.
- **Market comparison** — Selfridges is a standard UK luxury reference point alongside Harrods, NET-A-PORTER, Mytheresa and Farfetch.

### Coverage

selfridges.com is a single UK storefront, priced in GBP throughout. Selfridges ships internationally, but there is no separate country-specific storefront the way some luxury e-tailers run — this actor covers the one live site.

### Performance and cost

Search-mode listing data (name, brand, price, sale status, colours, image) comes from a single Bright Data request per 60 products — a small fraction of a cent per result. Turning on `fetchProductDetails` adds one Bright Data request per product for the richer fields (description, breadcrumb, full colour/image list, sizes) — budget for that when sizing a run. Your run's usage cost only settles after the run reports SUCCEEDED — checking cost mid-run will undercount it.

### Limitations

- There is no category-browsing mode. Selfridges' `/GB/en/cat/{slug}/` pages are CMS landing pages with a fixed ~10-item carousel, not a real listing — every bulk pull on this actor goes through site search instead.
- `sizes` lists which sizes are currently orderable, not a stock-quantity ladder — Selfridges doesn't expose per-size quantities on the product page the way some other luxury retailers (e.g. Harrods' SCAYLE platform) do.
- `department`/`division` metadata that Selfridges' own page data carries is sometimes an internal deduplication reference rather than an inline value, so it isn't surfaced in the output — `category`/`categories` (from `fetchProductDetails`) are the reliable category signal instead.
- Ratings and review counts aren't exposed on either the listing or detail pages, so they're not included in the output.
- If Selfridges restructures its search-results or product-page data shape, the actor will need updating.

### Related scrapers

If you're covering European luxury fashion more broadly, also check out:

- [Harrods Scraper](https://apify.com/studio-amba/harrods-scraper) — UK luxury department store, per-size stock
- [Liberty London Scraper](https://apify.com/studio-amba/libertylondon-scraper) — UK luxury department store
- [NET-A-PORTER Scraper](https://apify.com/studio-amba/net-a-porter-scraper) — luxury fashion, per-size stock, 20+ markets
- [Mytheresa Scraper](https://apify.com/studio-amba/mytheresa-scraper) — luxury fashion e-tail, full per-size stock

### Support

Found an issue or need a search term that isn't resolving correctly? Open an issue on this actor's Apify Store page and we'll take a look.

### Why Bright Data instead of a standard proxy

Selfridges' Cloudflare WAF returns a direct "Attention Required" block on every path from a plain connection, including `/robots.txt` itself, and even a real headless browser gets the same static block page — confirmed live. Bright Data's Web Unlocker handles that fingerprinting and challenge-solving so this actor can focus on parsing real product data instead of maintaining an anti-bot bypass.

# Actor input Schema

## `searchQuery` (type: `string`):

A free-text search term run against selfridges.com's own site search, e.g. "dior bag" or "midi dress". This is the only listing source on selfridges.com -- category pages are CMS landing pages with a fixed ~10-item carousel, not a real paginated listing. Defaults to "dress" (3000+ results) when left empty.

## `maxResults` (type: `integer`):

Maximum number of products to scrape. Hard-capped at 500 to keep a single run well under an hour even with fetchProductDetails on.

## `fetchProductDetails` (type: `boolean`):

OFF by default: results come straight from the search-results listing (name, brand, price, currency, sale status, colours, image) -- fast and cheap, one Bright Data request per 60 products. ON: fetches each product's own page too, adding full description, breadcrumb category, full colour/image list and currently orderable sizes -- at the cost of one extra Bright Data request PER PRODUCT.

## `brightDataApiKey` (type: `string`):

Bright Data API key (Web Unlocker zone) used to reach selfridges.com behind its Cloudflare WAF block. Falls back to the actor's own BRIGHT\_DATA\_API\_KEY environment variable if left empty.

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

Not used — this actor reaches selfridges.com exclusively through Bright Data Web Unlocker (Cloudflare WAF-protected, confirmed live), which handles unblocking on its own. Kept for input-shape compatibility.

## Actor input object example

```json
{
  "searchQuery": "dress",
  "maxResults": 20,
  "fetchProductDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

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

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "searchQuery": "dress",
    "maxResults": 20,
    "fetchProductDetails": false,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("studio-amba/selfridges-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 = {
    "searchQuery": "dress",
    "maxResults": 20,
    "fetchProductDetails": False,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("studio-amba/selfridges-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 '{
  "searchQuery": "dress",
  "maxResults": 20,
  "fetchProductDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call studio-amba/selfridges-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,studio-amba/selfridges-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/Ge7CTUL2ERrznVERC/builds/MUUbwjAYBbgY54Tmw/openapi.json
