Shopee Reviews API
API health
- 24h health
- Normal
- Healthy / normal
- Available
Last 24 hours
Last 30 days
Get the buyer reviews of a Shopee product from its full url, usually around 20 per page: star rating, text, photos and videos, the variant bought, helpful count, seller reply and ratings for product quality, seller service and delivery. Filter with rating or with_media and page with page_token. Review totals and per-star counts are not returned. Most calls take a few seconds to about fifteen; some pages take up to about 80 seconds, so set your client timeout to 90 seconds.
Send POST https://api.everyinfra.com/api/v1/social with platform set to shopee and action set to reviews. Price $13.07 per 1,000 requests ($0.01307 per call). Failed calls and empty results are not charged. Synchronous. For slow jobs add "mode": "async" to the body, take the job_id and poll.
AI prompt
#Please help me write a data collection script with the EveryInfra Shopee Reviews endpoint (shopee/reviews).
How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to shopee and action to reviews, and put the parameters inside params.
- Required parameters:
- url: The full Shopee product URL for profile, product_detail, product_specs and reviews. profile extracts identifiers using the i.shop_id.product_id pattern.
- Optional parameters:
- country: Sets the region code and takes precedence over region and URL inference. For search, profile, shop and shop_info, defaults to id (Indonesia) when unspecified.
- page_token: Only for reviews: to get the next page, pass the next_page_token from the previous response unchanged, with the other parameters the same. The first page needs no page_token.
- rating: Only for reviews: return only reviews with this star rating, from 1 to 5. Omit it to get every star level, from 5 stars down to 1. Do not send it together with with_media.
- with_media: Only for reviews: pass true to return only reviews that have photos or videos. A page can then hold fewer than 20 reviews. Do not send it together with rating.
- Returns a list of records. Main fields of each record: review_id (ID of the review), item_id (Item ID), rating, rating_scale, text, posted_at, image_urls, video_urls (Links to the videos attached to the rev…), sku_id (ID of the variant the buyer bought), variant (The variant the buyer bought (such as c…), author_name (The buyer's display name), author_avatar_url (The buyer's avatar); 23 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=shopee.
- Example request body:
{
"platform": "shopee",
"action": "reviews",
"params": {
"url": "https://shopee.sg/product/285901479/15134762530"
}
}
- Price: $13.07 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.
Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.Request parameters
#| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
platform | body | string | Yes | shopee | Platform identifier, fixed value. |
action | body | string | Yes | reviews | Capability identifier, fixed value. |
url | body.params | string | Yes | - | The full Shopee product URL for profile, product_detail, product_specs and reviews. profile extracts identifiers using the i.shop_id.product_id pattern; for product_specs and reviews, the path must contain i.<shop_id>.<item_id> or /product/<shop_id>/<item_id>, or the request is rejected before you are charged. Shortened links must be resolved to their landing page URL first and are not guaranteed to parse directly. |
country | body.params | string | No | - | Sets the region code and takes precedence over region and URL inference. For search, profile, shop and shop_info, defaults to id (Indonesia) when unspecified; shop_info reads it from the domain when you pass a shop link. Configured domain detection includes sg, my, th, ph, vn, br, tw, mx, co, and cl, though a recognized domain does not guarantee data for every region. shop_info, product_specs and reviews accept only tw, vn, sg, my, ph, th, id, br and mx, and shop_info and reviews reject any other value before you are charged. product_detail, product_specs and reviews usually read the region from the product URL, and a product is only found in its own market. categories, trending_searches and search_suggest cover Singapore only and accept only sg; other values are rejected before you are charged. |
page_token | body.params | string | No | - | Only for reviews: to get the next page, pass the next_page_token from the previous response unchanged, with the other parameters the same. The first page needs no page_token. If a page could not be read, the call returns 503 and is not charged; retry with the same parameters, including the same page_token. |
rating | body.params | integer | No | - | Only for reviews: return only reviews with this star rating, from 1 to 5. Omit it to get every star level, from 5 stars down to 1. Do not send it together with with_media. |
with_media | body.params | boolean | No | - | Only for reviews: pass true to return only reviews that have photos or videos. A page can then hold fewer than 20 reviews. Do not send it together with rating. |
Code samples
#curl -X POST 'https://api.everyinfra.com/api/v1/social' \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"platform": "shopee",
"action": "reviews",
"params": {
"url": "https://shopee.sg/product/285901479/15134762530"
}
}'OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
Response example
#{ "id": "req_…", "platform": "shopee", "action": "reviews", "results": [ { "review_id": …, "item_id": …, "rating": …, "rating_scale": …, "text": …, "posted_at": …, "image_urls": …, "video_urls": …, "sku_id": …, "variant": …, "author_name": …, "author_avatar_url": …, "is_anonymous": …, "is_verified_purchase": …, "helpful_count": …, "seller_reply": …, "seller_reply_at": …, "product_quality_rating": …, "seller_service_rating": …, "delivery_rating": …, "buyer_tags": …, "country": …, "collected_at": …, "platform": … } ], "next_page_token": …, "pagination": { … }, "count": …, "billing": { "charged": …, "charged_usd": …, "balance_after_usd": …, … }, "quota": { … }}
Response fields
#Business data is in results. The table lists the fields a record can contain. Values the platform does not show are never made up.
| Field | Meaning |
|---|---|
review_id | ID of the review. |
item_id | Item ID. |
rating | Rating. The scale varies by platform: rating_scale on the same row gives the maximum (usually 5; Booking, Douban, iQIYI and NAVER use 10). Convert with rating_scale before comparing across platforms, or the comparison can come out backwards. |
rating_scale | Maximum of rating in the same row: 5 for five-star scales, 10 for ten-point scales. Present only when the row has a rating. |
text | Body text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so). |
posted_at | Publish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it. |
image_urls | Array of image links in the platform's display order; absent when there are no images. |
video_urls | Links to the videos attached to the review. |
sku_id | ID of the variant the buyer bought. |
variant | The variant the buyer bought (such as color or model), for example "Black,S24 Plus". |
author_name | The buyer's display name; for an anonymous review, the name as masked with asterisks by Shopee. |
author_avatar_url | The buyer's avatar; absent for an anonymous review. |
is_anonymous | Whether the review is anonymous. |
is_verified_purchase | Whether the review comes from a real order (every Shopee review does, so this is always true). |
helpful_count | Number of people who found the review helpful. |
seller_reply | The seller's reply to the review. |
seller_reply_at | When the seller replied (ISO 8601, UTC). |
product_quality_rating | The buyer's rating of product quality (1-5). |
seller_service_rating | The buyer's rating of the seller's service (1-5). |
delivery_rating | The buyer's rating of delivery (1-5). |
buyer_tags | The review tags the buyer selected. |
country | Country or region: a full name or an ISO code depending on the platform, not normalized. |
collected_at | When this record was collected (ISO 8601, UTC). |
platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
Errors and billing
#- 401
- Missing or invalid key.
- 402
- Insufficient balance. Top up first.
- 422
- Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
- 429
- Per-minute request limit reached. Wait for Retry-After, then try again.
- 503
- Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
- 200 empty
- No data. No charge.