APIs / Cdiscount / Search

Cdiscount: Search

Search from Cdiscount as JSON. 1 credit per successful call.

GET /v1/cdiscount/search

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
querystringRequiredUp to 150 characters
categorystringOptionalUp to 120 characters
min_pricenumberOptionalAny
max_pricenumberOptionalAny
sortstringOptionalrelevance, price_low_to_high, price_high_to_low, rating
pageintegerOptionalAny

Example request

Cdiscount
GET/v1/cdiscount/search?query=iphone&max_price=500
{
  "success": true,
  "query": "iphone",
  "items": [
    {
      "id": "rcdapp0038253exe",
      "offer_id": "4321543633",
      "title": "APPLE iPhone 14 128GB Midnight - Reconditionné - Excellent état",
      "category": "07/0703/070302/07030201",
      "url": "https://www.cdiscount.com/telephonie/telephone-mobile/apple-iphone-14-128gb-midnight-reconditionne-e/f-14404-rcdapp0038253exe.html#mpos=11|mp",
      "price": 279.99,
      "currency": "EUR",
      "on_sale": false,
      "rating": 4.33,
      "review_count": 3339,
      "seller_id": "421031",
      "seller_name": "MindCreateSwift",
      "free_shipping": true,
      "images": [
        "https://www.cdiscount.com/pdt2/e/x/e/1/140x140/rcdapp0038253exe/rw/apple-iphone-14-128gb-midnight-reconditionne-e.jpg",
        "https://www.cdiscount.com/pdt2/e/x/e/1/300x300/rcdapp0038253exe/rw/apple-iphone-14-128gb-midnight-reconditionne-e.jpg",
        "https://www.cdiscount.com/pdt2/e/x/e/1/400x400/rcdapp0038253exe/rw/apple-iphone-14-128gb-midnight-reconditionne-e.jpg"
      ],
      "position": 11
    },
    {
      "id": "rcdappvdgpoacexe",
      "offer_id": "4321543632",
      "title": "APPLE iPhone 15 128GB Black (2023) - Reconditionné - Excellent état",
      "category": "07/0703/070302/07030201",
      "url": "https://www.cdiscount.com/telephonie/telephone-mobile/apple-iphone-15-128gb-black-2023-reconditionne/f-14404-rcdappvdgpoacexe.html#mpos=12|mp",
      "price": 389.99,
      "currency": "EUR",
      "on_sale": false,
      "rating": 4.2,
      "review_count": 1531,
      "seller_id": "421031",
      "seller_name": "MindCreateSwift",
      "free_shipping": true,
      "images": [
        "https://www.cdiscount.com/pdt2/e/x/e/1/140x140/rcdappvdgpoacexe/rw/apple-iphone-15-128gb-black-2023-reconditionne.jpg",
        "https://www.cdiscount.com/pdt2/e/x/e/1/300x300/rcdappvdgpoacexe/rw/apple-iphone-15-128gb-black-2023-reconditionne.jpg",
        "https://www.cdiscount.com/pdt2/e/x/e/1/400x400/rcdappvdgpoacexe/rw/apple-iphone-15-128gb-black-2023-reconditionne.jpg"
      ],
      "position": 12
    },
    {
      "id": "rcdapp0087918exe",
      "offer_id": "4293172579",
      "title": "APPLE iPhone 14 128GB Purple - Reconditionné - Excellent état",
      "category": "07/0703/070302/07030201",
      "url": "https://www.cdiscount.com/telephonie/telephone-mobile/apple-iphone-14-128gb-purple-reconditionne-exc/f-14404-rcdapp0087918exe.html#mpos=13|mp",
      "price": 275.99,
      "currency": "EUR",
      "on_sale": false,
      "rating": 4.32,
      "review_count": 3394,
      "seller_id": "411806",
      "seller_name": "ZYLOS",
      "free_shipping": true,
      "images": [
        "https://www.cdiscount.com/pdt2/e/x/e/1/140x140/rcdapp0087918exe/rw/apple-iphone-14-128gb-purple-reconditionne-exc.jpg",
        "https://www.cdiscount.com/pdt2/e/x/e/1/300x300/rcdapp0087918exe/rw/apple-iphone-14-128gb-purple-reconditionne-exc.jpg",
        "https://www.cdiscount.com/pdt2/e/x/e/1/400x400/rcdapp0087918exe/rw/apple-iphone-14-128gb-purple-reconditionne-exc.jpg"
      ],
      "position": 13
    }
  ],
  "total": 2744,
  "page": 1,
  "page_size": 47,
  "total_pages": 59,
  "has_more": true,
  "sort": "relevance",
  "applied_filters": {
    "max_price": 500
  },
  "filtered_out": 22,
  "facets": [
    {
      "id": "1",
      "name": "Catégorie"
    },
    {
      "id": "817",
      "name": "Livraison"
    },
    {
      "id": "7",
      "name": "Prix"
    }
  ],
  "meta": {
    "endpoint_family": "cdiscount-search",
    "attempts": 1,
    "request_id": "req_4e60c7cc258640fb9e696ee2912a99aa",
    "credits_charged": 1,
    "credits_remaining": 997
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

The response has these 3 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
itemsobject[]
applied_filtersobject
filtered_outinteger