Tesco
Tesco Categories API
The Tesco category tree one level at a time: the level under a browse path with the shop's product count in each subcategory, plus the shop's top menu. Paths are the input of category and of categories. 2 credits in gb, 1 in ie.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsoncategorystringA browse path to list the level under it (default: groceries-and-essentials in gb, fresh-food in ie).
countrystringdefault:gbgb (Tesco UK, tesco.com, GBP; 2 credits a call) or ie (Tesco Ireland, tesco.ie, EUR; 1 credit a call).
gb— Tesco UK, tesco.com, GBP, 2 creditsie— Tesco Ireland, tesco.ie, EUR, 1 credit
Notes
Tesco. Tesco is the UK's largest supermarket, with online groceries on tesco.com (UK) and tesco.ie (Ireland). Scavio fetches the public Tesco page on request and returns what the page shows as JSON. country gb (tesco.com, GBP, the default) or ie (tesco.ie, EUR); a tesco.ie link answers for ie. Tesco publishes no public product API; this is a separate option on one Scavio key, with the same key and response envelope as every other Scavio platform. Without category the answer lists the level under groceries-and-essentials in gb (fresh-food in ie): 8 subcategories on Dec 5, 2026, from Household (36,013 products) to Kiosk (668). Send a subcategory path back to categories for the next level, or to category for its products.
Every call costs 2 credits in gb (tesco.com, GBP) and 1 in ie (tesco.ie, EUR), on every endpoint. Prices are Tesco's online prices for the market, national rather than per store: Tesco shows no store or postcode prices online. Every answer carries store (tesco), country, currency and language (en-GB or en-IE).
| Endpoint | What it returns | Credits per call |
|---|---|---|
search | Products for search text, 24 or 48 a page, three sorts: regular price, unit price, each offer with its dates, the Clubcard Price flag, rating, source (Tesco or Marketplace) and the shop's filter lists with counts | 2 in gb, 1 in ie |
product | One product by id or link: price, the Clubcard Price with its dates as shown by Tesco, offers, availability, GTIN, ingredients, allergens, nutrition, storage, origin, rating and the 10 most recent reviews | 2 in gb, 1 in ie |
category | One category's products by browse path, 24 a page, with the three sorts, its sub-categories and the filter counts | 2 in gb, 1 in ie |
categories | The category tree one level at a time, with the shop's product count in each, plus the top menu | 2 in gb, 1 in ie |
offers | Every product on offer in the shop, 24 a page, with each offer's text and dates; optionally only the Clubcard Price rows | 2 in gb, 1 in ie |
offer | The products in one promotion by promotion id or link, with the promotion's text and dates | 2 in gb, 1 in ie |
stores | Tesco stores near a postcode, Eircode or town, 10 per answer: format, address, phone, distance, weekly and holiday hours and services | 2 in gb, 1 in ie |
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=120)
d = client.tesco.categories()["data"]
for s in d["subcategories"]:
print(s["name"], s["count"], s["path"])Response