Legallais Scraper API
Extract structured product data from public Legallais pages as JSON. Send a product URL and receive the fields exposed by the target page.
Decide before you build
- Endpoint
- POST /scrape/retail
- Scrapers
- Legallais product pages
- Cost
- from 1 credit / call
- Free plan
- 500 credits / month
- Call pattern
- sync, POST
- On failure
- credits refunded
- Response format
- JSON
- Concurrency
- by plan tier
E-commerce & Retail requests are synchronous. Cost depends on the options selected for the request.
Try the Legallais scraper on your own targetRun a request against a public product page and inspect the JSON before you integrate.
Open the live testWhat you get back
product dataLegallais data in JSON
Retrieve the product information exposed by the public Legallais page.
- Title, description and product images
- Price, currency and stock when available
- Brand, identifiers and product variations
- Categories and seller information
Request optionsControl how the page is collected
Use rendering or proxy options only when the target requires them.
- JavaScript rendering with useChrome
- Premium proxy and country targeting
- Public URL input; no account login required
- Structured JSON in the same response
Call the Legallais scraper
Send a public product URL to the E-commerce & Retail endpoint. The API returns the result in the same response.
# POST - scrape a public product page
curl -X POST "https://api.scraping-bot.io/scrape/retail" \
-u "yourUsername:yourApiKey" \
-H "Content-Type: application/json" \
-d '{
"url": "https://www.legallais.com/produit/chaussures-de-securite-hautes-diver-h-s3l-sr-fo-hro/92116/160669",
"options": {
"useChrome": false,
"premiumProxy": true
}
}'Code example
Authenticate with your ScrapingBot username and API key, then read the returned JSON.
const auth = "Basic " + Buffer.from("yourUsername:yourApiKey").toString("base64");
const response = await fetch("https://api.scraping-bot.io/scrape/retail", {
method: "POST",
headers: { "Content-Type": "application/json", Authorization: auth },
body: JSON.stringify({ url: "https://www.legallais.com/produit/chaussures-de-securite-hautes-diver-h-s3l-sr-fo-hro/92116/160669", options: { useChrome: false, premiumProxy: true } }),
});
const result = await response.json();Run this call in two minutesCreate an account, copy your API key, then use the example above.
Get your API keyRequest parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
url | string | — | Full public page URL, including https://. |
options.useChrome | boolean | false | Render JavaScript when the target page requires a browser. |
options.premiumProxy | boolean | false | Use a premium proxy for targets that require it. |
options.proxyCountry | string | — | Country targeting with a premium proxy. |
Response example
Response returned for the public Legallais product page used in the request example, with long lists shortened. Available fields vary with the target page.
{
"data": {
"title": "Chaussures de sécurité hautes Diver H S3L SR FO HRO | Legallais",
"description": "Tige en nubuck graissé Pull-up.\nDoublure Solidbreath® RR GRS, fabriqué avec un tissu qui élimine l'air «vicié» et l'humidité pendant la marche, rendant vos pieds frais et secs.\nSemelle intérieure amovible en mousse de polyuréthane avec plus de 30% de PU réutilisé.\nSemelle de contact en caoutchouc…",
"image": "https://cdn.legallais.com/pm_11812_722_722211-001xyauadc-600.jpg",
"price": 201.87,
"currency": "EUR",
"brand": "Dike",
"categories": [],
"siteURL": "https://www.legallais.com/produit/chaussures-de-securite-hautes-diver-h-s3l-sr-fo-hro/92116/160669",
"productHasVariations": false,
"htmlLength": 852840,
"captchaFound": false,
"isHtmlPage": true,
"host": "www.legallais.com",
"additionalInformations": "",
"shippingInfo": "Norme du produitConformes à la norme EN 20345.",
"features": [
{
"name": "Coloris",
"value": "Marron"
},
{
"name": "Norme ESD",
"value": "Non"
},
{
"name": "Genre",
"value": "Hommes"
},
{
"name": "Hydrofuges",
"value": "Oui"
}
],
"madeIn": "Fabrication Européenne",
"documentations": [
{
"category": "",
"documents": [
{
"title": "Fiche produit",
"url": "https://www.legallais.com/product-page-pdf//92116.pdf"
}
]
}
],
"isEcoResponsible": false,
"originalPrice": null,
"siteHtml": null
}
}Credits, failures and limits
| Case | Credits | Notes |
|---|---|---|
| Standard request | from 1 credit / call | Current plans start at this rate. |
| JavaScript rendering | Additional credits | Enable only when the target requires it. |
| Premium proxy | Additional credits | Use for targets that require a premium proxy. |
| Unsuccessful request | Not deducted | Only successful requests count towards the monthly limit. |
E-commerce & Retail API or Raw HTML scraper?
| E-commerce & Retail API | Raw HTML scraper | |
|---|---|---|
| Endpoint | /scrape/retail | /scrape/raw-html |
| Returns | Structured product JSON | Rendered page HTML |
| Flow | One synchronous request | One synchronous request |
| Starting cost | from 1 credit / call | from 1 credit / call |
| Use it when | You need parsed product fields | You need your own extraction logic |
Questions about the Legallais API
- Does the Legallais scraper access private data?
- No. This guide covers public product pages and does not require signing in to a Legallais account.
- Are all fields always available?
- No. Returned data depends on what the public Legallais page exposes and what the extractor supports.
- Can I collect multiple pages at once?
- Each request takes one public URL. Submit one request per page you need to collect.
- When should I use a premium proxy?
- Use it only when a target requires it or when you need country targeting for a public page.
Source: ScrapingBot API documentation.
Other e-commerce & retail scrapers
Browse the E-commerce & Retail category for the complete list of guides. Visit the ScrapingBot blog for implementation guides.
Trusted by developers using E-commerce & Retail data.
Customer reviews apply to ScrapingBot's service overall, not specifically to this scraper.
Start scraping Legallais today
500 free credits every month. No card required, cancel anytime.
