Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Douyin Shop Item Comments

Tài liệu API
https://api.sandbase.ai/v1/api/douyin/ec/item-comments

Get paginated buyer comments for a Douyin shop product by item ID, with rating, text and media.

Giá
$0.025714USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 1 tùy chọn

Phòng thử nghiệm

Đầu vào
The unique ID of the item on Douyin E-commerce.
Page number for paginated comments.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Douyin Shop Item Comments API

Returns buyer comments for one Douyin shop product, 'itemId' in, a page of comments out. Each comment has the review text, a star rating, photos, the SKU bought, and a snapshot of the order. The response also gives the total comment count and a flag for more pages.

Use cases

  • Read buyer feedback on a competing product to see what customers praise or complain about.
  • Collect comment text and ratings for sentiment analysis on one product.
  • Pull review photos to check how the product looks in real use.
  • Compare which SKUs buyers choose by reading the Sku and order price fields.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/ec/item-comments" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"itemId": "3734619545235751048"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
itemIdstringYesThe unique ID of the item on Douyin E-commerce.
pagestringNoPage number for paginated comments.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "Comments": [
    {
      "AppId": 1128,
      "AppealStatus": 0,
      "BrowseCount": 0,
      "CanAppend": true,
      "CommentTime": "2026-11-03 13:03:17",
      "CommentType": 0,
      "Content": "非常实惠,用着效果也很好。",
      "Id": 5218347791751037220,
      "IsAbnormalOrder": 0,
      "IsAnonymous": true,
      "KolId": 1382519684468436,
      "Liked": false
    }
  ],
  "Count": 4264,
  "HasMore": true
}

Response fields

FieldMeaning
Comments[].ContentReview text written by the buyer. It can be an empty string when the buyer left only a rating or photos.
Comments[].Rank / RankProduct / RankLogistic / RankShopStar-style scores. Rank is the overall score and RankProduct is the product score. RankLogistic and RankShop are scores for delivery and shop, and show 0 when not given.
Comments[].CommentTimeTime the comment was posted, as a YYYY-MM-DD HH:MM:SS string.
Comments[].IdUnique ID of the comment.
Comments[].UserName / IsAnonymousMasked display name of the buyer and whether the comment was posted anonymously.
Comments[].SkuName of the SKU variant the buyer purchased.
Comments[].OrderSnapshot.order_sku_price / order_item_numPrice of the SKU and number of items in the order. In the sample, 3990 sits with a single item, so the price is likely in minor currency units, but the response does not state the unit.
Comments[].Photos[].url / thumbnailLinks to the full-size and small versions of each photo attached to the comment. PhotoPoster holds the cover image when present.
Comments[].Likes / ShopReplyNumber of likes on the comment and the shop's reply text. ShopReply is empty when the shop has not replied.
Count / HasMoreCount is the total number of comments for the item. HasMore is true when more pages exist.

Notes

  • Get itemId from Douyin Shop Product Search or Douyin Shop Items.
  • Send page to move through the results. Keep requesting while HasMore is true.
  • Comments[].ProductId matches the itemId you sent. Comments[].ShopId identifies the shop.
  • Order and Product are JSON strings inside the response. Parse them again to read the shop name and product title.

Pricing

$0.025714 per successful call. Failed calls are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Douyin$0.025714 mỗi lần gọiJSON
Douyin$0.025714 mỗi lần gọiJSON
Douyin$0.035714 mỗi lần gọiJSON
Douyin$0.035714 mỗi lần gọiJSON
Douyin$0.028571 mỗi lần gọiJSON
Douyin$0.001 mỗi lần gọiJSON

Hướng dẫn:Best Douyin API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Douyin Shop Item Comments?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/ec/item-comments với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Douyin Shop Item Comments có giá bao nhiêu?

$0.025714 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Douyin Shop Item Comments chấp nhận những tham số nào?

Bắt buộc: itemId (string). Tùy chọn: page (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Douyin Shop Item Comments trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Douyin không?

Không. Douyin Shop Item Comments chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Douyin.