Sainsbury's
Sainsbury's Category API
One Sainsbury's category's products by category id or link, 30, 60 or 90 a page with the four sorts: price, unit price, the Nectar Price with its dates as shown by Sainsbury's, offers, labels, rating and the filter lists with counts. 1 credit.
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/jsoncategorystringrequiredA category id (categories nodes[].category_id, e.g. 1019342 for Fresh milk) or a category link ending in /c:<id>.
Example: 1019342
pageintegerdefault:1Page, 1 to 200; total_pages says how deep the list goes.
page_sizeintegerdefault:30Products per page: 30, 60 or 90 (as the site offers).
sortstringdefault:relevancerelevance, price_asc, price_desc or rating (the site's own four orders). Price sorts use the Nectar Price where a product has one.
Notes
Sainsbury's. Sainsbury's is one of the UK's largest supermarket chains, with online groceries on sainsburys.co.uk. Scavio fetches the public Sainsbury's page on request and returns what the page shows as JSON. UK only, prices in pounds sterling (GBP). Sainsbury's 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. Fresh milk (category_id 1019342) read 95 products over 4 pages on Dec 5, 2026, led by Sainsbury's British Semi Skimmed Milk 2.27L (4 pint) at 1.75 GBP. Category ids come from categories (nodes[].category_id), from product breadcrumbs and from facets.categories on search. A category id with no products is a charged 404; some tree entries (an "All ..." page) resolve to their parent's id.
Every call costs 1 credit, on every endpoint. Prices are Sainsbury's online prices, national rather than per store: Sainsbury's shows no store or postcode prices online. Every answer carries store (sainsburys), country (gb), currency (GBP), language (en-GB) and notes.
| Endpoint | What it returns | Credits per call |
|---|---|---|
search | Products for search text, 30, 60 or 90 a page, four sorts, brand and offers filters: price, unit price, the Nectar Price with its dates, offers, labels, rating and the site's filter lists with counts | 1 |
product | One product by link, slug or product id: price, the Nectar Price with the non-Nectar price and its dates, offers, EANs, ingredients, allergy advice, nutrition, origin, storage, packaging and the manufacturer's address | 1 |
reviews | One product's reviews, 10 a page, newest first: title, text, rating, quality and value ratings, date, recommends and incentivised flags; no reviewer names | 1 |
categories | The whole grocery category tree, nested, with each category id (the input of category and of offers) | 1 |
category | One category's products by category id or link, 30, 60 or 90 a page with the four sorts and the filter lists | 1 |
offers | One offer's product list by promotion id (multibuys such as Buy any 2 for £9.00 with Nectar), or the products on offer for a search or a category, optionally Nectar only | 1 |
stores | Supermarkets and Local stores within 15 miles of a latitude and longitude, 25 a page, nearest first: address, phone, distance, hours, holiday hours and facilities | 1 |
store | One store by store code or link: address, phone, weekly and holiday hours, facilities and the stores inside it (an Argos, a cafe, a pharmacy) with their own hours | 1 |
trending | The searches the site lists as trending now, in its order; each term is a query for search | 1 |
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=120)
d = client.sainsburys.category(category="1019342", sort="price_asc")["data"]
print(d["total"], d["total_pages"])
for i in d["items"]:
print(i["name"], i["price"], i["unit_price"]["price"], i["unit_price"]["measure"])Response