Product Search
/api/sainsburys/search
Search products with category filter and sort
Scrappa's Sainsbury's API returns structured JSON from the public storefront feed. Search by query, category and sort, open a product by uid, and read the public category tree and sitemap. Prices are GBP.
Try it now
Use the first endpoint in this API family with a Scrappa API key. Every account includes 500 free monthly credits, so you can validate the response shape before buying credits.
curl -X GET "https://scrappa.co/api/sainsburys/search?query=milk" \
-H "Accept: application/json" \
-H "X-API-KEY: YOUR_API_KEY"
{
"success": true,
"data": { "query": "milk", "page": 1, "items": [ { "id": "product_uid", "name": "Sainsbury's Milk" } ] },
"meta": { "endpoint_family": "search", "billable": true, "credits": 1 }
}
Structured data for real applications. Here are some ideas.
Track price, promotion and unit price by uid.
Filter search with ids from the public filters.
Use the sitemap as a logged-out id source.
Sainsbury's scraper API
Public grocery data as JSON. Each successful request costs 1 credit.
Sort values are -relevance, price, -price and -customer rating.
Category ids come from search filters or the taxonomy.
Sponsored products keep their site flag.
Failed requests and empty results are never billed.
Take a uid from a search result and open it for detail.
Everything you need in one API.
/api/sainsburys/search
Search products with category filter and sort
/api/sainsburys/product
Get a product by uid
/api/sainsburys/pdp
Read public JSON-LD from a product page
/api/sainsburys/taxonomy
List the public category tree
/api/sainsburys/sitemap
List public URLs as product ids
See how Scrappa compares to ScrapingBee / ScraperAPI.
| Feature | Scrappa | ScrapingBee / ScraperAPI |
|---|---|---|
| Structured grocery data as JSON | Build your own parser | |
| Price per 1k requests | From $0.20 | Varies by plan |
| Unified API key | Yes (500+ APIs) | Scraping only |
| Free tier | 500 credits/month | Trial credits only |
No. Scrappa is an independent service and is not affiliated with or endorsed by Sainsbury's.
Take a category id from a search response or the taxonomy and send it as category.
No. Only successful responses with data are billed, at 1 credit per request.