Marksandspencer Product Search Scraper avatar

Marksandspencer Product Search Scraper

Pricing

from $2.00 / 1,000 results

Go to Apify Store
Marksandspencer Product Search Scraper

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

Stealth mode

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

7 days ago

Last modified

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 scraper accepts a JSON configuration object to define your data collection:

{
"urls": [
"https://www.marksandspencer.com/l/beauty/makeup?page=2"
],
"ignore_url_failures": true,
"max_items_per_url": 200
}

Input Parameters

ParameterTypeDescription
urlsArrayURLs of M&S product search/category pages to scrape. Paste complete URLs including pagination parameters (e.g., ?page=2). Supports multiple URLs for batch processing.
max_items_per_urlIntegerMaximum number of product records to extract per URL (default: 20, max: 200). Higher values collect more products but increase run time.
ignore_url_failuresBooleanIf true, the scraper continues running if individual URLs fail. If false, a single failure stops the entire job. Recommended: true for bulk runs.

Tips:

  • Use complete category/search URLs with pagination (e.g., /l/beauty/makeup?page=2)
  • Test with max_items_per_url: 20 first to verify URL format
  • Set ignore_url_failures: true when scraping 10+ URLs to prevent interruptions

Output Format

Sample Output Record

{
"id": "P60586663",
"product_external_id": "P60586663",
"stroke_id": "T233341E,T23/3341E",
"brand": "BENEFIT",
"title": "Hoola Matte Bronzer 8g",
"description": null,
"sub_message": null,
"seo_path": "/hoola-matte-bronzer-8g/p/hbp60586663?color=NOCOLOUR&image=SD_07_T23_3341E_NC_X_EC_0",
"product_definition": "Bronzer",
"variants": [
{
"colour": null,
"sku_id": "60586663",
"upc": "28298632",
"size": "One Size",
"serving_size": null,
"part_number": "60586663",
"price": 34,
"media_assets": [
{
"asset_id": "SD_07_T23_3341E_NC_X_EC_88",
"is_landscape_image": false,
"type": "Fabric",
"__typename": "SearchRecommendation_ResultMediaAsset"
},
{
"asset_id": "SD_07_T23_3341E_NC_X_EC_20",
"is_landscape_image": false,
"type": "Video",
"__typename": "SearchRecommendation_ResultMediaAsset"
},
{
"asset_id": "SD_07_T23_3341E_NC_X_EC_2",
"is_landscape_image": false,
"type": "Alternative",
"__typename": "SearchRecommendation_ResultMediaAsset"
},
{
"asset_id": "SD_07_T23_3341E_NC_X_EC_3",
"is_landscape_image": false,
"type": "Alternative",
"__typename": "SearchRecommendation_ResultMediaAsset"
},
{
"asset_id": "SD_07_T23_3341E_NC_X_EC_6",
"is_landscape_image": false,
"type": "Alternative",
"__typename": "SearchRecommendation_ResultMediaAsset"
},
{
"asset_id": "SD_07_T23_3341E_NC_X_EC_1",
"is_landscape_image": false,
"type": "Alternative",
"__typename": "SearchRecommendation_ResultMediaAsset"
},
{
"asset_id": "SD_07_T23_3341E_NC_X_EC_4",
"is_landscape_image": false,
"type": "Alternative",
"__typename": "SearchRecommendation_ResultMediaAsset"
},
{
"asset_id": "SD_07_T23_3341E_NC_X_EC_5",
"is_landscape_image": false,
"type": "Alternative",
"__typename": "SearchRecommendation_ResultMediaAsset"
},
{
"asset_id": "MS_07_T23_3341E_NC_X_EC_8",
"is_landscape_image": false,
"type": "Alternative",
"__typename": "SearchRecommendation_ResultMediaAsset"
},
{
"asset_id": "MS_07_T23_3341E_NC_X_EC_7",
"is_landscape_image": false,
"type": "Alternative",
"__typename": "SearchRecommendation_ResultMediaAsset"
},
{
"asset_id": "MS_07_T23_3341E_NC_X_EC_1",
"is_landscape_image": false,
"type": "Alternative",
"__typename": "SearchRecommendation_ResultMediaAsset"
},
{
"asset_id": "SD_07_T23_3341E_NC_X_EC_0",
"is_landscape_image": false,
"type": "Main",
"__typename": "SearchRecommendation_ResultMediaAsset"
}
],
"swatch_asset": null,
"__typename": "SearchRecommendation_ResultVariant"
}
],
"reviews": {
"average_rating": 4.716876971608833,
"total_review_count": 1268,
"__typename": "SearchRecommendation_ResultReviews"
},
"price": {
"unit_price": {
"amount": 42.5,
"measurement_unit": "g",
"quantity": 10,
"__typename": "SearchRecommendation_UnitPrice"
},
"list_price": {
"amount": 34,
"__typename": "SearchRecommendation_SingleListPrice"
},
"currency": "GBP",
"previous_price": null,
"__typename": "SearchRecommendation_ResultPrice"
},
"dietary_information": [],
"is_ranged": false,
"labels": [],
"online_only": false,
"sparks_offers": [
{
"loyalty_promotion_code": "16742",
"__typename": "SearchRecommendation_ResultSparksOffer"
},
{
"loyalty_promotion_code": "17509",
"__typename": "SearchRecommendation_ResultSparksOffer"
},
{
"loyalty_promotion_code": "18674",
"__typename": "SearchRecommendation_ResultSparksOffer"
},
{
"loyalty_promotion_code": "10528",
"__typename": "SearchRecommendation_ResultSparksOffer"
},
{
"loyalty_promotion_code": "17191",
"__typename": "SearchRecommendation_ResultSparksOffer"
},
{
"loyalty_promotion_code": "20167",
"__typename": "SearchRecommendation_ResultSparksOffer"
},
{
"loyalty_promotion_code": "15671",
"__typename": "SearchRecommendation_ResultSparksOffer"
},
{
"loyalty_promotion_code": "15946",
"__typename": "SearchRecommendation_ResultSparksOffer"
},
{
"loyalty_promotion_code": "18838",
"__typename": "SearchRecommendation_ResultSparksOffer"
},
{
"loyalty_promotion_code": "19592",
"__typename": "SearchRecommendation_ResultSparksOffer"
},
{
"loyalty_promotion_code": "19683",
"__typename": "SearchRecommendation_ResultSparksOffer"
},
{
"loyalty_promotion_code": "16110",
"__typename": "SearchRecommendation_ResultSparksOffer"
},
{
"loyalty_promotion_code": "17804",
"__typename": "SearchRecommendation_ResultSparksOffer"
},
{
"loyalty_promotion_code": "18925",
"__typename": "SearchRecommendation_ResultSparksOffer"
},
{
"loyalty_promotion_code": "19365",
"__typename": "SearchRecommendation_ResultSparksOffer"
},
{
"loyalty_promotion_code": "21837",
"__typename": "SearchRecommendation_ResultSparksOffer"
},
{
"loyalty_promotion_code": "21911",
"__typename": "SearchRecommendation_ResultSparksOffer"
},
{
"loyalty_promotion_code": "22047",
"__typename": "SearchRecommendation_ResultSparksOffer"
},
{
"loyalty_promotion_code": "19466",
"__typename": "SearchRecommendation_ResultSparksOffer"
},
{
"loyalty_promotion_code": "20698",
"__typename": "SearchRecommendation_ResultSparksOffer"
},
{
"loyalty_promotion_code": "16406",
"__typename": "SearchRecommendation_ResultSparksOffer"
},
{
"loyalty_promotion_code": "16406",
"__typename": "SearchRecommendation_ResultSparksOffer"
}
],
"stock_level_indicator": "M",
"from_url": "https://www.marksandspencer.com/l/beauty/makeup?page=2"
}

Each product record contains 18+ fields capturing comprehensive retail data:

Product Identification

FieldMeaningExample
IDUnique Marks & Spencer product identifier in the systemprod_123456
Product External IDExternal product code (SKU or equivalent)MS-BEAUTY-456
Stroke IDAdditional internal reference codestroke_789
TitleProduct name displayed on M&S websiteRevlon ColorStay Liquid Foundation SPF 15
BrandManufacturer or brand nameRevlon
SEO PathURL-friendly slug for the product page/l/beauty/makeup/revlon-colorstay-liquid

Product Details & Attributes

FieldMeaningExample
DescriptionFull product description including materials, usage, benefitsLong-wearing liquid foundation with SPF 15 protection...
Sub MessageSecondary messaging (promotions, certifications, disclaimers)Cruelty-free or Free delivery on orders over £50
Product DefinitionCategory or product type classificationLiquid Foundation
VariantsAvailable variations (colors, sizes, quantities)[{"color":"Natural Beige","size":"30ml"},...]
Dietary InformationNutritional/ingredient info (if applicable to product type)Vegan, Hypoallergenic
LabelsPromotional or informational tagsNew, Bestseller, Eco-Friendly

Availability & Pricing

FieldMeaningExample
PriceCurrent retail price on M&S website£12.99 or £25.00
Stock Level IndicatorAvailability status (in-stock, low-stock, out-of-stock)In Stock, Only 3 left
Online OnlyBoolean flag indicating web-exclusive productstrue or false

Social Proof & Marketing

FieldMeaningExample
ReviewsCustomer ratings, review counts, or aggregated sentiment4.5/5 (234 reviews)
Sparks OffersM&S Sparks member exclusive deals or discountsExtra 20% off for Sparks members
Is RangedIndicates if product is part of a larger product rangetrue (multiple colors/variants available)

How to Use

  1. Identify target pages — Browse Marks & Spencer category or search pages (e.g., Beauty → Makeup). Note the full URL including pagination parameters.
  2. Configure input — Paste URLs into the urls array. Start with max_items_per_url: 50 to test.
  3. Set error handling — For single URLs use ignore_url_failures: false. For bulk runs use true.
  4. Run the scraper — Execute the job and monitor progress in the logs.
  5. 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.