Skip to main content
POST
/
api
/
cdiscount
/
products
/
search
/cdiscount/products/search
curl --request POST \
  --url https://api.anysite.io/api/cdiscount/products/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "keyword": "<string>",
  "count": 2,
  "timeout": 300,
  "sort": "relevance",
  "sort_dir": "asc",
  "brand": "<string>",
  "color": "<string>",
  "price_min": 1,
  "price_max": 1
}
'
[
  {
    "id": "<string>",
    "@type": "@cdiscount_search_product",
    "offer_id": "<string>",
    "title": "<string>",
    "url": "<string>",
    "image": "<string>",
    "brand_id": "<string>",
    "price": 123,
    "price_without_vat": 123,
    "currency": "EUR",
    "condition": "<string>",
    "rating": 123,
    "review_count": 123,
    "category_id": "<string>",
    "category_path": "<string>",
    "free_shipping_label": "<string>",
    "seller_name": "<string>",
    "seller_id": "<string>",
    "seller_rating": 123,
    "seller_sales_count": 123,
    "seller_country": "<string>",
    "bullet_points": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
keyword
string
required

Search keyword

Minimum string length: 1
Examples:

"iphone"

"playstation 5"

count
integer
required

Max number of results to return

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
sort
enum<string>
default:relevance

Result ordering

Available options:
relevance,
price,
rating
sort_dir
enum<string>
default:asc

Sort direction

Available options:
asc,
desc
brand
string | null

Filter by brand name

color
string | null

Filter by color name

seller
enum<string> | null

Filter by seller type (Cdiscount or marketplace)

Available options:
cdiscount,
marketplace
condition
enum<string> | null

Filter by new/used condition

Available options:
neuf,
occasion ou reconditionné
sub_condition
enum<string> | null

Filter by refurbished grade (used items)

Available options:
excellent état,
très bon état,
etat correct
rating
enum<string> | null

Filter by minimum customer rating

Available options:
4 étoiles et +,
3 étoiles et +
price_min
number | null

Minimum price in EUR

Required range: x >= 0
price_max
number | null

Maximum price in EUR

Required range: x >= 0

Response

Successful Response

id
string
required
@type
string
default:@cdiscount_search_product
offer_id
string | null
title
string | null
url
string | null
image
string | null
brand_id
string | null
price
number | null
price_without_vat
number | null
currency
string
default:EUR
condition
string | null
rating
number | null
review_count
integer | null
category_id
string | null
category_path
string | null
free_shipping_label
string | null
seller_name
string | null
seller_id
string | null
seller_rating
number | null
seller_sales_count
integer | null
seller_country
string | null
bullet_points
string[]