↑ ↓ to move ↵ to open
Waitrose API reference

Waitrose Product Rating

waitrose.product.rating.get

Get a product's average star rating and number of ratings, without the rest of the product.

At a glance

Endpoint ID
waitrose.product.rating.get
Price
1 credit per call; failed calls are free
Runs for up to
45 seconds
Request
POST /execute
Run an endpoint
MCP tool when pinned
waitrose__product__rating__get
Pin tools
OpenAPI
openapi.json
Download

Request

Send the endpoint ID as capability and its fields as input. Set UPSCRAPE_API_KEY to your key first.

curl --request POST \  --url https://data.upscrape.com/execute \  --header "Authorization: Bearer $UPSCRAPE_API_KEY" \  --header "Content-Type: application/json" \  --header "Prefer: wait=30" \  --data '{  "capability": "waitrose.product.rating.get",  "input": {    "product_id": "053457-26759-26760"  }}'

Input

FieldTypeRequiredWhat it doesExample
product_id string one of Waitrose's three-part product ID, such as 053457-26759-26760, from the end of the product's link. 053457-26759-26760
url string one of The product's waitrose.com page, instead of the ID.

Response

A finished call answers with HTTP 200; the data is in results[0].data, and billing.credits_charged is what it cost. A call still running after the wait answers 202: see jobs and results.

This is results[0].data from a real run:

results[0].data
{  "rating_average": 4.6557,  "rating_count": 877}

Fields

FieldTypeWhat it isExample
rating_average number The product's average star rating. 4.66
rating_count integer How many star ratings the product has. 877

If a call fails

A failed call costs nothing. The response carries an error.code you can branch on; Errors and retries lists every code and which ones to retry.

Other Waitrose endpoints

Something missing or unclear? Ask the team that builds the Waitrose endpoints.