Cdiscount Product
Usar em massa com o DataflowExecute este endpoint sobre um arquivo ou uma lista, uma vez ou com agendamento.
Extract full product details from a Cdiscount product page, including price, seller, ratings, specifications, and offers.
Credit cost: 2 credits per call
ApiKeyAuthx-api-key<token>Your API key. Include it in the x-api-key header for every request.
query*stringCdiscount product page URL, a dp.aspx?sku= URL, or the sku itself.
The sku is the short name stuck to the EAN. geb and 3283981070560 become geb3283981070560.
Example:
https://www.cdiscount.com/dp.aspx?sku=geb3283981070560A classic product URL such as /f-{category}-{id}.html still works. Offer pages (/mp-{id}-{ean}.html) belong to Cdiscount Product Offer.
name?stringShort product name used in the Cdiscount sku, such as geb. Sent with ean.
ean?stringEAN barcode. With name, the scraper calls https://www.cdiscount.com/dp.aspx?sku={name}{ean}.
fields?stringComma-separated list of response fields to return, with dot notation for nested fields (e.g. name,location.city).
is_async?booleanRun the request as a background job: the API answers 202 with a job_id to poll on GET /v1/jobs/{id}.
falsesoft_fail?booleanReturn HTTP 200 even when the request fails; the error is in the error field of the body.
falseSuccessful response
application/json- response
id?stringean?stringurl?stringbrand?stringprice?numbertitle?stringimages?array<string>rating?integerseller?is_cdav?booleancurrency?stringoffer_id?integercondition?stringdescription?stringis_available?booleanother_offers?delivery_info?stringreviews_count?integeroriginal_price?numbermultiple_offer_url?stringmultiple_offer_text?stringmultiple_offer_starting_price?numbercurl -X GET 'https://api.piloterr.com/v2/cdiscount/product?query=string'{
"id": "aaaph06865",
"ean": "0683370375062",
"url": "https://www.cdiscount.com/informatique/ordinateurs-pc-portables/acemagic-pc-portables-gaming/f-1070992-aaaph06865.html",
"brand": "ACEMAGIC",
"price": 429.99,
"title": "ACEMAGIC PC Portables Gaming - 15.6\" FHD, AMD Ryzen 7 5700U(8C/16T, 4,3GHz),16Go RAM DDR4, 512Go M.2 SSD, WiFi 6, BT5.2, HDMI,Gris",
"images": [
"https://www.cdiscount.com/pdt2/8/6/5/1/700x700/aaaph06865/rw/acemagic-pc-portables-gaming.jpg"
],
"rating": 4,
"seller": {
"id": 405259,
"name": "BOOMING",
"rating": 5,
"sales_count": 1847,
"reviews_count": 20
},
"is_cdav": true,
"currency": "EUR",
"offer_id": 4258700481,
"condition": "Neuf",
"description": "Portable gaming AMD Ryzen 7 5700U, 16Go RAM, 512Go SSD.",
"is_available": true,
"other_offers": {
"total_offers": 1,
"lowest_price_new": 459.9,
"new_offers_count": 1,
"lowest_price_used": null,
"used_offers_count": 0
},
"delivery_info": "Livraison gratuite | Expédié depuis: FRANCE",
"reviews_count": 2,
"original_price": 499.9,
"multiple_offer_url": "https://www.cdiscount.com/mp-352880-auc3283981039048.html",
"multiple_offer_text": "2 offres neuves",
"multiple_offer_starting_price": 9.24
}