curl --request POST \
--url https://api.scrapeunblocker.com/marketplace/cdiscount-search \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/marketplace/cdiscount-search"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/marketplace/cdiscount-search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Scrape Cdiscount search
Searches Cdiscount (France) for query and returns products, each with position, productId (the SKU), offerId, title, url, image, images, price, strikePrice (the crossed-out reference price, only when Cdiscount shows one), discountPercent, currency (EUR), rating, reviewCount, seller (id, name, isCdiscount), marketplace, fulfilledByCdiscount, cdiscountAVolonte, freeShipping, deliveryLabel, condition, highlights (key specs), badges (promotions) and brandId. Also total, lastPage and nextPage. Search results show the brand only as an id; the product endpoint has the brand name. page and max_results page through the results. One unit per Cdiscount page read.
curl --request POST \
--url https://api.scrapeunblocker.com/marketplace/cdiscount-search \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/marketplace/cdiscount-search"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/marketplace/cdiscount-search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Your ScrapeUnblocker API key. Apply on every request.
Query Parameters
What to search for, e.g. 'iphone 15' or 'machine a laver'.
First Cdiscount results page to read (1-100).
Products to collect across pages, 1-300. A page holds about 47 products; each page is one unit.
Response
JSON with a products array.

