CeX API

Used electronics with all three prices, including the two CeX pays you

CeX API returns live CeX data as clean JSON for cex The primary endpoint, search, returns matching records including box id, title, price sell, price cash and price exchange.

no credit card1,000 free credits · instant API key · pay by card or crypto
Missing a CeX endpoint, or need a source we don't have yet?Contact us real people · same-day reply.
C
/cex/v1

5 active endpoints. Every call is 1 credit.

  • POST/cex/v1/search
  • POST/cex/v1/product
  • POST/cex/v1/store_stock
  • POST/cex/v1/stores
  • POST/cex/v1/taxonomy

What CeX endpoints does ReefAPI ship?

5 live read endpoints. Read-only data API: no writes, no account actions, no dashboard access on the target site.

5 endpoints

search

1 cr

Search the CeX catalogue of one country.

required
—
optional
query, country, category, supercategory, product_line, brand, condition, grade, store, availability, price_min, price_max, sort, page, page_size

product

1 cr

One CeX product in full.

required
box_id
optional
country

store_stock

1 cr

Live per-shop stock for one product across the whole CeX store network.

required
box_id
optional
country

stores

1 cr

The CeX shop network of one country.

required
—
optional
country, store_id

taxonomy

1 cr

The CeX browse tree of one country.

required
—
optional
country, supercategory_id

Every parameter, every allowed value →

CeX API

5 of 5 endpoints, ready to run

View docs ↗

Search CeX's catalogue in any of nine countries by keyword, category, supercategory, product line or brand. Every row carries three prices: what you pay, what CeX pays you in cash, and what it pays in voucher. Online stock and the number of shops holding the item come with it. Measured 2026-10-01: an iphone search returns 14,450 items and narrowing to a category takes it to 80.

1 credit0 required · 6 optional
POST/cex/v1/search
oksample
{
  "ok": true,
  "data": {
    "results": [
      {
        "box_id": "SPS5D825GBW003",
        "title": "Playstation 5 Digital Edition Console, 825GB, White, Discounted",
        "url": "https://uk.webuy.com/product-detail?id=SPS5D825GBW003",
        "currency": "GBP",
        "category": "Playstation5 Consoles",
        "category_id": 1143,
        "product_lines": [
          "Gaming Consoles",
          "PlayStation 5"
        ],
        "supercategory": "Gaming",
        "brand": null,
        "condition": "Discounted",
        "grade": null,
        "rating": null,
        "image": "https://uk.static.webuy.com/product_images/Gaming/Playstation5 Consoles/SPS5D825GBW003_l.jpg",
        "images": {
          "small": "https://uk.static.webuy.com/product_images/Gaming/Playstation5 Consoles/SPS5D825GBW003_s.jpg",
          "medium": "https://uk.static.webuy.com/product_images/Gaming/Playstation5 Consoles/SPS5D825GBW003_m.jpg",
          "large": "https://uk.static.webuy.com/product_images/Gaming/Playstation5 Consoles/SPS5D825GBW003_l.jpg"
        },
        "in_stock_online": true,
        "stock_online": 30,
        "in_stock_in_store": true,
        "store_count": 283,
        "stores": [
          "London - W1 Tottenham Crt Rd",
          "Birmingham",
          "Watford"
        ],
        "collection_stores": [
          "Aberdeen",
          "Accrington",
          "Acocks Green"
        ],
        "collection_quantity": 30,
        "availability": [
          "In Stock In Store",
          "In Stock Online"
        ],
        "out_of_stock_stores": [
          "London - W1 Rathbone Place",
          "WeBuy Central",
          "RMA CENTRE"
        ],
        "out_of_stock_store_count": 137,
        "is_new_item": false,
        "discontinued": false,
        "price_last_changed": "2026-09-23T02:00:03",
        "master_box_id": "0",
        "attributes": {
          "Item": "Sony Playstation 5",
          "Edition": "Digital Edition",
          "Storage": "825GB",
          "Meta Title": "Second Hand PlayStation 5 - Great Value at CeX",
          "Model Name": "Playstation 5",
          "Main Colour": "White",
          "Meta Keywords": "second hand playstation 5",
          "Console Colour": "White",
          "Meta Description": "Get a second hand PlayStation 5 at an unbeatable price. Reliable, tested, and ready for next-gen gaming. Shop at CeX today.",
          "Number of Controllers": "1"
        },
        "country": "uk",
        "price_sell": 455,
        "price_cash": 291,
        "price_exchange": 336,
        "previous_price_sell": 435,
        "first_price_sell": 340,
        "price_reduced": false,
        "cash_percent_of_sell": 64,
        "exchange_percent_of_sell": 74,
        "sells_this_item": true,
        "buys_this_item": true
      },
      {
        "box_id": "SPS5825GBW003",
        "title": "Playstation 5 Console, 825GB, White, Discounted",
        "url": "https://uk.webuy.com/product-detail?id=SPS5825GBW003",
        "currency": "GBP",
        "category": "Playstation5 Consoles",
        "category_id": 1143,
        "product_lines": [
          "Gaming Consoles",
          "PlayStation 5"
        ],
        "supercategory": "Gaming",
        "brand": null,
        "condition": "Discounted",
        "grade": null,
        "rating": null,
        "image": "https://uk.static.webuy.com/product_images/Gaming/Playstation5 Consoles/SPS5825GBW003_l.jpg",
        "images": {
          "small": "https://uk.static.webuy.com/product_images/Gaming/Playstation5 Consoles/SPS5825GBW003_s.jpg",
          "medium": "https://uk.static.webuy.com/product_images/Gaming/Playstation5 Consoles/SPS5825GBW003_m.jpg",
          "large": "https://uk.static.webuy.com/product_images/Gaming/Playstation5 Consoles/SPS5825GBW003_l.jpg"
        },
        "in_stock_online": true,
        "stock_online": 30,
        "in_stock_in_store": true,
        "store_count": 381,
        "stores": [
          "London - W1 Tottenham Crt Rd",
          "London - W1 Rathbone Place",
          "Birmingham"
        ],
        "collection_stores": [
          "Aberdeen",
          "Accrington",
          "Acocks Green"
        ],
        "collection_quantity": 30,
        "availability": [
          "In Stock In Store",
          "In Stock Online"
        ],
        "out_of_stock_stores": [
          "Penzance",
          "Melton Mowbray",
          "Truro"
        ],
        "out_of_stock_store_count": 39,
        "is_new_item": false,
        "discontinued": false,
        "price_last_changed": "2026-09-08T02:00:03",
        "master_box_id": "0",
        "attributes": {
          "Item": "Sony Playstation 5",
          "Edition": "Standard Edition",
          "Storage": "825GB",
          "Meta Title": "Used PlayStation 5 - Buy PS5 Console at CeX",
          "Model Name": "Playstation 5",
          "Main Colour": "White",
          "Meta Keywords": "used playstation 5",
          "Console Colour": "White",
          "Meta Description": "Shop used PlayStation 5 consoles at CeX. Fully tested for performance and backed by warranty. Secure your PS5 today.",
          "Number of Controllers": "1"
        },
        "country": "uk",
        "price_sell": 460,
        "price_cash": 294,
        "price_exchange": 340,
        "previous_price_sell": 440,
        "first_price_sell": 805,
        "price_reduced": false,
        "cash_percent_of_sell": 64,
        "exchange_percent_of_sell": 74,
        "sells_this_item": true,
        "buys_this_item": true
      },
      {
        "box_id": "SPS5825GBW001",
        "title": "Playstation 5 Console, 825GB, White, Boxed",
        "url": "https://uk.webuy.com/product-detail?id=SPS5825GBW001",
        "currency": "GBP",
        "category": "Playstation5 Consoles",
        "category_id": 1143,
        "product_lines": [
          "Gaming Consoles",
          "PlayStation 5"
        ],
        "supercategory": "Gaming",
        "brand": null,
        "condition": "Boxed",
        "grade": null,
        "rating": null,
        "image": "https://uk.static.webuy.com/product_images/Gaming/Playstation5 Consoles/SPS5825GBW001_l.jpg",
        "images": {
          "small": "https://uk.static.webuy.com/product_images/Gaming/Playstation5 Consoles/SPS5825GBW001_s.jpg",
          "medium": "https://uk.static.webuy.com/product_images/Gaming/Playstation5 Consoles/SPS5825GBW001_m.jpg",
          "large": "https://uk.static.webuy.com/product_images/Gaming/Playstation5 Consoles/SPS5825GBW001_l.jpg"
        },
        "in_stock_online": true,
        "stock_online": 30,
        "in_stock_in_store": true,
        "store_count": 312,
        "stores": [
          "Tooting",
          "Redditch",
          "Warrington"
        ],
        "collection_stores": [
          "Aberdeen",
          "Accrington",
          "Aldershot"
        ],
        "collection_quantity": 30,
        "availability": [
          "In Stock In Store",
          "In Stock Online"
        ],
        "out_of_stock_stores": [
          "London - W1 Rathbone Place",
          "WeBuy Central",
          "RMA CENTRE"
        ],
        "out_of_stock_store_count": 108,
        "is_new_item": false,
        "discontinued": false,
        "price_last_changed": "2026-09-08T02:00:05",
        "master_box_id": "0",
        "attributes": {
          "Item": "Sony Playstation 5",
          "Edition": "Standard Edition",
          "Storage": "825GB",
          "Meta Title": "PlayStation 5 for Sale at CeX - Buy PS5 Today",
          "Model Name": "Playstation 5",
          "Main Colour": "White",
          "Meta Keywords": "playstation 5 for sale",
          "Console Colour": "White",
          "Meta Description": "Grab a pre owned PlayStation 5 for sale at CeX. Fully tested and certified for quality. Shop the PS5 online now and enjoy immersive gaming.",
          "Number of Controllers": "1"
        },
        "country": "uk",
        "price_sell": 500,
        "price_cash": 320,
        "price_exchange": 370,
        "previous_price_sell": 480,
        "first_price_sell": 625,
        "price_reduced": false,
        "cash_percent_of_sell": 64,
        "exchange_percent_of_sell": 74,
        "sells_this_item": true,
        "buys_this_item": true
      }
    ],
    "count": 24,
    "total": 2044,
    "total_unfiltered": null,
    "page": 1,
    "page_size": 24,
    "has_more": true,
    "pagination_cap": 1000,
    "facets": {
      "category": [
        {
          "value": "Playstation5 Games",
          "count": 1662
        },
        {
          "value": "Playstation5 Controllers",
          "count": 159
        },
        {
          "value": "Playstation5 Accessories",
          "count": 143
        }
      ],
      "product_line": [
        {
          "value": "PlayStation 5",
          "count": 2044
        },
        {
          "value": "Gaming Software",
          "count": 1662
        },
        {
          "value": "Gaming Accessories",
          "count": 302
        }
      ],
      "supercategory": [
        {
          "value": "Gaming",
          "count": 2044
        }
      ],
      "brand": [
        {
          "value": "Sony",
          "count": 176
        },
        {
          "value": "Razer",
          "count": 20
        },
        {
          "value": "Hori",
          "count": 13
        }
      ],
      "condition": [
        {
          "value": "Discounted",
          "count": 51
        },
        {
          "value": "Boxed",
          "count": 12
        },
        {
          "value": "Unboxed",
          "count": 11
        }
      ],
      "grade": [
        {
          "value": "A",
          "count": 41
        },
        {
          "value": "B",
          "count": 40
        },
        {
          "value": "C",
          "count": 40
        }
      ]
    },
    "filters_applied": {},
    "sort": "relevance",
    "currency": "GBP",
    "country": "uk",
    "query": "ps5"
  }
}
Real response, fetched from the live endpoint with the parameters on the left — trimmed to the first few rows, with seller names left out. Press Try it for the untrimmed response.

How the CeX API works

CeX is a normal ReefAPI surface — the same four rules that hold for every other engine on the key.

01
Authenticate
x-api-key header

No OAuth app, no request signing, no per-site account. One key covers all 321 engines.

02
Call
POST /cex/v1/…

Every route is a POST with a JSON body. Parameters are validated against the published schema before anything is charged.

03
Pay
1 credit per call

Credits, not seats. Failed and blocked calls are never charged, and cache hits cost nothing.

04
Read
{ ok, data, meta, error }

One envelope everywhere. meta carries latency_ms, record_count and the endpoint that answered.

Read the trade-in prices from the live pair, because the obvious fields are zero

CeX's search index publishes four buy-price fields. On 8 rows out of 8, the two with the obvious names were zero and the live values sat in the calculated pair beside them. Reading the obvious one would have produced a column that is 100% filled and says every item is worth nothing to trade in, which no fill-rate check could ever catch. The values here were confirmed against five product documents, matching 5 out of 5, and the meaning of each was taken from CeX's own labels.

01taxonomy
POST/cex/v1/taxonomy
{"country": "uk"}

The category tree for that storefront. Categories differ per country.

02search
POST/cex/v1/search
{"query": "ps5", "country": "uk"}

Items with all three prices, online stock and shop counts. Each filter was proven against an unfiltered control in the same call.

03product
POST/cex/v1/product
{"box_id": "SAPPI13128GPUNLB"}

One item in full, including its grade and attributes.

04store_stock
POST/cex/v1/store_stock
{"box_id": "SAPPI13128GPUNLB"}

Which shops physically hold it. An empty shelf is an empty list, not an error.

Used electronics across nine CeX storefronts with the selling price, the cash trade-in and the voucher trade-in on every row, each in its storefront's own currency, plus online and per-shop stock.

request
curl -X POST https://api.reefapi.com/cex/v1/search \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"query":"ps5","country":"uk"}'
response envelope
{
  "ok": true,
  "data": { … },
  "meta": {
    "api": "cex",
    "endpoint": "search",
    "mode": "live",
    "latency_ms": …,
    "record_count": …
  },
  "error": null
}

Nine countries, each in its own currency, and some fields only exist for some categories

Measured 2026-10-01 against the live gateway: 40 fixed cases run twice at 40/40, 50 rows for the field counts including filtered, sorted and foreign-storefront rows. Two of these lines go against us.

Nine storefronts

uk, ie, es, pt, pl, it, mx, in and au. Currency is read from each storefront's own settings, never derived from the country code.

Always present

box_id, title, url, currency, category, supercategory, product_lines, image, in_stock_online, store_count, out_of_stock_store_count, stock_online, collection_quantity and country on 50 of 50 rows.

Three prices

price_cash and price_exchange on 98%, price_sell and its two history fields on 94%. These come from the live calculated pair; the similarly named fields in the index were measured at zero on 8 rows out of 8 and are not used.

Against us: category-specific fields are often absent

attributes 88%, rating 60%, brand 58%, grade 42%, condition 26%. CeX only publishes these for some categories, so they come back null rather than guessed.

Against us: the Netherlands storefront is not offered

It exists but refused two exits on two attempts. Rather than publish a handle that does not work, it was left out and should be re-measured on another day.

Out of stock means two different things

On a search row the source lists shop NAMES; on a product document it is a flag. Published as a list of shops plus a count, so the two are never confused.

Index fields are single-item arrays

Grade, brand and product line arrive wrapped in arrays. Reading them as plain values produced 0% fill on four columns before it was fixed.

What people build with CeX

The jobs this data is most often used for.

5

endpoints

1

credit per call

01

Pricing and assortment teams use CeX to search the CeX catalogue of one country.

02

Brand-protection teams use CeX to get one CeX product in full.

03

Retail analysts use CeX to get live per-shop stock for one product across the whole CeX store network.

04

Catalog enrichment teams use CeX to get the CeX shop network of one country.

What CeX data costs

The cheapest call here is 1 credit, so $15/mo (Pro) buys 10,000 of them — $1.50 per 1,000 credits. Credits roll over and never expire, and failed or blocked calls are not charged.

Full pricing →
$0.67–$1.50 / 1,000 credits
  • 1,000 free credits on signup, no card
  • One key, all 321 APIs, one credit pool
  • Failed and blocked calls are never charged
  • Credits roll over and never expire

Call it in two lines

Sign up, get 1,000 credits and one key that works on every engine. Then this is the whole protocol.

curl
curl -X POST https://api.reefapi.com/cex/v1/search \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"query":"ps5","country":"uk"}'
python
import requests

r = requests.post(
    "https://api.reefapi.com/cex/v1/search",
    headers={"x-api-key": REEF_KEY},
    json={
  "query": "ps5",
  "country": "uk"
},
)
print(r.json()["data"])
FAQ

Have a question? We got answers.

The questions people actually ask before wiring up CeX.

Get a free key →
What is the CeX API?▾

CeX API is a ReefAPI endpoint group for cex It returns live JSON through POST requests under /cex/v1.

Is the CeX API free to try?▾

Yes. ReefAPI starts with 1,000 free credits, no card required. CeX calls use the same shared credit balance as every other ReefAPI engine.

Do I need a CeX login or account?▾

No login to CeX is needed for the API response. You call ReefAPI with your x-api-key header, and the playground can run live examples before you create a production key.

How fresh is the CeX data?▾

The page example is captured from a live search call, and production requests fetch live data through ReefAPI rather than a static sample.

How many credits does the CeX API use?▾

CeX actions currently cost 1 credit per successful call. Failed or blocked calls are free. All APIs draw from one credit pool.

Can I call CeX from an AI assistant or MCP client?▾

Yes. Connect ReefAPI once through MCP and your assistant can call cex actions with the same key, credit pool and JSON envelope used by normal REST requests.

Is the CeX API a CeX scraper?▾

It is the managed alternative to a DIY CeX scraper. Instead of building and maintaining your own scraper — proxies, headless browsers, captcha and constant breakage — you call one ReefAPI endpoint and get the same cex back as clean JSON.

Why does my CeX scraper keep getting blocked?▾

Most CeX scrapers break on anti-bot defenses, rate limits and IP bans that need rotating residential proxies and browser fingerprinting to clear. ReefAPI handles all of that for you — no proxies, no captchas, no maintenance — and returns live JSON. Blocked calls are free.

26 More APIs APIs on the same key

One key, one credit pool, one response envelope. If you are pulling CeX, you are one call away from the rest of the category — no second contract, no second integration.

Need something this API does not do?

Name the endpoint, the field, or a source we do not carry yet. We ship new APIs every week and you would be first to get the key. Real people read every message and reply the same day.

0/4000

No account needed · we reply from [email protected]

Try it on your own data before you pay anything

The call above is the real endpoint, not a recording. A free key gives you 1,000 credits, the other 320 APIs, and the same envelope everywhere.

Endpoints, parameters and credit costs on this page are read from the live catalog and cannot drift from what the API accepts. Field notes were captured on 2026-10-01.