Tesco Scraper — UK Groceries, Clubcard Prices, GTIN & Stock avatar

Tesco Scraper — UK Groceries, Clubcard Prices, GTIN & Stock

Pricing

from $1.30 / 1,000 results

Go to Apify Store
Tesco Scraper — UK Groceries, Clubcard Prices, GTIN & Stock

Tesco Scraper — UK Groceries, Clubcard Prices, GTIN & Stock

Extract UK grocery products, shelf prices, Clubcard promo prices, unit prices (£/kg, £/l), GTIN/EAN barcodes, TPNB/TPNC IDs, brands, aisle taxonomy, ratings, and stock status from Tesco (tesco.com) without an API key. Export to JSON, CSV, or Excel.

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

6 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 Tesco PLC or its subsidiaries. All trademarks belong to their respective owners.

Tesco Scraper (tesco-scraper) is an enterprise-grade tesco scraper and Tesco API alternative engineered to extract structured UK supermarket grocery products, regular shelf prices (GBP), Tesco Clubcard promotional prices & savings percentages, unit pricing (£/kg, £/l, £/100g, £/each), 14-digit GTIN / EAN barcodes, canonical TPNC and TPNB SKU identifiers, brand names, 4-level store taxonomy (superDepartment, department, aisle, shelf), verified customer star ratings & review counts, and real-time stock status from tesco.com/groceries/en-GB. Since Tesco retired its legacy Labs Grocery API, this Actor lets you scrape tesco.com without API key approvals, cookies, or slow headless Chrome sessions.

Built for FMCG & CPG revenue-growth management (RGM) teams, UK grocery inflation trackers, competitor price-matching engines (Tesco vs Sainsbury's, Asda, Morrisons, Ocado, Waitrose, Aldi), barcode/EAN catalog enrichment pipelines, and autonomous shopping agents, you can export Tesco to CSV, Excel, JSON, Parquet, or data warehouses in seconds. Every product record is deterministically deduplicated by canonical Tesco TPNC consumer SKU, enriched with structured Clubcard offer windows, and AI agent & MCP ready out of the box via the official Apify Model Context Protocol server.


At a Glance

CapabilitySpecification
Target PlatformTesco UK Groceries & Marketplace (tesco.com/groceries/en-GB)
Catalog Coverage40,000+ UK supermarket SKUs across Fresh Food, Bakery, Frozen, Drinks, Food Cupboard, Baby, Pets, Household & Health/Beauty
Verified Scale Proof (2026-11-18)11,000 unique deduplicated Tesco UK grocery products extracted across 362 pages in 208.1s (0 duplicates, 52.9 SKUs/sec)
Default QC / Prefill Speed30 Tesco UK grocery products extracted in 9.4s (0 empty columns)
Barcode & SKU Match Keys99.9% GTIN / EAN-14 fill rate (gtin), 100.0% tpnc consumer SKU, and 99.9% tpnb base product ID
Pricing & Loyalty IntelligenceRegular price (GBP), unitPrice + unitOfMeasure, hasClubcardPrice, clubcardPrice, clubcardDiscountPct, clubcardUnitInfo, promotionText, promotionEndDate
Merchandising & Reviewsbrand, superDepartment -> department -> aisle -> shelf, inStock, stockStatus, bulkBuyLimit, rating (77.1% fill), reviewCount
Pricing ModelPay-Per-Event ($2.00 / 1,000 results on Free -> down to $1.30 / 1,000 on Gold/Platinum/Diamond)
Budget ControlNative Apify Maximum cost per run support with graceful SUCCEEDED exit and SUMMARY KV diagnostics
Export & IntegrationsJSON, CSV, Excel (.xlsx), XML, Parquet, Apify REST API, Python/Node SDKs, Snowflake, BigQuery, n8n, Make, Zapier, Official Apify MCP Server

Why Choose This Tesco Scraper?

1. Direct Normalized Apollo GraphQL State Extraction — 48–52 SKUs Per Page

Instead of booting heavy headless browsers or scraping brittle CSS classes that miss barcode metadata, tesco-scraper parses Tesco's server-rendered application/discover+json micro-frontend orchestrator state (apolloCache). Every single search or category page fetch yields up to 52 rich normalized ProductType and PromotionType objects in one pass—sustaining 52.9 unique grocery SKUs per second on a 1,024 MB container.

2. Unmatched Barcode & Cross-Retailer Matching: 99.9% GTIN / EAN-14 Fill Rate

Matching identical FMCG products across UK supermarkets by title alone fails whenever pack-size formatting varies ("190g" vs "190G"). Because Tesco's normalized ProductType graph exposes the 14-digit gtin barcode (e.g., "08445291847002" -> EAN-13 "8445291847002"), alongside Tesco's internal tpnc ("321781989") and tpnb ("96642919"), CPG brands and price-comparison engines get deterministic 1-to-1 SKU matching at a measured 99.9% fill rate across 11,000 products!

3. True Two-Tier UK Grocery Pricing: Regular Price vs Clubcard Promo Price

Over a third of promoted UK grocery basket spend runs through loyalty-gated Tesco Clubcard Prices. Naive scrapers only capture the regular shelf price (£7.80) or confuse multi-buy copy ("Any 3 for £5") with single-unit prices. Our promotion resolver joins every PromotionType reference in apolloCache to extract:

  • hasClubcardPrice (true / false)
  • clubcardPrice (exact single-unit GBP Clubcard price, e.g., 5.25, handling both £ pounds and p pence offers while avoiding false single-unit parsing on multi-buy deals)
  • clubcardDiscountPct (calculated percentage savings vs regular shelf price, e.g., 32.7%)
  • clubcardUnitInfo (loyalty unit price, e.g., "£27.63/kg" vs regular £41.05/kg)
  • promotionText ("£5.25 Clubcard Price", "Any 3 for 2 Clubcard Price") and ISO promotionEndDate ("2026-11-24T00:00:00Z")!

4. Full 4-Tier Store Planogram Taxonomy + Ratings & Stock Availability

Every extracted item carries Tesco's complete 4-tier hierarchy—superDepartment ("Groceries & Essentials") -> department ("Drinks") -> aisle ("Coffee") -> shelf ("Instant Coffee")—plus inStock, stockStatus, isNew, bulkBuyLimit, rating (0–5 stars), and reviewCount for digital-shelf share-of-search and out-of-stock (OOS) monitoring.

5. Built-In 180-Aisle Multi-Query Supermarket Discovery (10,000+ SKUs)

When queries and categoryUrls are left empty on bulk runs (maxResults > 60), tesco-scraper automatically fans out across 180 curated UK grocery search terms spanning fresh produce, meat & fish, dairy, bakery, frozen, pantry staples, soft drinks, beer/wine/spirits, baby, pet care, toiletries, and household cleaning—deduplicating every TPNC in memory (0 duplicates).


12 High-Impact Use Cases

  1. FMCG / CPG Digital Shelf & Trade-Promotion Auditing: Verify whether negotiated Clubcard promotional prices (clubcardPrice), promo end dates (promotionEndDate), and shelf placements (aisle, shelf) are live and compliant across your brand portfolio every morning.
  2. UK Supermarket Price-Matching & Competitor Intelligence: Join Tesco SKUs by 14-digit gtin against Sainsbury's, Asda, Morrisons, Ocado, and Waitrose catalogs to monitor regular vs loyalty price gaps in real time.
  3. UK Food Inflation & CPI Macroeconomic Research: Track weekly changes in price, unitPrice (£/kg, £/l), and shrinkflation pack-weight shifts across 10,000+ staple UK grocery items.
  4. Clubcard Loyalty Depth & Discount Analytics: Filter clubcardOnly: true to harvest thousands of active Clubcard deals, ranked by clubcardDiscountPct and promotionEndDate, for consumer deal apps and loyalty research.
  5. Out-of-Stock (OOS) & Supply-Chain Alerting: Schedule daily runs over your brand's queries or categoryUrls to catch inStock: false / stockStatus drops before retail replenishment meetings.
  6. Private-Label vs National-Brand Benchmarking: Compare "TESCO", "TESCO FINEST", and "HEARTY FOOD CO." private-label unit prices (unitPrice) and star ratings (rating, reviewCount) against national brands like "NESCAFE", "HEINZ", "CADBURY", and "BIRDS EYE".
  7. EAN / GTIN Master Product Database Enrichment: Pass product keywords, brand names, or 8/9-digit Tesco IDs in queries to enrich internal ERP catalogs with verified gtin barcodes, high-res imageUrl assets, and standardized grocery categories.
  8. AI Meal-Planning & Budget Grocery Copilots (MCP): Connect logiover/tesco-scraper to Claude Desktop, Cursor, or LangGraph agents so consumers or nutrition apps can ask "Build a high-protein weekly Tesco shopping list under £45 using active Clubcard deals and show unit prices per kg."
  9. Share-of-Search & Retail Media Audit: Measure organic vs top-slot rankings across core keywords ("coffee", "oat milk", "protein bar", "laundry capsules", "dog food") with sortBy: "relevance".
  10. New Product Development (NPD) & Launch Tracking: Monitor isNew: true across Drinks, Snacks, Plant-Based ("vegan", "plant chef"), and Free-From aisles to spot competitor SKU launches the week they hit Tesco shelves.
  11. Customer Sentiment & Rating Surveillance: Flag sudden rating drops (rating < 3.0 with high reviewCount) after recipe reformulations or packaging changes across your SKU lineup.
  12. Wholesale, Convenience & Hospitality Procurement: Benchmark unitPrice (sortBy: "unit-price-ascending") and bulkBuyLimit across oils, flour, dairy, tinned tomatoes, and soft drinks for UK cafés and independent caterers.

Copy-Paste JSON Input Recipes

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

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

Recipe 2: Active Tesco Clubcard Promotions Only (clubcardOnly: true)

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

Recipe 3: Direct Tesco Department & Aisle Category URLs (categoryUrls)

{
"categoryUrls": [
"https://www.tesco.com/groceries/en-GB/shop/drinks/coffee/all",
"https://www.tesco.com/groceries/en-GB/shop/fresh-food/cheese/all",
"https://www.tesco.com/groceries/en-GB/shop/bakery/bread-and-rolls/all"
],
"sortBy": "relevance",
"maxResults": 400
}

Recipe 4: High-Volume 10,000+ UK Supermarket Catalog Snapshot

{
"sortBy": "relevance",
"clubcardOnly": false,
"maxResults": 11000
}

Recipe 5: Lowest Unit-Price Procurement Scan (sortBy: "unit-price-ascending")

{
"queries": ["pasta", "rice", "oats", "chicken breast", "olive oil", "cheddar"],
"sortBy": "unit-price-ascending",
"inStockOnly": true,
"maxResults": 250
}

Recipe 6: Private-Label ("Tesco Finest" & "Free From") Assortment Benchmark

{
"queries": ["tesco finest", "free from", "gluten free", "plant chef"],
"sortBy": "relevance",
"maxResults": 500
}

Recipe 7: Health, Beauty, Baby & Pet Care FMCG Tracker

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

Recipe 8: Specific SKU / TPNC Lookup via Search or Product URLs

{
"categoryUrls": [
"https://www.tesco.com/groceries/en-GB/products/321781989",
"https://www.tesco.com/groceries/en-GB/products/257705936"
],
"maxResults": 20
}

Recipe 9: Household Cleaning, Laundry & Paper Goods Basket Audit

{
"queries": ["laundry", "fabric conditioner", "dishwasher", "toilet roll", "kitchen roll", "surface cleaner"],
"sortBy": "unit-price-ascending",
"inStockOnly": true,
"maxResults": 350
}

Recipe 10: Beer, Wine, Spirits & Low/No-Alcohol Promotions

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

UK Supermarket Taxonomy & GTIN-14 Cross-Retailer Matching Guide

1. Navigating Tesco's 4-Tier Store Hierarchy

Every extracted product row carries Tesco's complete planogram path so category managers can slice assortments without manual mapping:

  • superDepartment (Level 1): Broad store pillars such as "Groceries & Essentials", "Baby & Toddler", "Health & Beauty", "Pets", "Home & Furniture", and "Household".
  • department (Level 2): Core commercial departments such as "Fresh Food", "Bakery", "Frozen Food", "Food Cupboard", "Drinks", and "Treats & Snacks".
  • aisle (Level 3): Buyer-level aisles such as "Coffee", "Cheese", "Milk, Butter & Eggs", "Fresh Meat & Poultry", and "Chocolate".
  • shelf (Level 4): Micro-segments used for share-of-shelf benchmarking such as "Instant Coffee", "Ground Coffee", "Coffee Pods", and "Decaf Coffee".

2. Joining Tesco gtin Against Sainsbury's, Asda, Morrisons, Ocado & Nielsen/Circana

Tesco stores barcodes in 14-digit GS1 GTIN-14 format ("08445291847002"):

  • Standard EAN-13 Join (13 digits): Strip one leading zero (gtin.replace(/^0/, "") -> "8445291847002") to join directly with UK manufacturer EAN-13 price sheets, Amazon UK ASIN/EAN tables, Ocado, Sainsbury's, or Waitrose feeds.
  • UPC-A Join (12 digits): Strip two leading zeros (gtin.replace(/^00/, "")) for North American imported SKUs.
  • Variable-Weight / Catch-Weight Produce: Loose produce or counter items (~0.1% of catalog) use Tesco internal 02... / tpnb identifiers—always fall back to tpnb when gtin is null.

3. Understanding SUMMARY Key-Value Telemetry

At the end of every run (including budget-capped runs), tesco-scraper writes a structured JSON record to the default Key-Value Store under the key SUMMARY:

  • extractedCount and uniqueIds (confirming 1:1 deduplication)
  • pagesFetched and cleanStickySessions
  • stoppedReason ("max_results_reached", "completed", "max_cost_per_run_reached", or "deadline_approaching_graceful_stop")
  • durationSecs and ISO timestamp

Full Input Reference

ParameterTypeDefaultPrefillDescription
queriesarray<string>[]["coffee", "chocolate"]Product, brand, or grocery category keywords to search on Tesco UK. Leave empty on bulk runs to trigger 180-aisle supermarket discovery.
categoryUrlsarray<string>[]—Optional direct Tesco Groceries department/aisle URLs (/groceries/en-GB/shop/...), search URLs, or product URLs (/groceries/en-GB/products/<tpnc>).
sortBystring"relevance""relevance"Sort order: "relevance", "price-ascending", "price-descending", or "unit-price-ascending".
clubcardOnlybooleanfalsefalseWhen true, only output products carrying an active Tesco Clubcard promotional offer (hasClubcardPrice === true).
inStockOnlybooleanfalse—When true, exclude out-of-stock or unavailable products (inStock === true).
maxResultsinteger20030Maximum unique deduplicated Tesco grocery products 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,000 Live SKUs)

Fill rates below were measured directly across 11,000 unique Tesco UK grocery products (runId: hwGHeDCQ1pn2uvQoj, 0 empty columns):

FieldTypeMeasured Fill RateDescription
idstring | null100.0%Canonical Tesco consumer product ID (TPNC). Primary deduplication key.
tpncstring | null100.0%Tesco Product Number Consumer (9-digit SKU used in /products/<tpnc> URLs).
tpnbstring | null99.9%Tesco Product Number Base (8-digit base commercial product identifier).
gtinstring | null99.9%14-digit Global Trade Item Number / EAN barcode (e.g., "08445291847002").
titlestring | null100.0%Full Tesco product title including pack size/weight.
brandstring | null100.0%Manufacturer or private-label brand name (e.g., "NESCAFE", "TESCO").
urlstring | null100.0%Canonical Tesco UK product detail URL (https://www.tesco.com/groceries/en-GB/products/<tpnc>).
imageUrlstring | null100.0%High-resolution Tesco digital-content product image URL.
currencystring | null100.0%ISO currency code ("GBP").
pricenumber | null99.8%Regular non-promotional shelf price in GBP (£).
unitPricenumber | null99.8%Standardized unit price in GBP (e.g., 41.05 per kg).
unitOfMeasurestring | null99.8%Standardized unit denominator ("kg", "100g", "l", "100ml", "each").
hasClubcardPriceboolean | null100.0%true if the product currently has an active Tesco Clubcard offer (23%–34% of catalog).
clubcardPricenumber | null23.0%Single-unit Clubcard promotional price in GBP (null if no single-unit Clubcard price applies).
clubcardDiscountPctnumber | null23.0%Percentage saved with Clubcard vs regular price (e.g., 32.7 for 32.7% off).
clubcardUnitInfostring | null23.4%Clubcard promotional unit-price string (e.g., "£27.63/kg").
promotionTextstring | null34.2%Full promotional badge text (includes both single-unit Clubcard prices and "Any 3 for 2" multi-buy offers).
promotionEndDatestring | null34.2%ISO-8601 expiration timestamp of the active promotion ("2026-11-24T00:00:00Z").
superDepartmentstring | null100.0%Top-level Tesco taxonomy node (e.g., "Groceries & Essentials", "Health & Beauty").
departmentstring | null99.9%Second-level department name (e.g., "Drinks", "Fresh Food").
aislestring | null99.9%Third-level aisle name (e.g., "Coffee", "Cheese").
shelfstring | null99.9%Fourth-level shelf name (e.g., "Instant Coffee", "Cheddar Cheese").
inStockboolean | null100.0%true when status === "AvailableForSale" and isForSale !== false.
stockStatusstring | null100.0%Raw Tesco availability state ("AvailableForSale", "TemporaryUnavailable", "OutOfStock").
isNewboolean | null100.0%true when badged as a newly launched product on Tesco Groceries.
productTypestring | null100.0%Tesco product classification ("SingleProduct", "CatchWeightProducts", etc.).
bulkBuyLimitnumber | null99.9%Maximum basket quantity allowed per customer order (e.g., 99, 16, 6).
ratingnumber | null77.1%Verified customer star rating (1.0–5.0, null when unreviewed).
reviewCountnumber | null100.0%Total number of customer reviews (0 when unreviewed).
matchedQuerystring | null100.0%Search term or category URL that discovered this SKU.
scrapedAtstring | null100.0%ISO-8601 extraction timestamp.

Real Unmasked JSON Output Sample (Live Platform Run)

Extracted live on Apify (runId: ZDtlL2FN5FFsYi7Kh, 2026-11-18):

{
"id": "321781989",
"tpnc": "321781989",
"tpnb": "96642919",
"gtin": "08445291847002",
"title": "Nescafe Gold Blend Intense Instant Coffee 190g",
"brand": "NESCAFE",
"url": "https://www.tesco.com/groceries/en-GB/products/321781989",
"imageUrl": "https://digitalcontent.api.tesco.com/v2/media/ghs/7c7d1e09-e5e2-4f91-8cc4-a4673a72e0e7/a108512f-aefa-4561-a7eb-efdcf80160b0_1926994024.jpeg",
"currency": "GBP",
"price": 7.8,
"unitPrice": 41.05,
"unitOfMeasure": "kg",
"hasClubcardPrice": true,
"clubcardPrice": 5.25,
"clubcardDiscountPct": 32.7,
"clubcardUnitInfo": "£27.63/kg",
"promotionText": "£5.25 Clubcard Price",
"promotionEndDate": "2026-11-24T00:00:00Z",
"superDepartment": "Groceries & Essentials",
"department": "Drinks",
"aisle": "Coffee",
"shelf": "Instant Coffee",
"inStock": true,
"stockStatus": "AvailableForSale",
"isNew": false,
"productType": "SingleProduct",
"bulkBuyLimit": 99,
"rating": 4.6,
"reviewCount": 345,
"matchedQuery": "coffee",
"scrapedAt": "2026-11-18T13:41:39.169Z"
}

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

Every benchmark below was executed live on Apify cloud containers (1,024 MB memory profile) on 2026-11-18:

Benchmark RunRun IDInput SummaryRows ExtractedUnique IDs (dup=0)DurationOutcome
Default Prefill QC RunZDtlL2FN5FFsYi7Khqueries=["coffee","chocolate"], maxResults=303030 (0 dupes)9.4sSUCCEEDED (0 empty columns)
High-Volume Scale RunhwGHeDCQ1pn2uvQojMulti-aisle UK supermarket discovery across 362 pages, maxResults=1100011,00011,000 (0 dupes)208.1sSUCCEEDED (52.9 SKUs/sec, 99.9% GTIN fill)
PPE Max-Charge Cap ProofxL39eXELYwZn2J896Bulk grocery crawl with maxTotalChargeUsd = $0.052828 (0 dupes)18.6sSUCCEEDED (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 Tesco product written to your dataset (apify-default-dataset-item). GTIN/EAN-14 barcodes, Clubcard promo pricing, unit prices, and 4-tier aisle taxonomy are included on every row at zero extra surcharge.

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 below the input form and enter any dollar limit in Maximum cost per run (for example $0.50, $2.00, or $13.00).
  2. Via the Apify REST API / SDK, pass maxTotalChargeUsd (e.g., ?maxTotalChargeUsd=2.00).
  3. Our runtime charging guard checks remaining event budget before every dataset push, writes a SUMMARY diagnostics object to the Key-Value Store, and exits cleanly with status SUCCEEDED the exact moment your cap is reached.

AI Agent & Official Apify MCP Server Integration

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

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

Claude Desktop / Cursor mcp.json Configuration

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

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

  • "Check Tesco UK prices and active Clubcard discounts for Nescafe, Lavazza, and Costa coffee SKUs, and list their 14-digit GTIN barcodes and unit prices per kg."
  • "Find 100 in-stock Tesco Clubcard promotions across cheese, olive oil, and pasta sorted 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", "tea", "oat milk", "butter"],
"sortBy": "relevance",
"clubcardOnly": False,
"inStockOnly": True,
"maxResults": 250,
}
run = client.actor("logiover/tesco-scraper").call(
run_input=run_input,
max_total_charge_usd=2.00,
)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(
item["gtin"],
"|", item["title"],
"| £", item["price"],
"| Clubcard:", item["clubcardPrice"],
"| aisle:", item["aisle"],
)

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/tesco-scraper').call(
{
queries: ['chocolate', 'biscuits', 'crisps'],
clubcardOnly: true,
inStockOnly: true,
maxResults: 150,
},
{ maxTotalChargeUsd: 1.5 }
);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.table(items.slice(0, 5).map((p) => ({
gtin: p.gtin,
title: p.title,
price: p.price,
clubcard: p.clubcardPrice,
savePct: p.clubcardDiscountPct,
})));

3. cURL (Apify REST API)

curl -X POST "https://api.apify.com/v2/acts/logiover~tesco-scraper/runs?token=YOUR_APIFY_API_TOKEN&maxTotalChargeUsd=2.00" \
-H "Content-Type: application/json" \
-d '{
"queries": ["coffee", "olive oil", "cheddar"],
"sortBy": "relevance",
"clubcardOnly": false,
"maxResults": 200
}'

4. Direct Tabular Downloads (CSV / Excel / JSON)

  • 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 Automation

  • Daily Price & Promo Warehouse Sync: Schedule logiover/tesco-scraper at 06:00 UK time via Apify Schedules and stream id, gtin, price, clubcardPrice, promotionText, and inStock into BigQuery, Snowflake, PostgreSQL, or Google Sheets.
  • Slack / Email Price-Drop & OOS Alerts: Trigger n8n or Make workflows whenever a competitor drops clubcardPrice by more than 25% or one of your hero SKUs flips to inStock: false.

Troubleshooting & Best Practices

  • Converting 14-digit gtin to standard 13-digit EAN-13: Tesco pads EAN-13 barcodes with a leading "0" to conform to GS1 GTIN-14 ("08445291847002" -> strip leading zero -> "8445291847002"). Keep the full 14-digit string when joining against GS1/Nielsen/Circana feeds, or gtin.lstrip("0") when matching EAN-13 tables.
  • Understanding clubcardPrice vs promotionText: Roughly 23.0% of Tesco products carry a direct single-unit Clubcard price (clubcardPrice: 5.25), while an additional ~11.2% carry multi-buy promotions (promotionText: "Any 3 for 2 Clubcard Price" or "Any 2 for £4"). We intentionally leave clubcardPrice as null on multi-buy offers so single-unit price averages are never distorted.
  • Crawling specific Tesco aisles without search overlap: Pass exact /groceries/en-GB/shop/<dept>/<aisle>/all URLs in categoryUrls—pagination (?page=1..N&count=48) is handled automatically.
  • Support & Feature Requests: Spotted an edge case or need nutrition/ingredient detail support? Open a ticket on the Issues tab. Saving hours on UK retail tracking? Leaving a quick review on the Reviews tab helps keep this Actor maintained!

Frequently Asked Questions (FAQ)

Does Tesco still offer an official public Groceries API?

No. Tesco shut down its public Tesco Labs Developer API years ago. tesco-scraper provides a fast, maintenance-free Tesco API alternative for extracting structured UK supermarket product, pricing, barcode, and stock data.

Can I scrape tesco.com without an API key, Clubcard account, or cookies?

Yes. You can scrape tesco.com without API key credentials, customer logins, or browser cookies. All extracted prices, Clubcard badges, GTINs, and stock statuses are publicly visible on Tesco Groceries UK.

Are both regular prices and Tesco Clubcard promo prices extracted?

Yes! Every row includes the regular shelf price (GBP), boolean hasClubcardPrice, single-unit clubcardPrice, percentage savings clubcardDiscountPct, loyalty unit price clubcardUnitInfo, full promotionText, and ISO promotionEndDate.

Does Tesco Scraper extract EAN / GTIN barcodes?

Yes. Tesco's normalized ProductType cache exposes the 14-digit GS1 gtin barcode at a measured 99.9% fill rate across 11,000 UK grocery SKUs, alongside tpnc (100.0%) and tpnb (99.9%).

What is the difference between Tesco TPNC and TPNB IDs?

TPNC (9 digits, e.g., "321781989") is Tesco's consumer-facing online SKU used in product URLs, while TPNB (8 digits, e.g., "96642919") is Tesco's base commercial product number used across supply-chain and store-ranging systems. Both are extracted on every product.

How fast is Tesco Scraper on small and 10,000+ SKU runs?

On Apify cloud infrastructure (2026-11-18), the default 30-product prefill check finished in 9.4 seconds, and the bulk scale run extracted 11,000 unique Tesco UK grocery products across 362 pages in 208.1 seconds (0 duplicates).

Does this Actor require expensive Residential or Unblocker proxies?

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

How does deduplication work when running multiple search queries or categories?

Every product is deduplicated synchronously in memory by its canonical id (TPNC) before reserving capacity or writing to the dataset, guaranteeing 0 duplicate SKUs and 0 duplicate charges.

Can I filter strictly for active Clubcard deals or in-stock items?

Yes. Set "clubcardOnly": true to keep only products with an active Clubcard promotion, and "inStockOnly": true to exclude out-of-stock SKUs.

Are standardized unit prices (£/kg, £/l, £/100g) included for shrinkflation analysis?

Yes. unitPrice (99.8% fill) and unitOfMeasure (99.8% fill) are extracted as structured numeric and unit fields alongside clubcardUnitInfo.

Can I scrape direct Tesco department and aisle URLs?

Yes. Paste any https://www.tesco.com/groceries/en-GB/shop/... category URL or /groceries/en-GB/products/<tpnc> URL into categoryUrls.

How can I cap my spending on every run?

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

Can I connect Tesco Scraper to Claude Desktop, Cursor, or LangGraph via MCP?

Yes. Add https://mcp.apify.com?tools=logiover/tesco-scraper to your MCP client configuration to let AI agents search live UK grocery prices, barcodes, and Clubcard promos on demand.

Can I export Tesco product data directly to CSV, Excel, or BigQuery?

Yes. Click Export on any completed run or call /v2/datasets/<DATASET_ID>/items to export Tesco to CSV, Excel, JSON, XML, or Parquet.

Are customer star ratings and review counts included?

Yes. Every product includes rating (1.0–5.0 average stars, 77.1% fill across 11,000 SKUs) and reviewCount (100.0% fill).

What happens if a niche search query matches 0 products on Tesco?

If Tesco returns HTTP 200 with zero matching items for an ultra-specific query, the Actor exits gracefully (SUCCEEDED) with a clear status message and $0.00 in result charges.

Does this Actor respect run timeouts on very large crawls?

Yes. A dynamic wall-clock deadline derived from ACTOR_TIMEOUT_AT flushes buffered dataset items and saves a SUMMARY record to the Key-Value Store before container timeout.

Where can I report issues or request additional Tesco fields?

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