Sainsbury's API
sainsburys.co.uk
Sainsbury's UK groceries: search products, product detail, category listings and Nectar Price offers.
- Actions
- 4
- Category
- Groceries
- Login
- Not required
- Output
- JSON
Call the Sainsbury's API
Submit a task, then poll the job until it settles. This example runs act_sainsburys_co_uk_nectar_price_offers.
curl -X POST https://api.anakin.io/v1/wire/task \
-H "X-API-Key: $ANAKIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"action_id": "act_sainsburys_co_uk_nectar_price_offers",
"params": {
"category_id": "<category_id>",
"category": "<category>"
}
}'4 actions on sainsburys.co.uk
Read
List Nectar Price Offers
act_sainsburys_co_uk_nectar_price_offersread1 credit / callList Sainsbury's Nectar Price offers, optionally limited to a category. Without a category, returns the current Nectar Prices offers grid.
- category_id
- string
- category
- string
- page
- integer
- page_size
- integer
List Products By Category
act_sainsburys_co_uk_category_productsread1 credit / callList Sainsbury's grocery products in a category with pagination. Pass a category_id (PIM id from a product's categories) or a category name such as Fresh fruit.
- category_id
- string · required
- category
- string
- page
- integer
- page_size
- integer
Product Detail
act_sainsburys_co_uk_product_detailread1 credit / callGet one Sainsbury's grocery product by product id (or a URL containing the id): title, brand, size, price, unit price, Nectar Price, promotions and category breadcrumb.
- product_id
- string · required
- product_url
- string
Search Products
act_sainsburys_co_uk_search_productsread1 credit / callSearch Sainsbury's UK groceries by keyword. Returns product id, title, brand, pack size, price, unit price, Nectar Price if shown, promotion text, category and URL.
- search_query
- string · required
- page
- integer
- page_size
- integer
Sainsbury's API questions
- Is there an API for Sainsbury's?
- Sainsbury's does not offer a public data API for this, but Anakin Wire provides 4 maintained endpoints for sainsburys.co.uk. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
- How do I scrape Sainsbury's data?
- POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when sainsburys.co.uk changes its markup, Anakin updates the action.
- Do I need a Sainsbury's account?
- No. Every Sainsbury's action listed here runs anonymously — no account and no credentials required.
- What does the Sainsbury's API cost?
- Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.