Skip to main content
POST
/
api
/
cdiscount
/
products
/
reviews
/cdiscount/products/reviews
curl --request POST \
  --url https://api.anysite.io/api/cdiscount/products/reviews \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "product": "<string>",
  "count": 2,
  "timeout": 300,
  "sort": "recent"
}
'
[
  {
    "id": "<string>",
    "@type": "@cdiscount_product_review",
    "rating": 123,
    "title": "<string>",
    "text": "<string>",
    "author": "<string>",
    "author_location": "<string>",
    "date": "<string>",
    "is_recommended": true,
    "is_syndicated": true,
    "pros": [],
    "cons": [],
    "photos": [],
    "helpful_count": 123,
    "unhelpful_count": 123,
    "comment_count": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
product
string
required

Cdiscount product id (sku) or a product URL containing it

Minimum string length: 1
Examples:

"ps5stdchassise"

"https://www.cdiscount.com/jeux-pc-video-console/ps5/x/f-1035001-ps5stdchassise.html"

count
integer
required

Max number of reviews 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:recent

Review ordering

Available options:
recent,
oldest,
helpful,
rating_high,
rating_low

Response

Successful Response

id
string
required
@type
string
default:@cdiscount_product_review
rating
integer | null
title
string | null
text
string | null
author
string | null
author_location
string | null
date
string | null
is_syndicated
boolean | null
pros
string[]
cons
string[]
photos
string[]
helpful_count
integer | null
unhelpful_count
integer | null
comment_count
integer | null