# Ebuyer Scraper (`crawlerbros/ebuyer-scraper`) Actor

Scrape ebuyer.com - the UK technology retailer - for laptops, PC components, monitors, peripherals, networking and more. Search by keyword, browse by category or brand, or fetch product pages by URL, with prices, was-prices, EAN/MPN, specs, ratings, stock status and image galleries.

- **URL**: https://apify.com/crawlerbros/ebuyer-scraper.md
- **Developed by:** [Crawler Bros](https://apify.com/crawlerbros) (community)
- **Categories:** Automation, E-commerce, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 1,000 results

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

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#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

## Ebuyer Scraper

Scrape **ebuyer.com** — the UK's technology retailer — for laptops, PC components, monitors, peripherals, networking, storage and more. Search by keyword, browse by category or brand, or fetch full product pages by URL, with prices in GBP, was-prices, EAN/MPN, category-specific specs, ratings, stock status and image galleries. No login, no cookies, no proxy required.

### What this actor does

- **Four modes:** `search`, `browseByCategory`, `browseByBrand`, `byUrl`
- **Full product detail:** description, EAN/MPN/SKU, spec map, price + was-price, price per unit, member price, stock level
- **Filters:** category, brand, min/max price (GBP), min rating, in-stock only, must-contain keyword
- **Sorting:** relevance, price low→high, price high→low, newest first, biggest discount
- **Image galleries:** main + alternate image URLs (verified publicly accessible)
- **Empty fields are omitted**

### Data Source

ebuyer.com — the UK's technology retailer. The actor reads Ebuyer's public product search API (Algolia) and the public product detail pages. No account or API key required; the optional proxy is only engaged automatically if a 403/429 block is detected.

### Output per product

- `productId`, `colourVariantId`, `sku`, `ean`, `mpn`, `modelNumber`
- `name`, `productNameWithoutBrand`, `brand`, `brandGroup`, `brandTier`
- `price`, `priceCurrency` (always `GBP`), `wasPrice`, `discountPercentage`, `discountValue`, `priceBand`, `pricePerUnit`, `memberPrice`
- `rating`, `reviewCount` (only when the source has ratings)
- `categoryPath` (web category → category → subcategory), `category`, `webCategory`, `categoryId`, `rankedCategory`
- `specs` — category-specific spec map (processor, memory, screen size, graphics, operating system, resolution, warranty, and more, when present)
- `availability` (`InStock` / `OutOfStock` / `PreOrder`), `inventoryLevel`
- `description` (in `byUrl` mode and when detail fetching is on)
- `variants[]` — size/colour variants with `variantId`, `inventory`, `price`, `wasPrice`, `discountPercentage`
- `mainImageUrl`, `altImageUrl`, `imageUrls[]`
- `productUrl`, `sourceUrl`, `scrapedAt`, `recordType: "product"`
- `newIn`, `firstSaleDate`, `createDate`, `lastModified`, `todayOrders`, `searchRanking`

### Input

| Field | Type | Default | Description |
|---|---|---|---|
| `mode` | string | `search` | `search` / `browseByCategory` / `browseByBrand` / `byUrl` |
| `searchQuery` | string | `laptop` | Free-text keyword (mode=search) |
| `category` | select | `Laptops` | Curated category (mode=browseByCategory; filter for mode=search) |
| `brand` | select | `Apple` | Curated top brands (mode=browseByBrand; filter for mode=search) |
| `productUrls` | array | – | Ebuyer product page URLs (mode=byUrl) |
| `minPrice` | int | `0` | Minimum price in GBP |
| `maxPrice` | int | `0` | Maximum price in GBP |
| `minRating` | number | `0` | Minimum average customer rating (0–5) |
| `containsKeyword` | string | – | Only products whose name contains this substring |
| `inStockOnly` | boolean | `false` | Only in-stock products |
| `sortBy` | select | `relevance` | `relevance` / `priceAsc` / `priceDesc` / `newestFirst` / `biggestDiscount` |
| `fetchProductDetails` | boolean | `true` | Visit each product page to add description, EAN, stock level and full image gallery |
| `maxItems` | int | `50` | Hard cap (1–1000) |
| `proxyConfiguration` | object | AUTO | Optional; used automatically only if Ebuyer blocks the datacenter IP |

#### Example: keyword search with filters

```json
{
  "mode": "search",
  "searchQuery": "gaming",
  "category": "Laptops",
  "minPrice": 500,
  "maxPrice": 2000,
  "sortBy": "priceAsc",
  "maxItems": 25
}
```

#### Example: browse a category

```json
{
  "mode": "browseByCategory",
  "category": "Graphics Cards",
  "brand": "ASUS",
  "minPrice": 300,
  "maxPrice": 700,
  "maxItems": 50
}
```

#### Example: browse a brand

```json
{
  "mode": "browseByBrand",
  "brand": "Logitech",
  "sortBy": "biggestDiscount",
  "maxItems": 100
}
```

#### Example: fetch products by URL

```json
{
  "mode": "byUrl",
  "productUrls": [
    "https://www.ebuyer.com/entity-book-15-156-inch-laptop---intel-celeron-n4020-758621",
    "https://www.ebuyer.com/asus-asus-dual-geforce-rtx-5060-ti-8gb-gddr7-oc-edition-705966"
  ]
}
```

### Limitations

- **Fields are emitted only when the source has them** — `rating`/`reviewCount` only appear when Ebuyer has published reviews, `ean` only when a valid EAN exists, and `wasPrice` only when there is an actual discount.
- **Full detail needs a page visit** — `description`, `inventoryLevel` and the full image gallery come from the product page; they appear in `byUrl` mode and in other modes when `fetchProductDetails` is on (default `true`, at the cost of one page request per product).
- **UK-only catalog, GBP prices** — Ebuyer sells to UK customers; all prices are in GBP (`priceCurrency` is always `GBP`).
- **Variants are separate records' fields, not separate rows** — size/colour variants are nested in `variants[]` on the parent product record.
- **Image URLs require no referer** — gallery images are hosted on Ebuyer's public CDN and resolve directly.

### Use cases

- **Price monitoring** — track Ebuyer prices and discounts on laptops, GPUs, monitors and components
- **E-commerce research** — build UK tech product datasets with EAN/MPN and category taxonomies
- **Stock intelligence** — monitor availability and inventory levels for hard-to-find components
- **Competitive analysis** — compare Ebuyer's catalogue and pricing against other UK retailers
- **Content enrichment** — product descriptions, specs and image galleries for your own catalogue

### FAQ

**What is the data source?** Ebuyer's public product search API (Algolia) and the public product detail pages. No account or API key is required.

**How fresh is the data?** Product listings and prices are near real-time — the search index is updated continuously throughout the day.

**Why are some fields missing on some products?** Empty fields are omitted. For example, `rating`/`reviewCount` only appear when Ebuyer has published reviews for the product, `ean` only when a valid EAN exists, and `wasPrice` only when there is an actual discount.

**What does `pricePerUnit` mean?** The price per unit as published by Ebuyer on the product page (it differs from the selling price for multi-pack or bundle items).

**Does this actor work without a proxy?** Yes. Ebuyer is publicly accessible; the optional proxy is only engaged automatically if a 403/429 block is detected.

**Are the image URLs accessible?** Yes — image URLs are hosted on ebuyer.com's public CDN and resolve directly with no referrer or cookies.

**Is this actor affiliated with Ebuyer?** No, this is a third-party actor using the public website and its public search API.

**How much does it cost to run?** The default `maxItems` of 50 runs in well under a minute. Larger runs with `fetchProductDetails: true` visit one page per product, so budget accordingly.

# Actor input Schema

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

What to fetch.

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

Free-text keyword (mode=search). Matches product names, brands, and categories.

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

Curated product category (mode=browseByCategory; optional filter for mode=search).

## `brand` (type: `string`):

Curated top brands (mode=browseByBrand; optional filter for mode=search).

## `productUrls` (type: `array`):

Ebuyer product page URLs (mode=byUrl), e.g. https://www.ebuyer.com/asus-asus-dual-geforce-rtx-5060-ti-8gb-gddr7-oc-edition-705966

## `minPrice` (type: `integer`):

Only products priced at or above this amount (GBP).

## `maxPrice` (type: `integer`):

Only products priced at or below this amount (GBP).

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

Only products with an average customer rating at or above this value (0-5).

## `containsKeyword` (type: `string`):

Only products whose name contains this substring (case-insensitive).

## `inStockOnly` (type: `boolean`):

Only include products currently in stock.

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

Sort order for returned products.

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

For listing modes: visit each product page to add description, EAN, stock level, and full image gallery. Disable for faster bulk runs.

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

Maximum number of product records to return.

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

Optional. Used automatically only if Ebuyer blocks the datacenter IP (403/429). Leave at default.

## Actor input object example

```json
{
  "mode": "search",
  "searchQuery": "laptop",
  "category": "Laptops",
  "brand": "Apple",
  "productUrls": [
    "https://www.ebuyer.com/asus-asus-dual-geforce-rtx-5060-ti-8gb-gddr7-oc-edition-705966"
  ],
  "minPrice": 0,
  "maxPrice": 0,
  "minRating": 0,
  "inStockOnly": false,
  "sortBy": "relevance",
  "fetchProductDetails": true,
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `products` (type: `string`):

Dataset containing all scraped Ebuyer product records.

# 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",
    "searchQuery": "laptop",
    "category": "Laptops",
    "brand": "Apple",
    "productUrls": [
        "https://www.ebuyer.com/asus-asus-dual-geforce-rtx-5060-ti-8gb-gddr7-oc-edition-705966"
    ],
    "minPrice": 0,
    "maxPrice": 0,
    "minRating": 0,
    "inStockOnly": false,
    "sortBy": "relevance",
    "fetchProductDetails": true,
    "maxItems": 10,
    "proxyConfiguration": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlerbros/ebuyer-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",
    "searchQuery": "laptop",
    "category": "Laptops",
    "brand": "Apple",
    "productUrls": ["https://www.ebuyer.com/asus-asus-dual-geforce-rtx-5060-ti-8gb-gddr7-oc-edition-705966"],
    "minPrice": 0,
    "maxPrice": 0,
    "minRating": 0,
    "inStockOnly": False,
    "sortBy": "relevance",
    "fetchProductDetails": True,
    "maxItems": 10,
    "proxyConfiguration": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("crawlerbros/ebuyer-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",
  "searchQuery": "laptop",
  "category": "Laptops",
  "brand": "Apple",
  "productUrls": [
    "https://www.ebuyer.com/asus-asus-dual-geforce-rtx-5060-ti-8gb-gddr7-oc-edition-705966"
  ],
  "minPrice": 0,
  "maxPrice": 0,
  "minRating": 0,
  "inStockOnly": false,
  "sortBy": "relevance",
  "fetchProductDetails": true,
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}' |
apify call crawlerbros/ebuyer-scraper --silent --output-dataset

```

## MCP server setup

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