Sainsbury's Scraper avatar

Sainsbury's Scraper

Try for free

3 days trial then $30.00/month - No credit card required now

View all Actors
Sainsbury's Scraper

Sainsbury's Scraper

natanielsantos/sainsbury-s-scraper
Try for free

3 days trial then $30.00/month - No credit card required now

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.

About this actor

Sainsbury's Scraper enables you to extract product data sainsburys.co.uk without having to write code.

This actor supports the following features:

  • Scrape products by product URL
  • Scrape products by search results URL
  • Scrape products by category URL

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.

Input parameters

Check out the Input Schema.

Output Example

The structure of each item returned by this actor looks like this:

1{
2    "uid": "3449370",
3    "url": "https://www.sainsburys.co.uk/shop/gb/groceries/product/details/ben---jerrys-ice-cream-cookie-dough-500ml",
4    "name": "Ben & Jerry's Cookie Dough Vanilla Ice Cream Tub 465ml",
5    "image_thumbnail": "https://www.sainsburys.co.uk/wcsstore/ExtendedSitesCatalogAssetStore/images/catalog/productImages/05/8711327373105/8711327373105_M.jpeg",
6    "image": "https://www.sainsburys.co.uk/wcsstore/ExtendedSitesCatalogAssetStore/images/catalog/productImages/05/8711327373105/8711327373105_L.jpeg",
7    "is_available": true,
8    "unit_price": {
9      "price": 0.81,
10      "measure": "ml",
11      "measure_amount": 100
12    },
13    "retail_price": {
14      "price": 3.75,
15      "measure": "unit"
16    },
17    "promotions": [
18      {
19        "promotion_uid": "10574585",
20        "icon": "https://www.sainsburys.co.uk/wcsstore/Sainsburys/Promotion assets/Promotion icons/SO_Fixed_Price_S_Icon.gif",
21        "link": "/shop/PromotionDisplayView?promotionId=10574585&productId=132384&langId=44&storeId=10151",
22        "strap_line": "Only £3.75: Save £1.25",
23        "start_date": "2023-05-30T23:00:00Z",
24        "end_date": "2023-06-19T23:00:00Z",
25        "original_price": 5,
26        "promo_mechanic_id": "4"
27      }
28    ],
29    "product_details": {
30      "ingredients": "Cream (MILK) 27%, water, sugar, condensed skimmed MILK, WHEAT flour (WHEAT flour, calcium carbonate, iron, niacin, thiamin), brown sugar, free range EGG yolk, butter (MILK), fully refined soybean oil, free range EGG, cocoa mass, coconut fat, molasses, fat-reduced cocoa powder, vanilla extract, stabilisers (guar gum, carrageenan), cocoa butter, salt, natural flavourings (contain MILK), natural vanilla flavouring, emulsifier (SOY lecithins), butter fat (MILK). Sugar, cocoa, vanilla: mass balance is used to match Fairtrade sourcing. Total 65% excluding water and dairyF. FVisit info.fairtrade.net/sourcing",
31      "dietary_information": "Contains Cereals Containing Gluten\nContains Eggs\nContains Milk\nContains Soya\nContains Wheat",
32      "manufacturer": "Unilever UK,Springfield Drive,Leatherhead,KT22 7GR\nUnilever Ireland Ltd,20 Riverwalk,National Digital Park,Citywest,Dublin 24,Ireland",
33      "country_of_origin": "Country of origin: Netherlands\n\n\nNetherlands"
34    },
35    "brands": [
36      "Ben & Jerry's"
37    ],
38    "labels": [
39      {
40        "label_uid": "Frozen",
41        "text": "Frozen"
42      }
43    ],
44    "zone": "Father's Day",
45    "reviews_info": {
46      "is_enabled": true,
47      "product_uid": "3449370",
48      "total": 235,
49      "average_rating": 4.6085
50    },
51    "breadcrumbs": [
52      {
53        "label": "Father's Day",
54        "url": "gb/groceries/celebrate-fathers-day-"
55      },
56      {
57        "label": "Movie night",
58        "url": "gb/groceries/movie-night"
59      }
60    ],
61    "assets": {
62      "plp_image": "https://assets.sainsburys-groceries.co.uk/gol/3449370/image.jpg",
63      "images": [
64        {
65          "id": "1",
66          "sizes": [
67            {
68              "width": 100,
69              "height": 100,
70              "url": "https://assets.sainsburys-groceries.co.uk/gol/3449370/1/100x100.jpg"
71            },
72            {
73              "width": 140,
74              "height": 140,
75              "url": "https://assets.sainsburys-groceries.co.uk/gol/3449370/1/140x140.jpg"
76            },
77            {
78              "width": 300,
79              "height": 300,
80              "url": "https://assets.sainsburys-groceries.co.uk/gol/3449370/1/300x300.jpg"
81            },
82            {
83              "width": 640,
84              "height": 640,
85              "url": "https://assets.sainsburys-groceries.co.uk/gol/3449370/1/640x640.jpg"
86            },
87            {
88              "width": 1500,
89              "height": 1500,
90              "url": "https://assets.sainsburys-groceries.co.uk/gol/3449370/1/1500x1500.jpg"
91            },
92            {
93              "width": 2365,
94              "height": 2365,
95              "url": "https://assets.sainsburys-groceries.co.uk/gol/3449370/1/2365x2365.jpg"
96            }
97          ]
98        }
99      ],
100      "video": []
101    },
102    "description": [
103      "Vanilla ice cream with chunks of chocolate chips cookie dough (16%) and chocolatey chunks (1%)."
104    ],
105    "nutrition_info": {
106      "Energy (kJ)": {
107        "Per 100g Unprepared": "1145 kJ",
108        "Per 100ml Unprepared": "996 kJ",
109        "Per Serving Unprepared": "996 kJ",
110        "%* per portion**": "12%"
111      },
112      "Energy (kcal)": {
113        "Per 100g Unprepared": "273 kcal",
114        "Per 100ml Unprepared": "238 kcal",
115        "Per Serving Unprepared": "238 kcal",
116        "%* per portion**": "12%"
117      },
118      "Fat (g)": {
119        "Per 100g Unprepared": "15 g",
120        "Per 100ml Unprepared": "13 g",
121        "Per Serving Unprepared": "13 g",
122        "%* per portion**": "19%"
123      },
124      "of which saturates (g)": {
125        "Per 100g Unprepared": "9.2 g",
126        "Per 100ml Unprepared": "8 g",
127        "Per Serving Unprepared": "8 g",
128        "%* per portion**": "40%"
129      },
130      "Carbohydrate (g)": {
131        "Per 100g Unprepared": "31 g",
132        "Per 100ml Unprepared": "27 g",
133        "Per Serving Unprepared": "27 g",
134        "%* per portion**": "10%"
135      },
136      "of which sugars (g)": {
137        "Per 100g Unprepared": "25 g",
138        "Per 100ml Unprepared": "22 g",
139        "Per Serving Unprepared": "22 g",
140        "%* per portion**": "24%"
141      },
142      "Protein (g)": {
143        "Per 100g Unprepared": "4.1 g",
144        "Per 100ml Unprepared": "3.5 g",
145        "Per Serving Unprepared": "3.5 g",
146        "%* per portion**": "7%"
147      },
148      "Salt (g)": {
149        "Per 100g Unprepared": "0.17 g",
150        "Per 100ml Unprepared": "0.15 g",
151        "Per Serving Unprepared": "0.15 g",
152        "%* per portion**": "3%"
153      },
154      "1 portion =  GRM. (Pack contains 5 portions)": {
155        "Per 100g Unprepared": null,
156        "Per 100ml Unprepared": null,
157        "Per Serving Unprepared": null,
158        "%* per portion**": null
159      }
160    },
161    "categories": [
162      {
163        "id": "238891",
164        "name": "Sweet toppings"
165      },
166      {
167        "id": "258777",
168        "name": "Top sellers"
169      },
170      {
171        "id": "265256",
172        "name": "Ice cream & desserts"
173      },
174      {
175        "id": "267389",
176        "name": "Ice cream shop"
177      },
178      {
179        "id": "269816",
180        "name": "Luxury"
181      }
182    ],
183    "product_type": "BASIC",
184    "other_details": {
185      "is_alcoholic": false,
186      "is_spotlight": false,
187      "is_intolerant": false,
188      "is_mhra": false
189    }
190  }

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.

Developer
Maintained by Community

Actor Metrics

  • 2 monthly users

  • 1 star

  • >99% runs succeeded

  • Created in Jun 2023

  • Modified 2 months ago

Categories