Skip to main content
Piloterr
Back to library

Boulanger Search API

Search Boulanger by keyword and page the product grid. Cards include price, brand, seller, and the product URL.

Active2 credits = 1 requestGET/v2/boulanger/search

Endpoint Overview

Detailed documentation, pricing, and usage examples.

OverviewLink to Overview

Boulanger product search on www.boulanger.com.

query is a keyword, a /resultats URL, or a /c/ category URL. The response is { results, pagination }.

Each card has the product id, the name, the brand, and the current price. When the card shows them, it also has the crossed-out price, the seller, the rating, and the short feature lines.

A product URL (/ref/...) returns 400.

QuickstartLink to Quickstart

GET https://api.piloterr.com/v2/boulanger/search?query=aspirateur
GET https://api.piloterr.com/v2/boulanger/search?query=aspirateur&page=2
GET https://api.piloterr.com/v2/boulanger/search?query=https://www.boulanger.com/resultats?tr=aspirateur
GET https://api.piloterr.com/v2/boulanger/search?query=https://www.boulanger.com/c/aspirateur

page starts at 1. Page 2 is sent to Boulanger as numPage=2. The product ids on page 2 are different from page 1.

ParametersLink to Parameters

Parameter Type Required Description
query string yes Keyword, a /resultats URL, or a /c/ category URL. A /ref/ product URL returns 400.
page integer no Page number, from 1. Default 1. Page 2 uses numPage=2.
return_page_source boolean no When true, returns {"result": "<html>..."} instead of the parsed JSON. Default false.

Response fieldsLink to Response fields

Field Type Description
results array Product cards on this page. The example keeps the first card of a live page.
results[].position integer Place on the page, from 1.
results[].product_id string Boulanger reference, the id in /ref/{id}.
results[].offer_id string | null Offer id for this card.
results[].name string Name printed on the card.
results[].brand string | null Brand.
results[].url string Product URL.
results[].image string | null Main image URL.
results[].rating number | null Rating out of 5. Null when the card has no rating.
results[].review_count integer | null Number of reviews.
results[].price number | null Current price in euros. Null when the card has no price.
results[].price_display string | null Price as shown, for example 66,99 €.
results[].was_price number | null Crossed-out price. Null when the card has no struck price.
results[].discount_display string | null Discount badge, for example -25%. Null when the card has no badge.
results[].currency string | null EUR when a price is present.
results[].eco_tax number | null Eco-participation in euros. Already included in price.
results[].eco_tax_display string | null Eco-participation as a French label.
results[].condition string | null neuf or reconditionné.
results[].seller string | null Seller name. Boulanger when Boulanger sells the offer. A marketplace offer keeps its own name, for example Vactidy France.
results[].in_stock boolean | null true or false from the card. Null when the card does not say.
results[].color string | null Color name when the card has one.
results[].key_points string[] Short feature lines from the card.
results[].highlight string | null The On adore sentence, without the label.
results[].installment_price number | null Monthly amount when the card shows financing.
results[].installment_price_display string | null Monthly amount as shown.
results[].installment_count integer | null Number of payments, for example 4.
results[].installment_cost number | null Financing cost when the card prints one.
results[].installment_cost_display string | null Financing cost as shown.
pagination.page integer Requested page.
pagination.per_page integer Cards returned on this page.
pagination.total_results integer | null Result count published by the page.
pagination.total_pages integer | null Page count.
pagination.next string | null Next page URL, or null on the last page.

NotesLink to Notes

price is the current price (66.99). price_display keeps the French comma (66,99 €).

was_price is the struck price on the card. Cards that show a struck price fill this field, and that price is higher than the current price. Cards without a struck line leave it null. A struck price can appear without a percent badge, so discount_display is null on those cards.

The sample keeps the first card of a live aspirateur page. A live call returns every card on the page, so pagination.per_page can be larger than the number of objects in the sample.

Main use casesLink to Main use cases

  • Monitor French electronics and appliance prices
  • See marketplace sellers next to Boulanger
  • Find a product id before opening the product sheet

Error codesLink to Error codes

Code Meaning
400 Empty query, unknown host, a product URL, or page below 1.
403 Blocked.
404 No product card on the page.
500 The page could not be fetched.

Boulanger Product: one product page from a /ref/{id} URL or a numeric id.

Related APIs

Expand your data capabilities with these complementary tools.

Ready to get started?

Your web scraping API is one click away. Start with +500 credits, no infrastructure to set up, no proxies to manage, and no credit card required.

  • +500 credits
  • No credit card required
  • All endpoints included