Search Decathlon country shops. France and the other Decathlon country pages are read with the website crawler. The US shop is Shopify: its search page is HTML from the same crawler.
query is a keyword or a search or category link. region chooses the shop. The default is fr. A full link picks the shop. If region names another shop, the call returns 400.
The US shop (us, www.decathlon.com) is Shopify. Search is the Shopify results page. A product is read from the Shopify product JSON, not from the French Decathlon template. gb means uk. be is the French shop on decathlon.be. be-nl is the Dutch shop. ch is the French shop on decathlon.ch.
GET https://api.piloterr.com/v2/decathlon/search?query=gourde
GET https://api.piloterr.com/v2/decathlon/search?query=gourde®ion=fr&page=2
GET https://api.piloterr.com/v2/decathlon/search?query=https://www.decathlon.fr/search?Ntt=gourde
GET https://api.piloterr.com/v2/decathlon/search?query=tent®ion=uk
GET https://api.piloterr.com/v2/decathlon/search?query=bike®ion=us
| Parameter |
Type |
Required |
Description |
query |
string |
yes |
Keyword or Decathlon search link. Placeholder: gourde. A product link returns 400. |
region |
string |
no |
Country shop. Default fr. Placeholder: fr. |
page |
integer |
no |
Page number from 1. European shops use from and size (40). The US shop uses page (24). |
return_page_source |
boolean |
no |
When true, the response is the raw HTML in result. |
The US shop (us, www.decathlon.com) is Shopify. Search is the Shopify results page. A product is read from the Shopify product JSON, not from the French Decathlon template. gb means uk. be is the French shop on decathlon.be. be-nl is the Dutch shop. ch is the French shop on decathlon.ch.
Each item in results is one card. price is a number. price_display is that amount in the shop currency, with cents. France uses euros (9,99 €). The US shop uses dollars ($8,499.00). pagination.next is the next page URL, or null.
France, gourde, first card: price 9.99 and price_display 9,99 €.
United States, bike, first card: price 8499 and price_display $8,499.00.
- Monitor sports-gear prices in France, the UK, and the US shop
- Build an assortment from a category or search URL
- Compare the same keyword across euro, pound, and dollar shops
| Code |
Meaning |
| 400 |
Empty query, unknown shop, another website, a product link, or region conflicting with the URL |
| 404 |
No product cards in the HTML |
| 500 |
The fetch failed |
Decathlon Product reads one product URL.