Skip to main content
POST
/
api
/
cdiscount
/
products
/
offers
/cdiscount/products/offers
curl --request POST \
  --url https://api.anysite.io/api/cdiscount/products/offers \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "product": "<string>",
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "@type": "@cdiscount_offer",
    "product_id": "<string>",
    "price": 123,
    "price_without_vat": 123,
    "currency": "EUR",
    "condition": "<string>",
    "is_cdav": true,
    "free_shipping_label": "<string>",
    "seller_name": "<string>",
    "seller_id": "<string>",
    "seller_rating": 123,
    "seller_review_count": 123,
    "seller_sales_count": 123,
    "seller_country": "<string>",
    "seller_comments": "<string>",
    "url": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
product
string
required

Cdiscount product URL (preferred, carries the category id) or product id (sku)

Minimum string length: 1
Examples:

"https://www.cdiscount.com/telephonie/telephone-mobile/x/f-14404-ip17prom256orang.html"

"ip17prom256orang"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
@type
string
default:@cdiscount_offer
product_id
string | null
price
number | null
price_without_vat
number | null
currency
string
default:EUR
condition
string | null
is_cdav
boolean | null
free_shipping_label
string | null
seller_name
string | null
seller_id
string | null
seller_rating
number | null
seller_review_count
integer | null
seller_sales_count
integer | null
seller_country
string | null
seller_comments
string | null
url
string | null