Marksandspencer Product Search Scraper
Pricing
from $2.00 / 1,000 results
Marksandspencer Product Search Scraper
Scrape Marks & Spencer product listings across categories with one tool. Extract 18+ fields including brand, price, variants, reviews, stock levels, and SEO paths — perfect for price monitoring, inventory tracking, and competitive retail analysis.
Pricing
from $2.00 / 1,000 results
Rating
0.0
(0)
Developer
Stealth mode
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
25 days ago
Last modified
Categories
Features
Share
Marks & Spencer Product Search Scraper: Extract Retail Data Fast
What Is Marks & Spencer?
Marks & Spencer (M&S) is a major UK retailer offering clothing, home goods, food, and beauty products. Their website hosts thousands of searchable product listings across numerous categories and price points. Manually tracking product data, pricing changes, and inventory levels is inefficient — the Marks & Spencer Product Search Scraper automates collection, delivering structured product records ready for analysis.
Overview
The Marks & Spencer Product Search Scraper extracts product information from M&S search and category pages, converting dynamic listings into clean, structured records. It is designed for:
- Price monitoring tools tracking M&S product pricing and promotions
- Retail researchers analyzing product assortment and trends
- E-commerce aggregators building multi-retailer product catalogs
- Competitive intelligence teams benchmarking against M&S offerings
- Inventory analysts monitoring stock level changes
Key features include batch processing up to 200 items per URL, graceful error handling, and comprehensive product metadata extraction.
Input Format
The Actor supports two scraping modes — use only one at a time:
- Scrape by URLs — scrape data directly from a list of M&S product search/category page URLs.
{"urls": ["https://www.marksandspencer.com/l/beauty/makeup?page=2"],"ignore_url_failures": true,"max_items_per_url": 200}
- Scrape by search filters — scrape data using a keyword and additional filters (gender, price range, sorting, etc.) instead of providing URLs.
{"keyword": "lip","gender": "Womens","price_range": "20-35","sort_by": "daysSinceLaunch desc","page": 1,"max_items_per_url": 200}
There is also a General settings group that applies to both modes.
1. Scrape by URLs
Use this mode when you already have specific product search/category page URLs. When this mode is used, all options in the "Scrape by search filters" section will be disabled.
| Field | Type | Default | Description |
|---|---|---|---|
urls | array | (required) | URLs of M&S product search/category pages to scrape. You can paste URLs one by one, or use the Bulk edit section to add a prepared list. Paste complete URLs including pagination parameters (e.g., ?page=2). Supports multiple URLs for batch processing. |
ignore_url_failures | boolean | true | If true, the scraper continues running when a URL fails instead of stopping the entire run. If false, a single failure stops the entire job. Recommended: true for bulk runs (10+ URLs). |
2. Scrape by search filters
Use this mode when you want to search using a keyword and additional filter attributes instead of scraping by URLs. If you use this mode, leave the urls field above empty.
| Field | Type | Default | Description |
|---|---|---|---|
keyword | string | — | The keyword to search for. |
gender | string ("", Womens, Her, Unisex, Mens, Girls, Newborn unisex) | "" (Any) | Filter products by gender category. |
sort_by | string (default, daysSinceLaunch desc, best_seller desc, minPrice asc, maxPrice desc, averageRating desc) | default | Sort results by Relevance, New Arrivals, Best Selling, Price Low-High, Price High-Low, or Ratings. |
price_range | string | — | Price range to filter by, in the format min-max (e.g., 100-2000). |
page | integer | — | The page number to start scraping from. |
3. General settings
Applies to both scraping modes above.
| Field | Type | Default | Description |
|---|---|---|---|
max_items_per_url | integer | 20 (max: 200) | The maximum number of product records to extract per URL. Higher values collect more products but increase run time. |
Tips:
- Use complete category/search URLs with pagination (e.g.,
/l/beauty/makeup?page=2) - Test with
max_items_per_url: 20first to verify URL format - Set
ignore_url_failures: truewhen scraping 10+ URLs to prevent interruptions
Output Format
Sample Output Record
{"id": "61277016","product_url": "https://www.marksandspencer.com//daily-calm-lip-and-cheek-colour-5g/p/hbp61276992?color=BERRY&image=MS_07_T23_5656E_F8_X_EC_0","product_code": "T235656E,T23/5656E","brand": "Clinique","title": "Daily Calm™ Lip & Cheek Colour 5g","description": null,"sub_message": null,"product_type": "Blusher","price": 26,"currency": "GBP","previous_price": null,"unit_price": 200,"unit_price_quantity": 1,"unit_price_measurement_unit": "KG","average_rating": 4.976190476190476,"review_count": 42,"variant_count": 4,"variants": [{"sku_id": "61277016","upc": "23707498","part_number": "61277016","colour": "BERRY","size": "One Size","serving_size": null,"price": 26,"swatch_asset_id": "MS_07_T23_5656E_F8_X_EC_88","main_image_asset_id": "MS_07_T23_5656E_F8_X_EC_0","has_video": false,"media_assets": [{"asset_id": "MS_07_T23_5656E_F8_X_EC_1","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_2","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_3","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_4","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_5","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_6","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_7","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_8","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_88","type": "Fabric"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_0","type": "Main"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_0","type": "Other"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_0","type": "Other"}]},{"sku_id": "61277016","upc": "23707498","part_number": "61277016","colour": "PINK","size": "One Size","serving_size": null,"price": 26,"swatch_asset_id": "MS_07_T23_5656E_A0_X_EC_88","main_image_asset_id": "MS_07_T23_5656E_F8_X_EC_0","has_video": false,"media_assets": [{"asset_id": "MS_07_T23_5656E_F8_X_EC_1","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_2","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_3","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_4","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_5","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_6","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_7","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_8","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_88","type": "Fabric"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_0","type": "Main"},{"asset_id": "MS_07_T23_5656E_A0_X_EC_0","type": "Other"},{"asset_id": "MS_07_T23_5656E_A0_X_EC_0","type": "Other"}]},{"sku_id": "61277016","upc": "23707498","part_number": "61277016","colour": "MAUVE","size": "One Size","serving_size": null,"price": 26,"swatch_asset_id": "MS_07_T23_5656E_IK_X_EC_88","main_image_asset_id": "MS_07_T23_5656E_F8_X_EC_0","has_video": false,"media_assets": [{"asset_id": "MS_07_T23_5656E_F8_X_EC_1","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_2","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_3","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_4","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_5","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_6","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_7","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_8","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_88","type": "Fabric"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_0","type": "Main"},{"asset_id": "MS_07_T23_5656E_IK_X_EC_0","type": "Other"},{"asset_id": "MS_07_T23_5656E_IK_X_EC_0","type": "Other"}]},{"sku_id": "61277016","upc": "23707498","part_number": "61277016","colour": "PEACH","size": "One Size","serving_size": null,"price": 26,"swatch_asset_id": "MS_07_T23_5656E_PC_X_EC_88","main_image_asset_id": "MS_07_T23_5656E_F8_X_EC_0","has_video": false,"media_assets": [{"asset_id": "MS_07_T23_5656E_F8_X_EC_1","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_2","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_3","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_4","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_5","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_6","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_7","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_8","type": "Alternative"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_88","type": "Fabric"},{"asset_id": "MS_07_T23_5656E_F8_X_EC_0","type": "Main"},{"asset_id": "MS_07_T23_5656E_PC_X_EC_0","type": "Other"},{"asset_id": "MS_07_T23_5656E_PC_X_EC_0","type": "Other"}]}],"dietary_information": [],"labels": [{"name": "Promotion","values": ["Offer"],"__typename": "SearchRecommendation_ResultLabel"}],"is_ranged": false,"online_only": false,"stock_level_indicator": "M","loyalty_promotion_codes": ["16742","17359","17509","18674","10528","17191","20167","16110","17804","18925","19365","21837","21911","22047","16108","22749","19200","19882","21909","19466","20698","22789","22970","22957","22899","16406"],"loyalty_promotion_count": 26,"raw_data": null,"from_url": "https://www.marksandspencer.com/search?searchTerm=lip&sort=daysSinceLaunch+desc&filter=Gender%3DWomens~Price%3D20%7C35&page=1"}
Complete Output Structure and Field Definitions
The scraper returns JSON data with each product as an object containing detailed fields. Understanding field purposes enables effective analysis and application.
Product Identification
ID: Unique identifier of the product on Marks & Spencer. Purpose: Database indexing, tracking specific products over time, avoiding duplicates.
Product URL: Direct link to the product page on Marks & Spencer. Purpose: Accessing complete details, verification of scraped data, sharing with clients.
Product Code: M&S style/product code of the item. Purpose: Cross-referencing products with internal catalogs and supplier data.
Brand: Brand name of the product (e.g., BENEFIT). Purpose: Brand-level analysis, assortment and market share comparison.
Title: Product name as displayed on the listing. Purpose: Quick preview, keyword analysis, product matching.
Description: Product description text (may be null in search results). Purpose: Extracting ingredients, usage details and marketing claims when available.
Sub Message: Promotional or highlight message shown under the product (may be null). Purpose: Tracking promotions and marketing messages.
Product Type: Product category label (e.g., Bronzer). Purpose: Segmenting the catalog by product type.
Pricing
Price: Current list price as a number. Purpose: Price comparison, competitor monitoring, budget filtering.
Currency: Currency of the listed price (e.g., GBP). Purpose: Correct financial interpretation when merging datasets from multiple markets.
Previous Price: Price before discount (null if not discounted). Purpose: Detecting discounts and calculating promotion depth.
Unit Price: Price per reference quantity (e.g., per 10 g). Purpose: Value-for-money comparison across different pack sizes.
Unit Price Quantity: Reference quantity used for the unit price. Purpose: Interpreting the unit price correctly.
Unit Price Measurement Unit: Measurement unit of the reference quantity (e.g., g, ml). Purpose: Interpreting the unit price correctly.
Reviews
Average Rating: Average customer rating of the product. Purpose: Quality benchmarking, product ranking, customer satisfaction analysis.
Review Count: Total number of customer reviews. Purpose: Measuring popularity and rating reliability.
Variants
Variant Count: Number of variants (shades, sizes) of the product. Purpose: Measuring range breadth and assortment depth.
Variants: List of product variants, each with the fields below. Purpose: Variant-level analysis of price, shades and sizes.
- SKU ID: Unique identifier of the variant. Purpose: Variant-level tracking and stock matching.
- UPC: Barcode number of the variant. Purpose: Matching the same product across retailers.
- Part Number: Retailer part number of the variant. Purpose: Internal catalog matching.
- Colour: Colour or shade name (may be null). Purpose: Shade-level assortment analysis.
- Size: Size or pack size (e.g., One Size). Purpose: Pack-size comparison.
- Serving Size: Serving size for consumable products (may be null). Purpose: Nutritional and usage analysis for food items.
- Price: Price of the variant. Purpose: Detecting price differences between variants.
- Swatch Asset ID: Identifier of the swatch image (may be null). Purpose: Retrieving shade swatch visuals.
- Main Image Asset ID: Identifier of the main product image. Purpose: Retrieving the primary product image.
- Has Video: Whether the variant has a video asset. Purpose: Measuring content richness.
- Media Assets: List of media assets (asset ID and type such as Main, Alternative, Video, Fabric). Purpose: Counting and retrieving product media.
Product Attributes
Dietary Information: List of dietary tags (empty for non-food items). Purpose: Filtering food products by dietary needs.
Labels: List of marketing labels attached to the product. Purpose: Identifying badges such as new, exclusive or offers.
Is Ranged: Whether the product is part of the permanent range. Purpose: Separating core range products from limited or seasonal items.
Online Only: Whether the product is sold online only. Purpose: Channel availability analysis.
Stock Level Indicator: Stock level code of the product (e.g., M). Purpose: Monitoring availability and stock-out risk.
Loyalty Promotions
Loyalty Promotion Codes: Unique list of Sparks loyalty offer codes applied to the product. Purpose: Tracking loyalty promotions and linking products to offers.
Loyalty Promotion Count: Number of unique loyalty offers on the product. Purpose: Measuring promotional intensity.
Raw Data
Raw Data: Complete original JSON object of the product as scraped, without modification. Purpose: Auditing, debugging, accessing fields not included in the cleaned output, and reprocessing without re-scraping.
How to Use
- Identify target pages — Browse Marks & Spencer category or search pages (e.g., Beauty → Makeup). Note the full URL including pagination parameters.
- Configure input — Paste URLs into the
urlsarray. Start withmax_items_per_url: 50to test. - Set error handling — For single URLs use
ignore_url_failures: false. For bulk runs usetrue. - Run the scraper — Execute the job and monitor progress in the logs.
- Export data — Download results as JSON, CSV, or Excel for analysis or database import.
Troubleshooting:
- No data returned: Verify the URL is a search/category page (not a single product page). Check pagination parameters are correct.
- Incomplete variants: Some products may have limited variant data if not displayed in the list view.
- Stock levels delayed: Stock indicators reflect M&S website state at time of scraping; refresh for real-time accuracy.
Use Cases & Business Value
Price Monitoring & Competitive Analysis Track M&S product pricing changes, promotional periods, and competitor positioning. Identify pricing trends across beauty, fashion, or home categories.
Inventory & Assortment Research Monitor product availability, stock levels, and new launches. Identify fast-moving items, bestsellers, and seasonal trends.
E-Commerce Aggregation Feed M&S product data into price comparison engines, deal aggregators, or multi-retailer catalogs. Maintain accurate, up-to-date product information.
Market Research Analyze M&S brand partnerships, exclusive product launches, and promotional strategies. Compare assortment across regions or time periods.
The Marks & Spencer Product Search Scraper eliminates tedious manual data entry, providing retailers and analysts with actionable product intelligence at scale.
Conclusion
The Marks & Spencer Product Search Scraper delivers comprehensive, structured product data from one of the UK's largest retailers. With 18+ fields covering pricing, availability, variants, and customer reviews, it enables price monitoring, competitive analysis, and market research — all in minutes. Whether you're tracking competitor activity or building a product aggregator, this tool transforms M&S's dynamic catalog into exportable, analysis-ready data.