Tesco Product Reviews API
Scrape Tesco product reviews instantly with a simple API call
A GET request to our /api/getter/?platform="tesco_reviews"
endpoint allows you to scrape customer reviews for any product using the Tesco Product Number (TPN).
Example
Here's how you can scrape customer reviews for any product on Tesco:
1 |
|
1 2 3 4 5 |
|
1 2 3 |
|
1 2 3 4 5 6 |
|
1 2 3 4 5 6 |
|
Query Parameters
As you can see in the example below, our endpoint needs the following query parameters:
Review Query
tpn
Required
Tesco Product Number (TPN) for the product. To get the TPN, use the Tesco Product Data API.
Other Required Parameters
platform
Required
Specifies the scraping engine you wish to invoke. In this case, the value should be tesco_reviews.
api_key
Required
Your account's token—which can be obtained by signing up here.
Results
Each request returns up to 6 reviews. The response will include the following attributes for each review present in the response:
Attributes Returned | Data Type | Information Represented |
---|---|---|
review_id | string | Unique ID of the review |
date | string | Date when review was published |
rating | int | Rating by reviewer |
review_title | string | Review title (if available) |
review_text | string | Review's text content |
author_name | string | Reviewer's name |
meta_data | dict | Dict containing meta data like verified purchase status and syndication details |
Response Example
Each request returns up to 6 results. Here's the response you can expect for the request showcased above:
{
"success": true,
"tpn": "53441318",
"page": 1,
"total_results": 6,
"no_of_pages": 1,
"result_count": 6,
"reviews": [
{
"review_id": "df177fb7-c49b-4271-912c-fabba9592d7f",
"date": "2023-12-01",
"rating": 1,
"author_name": "A Tesco Customer",
"review_title": null,
"review_text": "I just noticed this tea is so bad, I'm suspicion the new packaging will ruin Tetley, metallic flavour",
"meta_data": {
"verified_purchase": true,
"is_syndicated": false,
"syndication_source": null
}
},
...
],
"meta_data": {},
"remaining_credits": 1956311
}
Request Cost
10 credits are deducted for each successful request
Support
If you want to add a parameter to our response, or have any question or feedback, please write to us at support@unwrangle.com