↑ ↓ to move ↵ to open
Sainsbury's Groceries API · Endpoint

Sainsbury's Groceries Categories API

Read category IDs and their parent relationships to choose a shelf for your report.

  • 5 credits per call
  • Failed calls are free
  • Updated
  • sainsburys.categories.list
Response completed
{  "count": 1308,  "categories": [    {      "name": "Baby & toddler",      "id": "1018771",      "level": 0,      "parent_id": null,      "type": "Top Level Category"    },    {      "name": "Baby bottles and feeding",      "id": "1018682",      "level": 1,      "parent_id": "1018771",      "type": "CLP"    }  ]}
Try it live, free
Response

Fields it returns

What each record in the response holds, with the values from the sample above.

FieldTypeWhat it isExample
categories[].id string Category identifier used to select a shelf. 1018771
categories[].name string Product or category name as returned; use its identifier to join records. Baby & toddler
categories[].parent_id null Parent category identifier; null marks a root. null
categories[].level integer Depth in the returned category tree. 0
categories[].type string Category type supplied by Sainsbury’s. Top Level Category
categories array All Sainsbury’s grocery categories, each with its parent. 1308 records
count integer Number of categories returned. 1308
REST API · MCP server

Call it from your code, or ask your agent

Set UPSCRAPE_API_KEY to your key and copy a working request.

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.categories.list",  "input": {}}'
In your AI agent Claude · Cursor · any MCP client
1Add the Upscrape MCP server
https://data.upscrape.com/mcp
2Ask for the data in plain words

Use Upscrape to read Sainsbury’s categories. Group them by parent ID and show the roots and their children. Preserve category IDs for later shelf requests.

The agent finds the endpoint, shows you the price, and runs it with your credits.
Sainsbury's Groceries

More from the Sainsbury's Groceries API

Same data, other platforms

The same data from other platforms

Questions

Sainsbury's Groceries Categories API FAQ

The short answers. The docs have the long ones.

Still have a question? Talk to the people who build the endpoints.
How much does the Sainsbury's Groceries Categories API cost?

5 credits per successful call, shown before it runs. You buy credits once, and paid credits never expire.

What do I send?

Every input is optional; the input fields below list what each one does.

Do I need a Sainsbury's Groceries login?

No. It reads public Sainsbury's Groceries data; nothing runs on your account.

Can my AI agent call it?

Yes, over MCP: the agent finds sainsburys.categories.list, checks its price and runs it with the same credits as the REST API.

Get started

Your first Sainsbury's Groceries call is free.

Up to 100 free credits to start, no card needed.