# CeX Scraper - Prices, Trade-In Values & Stock (`pshivam/cex-scraper`) Actor

Scrape CeX (webuy.com) in 11 countries: sell prices, cash and voucher trade-in values, stock, grade, price history and specs for phones, games, laptops and more. Filter by category, keyword, grade, price, stock or price drops. No result cap per search. Export to Excel, CSV or API.

- **URL**: https://apify.com/pshivam/cex-scraper.md
- **Developed by:** [Shivam Prajapati](https://apify.com/pshivam) (community)
- **Categories:** E-commerce, Business
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.70 / 1,000 products

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?

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

## CeX Scraper - Prices, Trade-In Values & Stock (webuy.com)

Get **CeX prices** from [webuy.com](https://uk.webuy.com) in **11 countries**: what CeX sells each product for, what it pays in **cash and voucher trade-in**, stock online and **in which stores**, condition grade, price history and specs, for **over 1.6 million** second-hand phones, games, laptops, cameras, consoles and films. Search like on CeX, filter by department, category, grade, price, stock or price drops, sort the results, with **no 50-result cap**, and export to Excel, CSV, JSON or the API.

**Actively maintained.** Last update: 2026-11-04. Every release passes 180+ automated tests on saved CeX data plus a check against the live site, and Apify test-runs it every day.

### What can you use it for?

- **Reselling and arbitrage.** Compare CeX's cash and voucher prices with what a product sells for elsewhere, or the same product between stores and countries.
- **Trade-in price tracking.** See what CeX pays for every iPhone, Galaxy, console or laptop today, and schedule a daily run to follow it.
- **Price drop alerts.** Get only products whose price just fell, with the old price, the new price and the date.
- **Local stock finder.** Know which CeX stores have a product, and how many units are online.
- **Used-market research.** Real second-hand prices by grade, model and capacity across thousands of products.

### What data do you get?

| Field | What it is |
|---|---|
| `productId` | CeX product id, e.g. `SAPPI13M256GMUNLB` |
| `title` | Product name |
| `url` | Product page |
| `country` | Store: `uk`, `ie`, `es`, `pt`, `it`, `pl`, `ic`, `au`, `my`, `in` or `mx` |
| `currency` | Currency of the prices: GBP, EUR, PLN, AUD, MYR, INR or MXN |
| `department` / `category` | As the site shows them, e.g. Phones / iPhone 13 |
| `grade` | Condition grade A, B or C, when the product has one |
| `sellPrice` | What CeX sells it for |
| `cashPrice` | What CeX pays in cash when you trade it in |
| `exchangePrice` | What CeX pays in store voucher when you trade it in |
| `previousPrice` | Sell price before the last price change |
| `firstPrice` | CeX's first sell price for this product |
| `priceChange` | `sellPrice` minus `previousPrice`: negative = the price dropped |
| `priceChangedAt` | Date of the last price change |
| `cexMargin` | `sellPrice` minus `cashPrice`: CeX's gross margin |
| `inStock` | `true` if it's in stock online or in a store |
| `inStockOnline` | `true` if it can be bought online now |
| `stockQuantity` | Units in stock online |
| `storeCount` | Number of stores that have it |
| `stores` | Names of the stores that have it |
| `firstInStockAt` | Date CeX first had it in stock |
| `popularity` | CeX's popularity score |
| `rating` | Customer rating out of 5 |
| `manufacturer` | Manufacturer |
| `specs` | Everything else CeX lists: network, capacity, colour, RAM, CPU, genre, PEGI, ... |
| `productLines` | CeX's product lines, e.g. Smartphones, iPhones |
| `imageUrl` | Large product image |
| `scrapedAt` | When it was scraped (UTC) |

#### Example result

```json
{
  "productId": "SAPPI13128GMUNLB",
  "title": "Apple iPhone 13 128GB Midnight, Unlocked B",
  "url": "https://uk.webuy.com/product-detail/?id=SAPPI13128GMUNLB",
  "country": "uk",
  "currency": "GBP",
  "department": "Phones",
  "category": "iPhone 13",
  "grade": "B",
  "sellPrice": 280,
  "cashPrice": 123,
  "exchangePrice": 159,
  "previousPrice": 300,
  "firstPrice": 695,
  "priceChange": -20,
  "priceChangedAt": "2026-03-25",
  "cexMargin": 157,
  "inStock": true,
  "inStockOnline": true,
  "stockQuantity": 30,
  "storeCount": 312,
  "stores": ["London - W1 Tottenham Crt Rd", "Birmingham", "Leeds", "..."],
  "firstInStockAt": "2021-09-29",
  "rating": 4.7,
  "manufacturer": "Apple",
  "specs": {"Phone Model": "iPhone 13", "Network": "Unlocked", "Capacity": "128GB", "Phone Colour": "Midnight"}
}
```

### How to use it

1. Type a **Search** like on CeX (e.g. `iphone 13`), or pick **Departments / categories**, or both.
2. Optionally pick **Countries**, **Grades**, a price range, **In stock only**, **Price drops only** and a **Sort** order.
3. Set **Maximum products**, click **Start**, and download the results.

With several countries, *Maximum products* is shared fairly between them.

#### Input options

| Option | What it does |
|---|---|
| `keyword` | What you'd type in CeX's search box, e.g. `iphone 13`, `ps5`, `macbook pro`. Empty = every product |
| `countries` | CeX stores to search in one run (empty = United Kingdom) |
| `categories` | A department (Phones, Gaming, Computing, Electronics, Film & TV), a category (iPhone 13, Laptops - Windows) or one word that matches every category with it (iPhone). Names are in the store's language, e.g. Moviles - Android in Spain |
| `grades` | Only condition grades A, B or C |
| `minPrice` / `maxPrice` | Sell price range, in the store's currency |
| `inStockOnly` | Only products in stock online or in a store |
| `priceDropsOnly` | Only products whose price is below their previous price |
| `sort` | Best match, price low to high, price high to low, most popular or best rated |
| `startUrls` | CeX product pages from any store, returned as given |
| `onlyNew` | Skip products that earlier runs of the same search returned: you get and pay only for ones you haven't had (the first run works as usual) |
| `maxItems` | Stop after this many products |
| `maxConcurrency` | Requests made at the same time (keep low to be polite) |

### How much does it cost?

You pay **$0.90 per 1,000 products** returned (plus a tiny $0.00005 per run start). Platform usage is included.

| Products | Cost |
|---|---|
| 100 | $0.09 |
| Every iPhone 13 in the UK (~360) | about $0.33 |
| 10,000 | $9.00 |
| Every Android phone in the UK (~27,000) | about $24 |

Apify's free plan gives you $5 of credit every month: that's about 5,500 products. Set a spending limit on any run and the scraper stops exactly there.

### Use it via API, on a schedule, or with your tools

- **Schedule it** daily or weekly to track prices, trade-in values and stock.
- **Only new products:** turn it on in a scheduled run or task and each run returns only products you haven't had yet.
- **Integrations:** send results to Google Sheets, Slack, e-mail, Zapier, Make or a webhook.
- **API:** run it from your own code and download results as JSON, CSV or Excel.

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("pshivam/cex-scraper").call(run_input={"keyword": "iphone 13", "grades": ["A"], "maxItems": 200})
for product in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(product["title"], product["sellPrice"], product["cashPrice"], product["storeCount"])
```

#### Use it in Clay, n8n, Make or Zapier

Actor: `pshivam/cex-scraper`. Paste this input and change the filters to yours:

```json
{"countries": ["uk"], "keyword": "iphone 13", "inStockOnly": true, "maxItems": 500}
```

- **Clay:** create a table from an **Apify** source to pull in the results of a scheduled run of this Actor (it refreshes every 24 hours by default), or use the **Run Apify Actor** enrichment and paste the input.
- **n8n:** add the **Apify** node, choose **Run Actor and get dataset items**, pick this Actor and paste the input.
- **Make:** use **Run an Actor** with *Run synchronously* on, then **Get Dataset Items** with the run's dataset ID.
- **Zapier:** schedule this Actor in Apify, then use the **Finished Actor Run** trigger and **Fetch Dataset Items**.

### Good to know

- **It searches like CeX's own website**, with the same search and the same results, up to 250 products per request.
- **No 50-result cap.** CeX's search serves 1,000 products per search, so bigger searches are read in parts (by category, then by price range) and you get everything. A group of over 2,000 products in one category at one exact price (e.g. £1 DVDs) is read from both ends of the alphabet: up to 2,000 of it.
- **Each store has its own names and ids.** Category names are in the store's language, and a product can have a different id in another store.
- **Sorting** holds within each part of a very big search (over 1,000 products).

### This scraper vs. the alternatives

| | This scraper | Other CeX scrapers | Checking CeX by hand |
|---|---|---|---|
| Results per search | No cap | Often 50 per keyword | One page at a time |
| Countries | All 11 in one run | Usually one per run | One site at a time |
| Stores that have it | Names and count | - | One product at a time |
| Price history and price drops | Previous and first price, date, drop filter | Partly | - |
| Filters | Category, grade, price, stock, sort | Keyword and price | By hand |
| Only new products each day | Built in (`onlyNew`) | - | Compare lists yourself |
| Cost | $0.90 per 1,000 products | From $1.00 per 1,000 | Your time |

### FAQ

#### What is CeX?

CeX (webuy.com) is a chain of second-hand stores that buys and sells phones, games, laptops, cameras, consoles and films, in 11 countries here including the UK, Ireland, Spain, Portugal, Italy, Poland, Australia, India, Malaysia and Mexico.

#### How many products are there?

Over 1.6 million across all stores, about 590,000 of them in the UK.

#### How much does it cost?

$0.90 per 1,000 products (platform usage included), so 100 products cost $0.09 and every iPhone 13 in the UK about $0.33.

#### What is the difference between cash and exchange price?

`cashPrice` is what CeX pays you in cash for a product, `exchangePrice` what it pays in store voucher (higher), and `sellPrice` what it sells it for.

#### How do I find price drops?

Turn on **Price drops only**: you get products whose `sellPrice` is below `previousPrice`, with `priceChange` and `priceChangedAt`.

#### Can I see which store has a product?

Yes. `stores` lists the CeX stores that have it in stock and `storeCount` counts them; `inStockOnline` and `stockQuantity` cover the website.

#### How do I get only new products every day?

Save your search as a task, turn on **Only new products** and schedule it daily. Each run then skips the products earlier runs returned, so you get and pay only for ones you haven't had. Tip: set *Maximum products* above the number of products your search has, so the first run gets them all and later runs return just the new ones.

#### Is it legal to scrape CeX?

This scraper reads public product data through the same search CeX's website uses, at a polite speed, and collects no personal data. You are responsible for how you use the data; check the site's terms for your use case.

### More scrapers

- [Trade Show Scraper - Worldwide Trade Fair Calendar](https://apify.com/pshivam/trade-show-scraper): trade shows and exhibitions worldwide with dates, venue, city, country, industries and the official website.
- [BusinessBroker.net Scraper - Businesses for Sale](https://apify.com/pshivam/businessbroker-net-scraper): US businesses for sale with asking price, revenue, cash flow and location.
- [Daltons Business Scraper - Businesses for Sale UK](https://apify.com/pshivam/daltons-business-scraper): UK businesses for sale with asking price, leasehold or freehold, turnover, net profit and location.
- [DealSeek Scraper - Amazon Deals & Promo Codes](https://apify.com/pshivam/dealseek-scraper): Amazon, Walmart and eBay deals in 8 countries with final prices, verified promo codes, coupons and price history.

# Actor input Schema

## `countries` (type: `array`):

CeX stores to search, in one run. Empty = United Kingdom. Prices are in each store's currency.

## `keyword` (type: `string`):

What you'd type in CeX's search box, e.g. "iphone 13", "ps5" or "macbook pro". Empty = every product.

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

Only these departments (Phones, Gaming, Computing, Electronics, Film & TV) or categories (iPhone 13, Switch Games, Laptops - Windows). One word matches every category with it (iPhone). Names are in the store's language, e.g. 'Moviles - Android' in Spain.

## `grades` (type: `array`):

Only these condition grades (A is the best). Products without a grade, like most games and films, are left out when you use this.

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

Skip products CeX sells for less, in the store's currency.

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

Skip products CeX sells for more, in the store's currency.

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

Only products in stock online or in a store.

## `priceDropsOnly` (type: `boolean`):

Only products whose sell price is below their previous price.

## `sort` (type: `string`):

Order of the results, as on CeX. Searches over 1,000 products are read in parts, and the order holds within each part.

## `startUrls` (type: `array`):

Optional: CeX product pages from any store, e.g. https://uk.webuy.com/product-detail/?id=SAPPI13M256GMUNLB, returned as given (the filters above don't apply to them).

## `onlyNew` (type: `boolean`):

Skip products that earlier runs of this same search already returned, so you never get or pay for the same product twice. Turn it on for a scheduled run or a saved task to get only what's new each time. The first run works as usual and remembers what it returned, in your key-value store 'cex-scraper-only-new' (delete it to start over).

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

Stop after this many products. You are charged per product.

## `maxConcurrency` (type: `integer`):

Requests made at the same time. Keep it low to be polite to the website.

## Actor input object example

```json
{
  "countries": [
    "uk"
  ],
  "keyword": "iphone 13",
  "inStockOnly": false,
  "priceDropsOnly": false,
  "sort": "relevance",
  "onlyNew": false,
  "maxItems": 100,
  "maxConcurrency": 4
}
```

# Actor output Schema

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

One row per product, shown with the overview view.

## `prices` (type: `string`):

Sell, previous and first price, price change and trade-in values for comparing.

## `runStats` (type: `string`):

Requests made, time spent and number of products for this run (RUN_STATS record).

# 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 = {
    "countries": [
        "uk"
    ],
    "keyword": "iphone 13",
    "maxItems": 100
};

// Run the Actor and wait for it to finish
const run = await client.actor("pshivam/cex-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 = {
    "countries": ["uk"],
    "keyword": "iphone 13",
    "maxItems": 100,
}

# Run the Actor and wait for it to finish
run = client.actor("pshivam/cex-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 '{
  "countries": [
    "uk"
  ],
  "keyword": "iphone 13",
  "maxItems": 100
}' |
apify call pshivam/cex-scraper --silent --output-dataset

```

## MCP server setup

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