# Sainsbury's PDP API Documentation

<p>Read public product data from the JSON-LD block on a Sainsbury's product page. Use this fallback when the feed is thin. 1 credit per successful request with data.</p>

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

## 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 |
| --- | --- | --- | --- |
| `url` | string | Yes | Sainsbury's product page URL, for example https://www.sainsburys.co.uk/gol-ui/product/milk. |

## Example response

```json
{
    "data": {
        "product": {
            "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 data was found on the page. |
| 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)
