Skip to the content

Scraper API

Tesco

tesco.searchAvailable

Tesco search

A page of the shop's results: each product's number, barcode, name, brand, price, unit price, Clubcard prices and other offers, rating, aisle and shelf, whether a marketplace seller sells it, and picture.

Give it Words to search Tesco's groceries for, and optionally an order and a page.

1 unit a run, for runs that return data. Runs that fail cost nothing. How units work

Counted
1 unit a run
Inputs
3, 1 required
Record
24 fields
A run takes
up to 5 minutes
Records kept
7 days
Measured
its success, on the status page

POST/v1/scrapers/tesco.search/runs

{
"input": {
"query": "milk"
}
}

sent, and answered

a record of the run24 fields

{
position: 1
page: 1
tpnc: "291974710"
tpnb: "80859331"
gtin: "05025840000978"
url: "https://www.tesco.com/groceries/en-GB/products/291974710"
title: "Graham's Gold Jersey Milk 1 Litre"
brand: "graham's THE family DAIRY"
price: 1.95
… 15 more fields

ok1 unit a run

A record this scraper returned for this input. The first 9 of its 24 fields are set down here; the whole record is below.

tesco.com
The page Tesco search reads, as a browser shows it
The page this scraper reads, photographed in a browser on 19 November 2026. It belongs to its publisher, who has no part in this service.

What it is used for

Track grocery prices
Search the same products on a schedule and keep each one's price and unit_price, to see prices move.
Watch Clubcard prices
Search a category and list the products whose offers hold a Clubcard price, with the day each offer ends.
Compare a basket
Read the products of a shopping list and set their unit prices beside another shop's for the same gtin.

What you send

Words to search Tesco's groceries for, and optionally an order and a page. These are its 3 inputs, as its schema has them.

querystring Required
What to search for, e.g. milk, gluten free bread.
sortstring Optional
The order of the results.Default relevance
pageinteger Optional
The results page, 24 products a page.Default 1

A request, ready to send

It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.

# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/tesco.search/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"query":"milk"}}'

# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
from enrichednow import EnrichedNow

client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY

# Start a run, wait for it to end, and get its records
result = client.scrape("tesco.search", {"query": "milk"})
print(result.run.id, result.run.status, result.run.record_count)

# Read its records: pages are fetched as you go
for record in result.records:
    print(record)

Install it with pip install enrichednow, then save as run.py and run python3 run.py

import EnrichedNow from "enrichednow";

const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY

// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("tesco.search", { query: "milk" });
console.log(run.id, run.status, run.record_count);

// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);

Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

package main

import (
	"context"
	"fmt"
	"log"
	"time"

	enrichednow "github.com/enrichednow/enrichednow-go"
)

func main() {
	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
	if err != nil {
		log.Fatal(err)
	}
	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
	defer cancel()

	// Start a run, wait for it to end, and get its records
	run, records, err := client.Scrape(ctx, "tesco.search", map[string]any{"query": "milk"})
	if err != nil {
		log.Fatal(err)
	}
	fmt.Println(run.ID, run.Status, run.RecordCount)

	// Read its records: pages are fetched as you go
	for records.Next() {
		fmt.Println(string(records.Current()))
	}
	if err := records.Err(); err != nil {
		log.Fatal(err)
	}
}

Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;

public class Run {
    public static void main(String[] args) {
        EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY

        // Start a run, wait for it to end, and get its records
        ScrapeResult result = client.scrape("tesco.search", Map.of("query", "milk"));
        System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());

        // Read its records: pages are fetched as you go
        for (Map<String, Object> record : result.records()) {
            System.out.println(record);
        }
    }
}

Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

enrichednow run tesco.search --input query=milk

Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

What comes back

A page of the shop's results: each product's number, barcode, name, brand, price, unit price, Clubcard prices and other offers, rating, aisle and shelf, whether a marketplace seller sells it, and picture. A record has 24 fields. One we could not read is null, never an empty string or a zero.

A record tesco.search returned
{
  "position": 1,
  "page": 1,
  "tpnc": "291974710",
  "tpnb": "80859331",
  "gtin": "05025840000978",
  "url": "https://www.tesco.com/groceries/en-GB/products/291974710",
  "title": "Graham's Gold Jersey Milk 1 Litre",
  "brand": "graham's THE family DAIRY",
  "price": 1.95,
  "unit_price": 1.95,
  "unit": "litre",
  "currency": "GBP",
  "available": true,
  "status": "AvailableForSale",
  "offers": [],
  "rating": 4.1,
  "review_count": 67,
  "super_department": "Groceries & Essentials",
  "department": "Fresh Food",
  "aisle": "Milk, Butter & Eggs",
  "shelf": "Milk",
  "marketplace": false,
  "image": "https://digitalcontent.api.tesco.com/v2/media/ghs/5d22d75f-49ed-4767-bb7d-29c36a8831f2/0b81f625-d559-44fa-8d61-76da7a4c3437_429461458.jpeg",
  "fetched_at": "2026-11-19T22:10:42.200189Z"
}

The scraper returned this record for the input above, reading a saved copy of the page, not the live site.

The fields of a record

positioninteger
The product's place on this page, from 1.
pageinteger
The results page it was on.
tpncstring
Tesco's product number, the one in the product's address.
tpnbstring or null
Tesco's base product number.
gtinstring or null
The barcode number (GTIN).
urlstring
The product's page on tesco.com.
titlestring
The product's name, with its size, e.g. Tesco British Semi Skimmed Milk 2.272L, 4 Pints.
brandstring or null
The brand as Tesco names it, e.g. TESCO.
pricenumber or null
The price in pounds, without a Clubcard.
unit_pricenumber or null
The price per unit, in pounds.
unitstring or null
The unit of unit_price, e.g. litre, kg, each.
currencystring
GBP.
availableboolean or null
True when the product is for sale online now.
statusstring or null
Tesco's status of the product, e.g. AvailableForSale.
offerslist of objects
The offers on the product: Clubcard prices and multi-buys.Each holds description, price, unit_price_text, clubcard, starts, ends.
ratingnumber or null
The average rating out of 5.
review_countinteger or null
The number of reviews.
super_departmentstring or null
The top of Tesco's aisles, e.g. Groceries & Essentials.
departmentstring or null
The department, e.g. Fresh Food.
aislestring or null
The aisle, e.g. Milk, Butter & Eggs.
shelfstring or null
The shelf, e.g. Milk.
marketplaceboolean
True when a seller on Tesco's marketplace sells it, not Tesco.
imagestring or null
The product's picture.
fetched_atdatetime
When the page was read, in UTC.

The whole schema, in its reference

Units and limits

Counted per request
Billed per request: a run that returns data costs 1 unit, however many records it returns.
A miss costs nothing
A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
What bounds a run
A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.

What it does not do

  • One run reads one page of results, as Tesco lays it out: about 24 products.
  • Prices are the ones the shop shows a visitor who is not signed in; a Clubcard price is given as an offer.
  • Ingredients, nutrition and every picture are on tesco.product.

The bounds its schema sets

sort
relevance, price_low_to_high, price_high_to_low, name; relevance unless you say otherwise
page
1 to 100; 1 unless you say otherwise

Scraper API pricing: how units workThe five ways a run ends

Questions

What does Tesco search return?

A page of the shop's results: each product's number, barcode, name, brand, price, unit price, Clubcard prices and other offers, rating, aisle and shelf, whether a marketplace seller sells it, and picture. A record has 24 fields, among them position, page, tpnc, tpnb, gtin and url. A value that could not be read is null, never an empty string or a zero.

What do I send?

Words to search Tesco's groceries for, and optionally an order and a page. The input query is required. Optional: sort and page.

How is it counted?

Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.

How much does one run return?

Its schema sets these bounds: sort relevance, price_low_to_high, price_high_to_low, name (relevance unless you say otherwise); page 1 to 100 (1 unless you say otherwise). A run may take up to 5 minutes.

What does it not do?

One run reads one page of results, as Tesco lays it out: about 24 products. Prices are the ones the shop shows a visitor who is not signed in; a Clubcard price is given as an offer. Ingredients, nutrition and every picture are on tesco.product.

How long are the records kept, and in what format do they come?

Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.

Can an AI assistant call it?

Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id tesco.search and the same input. It costs what the same API call costs.

Tesco

Tesco's online grocery shop in the United Kingdom: its search results and a product's page, with prices, Clubcard prices, unit prices, ratings, ingredients and nutrition.

  • Tesco product

    tesco.product

    A product's number on Tesco, or the address of its page. The product: name, brand, barcode, price, unit price, Clubcard prices and other offers, rating, aisle and shelf, description, pack size, ingredients, allergy advice, storage, origin, the nutrition table and every picture.

Tesco on the line-up

Run it on an input of your own.

Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.