# Debenhams Scraper — UK Department Store Prices & Stock (`studio-amba/debenhams-scraper`) Actor

Scrape product data from debenhams.com, the relaunched UK department-store brand. Extract names, brands, prices, sizes, categories, ratings and images via Debenhams' own product search API.

- **URL**: https://apify.com/studio-amba/debenhams-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

## Debenhams Scraper

Pull product data from debenhams.com, the relaunched UK department-store brand (now owned by Boohoo Group, online-only). This scraper talks directly to Debenhams' own product search API, so it returns clean, structured data -- brand, price, sizes, category, images -- without any HTML parsing or browser rendering.

### How to scrape Debenhams data

Give the actor a search term in English (e.g. `"dress"`, `"trainers"`, `"handbag"`, `"sofa"`) and it queries Debenhams' search endpoint directly, paginating until it hits `maxResults` or runs out of matching products. There's nothing to configure beyond the search term -- no category URLs to hunt down, no pagination logic to babysit.

Under the hood, Debenhams' storefront (a Remix app, same platform Boohoo Group runs across its brands) doesn't render product listings server-side -- the page shell loads first, then the browser fetches results client-side from Debenhams' Bloomreach Discovery search index. This actor calls that same public JSON API directly instead of waiting on a browser to render and hydrate the page, which makes it faster and far less likely to break when Debenhams tweaks its frontend markup.

If you don't provide any input, it defaults to searching for `"dress"` as a demo.

#### Optional: full product-detail enrichment

By default the actor only reads Debenhams' listing/search index, which covers name, brand, price, sizes, category and images. Turn on `fetchProductDetails` to additionally visit each product's own page and pull fields the listing index doesn't expose: the strike-through "was" price, a more reliable in-stock signal for the exact colour/size shown in the URL, star rating, review count, and the full breadcrumb category path (e.g. `Womens > Womens Clothing > Dresses > Summer Dresses`). This adds one extra request per product, so `maxResults` is automatically capped at 200 whenever it's on -- keep it off for large, fast catalogue pulls, turn it on for smaller, richer ones. The listing search itself has no anti-bot and uses the standard Apify proxy either way; product detail pages on debenhams.com do have bot protection, so this actor automatically routes those specific requests through a residential proxy when `fetchProductDetails` is on -- no extra configuration needed from you.

### Input

| Field | Type | Description |
|-------|------|-------------|
| `searchQuery` | string | Search term, in English (e.g. `"trainers"`, `"handbag"`, `"cushion"`) |
| `maxResults` | integer | Cap on number of products returned (default: 100) |
| `fetchProductDetails` | boolean | OFF by default. When ON, fetches each product's detail page for originalPrice, a more accurate inStock signal, rating, reviewCount, and full breadcrumb categories. Adds one extra request per product -- `maxResults` is capped at 200 when enabled |
| `proxyConfiguration` | object | Apify proxy settings. Debenhams' product search API has no anti-bot protection, so the default Apify proxy is sufficient -- no residential proxy needed |

### What you get back

| Field | Type | Example |
|-------|------|---------|
| `name` | string | `"Belted Crepe Dress"` |
| `brand` | string | `"Coast"` |
| `price` | number | null | `107.10` |
| `originalPrice` | number | null | `119.00` (only with `fetchProductDetails`) |
| `currency` | string | `"GBP"` |
| `sku` | string | `"BCC12411"` |
| `productId` | string | `"BCC12411"` |
| `inStock` | boolean | null | `true` (null only if the source gives no availability signal) |
| `sizes` | array | Available size labels, e.g. `["8", "10", "12", "14", "16", "18"]` |
| `url` | string | Full product page URL |
| `imageUrl` | string | null | Primary product image |
| `imageUrls` | array | All product images (across colour variants) |
| `category` | string | null | `"Midi Dress"` |
| `categories` | array | null | Full breadcrumb path, e.g. `["Womens", "Womens Clothing", "Dresses", "Summer Dresses"]` (only with `fetchProductDetails`) |
| `description` | string | null | Plain-text product description |
| `rating` | number | null | `3.33` on a 1-5 scale (only with `fetchProductDetails`) |
| `reviewCount` | integer | null | `3` (only with `fetchProductDetails`) |
| `scrapedAt` | string | ISO timestamp |
| `searchQuery` | string | The search term used to find this product (input echo) |

### Sample output

```json
{
  "name": "Belted Crepe Dress",
  "brand": "Coast",
  "price": 107.10,
  "originalPrice": null,
  "currency": "GBP",
  "sku": "BCC12411",
  "productId": "BCC12411",
  "inStock": true,
  "sizes": ["8", "10", "12", "14", "16", "18"],
  "url": "https://www.debenhams.com/product/coast-belted-crepe-dress_bcc12411?colour=dusty%20rose&size=18",
  "imageUrl": "https://mediahub.debenhams.com/bcc12411_dusty%20rose_xl.jpg",
  "imageUrls": [
    "https://mediahub.debenhams.com/bcc12411_dusty%20rose_xl.jpg",
    "https://mediahub.debenhams.com/bcc12411_dusty%20rose_xl_1",
    "https://mediahub.debenhams.com/bcc12411_dusty%20rose_xl_2"
  ],
  "category": "Midi Dress",
  "categories": null,
  "description": "Elegant crepe midi dress with sophisticated V-neckline. Flattering wrap-effect bodice with statement belt detail...",
  "rating": null,
  "reviewCount": null,
  "scrapedAt": "2026-09-08T10:12:00.000Z",
  "searchQuery": "dress"
}
```

### Use cases

- **Price monitoring** -- track Debenhams' price changes over time on the styles you sell against, including "was" price when enrichment is on.
- **Assortment research** -- Debenhams stocks a wide mix of third-party fashion, home, beauty and electricals brands (Coast, and hundreds of others) under one department-store roof; see which brands and categories it's carrying at what price points.
- **Size and stock tracking** -- `sizes` shows which sizes are currently listed as available for a given style.
- **Rating and review tracking** -- turn on `fetchProductDetails` to pull star ratings and review counts for popularity/quality signals across a category.
- **Market comparison** -- as a relaunched, online-only multi-category retailer, Debenhams is a useful comparison point against Next, Boohoo, and other UK department-store or fast-fashion retailers.

### Coverage

v1 covers the UK flagship storefront (`www.debenhams.com`, GBP pricing).

### Performance and cost

The scraper hits Debenhams' Bloomreach Discovery search API directly -- no browser rendering, no HTML parsing -- so it's fast in default mode. A run of 100 products typically completes in well under 10 seconds. With `fetchProductDetails` enabled, each product costs one extra HTTP request, so a 200-product enriched run takes noticeably longer (typically 1-2 minutes at the actor's built-in concurrency limit). This actor charges $0.005 per run (start fee) plus $0.002 per result -- a 100-product run costs about $0.205. Your run's usage cost only settles after the run reports SUCCEEDED -- checking cost mid-run will undercount it.

### Limitations

- English-language keyword search only, matching Debenhams' own on-site search. It does not accept direct category or product URLs.
- No explicit stock-quantity field is exposed by the search API -- `sizes` lists which sizes are currently returned as available, and `inStock` is derived from whether that list is non-empty. It's never coerced to `false`: if the source gives no signal either way, `inStock` comes back `null`.
- `originalPrice`, `categories` (full breadcrumb), `rating` and `reviewCount` are only populated when `fetchProductDetails` is enabled -- the default listing-only mode doesn't have these fields available.
- v1 targets the UK flagship catalogue (GBP) only.

### Related scrapers

If you're covering UK and European fashion/department-store retail more broadly, also check out:

- [Boohoo Scraper](https://apify.com/studio-amba/boohoo-scraper) -- UK fast-fashion retailer, same underlying platform
- [Next Co UK Scraper](https://apify.com/studio-amba/next-co-uk-scraper) -- UK multi-brand fashion retailer
- [New Yorker Scraper](https://apify.com/studio-amba/newyorker-scraper) -- German youth-fashion chain
- [Boots Scraper](https://apify.com/studio-amba/boots-scraper) -- UK health, beauty and lifestyle retail

### Support

Found an issue or need a different locale covered? Open an issue on this actor's Apify Store page and we'll take a look.

# Actor input Schema

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

Search term to find products on debenhams.com (English, e.g. "dress", "trainers", "handbag")

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

Maximum number of products to scrape

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

OFF by default. When ON, fetches each product's detail page for extra fields not in the listing API: originalPrice (strikethrough "was" price), a more accurate inStock signal, rating, reviewCount, and the full breadcrumb category path. Adds one extra HTTP request per product, so maxResults is automatically capped at 200 when this is enabled.

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

Apify proxy configuration. Debenhams' product search API has no anti-bot protection (verified live), so the default Apify proxy is sufficient.

## Actor input object example

```json
{
  "searchQuery": "dress",
  "maxResults": 100,
  "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": 100,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

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

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

```

## MCP server setup

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