# Ocado Product API Documentation

<p>Get public detail for one Ocado product by the numeric id returned from search. Prices are GBP. 12 credits per successful request with data.</p>

- **Documentation:** [https://scrappa.co/docs/ocado-api/ocado_product](https://scrappa.co/docs/ocado-api/ocado_product)
- **API group:** Ocado API
- **Endpoint:** `GET https://scrappa.co/api/ocado/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 |
| --- | --- | --- | --- |
| `id` | string | Yes | Product id from search. |

## Example response

```json
{
    "data": {
        "product": {
            "id": "30567011",
            "name": "Ocado Milk",
            "price": 1.3,
            "currency": "GBP"
        }
    },
    "meta": {
        "credits": 12,
        "endpoint_family": "product"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | The id must be the numeric id returned by search. UUIDs are rejected. |
| 404 | Not Found | The id did not come from a search or no product was found. |
| 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)
