Shopee Product Reviews
curl --request GET \
--url https://api.example.com/shopee/product/reviewsimport requests
url = "https://api.example.com/shopee/product/reviews"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/shopee/product/reviews', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/shopee/product/reviews",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/shopee/product/reviews"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/shopee/product/reviews")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/shopee/product/reviews")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyShopee
Shopee Product Reviews
Get product reviews from Shopee Indonesia by slug or item/shop IDs
GET
/
shopee
/
product
/
reviews
Shopee Product Reviews
curl --request GET \
--url https://api.example.com/shopee/product/reviewsimport requests
url = "https://api.example.com/shopee/product/reviews"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/shopee/product/reviews', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/shopee/product/reviews",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/shopee/product/reviews"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/shopee/product/reviews")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/shopee/product/reviews")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyOverview
The/shopee/product/reviews endpoint retrieves product reviews from Shopee Indonesia (shopee.co.id) including reviewer information, ratings, comments, images, and seller replies.
Currently only Indonesia (country=id) is supported. More Southeast Asian markets will be added in future updates.
Credits
25 credits per successful request.Parameters
Query Parameters
string
Product slug containing the shop and item IDs (e.g.,
Product-Name-i.SHOPID.ITEMID).If provided, itemId and shopId are extracted automatically.string
The Shopee product item ID (e.g., “22133637031”). Required if
slug is not provided.string
The Shopee shop/seller ID (e.g., “12651109”). Required if
slug is not provided.string
required
Country code. Currently only
id (Indonesia) is supported.number
default:"20"
Number of reviews to return (max 50).
number
default:"0"
Offset for pagination. Use this to fetch additional reviews.
number
Filter by star rating (1-5). Leave empty or 0 to get all ratings.
number
default:"0"
Filter type:
0= All reviews1= Reviews with comments only2= Reviews with media (images/videos) only
Either
slug OR both itemId and shopId must be provided.Example Requests
Get Reviews by Slug (Recommended)
curl -X GET "https://api.scrapengine.io/api/v1/shopee/product/reviews?slug=Gantungan-Handphone-Kristal-Ungu-i.12651109.22133637031&country=id&limit=10" \
-H "Authorization: Bearer YOUR_API_KEY"
const params = new URLSearchParams({
slug: "Gantungan-Handphone-Kristal-Ungu-i.12651109.22133637031",
country: "id",
limit: "10",
});
const response = await fetch(
`https://api.scrapengine.io/api/v1/shopee/product/reviews?${params}`,
{
headers: {
Authorization: "Bearer YOUR_API_KEY",
},
}
);
const data = await response.json();
console.log(data);
import requests
url = "https://api.scrapengine.io/api/v1/shopee/product/reviews"
headers = {"Authorization": "Bearer YOUR_API_KEY"}
params = {
"slug": "Gantungan-Handphone-Kristal-Ungu-i.12651109.22133637031",
"country": "id",
"limit": 10
}
response = requests.get(url, headers=headers, params=params)
print(response.json())
Get Reviews by IDs with Filters
curl -X GET "https://api.scrapengine.io/api/v1/shopee/product/reviews?shopId=12651109&itemId=22133637031&country=id&rating=5&filter=1" \
-H "Authorization: Bearer YOUR_API_KEY"
const params = new URLSearchParams({
shopId: "12651109",
itemId: "22133637031",
country: "id",
rating: "5",
filter: "1",
});
const response = await fetch(
`https://api.scrapengine.io/api/v1/shopee/product/reviews?${params}`,
{
headers: {
Authorization: "Bearer YOUR_API_KEY",
},
}
);
const data = await response.json();
console.log(data);
import requests
url = "https://api.scrapengine.io/api/v1/shopee/product/reviews"
headers = {"Authorization": "Bearer YOUR_API_KEY"}
params = {
"shopId": "12651109",
"itemId": "22133637031",
"country": "id",
"rating": 5,
"filter": 1
}
response = requests.get(url, headers=headers, params=params)
print(response.json())
Paginated Reviews
# First page
curl -X GET "https://api.scrapengine.io/api/v1/shopee/product/reviews?shopId=12651109&itemId=22133637031&country=id&limit=20&offset=0" \
-H "Authorization: Bearer YOUR_API_KEY"
# Second page
curl -X GET "https://api.scrapengine.io/api/v1/shopee/product/reviews?shopId=12651109&itemId=22133637031&country=id&limit=20&offset=20" \
-H "Authorization: Bearer YOUR_API_KEY"
import requests
url = "https://api.scrapengine.io/api/v1/shopee/product/reviews"
headers = {"Authorization": "Bearer YOUR_API_KEY"}
all_reviews = []
offset = 0
limit = 20
while True:
params = {
"shopId": "12651109",
"itemId": "22133637031",
"country": "id",
"limit": limit,
"offset": offset
}
response = requests.get(url, headers=headers, params=params)
data = response.json()
all_reviews.extend(data["reviews"])
if not data["hasMore"]:
break
offset += limit
print(f"Total reviews fetched: {len(all_reviews)}")
Response
Success Response (200)
Returns product reviews with metadata:{
"itemId": "22133637031",
"shopId": "12651109",
"reviews": [
{
"id": "1234567890",
"author": {
"userId": "98765432",
"username": "buyer_123",
"avatar": "https://down-id.img.susercontent.com/file/avatar.jpg"
},
"rating": 5,
"comment": "Produk bagus, sesuai deskripsi. Pengiriman cepat!",
"createdAt": 1706400000,
"createdAtDisplay": "28 Januari 2024",
"images": [
"https://down-id.img.susercontent.com/file/review-image-1.jpg",
"https://down-id.img.susercontent.com/file/review-image-2.jpg"
],
"videos": [],
"likeCount": 5,
"productVariant": "Type-C",
"isAnonymous": false,
"sellerReply": "Terima kasih sudah berbelanja!"
}
],
"totalReviews": 116,
"ratingAverage": 4.78,
"ratingBreakdown": {
"oneStar": 2,
"twoStar": 0,
"threeStar": 4,
"fourStar": 9,
"fiveStar": 101
},
"hasMore": true,
"offset": 0,
"limit": 20,
"country": "id"
}
Response Headers
| Header | Description |
|---|---|
x-remaining-credits | Number of API credits remaining |
x-trace-id | Unique identifier for the request |
Error Responses
| Status | Description |
|---|---|
400 | Bad Request - Missing slug or itemId/shopId, or unsupported country |
401 | Unauthorized - Invalid or missing API key |
404 | Not Found - Product not found |
500 | Internal Server Error |
Use Cases
- Sentiment analysis: Analyze customer feedback and satisfaction
- Product quality monitoring: Track reviews to identify quality issues
- Competitive analysis: Compare review quality across similar products
- Review aggregation: Collect and display reviews in your own system
- Customer insights: Understand what buyers like or dislike about products
Notes
- This endpoint uses renderless scraping (direct API call), making it very fast
- Reviews are returned in chronological order (newest first by default)
- Anonymous reviews will have limited author information
- The
hasMorefield indicates if pagination should continue - Seller replies are included when available
Was this page helpful?