↑ ↓ to move ↵ to open
Sainsbury's Groceries API reference

Sainsbury's Category Products

sainsburys.category.products.list

Pass a category ID and page through its products, keeping each pack’s identifier with its price.

At a glance

Endpoint ID
sainsburys.category.products.list
Price
1–15 credits per call; failed calls are free
Runs for up to
30 seconds
Request
POST /execute
Run an endpoint
MCP tool when pinned
sainsburys__category__products__list
Pin tools
OpenAPI
openapi.json
Download

Request

Send the endpoint ID as capability and its fields as input. Set UPSCRAPE_API_KEY to your key first.

curl --request POST \  --url https://data.upscrape.com/execute \  --header "Authorization: Bearer $UPSCRAPE_API_KEY" \  --header "Content-Type: application/json" \  --header "Prefer: wait=30" \  --data '{  "capability": "sainsburys.category.products.list",  "input": {    "category_id": "1020694"  }}'

Input

  • Category labels can repeat. Use the category ID, and its parent relationships from the categories endpoint, to place each shelf.
  • Keep the default page size of 30; larger pages do not work reliably yet.
  • Send the category ID and move the page number on, keeping the page size the same. Each response says whether more pages follow.
FieldTypeRequiredWhat it doesExample
category_id string yes Category identifier. 1020694
page integer no One-based result page to fetch. From 1 to 1000. Default: 1.
page_size integer no Number of results per page. From 1 to 90. Default: 30.

Response

A finished call answers with HTTP 200; the data is in results[0].data, and billing.credits_charged is what it cost. A call still running after the wait answers 202: see jobs and results.

This is results[0].data from a real run:

results[0].data
{  "count": 30,  "has_more": true,  "next_page": 2,  "page": 1,  "page_size": 30,  "total": 31,  "products": [    {      "name": "Bulldog Skincare Original Moisturiser 100ml",      "available": true,      "brand": null,      "gtin": "5060144640024",      "image": "https://assets.sainsburys-groceries.co.uk/gol/6585985/image.jpg",      "pack_size": "100ml",      "retailer_product_id": "6585985",      "url": "https://www.sainsburys.co.uk/gol-ui/product/bulldog-skincare-original-moisturiser-100ml",      "price": {        "amount": 6.6,        "currency": "GBP"      },      "unit_price": {        "amount": 66,        "currency": "GBP",        "measure_amount": 1,        "unit": "per_litre"      },      "member_prices": [        {          "promotion_id": "10762837",          "scheme": "nectar",          "price": {            "amount": 4.4,            "currency": "GBP"          }        }      ],      "promotions": [        {          "buy_quantity": null,          "description": "Save 1/3 with Nectar",          "end": "2026-10-12T23:00:00Z",          "for_amount": null,          "id": "10762837",          "member_scheme": "nectar",          "start": "2026-09-01T23:00:00Z",          "type": "member"        }      ]    },    {      "name": "Nivea Men Sensitive Moisturiser 75ml",      "available": true,      "brand": null,      "gtin": "5025970023397",      "image": "https://assets.sainsburys-groceries.co.uk/gol/6026520/image.jpg",      "pack_size": "75ml",      "retailer_product_id": "6026520",      "url": "https://www.sainsburys.co.uk/gol-ui/product/nivea-men-sensitive-moisturiser-75ml",      "price": {        "amount": 8,        "currency": "GBP"      },      "unit_price": {        "amount": 106.67,        "currency": "GBP",        "measure_amount": 1,        "unit": "per_litre"      },      "member_prices": [        {          "promotion_id": "10763079",          "scheme": "nectar",          "price": {            "amount": 3.8,            "currency": "GBP"          }        }      ],      "promotions": [        {          "buy_quantity": null,          "description": "Better than Half Price with Nectar",          "end": "2026-10-12T23:00:00Z",          "for_amount": null,          "id": "10763079",          "member_scheme": "nectar",          "start": "2026-09-01T23:00:00Z",          "type": "member"        }      ]    }  ]}

Fields

FieldTypeWhat it isExample
products[].name string Product or category name as returned; use its identifier to join records. Bulldog Skincare Original Moisturiser 100ml
products[].retailer_product_id string Sainsbury’s identifier for matching the same pack. 6585985
products[].pack_size string Size expression where supplied; null stays unknown. 100ml
products[].price object Regular pack amount, separate from member prices. 2 fields
products[].unit_price object Retailer’s published unit amount; do not assume Nectar basis. 4 fields
products[].available boolean Public catalog flag, not local stock. true
products[].brand null Brand where supplied; lists may omit it. null
products[].gtin string Barcode where supplied, retained as text. 5060144640024
products[].url string Official product page link. https://www.sainsburys.co.uk/gol-ui/product/bulldog-skincare-or…
products[].image string Product image URL where supplied. https://assets.sainsburys-groceries.co.uk/gol/6585985/image.jpg
products[].member_prices[].price object The price Nectar members pay, with its currency. 2 fields
products[].member_prices array Nectar member prices for the product, if any. 1 records
products[].member_prices[].promotion_id string Sainsbury’s ID for the offer behind this price. 10762837
products[].member_prices[].scheme string Loyalty scheme the price is for, such as Nectar. nectar
products[].price.amount number Regular shelf price in pounds, before any Nectar price. 6.6
products[].price.currency string Currency code supplied with the regular price. GBP
products[].promotions array Offers running on the product. 1 records
products[].promotions[].buy_quantity null Number of items in a multibuy deal, if the offer is one. null
products[].promotions[].description string The offer as Sainsbury’s shows it. Save 1/3 with Nectar
products[].promotions[].end string When the offer ends, in UTC. 2026-10-12T23:00:00Z
products[].promotions[].for_amount null Total price in pounds for a multibuy deal. null
products[].promotions[].id string Sainsbury’s ID for the offer. 10762837
products[].promotions[].member_scheme string Loyalty scheme the offer needs, such as Nectar. nectar
products[].promotions[].start string When the offer starts, in UTC. 2026-09-01T23:00:00Z
products[].promotions[].type string Kind of offer: member, multibuy or price_cut. member
products[].unit_price.amount integer Price per unit in pounds, such as per litre. 66
products[].unit_price.currency string Currency of the unit price, such as GBP. GBP
products[].unit_price.measure_amount integer Quantity the unit price is for, such as 1 litre. 1
products[].unit_price.unit string Keep the unit with the amount when comparing packs. per_litre
count integer Number of products on this page. 30
has_more boolean Whether more pages of results follow. true
next_page integer Page number to ask for next, or null on the last page. 2
page integer Page number of these results. 1
page_size integer Most products returned per page. 30
products array Products in the category on this page. 30 records
total integer How many products the category holds in all. 31

If a call fails

A failed call costs nothing. The response carries an error.code you can branch on; Errors and retries lists every code and which ones to retry.

Other Sainsbury's Groceries endpoints

Something missing or unclear? Ask the team that builds the Sainsbury's Groceries endpoints.