Marks & Spencer Product Scraper
Pricing
from $10.00 / 1,000 marks & spencer product scrapers
Marks & Spencer Product Scraper
Collect Marks & Spencer product records from public search/listing pages. Get IDs, titles, prices, ratings, variants, and stock indicators. Run with queries or M&S URLs; no sign-in. Pricing: Free: $0.01 per dataset item + $0.00005 per Actor start.
Pricing
from $10.00 / 1,000 marks & spencer product scrapers
Rating
0.0
(0)
Developer
Vitalii Bondarev
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
15 days ago
Last modified
Categories
Features
Share
Extract product records from public search results and listing pages on marksandspencer.com, including IDs, prices, ratings, variants, images and stock indicators. The Actor reads embedded page data and does not require an account or sign-in.
- Scrape public M&S search and listing pages using search terms, URLs, or both.
- Monitor product prices and previous prices across distinct product records.
- Research catalog structure with product IDs, brands, categories, labels and product URLs.
- Compare ratings, review counts, variants, images and stock indicators for product analysis.
- Deduplicate repeated products across searches and supplied URLs.
What you get
The Actor reads product data embedded in public M&S pages. A field is omitted from the record when the page does not supply it.
| Field or family | Type | Description |
|---|---|---|
product_id | string | M&S product ID. Omitted when the page does not supply it. |
product_external_id | string | External product identifier. Omitted when the page does not supply it. |
title | string | Product name. |
brand | string | Product brand. Omitted when the page does not supply it. |
category | string | Product category or product definition. Omitted when the page does not supply it. |
url | string | Product URL on marksandspencer.com. |
price | number | Current product price extracted from the page. Omitted when the page does not supply it. |
currency | string | Currency associated with price. Omitted when the page does not supply it. |
previous_price | number | Previous price when supplied by the page. Omitted when the page does not supply it. |
rating | number | Product average rating when supplied. Omitted when the page does not supply it. |
review_count | integer | Total review count when supplied. Omitted when the page does not supply it. |
image_urls | array of strings | Product image URLs found on the listing or search page. Omitted when the page does not supply it. |
variants | array of objects | Colour and size variants, including colour, size, sku, upc and variant price when present. Omitted when the page does not supply it. |
labels | array of objects | Product labels with a name and associated string values. Omitted when the page does not supply it. |
stock_indicator | string | The site's stock-level indicator when supplied. Omitted when the page does not supply it. |
online_only | boolean | Whether the page marks the product as online only. Omitted when the page does not supply it. |
is_ranged | boolean | Whether the page marks the product as ranged. Omitted when the page does not supply it. |
scraped_at | ISO 8601 string | UTC timestamp generated when the record is created; not empty on returned records. |
Sample output
This sample is shortened by omitting the record's image_urls, variants and scraped_at fields. The values shown are copied from one real dataset record.
{"product_id": "61218892","product_external_id": "P60744571","title": "Pure Cashmere Crew Neck Jumper","brand": "Autograph","category": "Jumpers","url": "https://www.marksandspencer.com/pure-cashmere-crew-neck-jumper/p/clp60744571?color=NIGHTSHADE&image=SD_03_T30_4140A_Q5_X_EC_90","price": 99,"currency": "GBP","rating": 4.466216216216216,"review_count": 148,"stock_indicator": "M","online_only": false,"is_ranged": false}
Pricing
The live billing model is pay per event.
You pay only for the events listed below. This Actor does not use the Pay per event + usage option, so the platform usage of your runs (compute, proxy traffic and storage) is not billed to you separately.
| Event | What it covers | Free-plan price |
|---|---|---|
apify-actor-start | Charged when the Actor starts, once per GB of run memory, with a minimum of one event. | $0.00005 per event |
apify-default-dataset-item | One scraped result with all fields. | $0.01 per event |
On the Free plan, 10 results = $0.10005; 1,000 results = 1,000 × $0.01 + $0.00005 = $10.00005; and 10,000 results = 10,000 × $0.01 + $0.00005 = $100.00005. These examples use one minimum start event.
Apify Free plan includes $5 of monthly platform usage credit. The $5 monthly Free-plan credit covers 499 results in one run.
How to use
- Open the Actor in your Apify account and create a run.
- Enter one or more product search terms in
queries, such ascashmere jumper. - Add M&S category, product listing or search result pages in
urlswhen you want to collect from supplied pages. The two inputs can be combined. - Set
maxResultsto the maximum number of distinct product records to return. - Start the run and inspect the dataset. The Actor follows available result pages, deduplicates repeated products, and stops when it reaches
maxResults. - Repeat the run through Apify Schedules; daily is a suitable starting point for monitoring listings or prices.
{"queries": ["cashmere jumper"],"maxResults": 10}
Export the dataset as JSON or CSV, or read it through the Apify dataset API.
Input parameters
| Parameter | What it does | Default |
|---|---|---|
queries | Array of product search terms for marksandspencer.com. Each non-empty query is searched separately. | — |
urls | Optional array of M&S category, product listing or search result URLs. Only valid marksandspencer.com or its subdomain URLs are used. | — |
maxResults | Integer limit for distinct product records across all queries and URLs. The minimum accepted value is 1. A value that cannot be read as an integer falls back to 50. | 50 |
proxyConfiguration | Apify proxy configuration. If proxy is disabled or not supplied, the Actor connects directly. | Apify Proxy, RESIDENTIAL group |
Limits and edge cases
| Condition | What the buyer sees | What to do |
|---|---|---|
No non-empty queries and no valid urls are supplied | The Actor logs Provide at least one M&S search query or listing URL and returns without collecting records. | Supply at least one search term or valid M&S URL. |
A supplied URL is not a marksandspencer.com URL, or contains a username or password | The URL is ignored and a warning is logged for a non-M&S URL. | Use a URL whose host is marksandspencer.com or a subdomain, without embedded credentials. |
maxResults is zero or negative | The Actor logs that maxResults must be greater than zero and returns without collecting records. | Use an integer of at least 1. |
| A product is repeated across searches or supplied URLs | The repeated product is skipped, so the dataset can contain fewer items than the number of matching cards. | Add more relevant queries or URLs if you need more distinct products. |
The run reaches maxResults | The Actor stops after the configured number of distinct records, even if more products or pages remain. | Increase maxResults for a larger collection. |
| A source has more than 100 result pages available | The Actor processes no more than 100 pages for that source. | Use additional relevant M&S source URLs or narrower searches if the required products are beyond that range. |
| A fetched page produces no product cards in the expected embedded data | The Actor logs No product cards found and stops processing that source. | Check that the URL is an M&S search or listing page and try the run again. |
| A page fetch raises an error | The fetch operation makes up to three attempts. If it still raises an error, the Actor logs a warning and stops processing the current source. | Check the source URL and run again. Records already pushed before that source error remain in the dataset. |
| A source page does not provide an optional value | The corresponding field, such as previous_price, image_urls or labels, is omitted from that record. | Treat source-derived optional fields as conditional and use the fields present in each record. |
FAQ
How much does it cost to scrape Marks & Spencer products?
See the Pricing section.
Why did my run return no products?
See Limits and edge cases for the conditions that produce an empty or short dataset and for the log messages to check.
Why is the Actor not working for one of my pages?
See Limits and edge cases for what happens when a page fails to load or has no product cards.
Is scraping public Marks & Spencer data legal or allowed?
The Actor accesses public search results and product listing pages on marksandspencer.com and does not require an account or sign-in. Source terms and applicable law depend on the buyer's use case, so review the relevant source terms and legal requirements for your intended use; this Actor does not provide a legal guarantee.
Related actors
- Casas Bahia Scraper — related retail product collection with prices and specifications.
- Cashify Scraper — related product data collection focused on refurbished phone prices and stock.
- AutoScout24 Cars Scraper — related price and specification collection for vehicle listings.
Usage statistics
This Actor creates a small, content-free summary at the end of each run, used only to monitor reliability and improve this Actor. No input values, credentials or scraped data are sent.
A copy of the exact record for your run is saved as USAGE_STATS in your own Apify key-value store.
To opt out, set disableUsageStats to true in the input. Nothing is sent then.