Darty product page on www.darty.com.
query is a product URL under /nav/achat/ ending in .html. The response is one flat object: price, brand, seller, rating, availability and specifications.
A keyword or a search URL returns 400.
GET https://api.piloterr.com/v2/darty/product?query=https://www.darty.com/nav/achat/petit_electromenager/aspirateur-balai_main/aspirateur_balai/dyson_piston_animal.html
Example (product URL):
https://www.darty.com/nav/achat/petit_electromenager/aspirateur-balai_main/aspirateur_balai/dyson_piston_animal.html
query is required. Only www.darty.com is accepted.
| Form |
Example |
What happens |
| Product URL |
https://www.darty.com/nav/achat/petit_electromenager/aspirateur-balai_main/aspirateur_balai/dyson_piston_animal.html |
Product page. The path is /nav/achat/...html. |
A keyword returns 400. A search URL returns 400. Another host returns 400. An empty value returns 400.
| Parameter |
Type |
Required |
Description |
query |
string |
yes |
Product URL /nav/achat/...html |
| Field |
Type |
Description |
codic |
string | null |
Darty product code |
gtin |
string | null |
GTIN-13 |
name |
string |
Product name |
brand |
string | null |
Brand |
category |
string | null |
Category |
reference |
string | null |
Model reference |
url |
string |
Canonical product URL |
description |
string | null |
Description |
image |
string | null |
Main image |
images |
string[] |
Image URLs |
rating |
number | null |
Rating out of 5 |
rating_display |
string | null |
Rating as shown |
review_count |
integer | null |
Number of reviews |
seller |
string | null |
Seller of the main offer |
condition |
string | null |
Condition of the main offer |
price |
number |
Main offer price |
price_display |
string |
Price as shown |
currency |
string |
EUR |
availability |
string | null |
Stock line |
delivery |
string | null |
Delivery line |
specifications |
array |
Rows { name, value } |
price is the main new offer, the first priced offer in the new tab. Other seller offers are not mixed into the object.
availability is the stock line. delivery is the delivery date or the free-delivery line.
brand comes from the product data on the page.
- Check if a model is in stock in stores
- Capture the selling price and the crossed price when Darty shows one
- Enrich a catalogue with GTIN, images, and seller
| Code |
Meaning |
400 |
Empty query, unknown host, keyword, or a search URL |
403 |
Blocked |
404 |
Product page without a price |
500 |
Fetch failed |
Darty Search