Rexel Search
Search Rexel France by keyword, EAN or search URL. Returns product cards and pagination via browser rendering.
Credit cost: 2 credits per call
Authorization
ApiKeyAuth x-api-key<token>
Your API key. Include it in the x-api-key header for every request.
In: header
Query Parameters
query*string
Keyword, EAN, or Rexel France search URL.
Examples:
prise
3250617191227
https://www.rexel.fr/frx/search?text=prise
page?string
Page number (1-based). Page 1 omits page in the URL.
return_page_source?boolean
When true, return rendered HTML instead of JSON.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.piloterr.com/v2/rexel/search?query=string"{
"results": [
{
"ean": null,
"url": "https://www.rexel.fr/frx/HAGWXF122/p/71742449",
"name": "Prise de courant gallery 2P+T double pré cablées",
"brand": "HAGER",
"image_url": "https://api.rexel.fr/media/api/fr/content/71742449/LARGE_WEBP",
"rexel_ref": "HAGWXF122",
"product_id": 71742449,
"description": "La prise de courant double pré cablées 2P+T WXF122 fait partie de la gamme gallery.",
"manufacturer_ref": "WXF122"
}
],
"pagination": {
"next": "https://www.rexel.fr/frx/search?text=prise&page=2",
"page": 1,
"per_page": 24,
"total_pages": 2262,
"total_results": 54275
}
}{
"error": "Bad Request"
}{
"error": "Invalid API Key"
}{
"error": "Payment required"
}{
"error": "Rate limit exceeded for the API key: quota monthly"
}{
"error": "Internal Error"
}