Marks & Spencer Scraper API
Extract structured product data from public Marks & Spencer 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
- Marks & Spencer 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 Marks & Spencer 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 dataMarks & Spencer data in JSON
Retrieve the product information exposed by the public Marks & Spencer 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 Marks & Spencer 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.marksandspencer.com/the-beauty-advent-calender-2026/p/hbp61228694",
"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.marksandspencer.com/the-beauty-advent-calender-2026/p/hbp61228694", 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 Marks & Spencer product page used in the request example, with long lists shortened. Available fields vary with the target page.
{
"data": {
"title": "The Beauty Advent Calendar 2026 - Saving 82%",
"description": "The Beauty Advent Calendar 2026 has landed - Worth over £450/€500 and featuring 26 beauty favourites, including 10 full-size products. Twenty-five doors, twenty-six surprises: our Beauty Advent Calendar for 2026 turns December into a month-long celebration, packed inside a bright red and pink str…",
"image": "https://assets.digitalcontent.marksandspencer.app/images/w_2560,q_auto,f_auto/SD_07_T31_2411_NC_X_EC_0/The-Beauty-Advent-Calendar-2026-Saving-82-",
"price": 75,
"shippingFees": null,
"currency": "GBP",
"isInStock": true,
"EAN13": null,
"ASIN": null,
"ISBN": null,
"color": "",
"brand": "M&S",
"category": "Beauty Boxes",
"categories": [
{
"name": "Home",
"url": "https://www.marksandspencer.com/"
},
{
"name": "Beauty",
"url": "https://www.marksandspencer.com/c/beauty"
},
{
"name": "Beauty Boxes",
"url": "https://www.marksandspencer.com/l/beauty/beauty-boxes"
}
],
"siteURL": "https://www.marksandspencer.com/the-beauty-advent-calender-2026/p/hbp61228694",
"siteHtml": null,
"productHasVariations": null,
"statusCode": 200,
"isFinished": null,
"isDead": null,
"htmlLength": 718724,
"captchaFound": false,
"isHtmlPage": true,
"host": "www.marksandspencer.com",
"images": [
"https://assets.digitalcontent.marksandspencer.app/images/w_2560,q_auto,f_auto/SD_07_T31_2411_NC_X_EC_0/The-Beauty-Advent-Calendar-2026-Saving-82-",
"https://assets.digitalcontent.marksandspencer.app/images/w_2560,q_auto,f_auto/SD_07_T31_2411_NC_X_EC_90/The-Beauty-Advent-Calendar-2026-Saving-82-",
"https://assets.digitalcontent.marksandspencer.app/images/w_2560,q_auto,f_auto/SD_07_T31_2411_NC_X_EC_0/The-Beauty-Advent-Calendar-2026-Saving-82-"
],
"originalPrice": 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 Marks & Spencer API
- Does the Marks & Spencer scraper access private data?
- No. This guide covers public product pages and does not require signing in to a Marks & Spencer account.
- Are all fields always available?
- No. Returned data depends on what the public Marks & Spencer 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 Marks & Spencer today
500 free credits every month. No card required, cancel anytime.
