Skip to content
Scrappa Get API key
Ocado API 12 credits / request

Ocado Product API Documentation

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

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

Ocado Product API Documentation 12 credits / request

Endpoint

Request preview
GET
https://scrappa.co/api/ocado/product
Auth header
x-api-key
Cost
12 credits / request
id = 1234567890
Response preview
200 OK
{
    "data": {
        "product": {
            "id": "30567011",
            "name": "Ocado Milk",
            "price": 1.3,
            "currency": "GBP"
        }
    },
    "meta": {
        "credits": 12,
        "endpoint_family": "product"
    },
    "success": true
...

Parameters

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

Runnable path

1 required parameter needed before sending a request.

id string Required

Product id from search.

Example value 1234567890

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": "30567011",
            "name": "Ocado Milk",
            "price": 1.3,
            "currency": "GBP"
        }
    },
    "meta": {
        "credits": 12,
        "endpoint_family": "product"
    },
    "success": true
}

Errors

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

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.

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.