Marks & Spencer Scraper
by toludare
Extract product data, prices, and reviews from Marks & Spencer. Use search terms or URLs to automate competitor tracking and market research.
Opens on Apify.com
About Marks & Spencer Scraper
Need to pull product data from Marks & Spencer for a project? I've used this scraper to handle it, and it saves a ton of manual work. You can start with a simple search term, like "men's chinos," or drop in a direct product page URL. It reliably fetches all the essentials: product titles, descriptions, the specific M&S product codes, current prices, and any special offers running. It also grabs customer ratings, review text, available sizes and colours, and all the product images. I've found it super useful for a few key things: keeping track of competitor pricing, monitoring how stock and promotions change over time, or aggregating product details for market research. The data comes out structured and ready to use, whether you're feeding it into a spreadsheet, a database, or another app. It basically automates the tedious part of data collection from their site, letting you focus on the analysis or building whatever you need with that information.
What does this actor do?
Marks & Spencer Scraper is a web scraping and automation tool available on the Apify platform. It's designed to help you extract data and automate tasks efficiently in the cloud.
Key Features
- Cloud-based execution - no local setup required
- Scalable infrastructure for large-scale operations
- API access for integration with your applications
- Built-in proxy rotation and anti-blocking measures
- Scheduled runs and webhooks for automation
How to Use
- Click "Try This Actor" to open it on Apify
- Create a free Apify account if you don't have one
- Configure the input parameters as needed
- Run the actor and download your results
Documentation
Marks & Spencer Scraper
Scrape product data from the UK Marks & Spencer website. Provide direct product URLs or a search term to extract detailed information.
Overview
This actor extracts structured product data from the UK Marks & Spencer e-commerce site. You can scrape specific products via URL or perform a search to get multiple results. The output includes comprehensive product details and optional review data.
Key Features
- Flexible Input: Start with direct product URLs or a search query.
- Detailed Product Data: Extracts titles, descriptions, codes, prices, ratings, images, availability, and variant details (sizes, colors).
- Review Scraping: Optional collection of full product reviews with filtering and sorting.
- Resilient Operation: Built-in retry logic handles network issues.
How to Use
Configure the actor using the input parameters below. You must use either productUrls or searchQuery to start a run.
Input
Configure the scraper using these parameters in a JSON object.
| Parameter | Type | Description | Default |
|---|---|---|---|
productUrls |
Array | List of specific M&S product page URLs (UK site only). | - |
searchQuery |
String | A product, brand, or code to search for. | - |
sortSearchResultsBy |
String | Sort search results. Options: relevance, newArrivals, bestSelling, priceLowHigh, priceHighLow, ratings. |
relevance |
maxSearchResults |
Integer | Limit the number of search results. Use 0 for all results. |
10 |
country |
String | Country/Region for search. Currently only uk is supported. |
uk |
scrapeReviews |
Boolean | Set to true to scrape product reviews. |
false |
filterReviewsByRating |
String | Filter reviews by star rating. Options: "" (all), "5", "4", "3", "2", "1". |
"" |
sortReviewsBy |
String | Sort reviews by SUBMISSION_TIME, RATING, or HELPFULNESS. |
SUBMISSION_TIME |
reviewsSortOrder |
String | Sort order: DESC (newest/highest first) or ASC. |
DESC |
maxReviews |
Integer | Maximum number of reviews to retrieve. Use 0 for all. |
10 |
Input Example
{
"productUrls": [],
"searchQuery": "coat",
"sortSearchResultsBy": "newArrivals",
"maxSearchResults": 50,
"country": "uk",
"scrapeReviews": true,
"filterReviewsByRating": "5",
"sortReviewsBy": "SUBMISSION_TIME",
"reviewsSortOrder": "DESC",
"maxReviews": 200
}
Output
The actor outputs a dataset of items, where each item is a JSON object containing the scraped product data. The structure is consistent whether you use URLs or search.
Output Example (Abbreviated)
{
"id": "60708918",
"productCode": "T253331M",
"url": "https://www.marksandspencer.com/pure-cotton-oxford-shirt/p/clp60708918",
"title": "Pure Cotton Ultimate Oxford Shirt",
"about": "This pure cotton Oxford shirt is a timeless wardrobe classic...",
"price": "£25",
"brand": "M&S",
"rating": 4.65,
"reviewCount": 98,
"availability": "InStock",
"images": [
"https://assets.digitalcontent.marksandspencer.app/images/...",
"..."
],
"variants": [...]
}
Categories
Common Use Cases
Market Research
Gather competitive intelligence and market data
Lead Generation
Extract contact information for sales outreach
Price Monitoring
Track competitor pricing and product changes
Content Aggregation
Collect and organize content from multiple sources
Ready to Get Started?
Try Marks & Spencer Scraper now on Apify. Free tier available with no credit card required.
Start Free TrialActor Information
- Developer
- toludare
- Pricing
- Paid
- Total Runs
- 257
- Active Users
- 8
Related Actors
Google Maps Reviews Scraper
by compass
Facebook Ads Scraper
by apify
Google Ads Scraper
by silva95gustavo
Facebook marketplace scraper
by curious_coder
Apify provides a cloud platform for web scraping, data extraction, and automation. Build and run web scrapers in the cloud.
Learn more about ApifyNeed Professional Help?
Couldn't solve your problem? Hire a verified specialist on Fiverr to get it done quickly and professionally.
Trusted by millions | Money-back guarantee | 24/7 Support