Marks & Spencer Scraper
Pricing
$40.00/month + usage
Marks & Spencer Scraper
Scrape the multinational British retailer, Marks & Spencer. Input direct product URLs or search query. Extract titles, description, product codes, prices, ratings, images, sizes, colours, offers, reviews and much more.
0.0 (0)
Pricing
$40.00/month + usage
0
6
1
Last modified
14 days ago
Scrape the multinational British retailer, Marks & Spencer. Input direct product URLs or search query. Extract titles, description, product codes, prices, ratings, images, sizes, colours, offers, reviews and much more.
😋 Features 😋
- Flexible input options - Scrape by direct product URLs or through search queries.
- Comprehensive product data - Retrieve detailed product information covering every key attribute.
- Rich variant details - Capture complete data for each variant, including images, sizes, manufacturer part numbers, and inventory status.
- Optional reviews - Seamlessly include full product review data in your results.
- Resilient error handling – Built-in retry logic ensures reliable scraping even under network or site fluctuations.
👩🍳 Input 👩🍳
| Parameter | Type | Description | Default Value |
|---|---|---|---|
| productUrls | array | Enter Marks & Spencer product URLs. Only products on the UK store are currently allowed. | - |
| searchQuery | string | Enter product, code, or brand | - |
| sortSearchResultsBy | relevance|newArrivals|bestSelling|priceLowHigh|priceHighLow|ratings | Sort the results of each search input by one of these | relevance |
| maxSearchResults | integer | Limit the number of results of search query. If the value is 0, all the results will be returned | 10 |
| country | uk | Select Country/Region for search. Only UK is currently supported. | uk |
| scrapeReviews | boolean | Click to additionally scrape product reviews. | false |
| filterReviewsByRating | ""|"5"|"4"|"3"|"2"|"1" | Set the category of ratings to retrieve. | "" |
| sortReviewsBy | SUBMISSION_TIME|RATING|HELPFULNESS | Sort reviews by Submission Time, Rating, or Helpfulness. Rating is only valid if filterReviewsByRating is set to all ratings. If not, it will default to Submission Time. | SUBMISSION_TIME |
| reviewsSortOrder | DESC|ASC | Set sort order. | DESC |
| maxReviews | integer | Set the maximum number of reviews to be retrieved. If the value is 0, all reviews will be returned. | 10 |
Example
{"productUrls": [],"searchQuery": "coat","sortSearchResultsBy": "newArrivals","maxSearchResults": 50,"country": "uk","scrapeReviews": true,"filterReviewsByRating": "5","sortReviewsBy": "SUBMISSION_TIME","reviewsSortOrder": "DESC","maxReviews": 200}
🍖 Output 🍖
Example
{"input": "https://www.marksandspencer.com/pure-cotton-oxford-shirt/p/clp60708918","searchIndex": null,"serverRenderedAt": 1760798724013,"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. It's cut to a comfy regular fit. A button-down collar and a chest pocket add smart-casual touches.\n\nM&S Collection: easy-to-wear wardrobe staples that combine classic and contemporary styles.","price": "£25","brand": "M&S","platformProductType": "Clothing","department": "Men","subCategory": "Casual Shirts","productDefinition": "Shirts","rating": 4.6530614,"reviewCount": 98,"recommendedCount": 72,"secondaryRatingsAverages": [{"averageRating": 3.976470588235294,"id": "TrueToSize"}],"ratingDistribution": [{"ratingValue": 5,"count": 76},{"ratingValue": 4,"count": 14},{"ratingValue": 3,"count": 5},{"ratingValue": 2,"count": 2},{"ratingValue": 1,"count": 1}],"availability": "InStock","itemCondition": "NewCondition","isNew": false,"isOffSale": false,"minimumPurchaseQuantity": 1,"maximumPurchaseQuantity": 20,"images": ["https://assets.digitalcontent.marksandspencer.app/images/q_auto,f_auto/SD_03_T25_3331M_Y0_X_EC_0/Pure-Cotton-Ultimate-Oxford-Shirt","https://assets.digitalcontent.marksandspencer.app/images/q_auto,f_auto/SD_03_T25_3331M_Y0_X_EC_90/Pure-Cotton-Ultimate-Oxford-Shirt","https://assets.digitalcontent.marksandspencer.app/images/q_auto,f_auto/SD_03_T25_3331M_Y0_X_EC_1/Pure-Cotton-Ultimate-Oxford-Shirt","https://assets.digitalcontent.marksandspencer.app/images/q_auto,f_auto/SD_03_T25_3331M_Y0_X_EC_2/Pure-Cotton-Ultimate-Oxford-Shirt","https://assets.digitalcontent.marksandspencer.app/images/q_auto,f_auto/SD_03_T25_3331M_Y0_X_EC_3/Pure-Cotton-Ultimate-Oxford-Shirt"],"categories": ["Men's New In","Clothing","Category Content","Men’s Smart Casual","Men's Clothing","Men's Shirts","Casual Shirts","Men’s Office Wear","Men’s Autumn Outfits","Brands","M&S Collection","M&S Collection Clothing","Casual Shirts","New In","Casual Shirts","Men’s best sellers","Men’s Everyday Essentials","Men’s Value Clothing","Love That"],"colours": ["Black","Chambray"],"sizes": [{"primarySize": "S","secondarySize": "Regular","primarySizePosition": "03","secondarySizePosition": "08"},{"primarySize": "M","secondarySize": "Regular","primarySizePosition": "04","secondarySizePosition": "08"},{"primarySize": "L","secondarySize": "Regular","primarySizePosition": "05","secondarySizePosition": "08"}],"promotions": [{"name": "Offer - Get a Beauty Advent Calendar for £60 when you spend £35 on fashion, home or beauty. Add it to your bag to claim","description": "Offer - Get a Beauty Advent Calendar for £60 when you spend £35 on fashion, home or beauty. Add it to your bag to claim"},{"name": "Free standard delivery over £60","description": "Free standard delivery over £60"}],"variants": [{"id": "60728744","colour": "Black","assets": [{"type": "CUT_OUT","images": ["https://assets.digitalcontent.marksandspencer.app/image/upload/q_auto,f_auto/SD_03_T25_3331M_Y0_X_EC_90"]},{"type": "MAIN","images": ["https://assets.digitalcontent.marksandspencer.app/image/upload/q_auto,f_auto/SD_03_T25_3331M_Y0_X_EC_0"]},{"type": "ALTERNATIVE","images": ["https://assets.digitalcontent.marksandspencer.app/image/upload/q_auto,f_auto/SD_03_T25_3331M_Y0_X_EC_94","https://assets.digitalcontent.marksandspencer.app/image/upload/q_auto,f_auto/SD_03_T25_3331M_Y0_X_EC_3","https://assets.digitalcontent.marksandspencer.app/image/upload/q_auto,f_auto/SD_03_T25_3331M_Y0_X_EC_2","https://assets.digitalcontent.marksandspencer.app/image/upload/q_auto,f_auto/SD_03_T25_3331M_Y0_X_EC_1"]},{"type": "FABRIC","images": ["https://assets.digitalcontent.marksandspencer.app/image/upload/q_auto,f_auto/SD_03_T25_3331M_Y0_X_EC_88"]}],"skus": [{"id": "60728744001","mfPartNumber": "04657941","price": {"currencyPrefix": "£","currentPrice": 25,"previousPrice": null,"unitPrice": null},"promotions": [{"name": "Offer - Get a Beauty Advent Calendar for £60 when you spend £35 on fashion, home or beauty. Add it to your bag to claim","description": "Offer - Get a Beauty Advent Calendar for £60 when you spend £35 on fashion, home or beauty. Add it to your bag to claim"},{"name": "Free standard delivery over £60","description": "Free standard delivery over £60"}],"size": {"primarySize": "S","secondarySize": "Regular","primarySizePosition": "03","secondarySizePosition": "08"},"inventory": {"quantity": 1,"quantityOnHand": 1,"quantityAdvised": 0}},{"id": "60728744002","mfPartNumber": "04658931","price": {"currencyPrefix": "£","currentPrice": 25,"previousPrice": null,"unitPrice": null},"promotions": [{"name": "Offer - Get a Beauty Advent Calendar for £60 when you spend £35 on fashion, home or beauty. Add it to your bag to claim","description": "Offer - Get a Beauty Advent Calendar for £60 when you spend £35 on fashion, home or beauty. Add it to your bag to claim"},{"name": "Free standard delivery over £60","description": "Free standard delivery over £60"}],"size": {"primarySize": "M","secondarySize": "Regular","primarySizePosition": "04","secondarySizePosition": "08"},"inventory": {"quantity": 0,"quantityOnHand": 0,"quantityAdvised": 0}},{"id": "60728744003","mfPartNumber": "04661559","price": {"currencyPrefix": "£","currentPrice": 25,"previousPrice": null,"unitPrice": null},"promotions": [{"name": "Offer - Get a Beauty Advent Calendar for £60 when you spend £35 on fashion, home or beauty. Add it to your bag to claim","description": "Offer - Get a Beauty Advent Calendar for £60 when you spend £35 on fashion, home or beauty. Add it to your bag to claim"},{"name": "Free standard delivery over £60","description": "Free standard delivery over £60"}],"size": {"primarySize": "L","secondarySize": "Regular","primarySizePosition": "05","secondarySizePosition": "08"},"inventory": {"quantity": 0,"quantityOnHand": 0,"quantityAdvised": 0}}]{"id": "60728743","colour": "Chambray","assets": [{"type": "CUT_OUT","images": ["https://assets.digitalcontent.marksandspencer.app/image/upload/q_auto,f_auto/SD_03_T25_3331M_SA_X_EC_90"]},{"type": "MAIN","images": ["https://assets.digitalcontent.marksandspencer.app/image/upload/q_auto,f_auto/SD_03_T25_3331M_SA_X_EC_0"]},{"type": "ALTERNATIVE","images": ["https://assets.digitalcontent.marksandspencer.app/image/upload/q_auto,f_auto/SD_03_T25_3331M_SA_X_EC_94","https://assets.digitalcontent.marksandspencer.app/image/upload/q_auto,f_auto/SD_03_T25_3331M_SA_X_EC_2","https://assets.digitalcontent.marksandspencer.app/image/upload/q_auto,f_auto/SD_03_T25_3331M_SA_X_EC_5","https://assets.digitalcontent.marksandspencer.app/image/upload/q_auto,f_auto/SD_03_T25_3331M_SA_X_EC_4","https://assets.digitalcontent.marksandspencer.app/image/upload/q_auto,f_auto/SD_03_T25_3331M_SA_X_EC_3","https://assets.digitalcontent.marksandspencer.app/image/upload/q_auto,f_auto/SD_03_T25_3331M_SA_X_EC_1"]},{"type": "FABRIC","images": ["https://assets.digitalcontent.marksandspencer.app/image/upload/q_auto,f_auto/SD_03_T25_3331M_SA_X_EC_88"]}],"skus": [{"id": "60728743001","mfPartNumber": "04639800","price": {"currencyPrefix": "£","currentPrice": 25,"previousPrice": null,"unitPrice": null},"promotions": [{"name": "Offer - Get a Beauty Advent Calendar for £60 when you spend £35 on fashion, home or beauty. Add it to your bag to claim","description": "Offer - Get a Beauty Advent Calendar for £60 when you spend £35 on fashion, home or beauty. Add it to your bag to claim"},{"name": "Free standard delivery over £60","description": "Free standard delivery over £60"}],"size": {"primarySize": "S","secondarySize": "Regular","primarySizePosition": "03","secondarySizePosition": "08"},"inventory": {"quantity": 533,"quantityOnHand": 533,"quantityAdvised": 0}},{"id": "60728743002","mfPartNumber": "04640448","price": {"currencyPrefix": "£","currentPrice": 25,"previousPrice": null,"unitPrice": null},"promotions": [{"name": "Offer - Get a Beauty Advent Calendar for £60 when you spend £35 on fashion, home or beauty. Add it to your bag to claim","description": "Offer - Get a Beauty Advent Calendar for £60 when you spend £35 on fashion, home or beauty. Add it to your bag to claim"},{"name": "Free standard delivery over £60","description": "Free standard delivery over £60"}],"size": {"primarySize": "M","secondarySize": "Regular","primarySizePosition": "04","secondarySizePosition": "08"},"inventory": {"quantity": 2110,"quantityOnHand": 2110,"quantityAdvised": 0}},{"id": "60728743003","mfPartNumber": "04642183","price": {"currencyPrefix": "£","currentPrice": 25,"previousPrice": null,"unitPrice": null},"promotions": [{"name": "Offer - Get a Beauty Advent Calendar for £60 when you spend £35 on fashion, home or beauty. Add it to your bag to claim","description": "Offer - Get a Beauty Advent Calendar for £60 when you spend £35 on fashion, home or beauty. Add it to your bag to claim"},{"name": "Free standard delivery over £60","description": "Free standard delivery over £60"}],"size": {"primarySize": "L","secondarySize": "Regular","primarySizePosition": "05","secondarySizePosition": "08"},"inventory": {"quantity": 1577,"quantityOnHand": 1577,"quantityAdvised": 0}}]}],"reviewsSentiments": ["quality","purchase","fit","color","satisfaction","price","size","value","laid-back","cotton"],"reviews": [{"id": "177152626","isRecommended": true,"secondaryRatings": [{"label": "How did it fit?","id": "TrueToSize","value": 4}],"userNickname": "Jimbo124","title": "Excellent value","submissionTime": "2025-10-18T11:32:42.000+00:00","positiveFeedbackCount": 0,"negativeFeedbackCount": 0,"rating": 5,"reviewText": "High quality Oxford fabric at a very attractive price","clientResponses": [],"badgesOrder": ["verifiedPurchaser"]},{"id": "177150527","isRecommended": true,"secondaryRatings": [{"label": "How did it fit?","id": "TrueToSize","value": 4}],"userNickname": "Porkpie47","title": "Very comfortable!","submissionTime": "2025-10-18T09:23:03.000+00:00","positiveFeedbackCount": 0,"negativeFeedbackCount": 0,"rating": 5,"reviewText": "Bought the shirt to attend a funeral. Very pleased, look great and very comfortable. Liked the material","clientResponses": [],"badgesOrder": ["verifiedPurchaser"]},{"id": "177116532","isRecommended": true,"secondaryRatings": [{"label": "How did it fit?","id": "TrueToSize","value": 4}],"userNickname": null,"title": "Nice shirt","submissionTime": "2025-10-16T11:47:15.000+00:00","positiveFeedbackCount": 0,"negativeFeedbackCount": 0,"rating": 5,"reviewText": "Lovely shirt \nFit is great\nBrought the blue one \nAlso wanted the grey but not available","clientResponses": [],"badgesOrder": ["verifiedPurchaser"]}]}
This scraper is under active development and suggestions or feature requests will be greatly appreciated. If you have any or encounter any issues, feel free to open an issue here.
If you prefer a custom solution, email me directly at isaactoluwani30@gmail.com.
Enjoy 💪.
On this page
Share Actor:
