Sainsbury's Scraper
Pricing
$30.00/month + usage
Sainsbury's Scraper
Scrape product data from Sainsbury's Groceries webiste, the biggest supermarket chain based in the United Kingdom. Extract price, image, description, nutrition info, promotions and more. Download your data as HTML table, JSON, CSV, Excel, XML, and RSS feed.
Pricing
$30.00/month + usage
Rating
5.0
(2)
Developer
Nataniel Santos
Maintained by CommunityActor stats
7
Bookmarked
134
Total users
3
Monthly active users
0.88 hours
Issues response
2 days ago
Last modified
Categories
Share
π What is Sainsbury's Scraper?
Sainsbury's Scraper enables you to extract product data sainsburys.co.uk without having to write code.
β¨ What Does This Tool Do?
- ποΈ Scrape products by product URL
- π Scrape products by search results URL
- π Scrape products by category and subcategory URL
- π Scrape product using search terms
β¬οΈ What You Need to Provide
- π Start URLs (Optional) from www.sainsburys.co.uk. Example URLs:
- Product URL:
http://www.sainsburys.co.uk/gol-ui/product/sainsburys-red-seedless-grapes-taste-the-difference-500g - Category URL:
https://www.sainsburys.co.uk/gol-ui/groceries/meat-and-fish/c:1020388 - Search URL:
https://www.sainsburys.co.uk/gol-ui/SearchResults/fruit
- Product URL:
- π Search Terms (Optional) - Alternative to using search URLs
- 'fruit'
- 'vegetables'
- π’ Max Items per URL - Maximum number of products to scrape per URL or search term. Default is 0.
- βΉοΈ Scrape Additional Data - If enabled, the actor will scrape additional product data such as nutrition information, product details, and reviews information. This may increase the runtime of the actor, especially if you are scraping a large number of products. Default is false.
Check out the Input Schema.
π‘ Example Input
- π Scraping by product URLs
{"start_urls": [{"url": "http://www.sainsburys.co.uk/gol-ui/product/sainsburys-red-seedless-grapes-taste-the-difference-500g"}],"scrape_additional_data": true,}
- π Scraping by category URLs
{"start_urls": [{"url": "https://www.sainsburys.co.uk/gol-ui/groceries/meat-and-fish/c:1020388"}],"scrape_additional_data": true,"max_items_per_url": 100}
- π Scraping by search URLs
{"start_urls": [{"url": "https://www.sainsburys.co.uk/gol-ui/SearchResults/fruit"}],"scrape_additional_data": true,"max_items_per_url": 100}
- π Scraping by search terms
{"search_terms": ["fruit","vegetables"],"scrape_additional_data": true,"max_items_per_url": 100}
π‘Tips
- To extract products with especific filter, go to a category/subcategory or search results page and add your own filters on the Sainsbury's website, then copy the page link and paste it on Start URLs field on the actor input.
- You can watch Apify Tutorials on how to use actors.
π¦ What Youβll Get (Resume)
Each product result includes:
- π Product info - url, title, uid
- π° Price info - unit price, original unit price, retail price
- π·οΈ Labels - product labels such as "British", "Chilled", etc.
- πΌοΈ Assets - product images and other media assets
- β Reviews info - product reviews information
- π½οΈ Nutrition info - product nutrition information
- π Product details - product details such as ingredients, health, preparation and safety, country of origin, size, storage, packaging, manufacturer
- ποΈ Categories - product categories
- π§Ύ Other details - product details such as is_alcoholic, is_spotlight, is_intolerant, is_mhra
π₯ Detailed Output Example
The structure of each item returned by this actor looks like this:
{"sain_id": "w7q063n7","uid": "7977681","url": "http://www.sainsburys.co.uk/gol-ui/product/sainsburys-320g-british-fresh-skinless-boneless-chicken-breast-fillets","name": "Sainsbury's 320g British Fresh Skinless & Boneless Chicken Breast Fillets","image_thumbnail": "https://www.sainsburys.co.uk/wcsstore/ExtendedSitesCatalogAssetStore/images/catalog/productImages/91/0000000366991/0000000366991_M.jpeg","image": "https://www.sainsburys.co.uk/wcsstore/ExtendedSitesCatalogAssetStore/images/catalog/productImages/91/0000000366991/0000000366991_L.jpeg","is_available": true,"unit_price": {"price": 7.63,"measure": "kg","measure_amount": 1},"original_unit_price": {"price": 7.63,"measure": "kg","measure_amount": 1},"retail_price": {"price": 2.44,"measure": "unit"},"promotions": [],"labels": [{"label_uid": "Aldi Price Match","text": "ALDI PRICE MATCH*"},{"label_uid": "British","text": "BRITISH"},{"label_uid": "Chilled","text": "Chilled"},{"label_uid": "TypicalLife4Days","text": "Typical life 4 days"}],"zone": "Meat & fish","reviews_info": {"is_enabled": true,"product_uid": "7977681","total": 978,"average_rating": 3.0542},"brands": ["Sainsbury's"],"breadcrumbs": [{"label": "Meat & fish","url": "gb/groceries/meat-fish"},{"label": "Chicken","url": "gb/groceries/chicken---turkey"},{"label": "Chicken breast & fillet","url": "/gol-ui/groceries/meat-and-fish/chicken/chicken-breast-and-fillet/c:1020338"}],"assets": {"plp_image": "https://assets.sainsburys-groceries.co.uk/gol/7977681/image.jpg","images": [{"id": "1","sizes": [{"width": 100,"height": 100,"url": "https://assets.sainsburys-groceries.co.uk/gol/7977681/1/100x100.jpg"}]}],"video": []},"description": ["Fresh class A chicken breast fillets skinless and boneless","REARED BY OUR TRUSTED FARMERS","Our chickens have happier & healthier lives","Our chicken welfare standards improved in March 2023. See sainsburys.co.uk"],"nutrition_info": {"EnergykJ": {"per 100g": "582kJ","% based on RI for Average Adult": null},"Energykcal": {"per 100g": "7%","% based on RI for Average Adult": ""},"Fat": {"per 100g": "1.6g","% based on RI for Average Adult": "2%"},"Saturates": {"per 100g": "0.5g","% based on RI for Average Adult": "3%"},"Carbohydrate": {"per 100g": "<0.5g","% based on RI for Average Adult": "Less than 1%"},"Sugars": {"per 100g": "<0.5g","% based on RI for Average Adult": "Less than 1%"},"Fibre": {"per 100g": "<0.5g","% based on RI for Average Adult": null},"Protein": {"per 100g": "30.6g","% based on RI for Average Adult": "61%"},"Salt": {"per 100g": "0.14g","% based on RI for Average Adult": "2%"}},"product_details": {"nutrition": "per 100g Typical values\n(cooked as per instructions)\n\n\n\nENERGY\n582kJ\n137kcal\n\n\n7%\n\nwhite\n\n\n\nFAT\n1.6g\n\n\n2%\n\ngreen\n\n\n\nSATURATES\n0.5g\n\n\n3%\n\ngreen\n\n\n\nSUGARS\n<0.5g\n\n\n<1%\n\ngreen\n\n\n\nSALT\n0.14g\n\n\n2%\n\ngreen\n\n\n\n% of the Reference Intakes\nTypical values\n(cooked as per instructions) per 100g : Energy 582 kJ/137 kcal\n/\n\n\n\n\nTable of Nutritional Information\n\n\n\n\n\nTypical values\n(cooked as per instructions)per 100gΒ per 100gΒ % based on RI for Average Adult\n\n\n\nEnergy582kJ582kJ-\n\n\n137kcal137kcal7%\n\n\nFat1.6g1.6g2%\n\n\nSaturates0.5g0.5g3%\n\n\nCarbohydrate<0.5g<0.5gLess than 1%\n\n\nSugars<0.5g<0.5gLess than 1%\n\n\nFibre<0.5g<0.5g-\n\n\nProtein30.6g30.6g61%\n\n\nSalt0.14g0.14g2%\n\n\n\nThis pack contains n/a servings","ingredients": "Packaged in a protective atmosphere","health": "Naturally high in protein: protein supports the growth and maintenance of muscle mass.","preparation_and_safety": "Enjoy as part of a varied, balanced diet and a healthy lifestyle.","country_of_origin": "Although every care has been taken to remove all bones, some may remain.","size": "Cooking instructions: Oven\n\nOven cook from chilled. If freezing at home, defrost thoroughly before cooking.\nBefore cooking: Preheat oven to 190Β°C, Fan 170Β°C, Gas 5 mark 5. \nRemove all packaging. Place breast fillets on a baking tray on the middle shelf of the oven for 35 minutes. \nDuring cooking: Baste the chicken with the cooking juices.\nAfter cooking: Check food is piping hot. \nAll cooking appliances vary. Fillet sizes also vary. \nThis is a guide only.\n\nWarnings:\n\nDon't wash raw chicken.\nKeep raw poultry separate from cooked foods.\nUse separate kitchen utensils and surfaces for raw poultry and cooked foods or wash them thoroughly in between use.\nWash hands after handling raw poultry.\nCook raw poultry thoroughly until it is piping hot throughout and no pink colour remains.\nPoultry is cooked if the juices run clear when the deepest part of the flesh is pierced with a thin skewer.","storage": "Packed in Northern Ireland, United Kingdom, using chicken from the UK","packaging": "320g","manufacturer": "For use by date: see front of pack. Keep refrigerated. Once opened, use within 24 hours and do not exceed the use by date. \nFor best quality, freeze as soon as possible after purchase and always within the use by date. Once frozen use within 1 month. Once defrosted use the same day. Do not refreeze once defrosted."},"categories": [{"id": "310865","name": "Chicken breast & fillet"},{"id": "417391","name": "Price lockdown"},{"id": "442353","name": "Price Lock"},{"id": "450494","name": "Cross sell audit - Do not leave on"},{"id": "474595","name": "Meat & fish essentials"},{"id": "500860","name": "Better for you meat & fish"},{"id": "502859","name": "Aldi Price Match"},{"id": "602362","name": "Ways to save"},{"id": "604354","name": "Best of British"},{"id": "607854","name": "Aldi Price Match"},{"id": "641353","name": "Best of British"}],"product_type": "BASIC","other_details": {"is_alcoholic": false,"is_spotlight": false,"is_intolerant": false,"is_mhra": false}}
π§© Integrations and Sainsbury's Scraper
Sainsbury's Scraper can be connected with almost any cloud service or web app thanks to integrations on the Apify platform. You can integrate with Make, Zapier, Slack, Airbyte, GitHub, Google Sheets, Google Drive, and more. Or you can use webhooks to carry out an action whenever an event occurs, e.g. get a notification whenever Sainsbury's Scraper successfully finishes a run.
π Using Sainsbury's Scraper with the Apify API
The Apify API gives you programmatic access to the Apify platform. The API is organized around RESTful HTTP endpoints that enable you to manage, schedule, and run Apify actors. The API also lets you access any datasets, monitor actor performance, fetch results, create and update versions, and more.
To access the API using Node.js, use the apify-client NPM package. To access the API using Python, use the apify-client PyPI package.
Check out the Apify API reference docs for full details.
π¬ Giving feedback
If you have any feature requests or bug reports, please create an issue on the Issues page.