Sainsbury's API

Sainsbury's grocery search and product detail

success rate
99.3%
median response
2.1s
endpoints
2
Measured on live customer calls,

Sainsbury's API returns live Sainsbury's data as clean JSON for sainsbury's The primary endpoint, search, returns products[], total, returned, unparsed_rows, requested_page, page, last_page, page_clamped, has_more and next_page.

POST/sainsburys/v1/search
Real result, captured Oct 2, 20263 of 55
nameprice_gbpproduct_uidis_available
Sainsbury's British Semi Skimmed Milk 2.27L (4 pint)1.65 GBP357937true
Sainsbury's British Semi Skimmed Milk 1.13L (2 pint)1.2 GBP1137637true
Sainsbury's British Whole Milk 2.27L (4 pint)1.65 GBP181402true
2 active endpoints. Every call is 3 credits.search · product/detailDetails ↓OpenAPI 3.0 spec ↗

3 credits per call≈ $3/1,000 calls1,000 free credits, no card

Get a free API key
Try it live

Run the call yourself, on the real endpoint

Change a parameter and press Try it. The response on the right is what your code will receive.

Sainsbury's API

2 of 2 endpoints, ready to run

View docs ↗

Find products

3 credits1 required · 1 optional
POST/sainsburys/v1/search
idle
// Press "Try it" and this pane shows exactly what the
// live site returned this second — including an empty
// result, if that is the truth. No key, no account.

Try every endpoint in the playground

Endpoints

What Sainsbury's endpoints does ReefAPI ship?

2 live read endpoints. Read-only data API: no writes, no account actions, no dashboard access on the target site.

  • search

    3 cr

    Search the public UK online grocery assortment by keyword and page.

    required
    query
    optional
    country, page
  • product/detail

    3 cr

    Read the public product page by the source slug id or URL returned by search.

    required
    —
    optional
    id, url, country

Every parameter, every allowed value →

Missing a Sainsbury's endpoint, or need a source we don't have yet?Contact us real people · same-day reply.
How it works

How the Sainsbury's API works

Sainsbury's is a normal ReefAPI surface — the same four rules that hold for every other engine on the key.

Authenticate01
x-api-key header

No OAuth app, no request signing, no per-site account. One key covers all 766 engines.

Call02
POST /sainsburys/v1/…

Every route is a POST with a JSON body. Parameters are validated against the published schema before anything is charged.

Pay03
3 credits per call

Credits, not seats. Failed and blocked calls are never charged, and nothing is cached: every call reads the source live.

Read04
{ ok, data, meta, error }

One envelope everywhere. meta carries latency_ms, record_count and the endpoint that answered.

Recipe

Search, then resolve the source identity

Use a result from the first call in the second call.

01search(query="milk")
POSTsearch(query="milk")

Read the source identity and price.

02product/detail(id="sainsburys-british-semi-skimmed-milk-2-27l-4-pint")
POSTproduct/detail(id="sainsburys-british-semi-skimmed-milk-2-27l-4-pint")

Replace the example identity with a fresh search result.

Source product detail within the documented scope.

request
curl -X POST https://api.reefapi.com/sainsburys/v1/search \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"query":"milk"}'
response envelope
{
  "ok": true,
  "data": { … },
  "meta": {
    "api": "sainsburys",
    "endpoint": "search",
    "mode": "live",
    "latency_ms": …,
    "record_count": …
  },
  "error": null
}
Coverage

Coverage and limits

Measured on 2026-10-02. Core release-ready; not deployed.

Market

United Kingdom; GBP prices; country=uk only.

Paging

Positive pages; variable page size. Stop when has_more is false. Requests above the source ceiling return the final page with page_clamped=true.

Detail identity

Pass id or url from search. Numeric product_uid alone is not a supported resolver.

Optional fields

EANs, eligible Nectar prices, promotions and nutrition sections are retained when published.

Missing or unavailable page

Explicit not-found pages return NOT_FOUND. A generic retailer error remains a retryable error because it does not prove the product is missing.

Use cases

What people build with Sainsbury's

The jobs this data is most often used for.

01

Pricing teams use Sainsbury's to search the public UK online grocery assortment by keyword and page.

02

Marketplace operators use Sainsbury's to read the public product page by the source slug id or URL returned by search.

03

Catalog enrichment teams use Sainsbury's to track product listings, prices, availability, variants and reviews, all from one ReefAPI key and credit pool.

2

endpoints

3

credits per call

Pricing

What Sainsbury's data costs

The cheapest call here is 3 credits, so $15/mo (Pro) buys 3,333 of them — $1.50 per 1,000 credits. Credits roll over and never expire, and failed or blocked calls are not charged.

$0.67–$1.50 / 1,000 credits
Full pricing →
  • 1,000 free credits on signup, no card
  • One key, all 766 APIs, one credit pool
  • Failed and blocked calls are never charged
  • Credits roll over and never expire
no credit card1,000 free credits · instant API key · pay by card or crypto
Quickstart

Call it in two lines

Sign up, get 1,000 credits and one key that works on every engine. Then this is the whole protocol.

curl
curl -X POST https://api.reefapi.com/sainsburys/v1/search \
  -H "x-api-key: $REEF_KEY" \
  -H "content-type: application/json" \
  -d '{"query":"milk"}'
python
import os
import requests

REEF_KEY = os.environ["REEF_KEY"]

r = requests.post(
    "https://api.reefapi.com/sainsburys/v1/search",
    headers={"x-api-key": REEF_KEY},
    json={
        "query": "milk"
    },
    timeout=90,
)
print(r.json()["data"])
FAQ

Have a question? We got answers.

The questions people actually ask before wiring up Sainsbury's.

What is the Sainsbury's API?▾

Sainsbury's API is a ReefAPI endpoint group for sainsbury's It returns live JSON through POST requests under /sainsburys/v1.

Is the Sainsbury's API free to try?▾

Yes. ReefAPI starts with 1,000 free credits, no card required. Sainsbury's calls use the same shared credit balance as every other ReefAPI engine.

Do I need a Sainsbury's login or account?▾

No login to Sainsbury's is needed for the API response. You call ReefAPI with your x-api-key header, and the playground can run live examples before you create a production key.

How fresh is the Sainsbury's data?▾

The page example is captured from a live search call, and production requests fetch live data through ReefAPI rather than a static sample.

How many credits does the Sainsbury's API use?▾

Sainsbury's actions currently cost 3 credits per successful call. Failed or blocked calls are free. All APIs draw from one credit pool.

Can I call Sainsbury's from an AI assistant or MCP client?▾

Yes. Connect ReefAPI once through MCP and your assistant can call sainsburys actions with the same key, credit pool and JSON envelope used by normal REST requests.

Is the Sainsbury's API a Sainsbury's scraper?▾

It is the managed alternative to a DIY Sainsbury's scraper. Instead of building and maintaining your own scraper — proxies, headless browsers, captcha and constant breakage — you call one ReefAPI endpoint and get the same sainsbury's back as clean JSON.

Why does my Sainsbury's scraper keep getting blocked?▾

Most Sainsbury's scrapers break on anti-bot defenses, rate limits and IP bans that need rotating residential proxies and browser fingerprinting to clear. ReefAPI handles all of that for you — no proxies, no captchas, no maintenance — and returns live JSON. Blocked calls are free.

Contact

Need something this API does not do?

Name the endpoint, the field, or a source we do not carry yet. We ship new APIs every week and you would be first to get the key. Real people read every message and reply the same day.

0/4000

No account needed · we reply from [email protected]

Try it on your own data before you pay anything

The call above is the real endpoint, not a recording. A free key gives you 1,000 credits, the other 765 APIs, and the same envelope everywhere.

Endpoints, parameters and credit costs on this page are read from the live catalog and cannot drift from what the API accepts. Field notes were captured on 2026-10-02.