Discover/sainsburys.co.uk API
live

sainsburys.co.uk APIsainsburys.co.uk

Access Sainsbury's grocery catalogue: search products, browse category trees, retrieve product details, and get trending searches via a structured JSON API.

Endpoints
6
Updated
10d ago
Try it
Page number for pagination.
Search keyword (e.g. 'milk', 'bread', 'chocolate')
Number of results per page.
api.parse.bot/scraper/2fb6ed22-2e3f-4192-9b3c-c522aa46ce05/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/2fb6ed22-2e3f-4192-9b3c-c522aa46ce05/search_products?query=milk' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 6 totalclick to expand

Search for grocery products by keyword. Returns a paginated list of products with pricing, availability, reviews, and category information.

Input
ParamTypeDescription
pageintegerPage number for pagination.
queryrequiredstringSearch keyword (e.g. 'milk', 'bread', 'chocolate')
page_sizeintegerNumber of results per page.
Response
{
  "type": "object",
  "fields": {
    "total": "integer total number of matching products",
    "products": "array of product objects with name, pricing, availability, reviews, categories"
  },
  "sample": {
    "data": {
      "total": 862,
      "products": [
        {
          "name": "Sainsbury's British Filtered Semi Skimmed Milk 2L",
          "reviews": {
            "total": 336,
            "average_rating": 4.7738
          },
          "categories": [
            {
              "id": "12431",
              "name": "Fresh milk"
            }
          ],
          "unit_price": {
            "price": 1.05,
            "measure": "ltr",
            "measure_amount": 1
          },
          "product_uid": "7657802",
          "is_available": true,
          "retail_price": {
            "price": 2.1,
            "measure": ""
          }
        }
      ]
    },
    "status": "success"
  }
}

About the sainsburys.co.uk API

The Sainsbury's API covers 6 endpoints that expose Sainsbury's full grocery catalogue, including product search with pricing and reviews, a nested category hierarchy, and individual product detail pages. The search_products endpoint accepts a keyword query and returns paginated results with pricing, availability, review data, and category metadata. Product lookups support both SKU and SEO slug as identifiers.

Search and Browse

The search_products endpoint takes a required query string and optional page and page_size parameters, returning a total count alongside an array of product objects that each include name, pricing, availability, reviews, and category assignments. get_products_by_category works similarly but filters by a numeric category_id — for example 1019201 or 460391 — found after the c: prefix in category tree slugs.

Category Navigation

get_category_tree returns the complete nested hierarchy as a JSON object where each node carries a slug (s), name (n), and children array (c). For cases where only top-level navigation is needed, get_category_list returns a flat array of objects with name and slug keys, making it straightforward to list departments before drilling into subcategories.

Product Details and Trending

get_product_details accepts either a sku (e.g. 7657802) or an SEO slug (e.g. sainsburys-british-filtered-semi-skimmed-milk-2l) and returns a single product object with full pricing, description, categories, reviews, attributes, and health classification fields. get_trending_searches takes no inputs and returns a terms array of strings reflecting current popular search activity on the Sainsbury's grocery site.

Common use cases
  • Track price changes on specific SKUs over time using get_product_details with a stored SKU list
  • Build a grocery price comparison tool using search_products to query identical items across categories
  • Populate a nutrition or health-tracking app with product health classification and attributes from get_product_details
  • Generate a site map or navigation tree for a grocery aggregator using get_category_tree
  • Surface trending grocery terms for keyword research or seasonal content using get_trending_searches
  • Audit product availability across a category by paginating through get_products_by_category results
  • Feed a recipe-cost estimator by searching ingredients with search_products and extracting live pricing
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Sainsbury's have an official developer API?+
Sainsbury's does not publish a public developer API for its grocery catalogue. This API provides structured access to the same product, category, and search data available on the Sainsbury's groceries site.
What does `get_product_details` return beyond basic pricing?+
The endpoint returns a product object that includes full description, category assignments, user reviews, product attributes, and a health classification field. At least one of sku or slug must be supplied; both are accepted if available. SKUs are returned in the products array from search_products and get_products_by_category.
How do category IDs work, and where do I find them?+
get_category_tree returns slugs formatted as c:<numeric_id> for each node — the numeric portion is the category_id accepted by get_products_by_category. Alternatively, get_category_list gives top-level slugs in the same format for quick lookup without traversing the full tree.
Does the API cover Sainsbury's non-grocery inventory such as clothing, electricals, or Tu fashion?+
Not currently. The API covers the Sainsbury's groceries catalogue: food, drink, household, and related grocery lines accessible through the groceries product range. You can fork this API on Parse and revise it to add an endpoint targeting other Sainsbury's product verticals.
Does the API expose Sainsbury's Nectar loyalty pricing or member-exclusive offers separately from standard pricing?+
The pricing fields returned by search_products, get_products_by_category, and get_product_details reflect the product pricing data available in the catalogue response. Nectar-exclusive pricing as a distinct labelled field is not currently broken out. You can fork this API on Parse and revise it to surface that pricing tier if it appears in the product data.
Page content last updated . Spec covers 6 endpoints from sainsburys.co.uk.
Related APIs in Food DiningSee all →
publix.com API
Access Publix grocery store data including product search, pricing, promotions, weekly ad deals, store locations, and category browsing.
pedidosya.com.ar API
Browse restaurants and menus available in Argentine cities through PedidosYa, search for specific restaurants by name or food category, and retrieve complete menu offerings including items, prices, and available options.
thefork.it API
Search and discover Italian restaurants by cuisine, location, or ratings, then access detailed information like menus, reviews, and availability across major cities in Italy. Find top-rated dining options and compare restaurant details to plan your perfect meal.
bigbasket.com API
Browse and search BigBasket's online grocery catalog. Retrieve product details, pricing, stock availability, category trees, search suggestions, homepage promotions, and delivery coverage — all in one API.
opentable.com API
Search for restaurants across the US with ratings, reviews, photos, and pricing information, plus get real-time availability and autocomplete suggestions as you type. Check reservation openings and explore detailed restaurant features to find and book your perfect dining experience.
opentable.ca API
Search and discover restaurants on OpenTable, view detailed information like menus and reviews, and check real-time dining availability across metro areas. Find top-rated restaurants in your location and instantly see which tables are open for your preferred date and time.
vivino.com API
Search and discover wines across thousands of options while accessing detailed information like user reviews, pricing, winery profiles, and food pairing recommendations. Explore grape varieties, compare wines side-by-side, and find the perfect bottle based on ratings and availability.
deliveroo.co.uk API
Search for restaurants and retrieve menus from Deliveroo UK. Look up restaurants by keyword and postcode, or fetch full menu details for any Deliveroo restaurant by URL.
Sainsbury's Grocery API | sainsburys.co.uk · Parse