Sainsbury's Scraper — UK Groceries, Nectar Prices, EAN & Stock avatar

Sainsbury's Scraper — UK Groceries, Nectar Prices, EAN & Stock

Pricing

from $1.30 / 1,000 results

Go to Apify Store
Sainsbury's Scraper — UK Groceries, Nectar Prices, EAN & Stock

Sainsbury's Scraper — UK Groceries, Nectar Prices, EAN & Stock

Extract UK supermarket groceries, regular GBP prices, Nectar loyalty prices & savings, unit prices (£/kg, £/ltr), EAN-13 barcodes, product UIDs, brands, categories, dietary labels, ratings, and stock status from Sainsbury's (sainsburys.co.uk) without an API key.

Pricing

from $1.30 / 1,000 results

Rating

0.0

(0)

Developer

Logiover

Logiover

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Categories

Features

Limited permissions

Share

Disclaimer: This Actor is an independent data extraction tool and is not affiliated with, endorsed by, or sponsored by J Sainsbury plc or its subsidiaries. All trademarks belong to their respective owners.

Sainsbury's Scraper (sainsburys-scraper) is a high-throughput sainsburys scraper and production-ready Sainsbury's API alternative engineered to extract structured UK supermarket grocery products, regular non-promotional shelf prices (GBP), Sainsbury's Nectar loyalty prices & savings, standardized unit prices (£/kg, £/ltr, £/100g, £/100ml, £/ea), 13-digit EAN barcode arrays (ean + eans), canonical product_uid (id) and sainId SKUs, manufacturer & private-label brands ("Sainsbury's", "Sainsbury's Taste the Difference", "Stamford St. Food Company", "SO Organic"), aisle categories, merchandising & dietary badges ("ALDI PRICE MATCH*", "ORGANIC", "BRITISH", "Chilled"), verified customer star ratings & review counts, and real-time online stock status from sainsburys.co.uk. With no official public Sainsbury's Groceries developer API available to external teams, this Actor lets you scrape sainsburys.co.uk without API key approvals, Nectar account logins, cookies, or slow headless browser sessions.

Purpose-built for FMCG & CPG revenue-growth management (RGM) teams, UK food-inflation researchers, cross-supermarket price-matching engines (Sainsbury's vs Tesco, Asda, Morrisons, Ocado, Waitrose, Aldi, Lidl), GS1/EAN master-data enrichment pipelines, and autonomous shopping assistants, you can export Sainsbury's to CSV, Excel, JSON, Parquet, Snowflake, or BigQuery in seconds. Every product record is deterministically deduplicated in memory by canonical Sainsbury's product_uid, enriched with parsed Nectar savings windows, and AI agent & MCP ready out of the box via the official Apify Model Context Protocol server.


At a Glance

CapabilitySpecification
Target PlatformSainsbury's Groceries Online UK (sainsburys.co.uk/gol-ui)
Catalog Reach35,000+ UK supermarket SKUs spanning Fresh Food, Dairy & Chilled, Bakery, Meat & Fish, Food Cupboard, Frozen, Drinks, Beer/Wine/Spirits, Baby, Pet, Household & Health/Beauty
Verified Scale Proof (2026-11-20)11,800 unique deduplicated Sainsbury's UK grocery products extracted across 319 API pages in 44.6s (0 duplicates, 264.6 SKUs/sec)
Default QC / Prefill Speed35 Sainsbury's UK grocery products extracted in 3.6s (0 empty columns)
Barcode & SKU Match Keys100.0% ean primary barcode fill rate, 100.0% eans full multi-barcode array, 100.0% id (product_uid), and 100.0% sainId
Pricing & Nectar Loyalty FieldsRegular retailPrice (GBP), active currentPrice, single-unit nectarPrice (23.4% catalog coverage), hasNectarPrice, savingsAmount, discountPercent, unitPrice, originalUnitPrice, unitMeasure, promotions (35.5% fill), promotionEndDate
Merchandising, Labels & Reviewsbrand (100.0%), labels ("ALDI PRICE MATCH*", "ORGANIC", "BRITISH", 35.7% fill), categories (99.5%), department (100.0%), isAvailable (100.0%), rating (92.1% fill), reviewCount (100.0%)
Pricing ModelPay-Per-Event ($2.00 / 1,000 results on Free -> down to $1.30 / 1,000 on Gold/Platinum/Diamond)
Budget ProtectionNative Apify Maximum cost per run (maxTotalChargeUsd) support with graceful SUCCEEDED exit and SUMMARY diagnostics
Export & IntegrationsJSON, CSV, Excel (.xlsx), XML, Parquet, Apify REST API, Python/Node.js SDKs, Snowflake, BigQuery, n8n, Make, Zapier, Official Apify MCP Server

Why Choose This Sainsbury's Scraper?

1. Direct GOL Product v1 JSON Extraction — 264.6 SKUs/Second Without Headless Browsers

Most UK supermarket scrapers launch memory-hungry Chromium browsers that scrape 20–24 DOM cards at a time, miss multi-barcode arrays, and stall on cookie banners. sainsburys-scraper communicates directly with Sainsbury's Groceries Online (gol-services/product/v1/product) JSON catalog at 60 products per response using a sticky-session verification and hedged-request router—delivering 11,800 unique deduplicated UK grocery SKUs in 44.6 seconds on a standard 1,024 MB container.

2. Accurate Two-Tier UK Loyalty Pricing: Regular Shelf Price vs Nectar Price

Since Sainsbury's launched Nectar Prices, thousands of branded and own-label grocery lines display two simultaneous price points: a higher non-member shelf price (e.g., £8.55 / £61.07 per kg) and a loyalty-gated Nectar member price (e.g., £5.75 / £41.07 per kg). In Sainsbury's raw GOL JSON payload, single-unit Nectar deals place the discounted Nectar price inside retail_price.price while storing the regular non-Nectar shelf price inside promotions[].original_price and original_unit_price.price. Naive scrapers confuse the two and misreport regular shelf prices! Our promotion normalizer reconciles every promotions[] mechanic so analysts get crystal-clear, comparable columns:

  • retailPrice: True non-promotional regular shelf price (£8.55)
  • currentPrice: Active selling price (£5.75)
  • nectarPrice: Single-unit Nectar member price (£5.75, left null on multi-buy deals like "Buy any 2 for £4.00 with Nectar" so single-unit averages are never distorted)
  • hasNectarPrice: Boolean flag (true on both single-unit Nectar prices and Nectar multi-buys)
  • savingsAmount & discountPercent: Exact GBP savings (£2.80) and percentage discount (32.7%)
  • unitPrice vs originalUnitPrice + unitMeasure: Both active (£41.07/kg) and pre-discount (£61.07/kg) unit prices!

3. Complete Multi-EAN Barcode Arrays (ean + eans) for Deterministic Cross-Retailer Joins

Unlike retailers that only expose a single internal code, Sainsbury's GOL API returns the entire eans[] array associated with each product_uid—capturing outer/inner pack transitions, recipe-reformulation barcode updates, and multi-supplier GTINs (for example, Nescafe Gold Blend 190g returns ["7613033188244", "7613036077514", "8445291846968", "8445291846975"]—matching Tesco's GTIN-14 "08445291847002" / "8445291846975" family directly!). Our mapper selects the cleanest standard manufacturer EAN-13 as primary ean (100.0% fill) while preserving the complete eans array (100.0% fill) on every row.

4. Dynamic Facet-Driven Brand Resolution + Aldi Price Match & Dietary Badges

Sainsbury's product objects do not expose a standalone brand string on the item root, instead returning exact brand facets inside controls.filters (nav_Brand). sainsburys-scraper dynamically ingests every nav_Brand facet dictionary across responses—combined with a curated multi-word UK supermarket brand lexicon ("Sainsbury's Taste the Difference", "Stamford St. Food Company", "SO Organic", "Plant Pioneers", "Cathedral City", "Taylors of Harrogate", "Ella's Kitchen", "Fever-Tree")—achieving 100.0% accurate brand extraction. Simultaneously, labels captures strategic retail badges including "ALDI PRICE MATCH*", "ORGANIC", "BRITISH", "Chilled", "Fairtrade", and "New".

5. Built-In 156-Aisle UK Supermarket Catalog Fanout (expandCatalog: true)

Enable "expandCatalog": true (or set maxResults > 60 with queries empty) to automatically fan out across 156 curated UK supermarket aisle keywords covering dairy, bakery, meat, poultry, fish, produce, pantry staples, soft drinks, beer/wine/spirits, snacks, frozen, vegan/free-from, baby, pet food, household cleaning, and health/beauty—deduplicating every product_uid synchronously in memory (0 duplicates).


12 High-Impact Use Cases

  1. FMCG / CPG Trade-Promotion & Nectar Price Compliance: Audit daily whether contracted Nectar promotional prices (nectarPrice), percentage discounts (discountPercent), and campaign end dates (promotionEndDate) are live across your UK brand portfolio.
  2. Cross-Supermarket UK Price-Matching (Sainsbury's vs Tesco, Asda, Ocado & Morrisons): Join Sainsbury's ean and eans[] barcodes directly against Tesco gtin (strip leading 0), Ocado, Waitrose, and Amazon UK feeds to benchmark regular vs loyalty prices (Nectar Price vs Clubcard Price).
  3. Aldi Price Match Basket Surveillance: Filter labels containing "ALDI PRICE MATCH*" to monitor exactly which staple private-label and branded SKUs Sainsbury's is price-matching against discounters week over week.
  4. UK Food Inflation, CPI & Shrinkflation Research: Track longitudinal shifts in retailPrice, originalUnitPrice, unitPrice (£/kg, £/ltr), and pack weights across 10,000+ UK grocery items.
  5. Private-Label Tier Architecture Analysis: Compare Sainsbury's value tier ("Stamford St. Food Company"), core tier ("Sainsbury's"), organic tier ("Sainsbury's SO Organic"), plant-based ("Plant Pioneers"), and premium tier ("Sainsbury's Taste the Difference") against national CPG brands.
  6. Out-of-Stock (OOS) & Digital-Shelf Availability Monitoring: Schedule morning runs over hero queries or direct product urls to detect isAvailable: false stockouts before retailer supply-chain reviews.
  7. GS1 / EAN-13 Master Catalog Enrichment: Enrich wholesale, convenience, delivery-app, or nutrition databases with verified eans[] barcode arrays, standardized unitMeasure, and official product imagery (imageUrl).
  8. AI Grocery Budgeting & Meal-Planning Agents (MCP): Connect logiover/sainsburys-scraper to Claude Desktop, Cursor, or LangGraph so AI assistants can answer "Find 30 high-protein Sainsbury's groceries currently on Nectar Price or Aldi Price Match and rank them by unit price per kg."
  9. Share-of-Search & Retail Media Ranking Audits: Capture top organic search slots across competitive UK grocery keywords ("oat milk", "greek yogurt", "instant coffee", "laundry capsules", "cat food", "prosecco") with sortBy: "relevance".
  10. **Customer Rating & Reformulation Sentiment Tracking:**With a measured 92.1% rating fill rate across 11,800 SKUs, spot sudden rating dips (rating < 3.2 with high reviewCount) following recipe or packaging changes.
  11. Beer, Wine, Spirits & Low/No-Alcohol Promo Intelligence: Monitor seasonal Nectar discounts ("Save 25%", single-bottle Nectar cuts) and isAlcoholic flags across wine, craft beer, cider, and spirits aisles.
  12. Hospitality, Catering & Independent Convenience Procurement: Sort staple ingredients (sortBy: "price_asc") and compare unitPrice across oils, flour, dairy, tinned tomatoes, coffee, and cleaning supplies.

Copy-Paste JSON Input Recipes

Recipe 1: Brand & Category Digital-Shelf Audit (Regular vs Nectar Prices)

{
"queries": ["coffee", "nescafe", "lavazza", "taylors of harrogate"],
"sortBy": "relevance",
"nectarOnly": false,
"maxResults": 200
}

Recipe 2: Active Sainsbury's Nectar Promotions Only (nectarOnly: true)

{
"queries": ["cheese", "chocolate", "wine", "olive oil", "pizza", "dishwasher"],
"sortBy": "relevance",
"nectarOnly": true,
"inStockOnly": true,
"maxResults": 300
}

Recipe 3: High-Volume 11,800+ UK Supermarket Catalog Snapshot (expandCatalog: true)

{
"expandCatalog": true,
"sortBy": "relevance",
"nectarOnly": false,
"maxResults": 11800
}

Recipe 4: Direct Sainsbury's Product, Search & Category URLs (urls)

{
"urls": [
"https://www.sainsburys.co.uk/gol-ui/product/nescafe-gold-blend-instant-coffee-190g",
"https://www.sainsburys.co.uk/gol-ui/groceries/dairy-eggs-and-chilled/cheese/c:1019886",
"https://www.sainsburys.co.uk/gol-ui/groceries/dietary-and-world-foods/organic/c:1019232"
],
"maxResults": 180
}

Recipe 5: Sainsbury's Own-Label Tier Benchmark ("Taste the Difference" vs "Stamford Street")

{
"queries": [
"taste the difference",
"stamford street",
"so organic",
"plant pioneers"
],
"sortBy": "relevance",
"maxResults": 500
}

Recipe 6: Lowest-Price Staple Basket Scan (sortBy: "price_asc")

{
"queries": ["milk", "bread", "eggs", "butter", "pasta", "rice", "oats", "chicken"],
"sortBy": "price_asc",
"inStockOnly": true,
"maxResults": 300
}

Recipe 7: Highest-Rated Groceries & NPD Discovery (sortBy: "rating_desc")

{
"queries": ["ready meal", "ice cream", "crisps", "biscuits", "curry", "soup"],
"sortBy": "rating_desc",
"inStockOnly": true,
"maxResults": 300
}

Recipe 8: Baby, Pet Care, Health & Household FMCG Tracker

{
"queries": ["nappies", "baby food", "cat food", "dog food", "laundry", "toilet roll", "toothpaste", "shampoo"],
"sortBy": "relevance",
"maxResults": 500
}

Recipe 9: Free-From, Gluten-Free, Vegan & Organic Assortment Audit

{
"queries": ["gluten free", "free from", "vegan", "dairy free", "organic"],
"sortBy": "relevance",
"inStockOnly": true,
"maxResults": 400
}

Recipe 10: Beer, Wine & Spirits Seasonal Nectar Deals

{
"queries": ["red wine", "white wine", "prosecco", "champagne", "gin", "whisky", "craft beer"],
"nectarOnly": true,
"inStockOnly": true,
"maxResults": 400
}

UK Grocery Barcode & Nectar Pricing Guide

1. Joining Sainsbury's ean & eans[] With Tesco, Ocado & GS1 Feeds

Sainsbury's exposes two barcode formats depending on whether a product is a branded manufacturer item or an internal own-label line:

  • Standard 13-Digit EAN-13 ("7613038683959", "5000181013566"): Directly joins against manufacturer EAN-13 tables, Ocado, Waitrose, Morrisons, Asda, and Amazon UK. To join against Tesco's 14-digit gtin ("08445290044891"), strip Tesco's leading "0" and check membership against Sainsbury's eans[] array (["7613038683959", "8445290044891"])—matching even when suppliers transition EANs!
  • Sainsbury's Own-Label Internal Codes ("0000001398410"): Zero-padded 13-digit Sainsbury's SKU codes (000000 + product_uid or internal PLU). Our ean selector automatically prefers standard non-zero-padded manufacturer EAN-13 codes whenever multiple barcodes exist in eans[].

2. Interpreting Single-Unit nectarPrice vs Multi-Buy promotions

Across our 11,800-SKU benchmark (runId: dQRyf5czFh0p3cBZv):

  • 35.5% of products carry at least one active promotion in promotions[] (with ISO expiration date in promotionEndDate).
  • 23.4% of products carry a direct single-unit nectarPrice (e.g., retailPrice: 8.55 -> nectarPrice: 5.75, savingsAmount: 2.80, discountPercent: 32.7%).
  • Multi-buy Nectar deals (e.g., "Buy any 2 for £4.00 with Nectar") set hasNectarPrice: true and populate promotions, while keeping nectarPrice: null so single-unit basket indices remain mathematically sound.

3. SUMMARY Key-Value Store Diagnostics

Every completed or budget-capped run writes a structured SUMMARY JSON object to the default Key-Value Store containing extractedCount, uniqueIds, pagesFetched, cleanStickySessions, httpErrors, stoppedReason ("max_results_reached", "completed", "max_cost_per_run_reached", or "deadline_approaching_graceful_stop"), durationSecs, and timestamp.


Full Input Reference

ParameterTypeDefaultPrefillDescription
queriesarray<string>[]["coffee", "cheese"]Product, brand, or grocery aisle keywords to search on Sainsbury's UK.
urlsarray<string>[]—Optional direct Sainsbury's product URLs (/gol-ui/product/...), search URLs, or aisle category URLs (/gol-ui/groceries/.../c:...).
sortBystring"relevance""relevance"Sort order: "relevance", "price_asc", "price_desc", or "rating_desc".
nectarOnlybooleanfalsefalseWhen true, activates Sainsbury's Offers & Nectar filter and outputs only products with hasNectarPrice === true.
inStockOnlybooleanfalse—When true, excludes unavailable or out-of-stock products (isAvailable === true).
expandCatalogbooleanfalsefalseWhen true, fans out across 156 curated UK supermarket aisle keywords to extract 10,000+ unique deduplicated SKUs.
maxResultsinteger20035Maximum number of unique deduplicated Sainsbury's products (id / product_uid) to extract (1–100,000).
proxyConfigurationobject{"useApifyProxy": true}—Standard Apify Proxy settings used by the sticky-session hedged routing engine.

Complete Output Data Dictionary (Measured Across 11,800 Live SKUs)

Fill rates below were measured directly across 11,800 unique Sainsbury's UK grocery products (runId: dQRyf5czFh0p3cBZv, 0 empty columns, 0 low-fill <20% columns):

FieldTypeMeasured Fill RateDescription
idstring | null100.0%Canonical Sainsbury's product_uid (e.g., "8053005"). Primary deduplication key.
sainIdstring | null100.0%Sainsbury's alphanumeric short SKU identifier (e.g., "efpnx68c").
eanstring | null100.0%Primary 13-digit EAN barcode (prefers standard manufacturer EAN-13 when multiple exist).
eansarray<string> | null100.0%Complete array of all EAN barcodes linked to this product SKU.
namestring | null100.0%Full Sainsbury's product title including pack size/weight.
brandstring | null100.0%Manufacturer or own-label brand resolved via Sainsbury's nav_Brand facet dictionary (e.g., "Nescafe", "Sainsbury's Taste the Difference").
urlstring | null100.0%Canonical Sainsbury's product detail URL (https://www.sainsburys.co.uk/gol-ui/product/...).
currencystring | null100.0%ISO currency code ("GBP").
retailPricenumber | null98.8%Regular non-promotional shelf price in GBP (£).
currentPricenumber | null98.8%Active single-unit selling price in GBP (includes single-unit Nectar or price-cut discounts).
nectarPricenumber | null23.4%Single-unit Nectar member price in GBP (null when no single-unit Nectar price applies).
hasNectarPriceboolean | null100.0%true when the item carries an active Nectar single-unit or multi-buy offer.
savingsAmountnumber | null23.7%GBP savings vs regular retailPrice (retailPrice - currentPrice).
discountPercentnumber | null23.7%Percentage discount vs regular retailPrice (e.g., 32.7 for 32.7% saved).
unitPricenumber | null98.8%Current active standardized unit price in GBP (e.g., 41.07 per kg).
originalUnitPricenumber | null100.0%Regular pre-discount standardized unit price in GBP (e.g., 61.07 per kg).
unitMeasurestring | null100.0%Standardized unit denominator ("kg", "ltr", "100g", "100ml", "ea").
promotionsarray<string> | null35.5%Active promotional straplines (e.g., ["£5.75 with Nectar (Was £8.55)"], ["Save 1/3 with Nectar"], ["Buy any 2 for £4.00 with Nectar"]).
promotionEndDatestring | null35.5%ISO-8601 expiration timestamp of the active promotion ("2026-11-24T00:00:00Z").
labelsarray<string> | null35.7%Retail merchandising, origin & dietary badges (["ALDI PRICE MATCH*", "BRITISH", "ORGANIC", "Chilled", "New"]).
categoriesarray<string> | null99.5%Sainsbury's grocery category assignments (e.g., ["Instant coffee"], ["Fresh milk", "Dairy & chilled essentials"]).
departmentstring | null100.0%Primary grocery aisle / category label.
productTypestring | null100.0%Sainsbury's product type ("BASIC", "CATCHWEIGHT", etc.).
isAlcoholicboolean | null100.0%true on age-restricted beer, wine, cider, and spirits products.
isAvailableboolean | null100.0%true when currently available for online grocery order.
ratingnumber | null92.1%Average verified customer star rating (1.0–5.0, null when unreviewed).
reviewCountnumber | null100.0%Total verified customer review count (0 when unreviewed).
imageUrlstring | null100.0%Primary Sainsbury's product image URL.
allImagesarray<string> | null100.0%Array of all high-resolution product image URLs.
matchedQuerystring | null100.0%Search term or URL shard that discovered this SKU.
scrapedAtstring | null100.0%ISO-8601 extraction timestamp.

Real Unmasked JSON Output Sample (Live Platform Run)

Extracted live on Apify (runId: XLAiIcoPRX0GMNrW4, 2026-11-20):

{
"id": "8053005",
"sainId": "efpnx68c",
"ean": "7613038683959",
"eans": [
"7613038683959",
"8445290044891"
],
"name": "Nescafe Azera Americano Instant Coffee 140g",
"brand": "Nescafe",
"url": "https://www.sainsburys.co.uk/gol-ui/product/nescafe-azera-americano-instant-coffee-140g",
"currency": "GBP",
"retailPrice": 8.55,
"currentPrice": 5.75,
"nectarPrice": 5.75,
"hasNectarPrice": true,
"savingsAmount": 2.8,
"discountPercent": 32.7,
"unitPrice": 41.07,
"originalUnitPrice": 61.07,
"unitMeasure": "kg",
"promotions": [
"£5.75 with Nectar (Was £8.55)"
],
"promotionEndDate": "2026-11-24T00:00:00Z",
"labels": [],
"categories": [
"Instant coffee"
],
"department": "Instant coffee",
"productType": "BASIC",
"isAlcoholic": false,
"isAvailable": true,
"rating": 4.61,
"reviewCount": 191,
"imageUrl": "https://assets.sainsburys-groceries.co.uk/gol/8053005/image.jpg",
"allImages": [
"https://assets.sainsburys-groceries.co.uk/gol/8053005/image.jpg"
],
"matchedQuery": "coffee",
"scrapedAt": "2026-11-20T03:22:45.188Z"
}

Measured Performance & Scale Proof (Verified 2026-11-20)

Every benchmark below was executed live on Apify cloud infrastructure (1,024 MB container profile) on 2026-11-20:

Benchmark RunRun IDInput SummaryRows ExtractedUnique IDs (dup=0)DurationOutcome
Default Prefill QC RunXLAiIcoPRX0GMNrW4queries=["coffee","cheese"], maxResults=353535 (0 dupes)3.6sSUCCEEDED (0 empty columns)
High-Volume Scale RundQRyf5czFh0p3cBZvexpandCatalog=true, 156 UK grocery aisles across 319 API pages, maxResults=1180011,80011,800 (0 dupes)44.6sSUCCEEDED (264.6 SKUs/sec, 100.0% EAN fill)
PPE Max-Charge Cap ProofQQOU9EJDDVFOmrj40expandCatalog=true with maxTotalChargeUsd = $0.052828 (0 dupes)2.8sSUCCEEDED (graceful stop at $0.05 cap)

Pricing — Simple, Predictable Pay-Per-Event ("What You Pay")

This Actor uses Pay-Per-Event (PPE) pricing: you pay strictly per unique deduplicated Sainsbury's grocery product written to your dataset (apify-default-dataset-item). EAN-13 barcode arrays, Nectar promo prices & savings, unit prices, Aldi Price Match labels, and customer ratings are included on every item with zero hidden surcharges.

Apify Store Plan TierPrice per 1,000 ResultsPrice per Single ResultCost for 10,000 Products
FREE$2.00 / 1,000$0.002000$20.00
BRONZE$1.77 / 1,000$0.001767$17.67
SILVER$1.53 / 1,000$0.001533$15.33
GOLD$1.30 / 1,000$0.001300$13.00
PLATINUM$1.30 / 1,000$0.001300$13.00
DIAMOND$1.30 / 1,000$0.001300$13.00

How to Cap Your Spend With "Maximum Cost Per Run"

  1. In Apify Console, open Run options beneath the input editor and enter any dollar ceiling in Maximum cost per run (e.g., $0.50, $2.00, or $13.00).
  2. Via the Apify REST API / SDK, pass maxTotalChargeUsd (for example ?maxTotalChargeUsd=2.00).
  3. Our runtime guard checks remaining event capacity before every dataset flush, writes a SUMMARY record to the Key-Value Store, and finishes cleanly with status SUCCEEDED the instant your spend cap is reached.

AI Agent & Official Apify MCP Server Integration

sainsburys-scraper is AI agent & MCP ready for Claude Desktop, Cursor, Windsurf, VS Code Copilot, OpenAI Agents SDK, and LangGraph. Connect directly through Apify's official Model Context Protocol server:

  • MCP Streamable HTTP / SSE Endpoint: https://mcp.apify.com?tools=logiover/sainsburys-scraper

Claude Desktop / Cursor mcp.json Configuration

{
"mcpServers": {
"sainsburys-scraper": {
"url": "https://mcp.apify.com?tools=logiover/sainsburys-scraper",
"headers": {
"Authorization": "Bearer YOUR_APIFY_API_TOKEN"
}
}
}
}

Example natural-language prompts your AI agent can execute immediately:

  • "Search Sainsbury's UK for Nescafe, Lavazza, and Yorkshire Tea products, compare regular shelf prices vs Nectar Prices, and show EAN-13 barcodes and unit prices per kg."
  • "Find 100 in-stock Sainsbury's Nectar deals across cheese, butter, olive oil, and pasta ranked by highest percentage discount."

Code & No-Code Integration Examples

1. Python (apify-client)

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_API_TOKEN")
run_input = {
"queries": ["coffee", "cheese", "oat milk", "olive oil"],
"sortBy": "relevance",
"nectarOnly": False,
"inStockOnly": True,
"maxResults": 250,
}
run = client.actor("logiover/sainsburys-scraper").call(
run_input=run_input,
max_total_charge_usd=2.00,
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(
item["ean"],
"|", item["name"],
"| Shelf: £", item["retailPrice"],
"| Nectar:", item["nectarPrice"],
"| Labels:", item["labels"],
)

2. Node.js / TypeScript (apify-client)

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('logiover/sainsburys-scraper').call(
{
queries: ['chocolate', 'biscuits', 'wine'],
nectarOnly: true,
inStockOnly: true,
maxResults: 150,
},
{ maxTotalChargeUsd: 1.5 }
);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.table(items.slice(0, 5).map((p) => ({
ean: p.ean,
name: p.name,
retailPrice: p.retailPrice,
nectarPrice: p.nectarPrice,
discountPct: p.discountPercent,
})));

3. cURL (Apify REST API)

curl -X POST "https://api.apify.com/v2/acts/logiover~sainsburys-scraper/runs?token=YOUR_APIFY_API_TOKEN&maxTotalChargeUsd=2.00" \
-H "Content-Type: application/json" \
-d '{
"queries": ["coffee", "cheese", "butter"],
"sortBy": "relevance",
"nectarOnly": false,
"maxResults": 200
}'
  • CSV: https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=csv&clean=true
  • Excel (.xlsx): https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=xlsx&clean=true
  • JSON: https://api.apify.com/v2/datasets/<DATASET_ID>/items?format=json&clean=true

5. Snowflake, BigQuery, n8n, Make & Zapier Workflows

  • Daily UK Supermarket Price Warehouse Sync: Schedule logiover/sainsburys-scraper alongside logiover/tesco-scraper at 06:00 UK time via Apify Schedules and join both datasets on ean / gtin inside Snowflake, BigQuery, or PostgreSQL.
  • Slack / Teams Promo & OOS Alerts: Trigger n8n, Make, or Zapier webhooks whenever a rival brand launches a >30% Nectar Price cut or one of your hero SKUs flips to isAvailable: false.

Troubleshooting & Best Practices

  • Understanding retailPrice vs currentPrice vs nectarPrice: When a product carries a single-unit Nectar discount (e.g., £5.75 with Nectar, Was £8.55), retailPrice holds the regular non-member price (8.55), while both currentPrice and nectarPrice hold 5.75 (savingsAmount: 2.8, discountPercent: 32.7). On non-Nectar regular price cuts, currentPrice reflects the reduced shelf price while nectarPrice stays null.
  • Matching Multi-EAN Products Across Retailers: Always check both ean and eans[] when building cross-supermarket SKU bridges—national brands frequently register multiple valid EAN-13 codes across pack transitions, all of which are preserved inside eans[].
  • Scaling Beyond Single Keywords: A single broad keyword on Sainsbury's typically returns 300–1,000 SKUs. For 5,000–15,000+ SKUs, enable "expandCatalog": true so the Actor fans out across 156 supermarket aisles automatically.
  • Support & Feature Requests: Found an edge case or need nutrition/ingredient table enrichment? Open a ticket on the Issues tab. Saving hours on UK grocery tracking? Leaving a quick review on the Reviews tab helps keep this Actor maintained!

Frequently Asked Questions (FAQ)

Does Sainsbury's offer an official public Groceries API?

No. J Sainsbury plc does not provide an open public API for supermarket catalog, pricing, or Nectar promo data. sainsburys-scraper serves as a fast, turnkey Sainsbury's API alternative.

Can I scrape sainsburys.co.uk without an API key, Nectar card, or login?

Yes. You can scrape sainsburys.co.uk without API key credentials, customer accounts, or cookies. All regular prices, Nectar Prices, EAN barcodes, and stock flags are publicly visible on Sainsbury's Groceries Online.

Are both regular shelf prices and Sainsbury's Nectar Prices extracted?

Yes! Every row separates regular non-member retailPrice, active currentPrice, single-unit nectarPrice, boolean hasNectarPrice, savingsAmount, discountPercent, full promotions straplines, and ISO promotionEndDate.

Does Sainsbury's Scraper extract EAN-13 barcodes?

Yes. Both the primary manufacturer ean (100.0% fill) and the complete eans barcode array (100.0% fill across 11,800 SKUs) are extracted on every product, alongside id (product_uid) and sainId.

How do I join Sainsbury's EANs with Tesco GTIN-14 barcodes?

Tesco pads 13-digit EANs with a single leading zero ("08445290044891"). Strip that leading zero ("8445290044891") and match against Sainsbury's ean or eans[] array for deterministic 1-to-1 UK supermarket SKU matching.

How fast is Sainsbury's Scraper on small and 10,000+ SKU runs?

Verified live on Apify (2026-11-20), the 35-item prefill run completed in 3.6 seconds (runId: XLAiIcoPRX0GMNrW4), and the scale benchmark extracted 11,800 unique deduplicated UK grocery products across 319 pages in 44.6 seconds (264.6 SKUs/sec, runId: dQRyf5czFh0p3cBZv).

Does this Actor require Residential or Unblocker proxies?

No. sainsburys-scraper works out of the box with standard default Apify Proxy settings ({"useApifyProxy": true}) using sticky-session verification and hedged-request routing.

How does deduplication work when expandCatalog searches 156 grocery aisles?

Every product is deduplicated synchronously in memory by its canonical id (product_uid) prior to dataset reservation, guaranteeing 0 duplicate SKUs and 0 duplicate event charges.

Can I filter strictly for active Nectar offers or in-stock items?

Yes. Set "nectarOnly": true to query Sainsbury's Offers & Nectar filter and keep only Nectar-promoted products, and set "inStockOnly": true to exclude out-of-stock SKUs.

Are Aldi Price Match, Organic, and British origin badges extracted?

Yes. The labels array (35.7% fill) captures "ALDI PRICE MATCH*", "ORGANIC", "BRITISH", "Chilled", "Fairtrade", and "New" badges directly from Sainsbury's catalog.

Are standardized unit prices (£/kg, £/ltr, £/100g) included?

Yes. Every product includes both current unitPrice (98.8% fill) and pre-discount originalUnitPrice (100.0% fill), plus unitMeasure ("kg", "ltr", "100g", "100ml", "ea").

Why is nectarPrice left null on multi-buy promotions like "Buy any 2 for £4.00 with Nectar"?

Multi-buy promotions require purchasing multiple units, so assigning £4.00 as a single-unit price would distort single-unit price averages. Multi-buys set hasNectarPrice: true and list the full offer in promotions, while keeping nectarPrice strictly for single-unit Nectar prices.

Can I scrape direct Sainsbury's product or category URLs?

Yes. Add any https://www.sainsburys.co.uk/gol-ui/product/... URL, search URL, or /gol-ui/groceries/... category URL to urls.

How can I cap my spending on every run?

Configure Apify's Maximum cost per run (maxTotalChargeUsd) in Console Run options or via the API. Verified live at --max-charge 0.05 (runId: QQOU9EJDDVFOmrj40), the Actor stops cleanly at your exact cap and exits SUCCEEDED.

Can I connect Sainsbury's Scraper to Claude Desktop, Cursor, or LangGraph via MCP?

Yes. Point your MCP client to https://mcp.apify.com?tools=logiover/sainsburys-scraper to give AI agents live UK grocery search, barcode lookup, and Nectar deal discovery.

Can I export Sainsbury's grocery data directly to CSV, Excel, or BigQuery?

Yes. Use Apify Console's Export tab or /v2/datasets/<DATASET_ID>/items to export Sainsbury's to CSV, Excel, JSON, XML, or Parquet.

Are verified customer star ratings and review counts included?

Yes. rating (1.0–5.0 stars, 92.1% fill across 11,800 SKUs) and reviewCount (100.0% fill) are extracted on every product.

Where can I report issues or request additional Sainsbury's fields?

Open a ticket anytime on the Sainsbury's Scraper Issues tab on Apify Store for fast engineering support.