# Sainsbury's Product API Documentation

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

- **Documentation:** [https://scrappa.co/docs/sainsburys-api/sainsburys_product](https://scrappa.co/docs/sainsburys-api/sainsburys_product)
- **API group:** Sainsbury's API
- **Endpoint:** `GET https://scrappa.co/api/sainsburys/product`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `uid` | string | Yes | Product uid from search, required unless url. |
| `url` | string | Yes | Canonical product url, required unless uid. |

## Example response

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

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | No product was found for that uid. |
| 503 | Source Unavailable | The public source could not be reached. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
