Sainsburys Product Search Scraper avatar

Sainsburys Product Search Scraper

Pricing

from $2.00 / 1,000 results

Go to Apify Store
Sainsburys Product Search Scraper

Sainsburys Product Search Scraper

Scrape Sainsbury's product listings with 40+ data fields including pricing, promotions, stock status, reviews, and images. Perfect for price monitoring, competitor analysis, and retail market research.

Pricing

from $2.00 / 1,000 results

Rating

0.0

(0)

Developer

Stealth mode

Stealth mode

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

0

Monthly active users

24 days ago

Last modified

Features

Limited permissions

Share

Sainsbury's Product Search Scraper: Extract UK Grocery Data at Scale


What Is Sainsbury's.com?

Sainsbury's is the UK's leading online supermarket, offering millions of products across groceries, fresh produce, household items, and branded goods. Its search and category pages display dynamic product information including Nectar member pricing, promotions, availability, and customer reviews. Manually tracking product data across Sainsbury's vast catalog is impractical — the Sainsbury's Product Search Scraper automates extraction, delivering clean, structured product records for analysis and integration.


Overview

The Sainsbury's Product Search Scraper extracts comprehensive product data from Sainsbury's search results and category pages, transforming HTML listings into machine-readable records. It is designed for:

  • Price intelligence platforms monitoring UK grocery pricing trends
  • Retail analysts benchmarking competitor product assortments
  • E-commerce researchers studying product metadata and promotions
  • Market researchers analyzing consumer product availability and reviews
  • Supply chain teams tracking product availability and stock status

Key strengths include support for Nectar member pricing, promotion extraction, review aggregation, and robust handling of large result sets via max_items_per_url.


Input Format

The Actor supports two scraping modes — use only one at a time:

  1. Scrape by URLs — scrape data directly from a list of Sainsbury's product search or category page URLs.
{
"urls": [
"https://www.sainsburys.co.uk/gol-ui/offers/nectar-prices?pageNumber=2"
],
"ignore_url_failures": true,
"max_items_per_url": 200
}
  1. Scrape by search filters — scrape data using a keyword and additional filters (sorting, allergies, dietary preferences, etc.) instead of providing URLs.
{
"keyword": "cakes",
"sort_by": "price",
"allergy_and_intolerance": "",
"dietary_and_lifestyle": "",
"page": 2,
"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 search result or category URLs. When this mode is used, all options in the "Scrape by search filters" section will be disabled.

FieldTypeDefaultDescription
urlsarray(required)One or more Sainsbury's product search or category page URLs to scrape. You can paste URLs one by one, or use the Bulk edit section to add a prepared list. URLs can reference search results (e.g. ?q=rice), category pages, or promotional offers pages like Nectar pricing.
ignore_url_failuresbooleantrueIf true, the scraper continues running when a URL fails instead of stopping the entire run. Recommended for bulk jobs.

Tip: To scrape multiple pages, use pagination parameters (e.g. pageNumber=2) and add each page as a separate URL for full control.

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.

FieldTypeDefaultDescription
keywordstring—The keyword to search for.
sort_bystring (-relevance, price, -price, customer rating)—Sort results by Relevance, Price (low to high), Price (high to low), or Customer rating.
allergy_and_intolerancestring—Filter out items containing a specific allergen, or select a certified gluten-free / gluten-free option. Available values: Any, No Crustaceans, No Lupin, No Celery, No Molluscs, No Egg, No Sesame, No Fish, No Mustard, No Nuts, No Peanuts, Gluten Free, No Lactose, No Milk, No Soya, No Sulphites, Certified Gluten Free.
dietary_and_lifestylestring—Filter by dietary or lifestyle preference. Available values: Any, Vegetarian, Halal, Low Salt, Vegan, Low Fat, Kosher, Low Sugar, 1 of 5 a day.
pageinteger—The page number to start scraping from.

3. General settings

Applies to both scraping modes above.

FieldTypeDefaultDescription
max_items_per_urlinteger20The maximum number of products to extract per URL/search. 200 is suitable for bulk collection; lower values reduce runtime and memory usage.

Output Format

Sample output

{
"id": "3t5gshdp",
"product_uid": "8240086",
"ean_codes": [
"0726436912167"
],
"name": "The Toffee Apple Co. Milk Chocolate Apple with Marshmallows",
"product_url": "://www.sainsburys.co.uk/gol-ui/product/the-toffee-apple-co-milk-chocolate-apple-with-marshmallows",
"price": 1,
"currency": "GBP",
"unit_price": 1,
"unit_price_measure": "ea",
"unit_price_measure_amount": 1,
"original_unit_price": 1,
"is_available": true,
"is_alcoholic": false,
"has_promotion": true,
"promotions": [
{
"promotion_uid": "10760953",
"icon": "",
"link": "/gol-ui/promo-lister/10760953",
"strap_line": "Buy any 2 for £1.50 with Nectar",
"start_date": "2026-08-14T23:00:00Z",
"end_date": "2026-11-30T00:00:00Z",
"original_price": 1,
"promo_mechanic_id": "14",
"is_nectar": true,
"promo_type": "MULTIBUY_BUY_X_OF_VARIABLE_PRICE_FOR_Y",
"promo_group": "multi_buy",
"list_id": "1",
"list_order": "1",
"list_name": "List name - TBD",
"is_valid_strapline": true
}
],
"badges": [],
"labels": [],
"category_ids": [
"572860",
"649353"
],
"categories": [
"Apples",
"Prepped fruit"
],
"category_path": null,
"description": null,
"important_information": null,
"details_html": null,
"review_count": 4,
"average_rating": 4.5,
"image_url": "https://assets.sainsburys-groceries.co.uk/gol/8240086/image.jpg",
"image_urls": [
"https://assets.sainsburys-groceries.co.uk/gol/8240086/image.jpg"
],
"video_urls": [],
"raw_data": null,
"from_url": "https://www.sainsburys.co.uk/groceries/browse/fruit-and-vegetables/fresh-fruit/c:1020020/opt/page:3"
}

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 Sainsbury's product identifier. Purpose: Database indexing, tracking specific products over time, avoiding duplicates.

Product UID: Numeric product identifier used in Sainsbury's URLs, images and reviews. Purpose: Joining datasets, building asset and review links.

EAN Codes: List of barcodes (EAN) of the product. Purpose: Cross-retailer product matching, price comparison with other supermarkets.

Name: Full product name including brand and pack size. Purpose: Product search, brand and pack-size analysis.

Product URL: Direct link to the product page on Sainsbury's. Purpose: Accessing complete details, verification of scraped data.

Pricing

Price: Current retail price of the product in pounds. Purpose: Price comparison, market valuation, budget filtering.

Currency: Currency of the listed prices (GBP). Purpose: Correct financial interpretation when merging datasets from multiple markets.

Unit Price: Price per standard measure (e.g., per litre, per kg). Purpose: Fair value comparison between different pack sizes and brands.

Unit Price Measure: Measure unit used for the unit price (e.g., ltr, kg). Purpose: Interpreting and normalizing unit prices.

Unit Price Measure Amount: Quantity of the measure the unit price refers to. Purpose: Accurate normalization of unit prices.

Original Unit Price: Unit price before any discount. Purpose: Detecting price reductions and discount depth.

Availability and Promotions

Is Available: Whether the product is currently available to order. Purpose: Stock monitoring and availability analysis.

Is Alcoholic: Whether the product contains alcohol. Purpose: Filtering age-restricted products.

Has Promotion: Whether the product has at least one active promotion. Purpose: Quick filtering of discounted products.

Promotions: List of active promotion objects (e.g., multibuy, Nectar price). Purpose: Promotion strategy analysis, discount tracking.

Badges: List of badges displayed on the product (e.g., new, own brand). Purpose: Identifying highlighted or specially marked products.

Labels: List of label texts shown on the product (e.g., Frozen, ALDI PRICE MATCH*). Purpose: Storage-type segmentation, competitive price-match tracking.

Categories

Category IDs: List of category identifiers the product belongs to. Purpose: Joining datasets, category-level aggregation.

Categories: List of category names the product belongs to. Purpose: Market segmentation and category analysis.

Category Path: Breadcrumb path of the product in the store hierarchy (may be null). Purpose: Understanding product placement within the catalog.

Product Content

Description: Product description text (may be null). Purpose: Keyword analysis and product detail extraction.

Important Information: Mandatory or additional notes such as safety and allergy information (may be null). Purpose: Compliance checks and consumer information.

Details HTML: Raw HTML product details block (may be null). Purpose: Extracting nutrition, ingredients and other detailed information.

Reviews

Review Count: Total number of customer reviews. Purpose: Measuring product popularity and rating reliability.

Average Rating: Average customer rating (out of 5). Purpose: Quality assessment and best-product ranking.

Media

Image URL: Main product image. Purpose: Display in catalogs and dashboards.

Image URLs: List of all product image links. Purpose: Downloading images, visual inspection, computer vision analysis.

Video URLs: List of product video links (empty if none). Purpose: Direct access to product videos.

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

  1. Prepare URLs — Navigate to Sainsbury's.co.uk, perform a search or browse a category, and copy the full URL. Examples:

    • Search: https://www.sainsburys.co.uk/gol-ui/search/rice?pageNumber=1
    • Category: https://www.sainsburys.co.uk/gol-ui/browse/fresh-produce/vegetables
    • Promotions: https://www.sainsburys.co.uk/gol-ui/offers/nectar-prices?pageNumber=1
  2. Configure input — Paste URLs into the urls array and set max_items_per_url (typically 50–200 for balance between speed and data volume).

  3. Enable pagination — For large result sets, add multiple URLs with different pageNumber parameters:

"urls": [
"https://www.sainsburys.co.uk/gol-ui/offers/nectar-prices?pageNumber=1",
"https://www.sainsburys.co.uk/gol-ui/offers/nectar-prices?pageNumber=2",
"https://www.sainsburys.co.uk/gol-ui/offers/nectar-prices?pageNumber=3"
]
  1. Run the scraper — Start execution and monitor logs for completion.

  2. Export & analyze — Download results as JSON, CSV, or Excel for analysis, database import, or API integration.

Best practices:

  • Use ignore_url_failures: true for resilience when scraping multiple pages
  • Space out large runs to avoid rate limiting
  • Regularly verify URLs remain valid, as Sainsbury's occasionally restructures pages
  • Test with max_items_per_url: 20 before running large batches

Use Cases & Business Value

  • Price monitoring: Track competitor pricing trends, promotions, and price changes over time
  • Assortment analysis: Compare product ranges across categories and competitor stores
  • Promotion tracking: Identify and monitor active offers, discounts, and bundle deals
  • Product research: Analyze product attributes, badges (organic, vegan, etc.), and customer reviews
  • Market intelligence: Benchmark UK grocery market trends, new product launches, and availability
  • Data enrichment: Populate internal product catalogs with Sainsbury's product metadata

By automating product data collection, teams eliminate manual spreadsheet work and unlock real-time market insights.


Conclusion

The Sainsbury's Product Search Scraper is an essential tool for retail analysts, price intelligence platforms, and supply chain professionals who need accurate, up-to-date UK grocery data. With 40+ data fields covering pricing, promotions, availability, reviews, and product classifications, it enables data-driven decisions across commerce, research, and business intelligence workflows. Start scraping today and transform Sainsbury's product listings into actionable insights.