POST

API health

24h health
Normal
  • Healthy / normal
  • Available
Normal

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

#
NameInTypeRequiredDefaultDescription
AuthorizationheaderstringYes-Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository.
platformbodystringYesshopeePlatform identifier, fixed value.
actionbodystringYesreviewsCapability identifier, fixed value.
urlbody.paramsstringYes-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.
countrybody.paramsstringNo-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_tokenbody.paramsstringNo-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.
ratingbody.paramsintegerNo-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_mediabody.paramsbooleanNo-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

#
bash
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

#
No sample response is available for these parameters yet. This preview shows the response shape and fields from the API definition, with … as placeholders; it is not the result of a live call.
json
{  "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.

FieldMeaning
review_idID of the review.
item_idItem ID.
ratingRating. 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_scaleMaximum of rating in the same row: 5 for five-star scales, 10 for ten-point scales. Present only when the row has a rating.
textBody 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_atPublish 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_urlsArray of image links in the platform's display order; absent when there are no images.
video_urlsLinks to the videos attached to the review.
sku_idID of the variant the buyer bought.
variantThe variant the buyer bought (such as color or model), for example "Black,S24 Plus".
author_nameThe buyer's display name; for an anonymous review, the name as masked with asterisks by Shopee.
author_avatar_urlThe buyer's avatar; absent for an anonymous review.
is_anonymousWhether the review is anonymous.
is_verified_purchaseWhether the review comes from a real order (every Shopee review does, so this is always true).
helpful_countNumber of people who found the review helpful.
seller_replyThe seller's reply to the review.
seller_reply_atWhen the seller replied (ISO 8601, UTC).
product_quality_ratingThe buyer's rating of product quality (1-5).
seller_service_ratingThe buyer's rating of the seller's service (1-5).
delivery_ratingThe buyer's rating of delivery (1-5).
buyer_tagsThe review tags the buyer selected.
countryCountry or region: a full name or an ISO code depending on the platform, not normalized.
collected_atWhen this record was collected (ISO 8601, UTC).
platformSource 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.

Errors

Google Analytics needs consent. Privacy