Skip to content
Scrappa Get API key
Sainsbury's API 1 credit / request

Sainsbury's Product API Documentation

GET https://scrappa.co/api/sainsburys/product

Get public detail for one Sainsbury's product by its uid. Prices are GBP. 1 credit per successful request with data.

Sainsbury's Product API Documentation 1 credit / request

Endpoint

Request preview
GET
https://scrappa.co/api/sainsburys/product
Auth header
x-api-key
Cost
1 credit / request
uid = example url = https://example.com/product
Response preview
200 OK
{
    "data": {
        "product": {
            "id": "product_uid",
            "name": "Sainsbury's Milk",
            "price": 1.4,
            "currency": "GBP"
        }
    },
    "meta": {
        "credits": 1,
        "endpoint_family": "product"
    },
    "success": true
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

2 required parameters needed before sending a request.

uid string Required

Product uid from search, required unless url.

Example value example
url string Required
Open example

Canonical product url, required unless uid.

Example value https://example.com/product

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "product": {
            "id": "product_uid",
            "name": "Sainsbury's Milk",
            "price": 1.4,
            "currency": "GBP"
        }
    },
    "meta": {
        "credits": 1,
        "endpoint_family": "product"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

404

Not Found

No product was found for that uid.

503

Source Unavailable

The public source could not be reached.

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.