Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

Douyin Shop Item Comments

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.

价格
$0.025714美元 / 次调用
方法
POST
响应
JSON
参数
1 个必填 · 1 个可选

Playground

输入
The unique ID of the item on Douyin E-commerce.
Page number for paginated comments.
输出就绪

您的输出将显示在这里

完成输入,然后点击运行。

API README

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.

探索更多

相关 APIs

全部 APIs
API价格响应
Douyin$0.025714 每次调用JSON
Douyin$0.025714 每次调用JSON
Douyin$0.035714 每次调用JSON
Douyin$0.035714 每次调用JSON
Douyin$0.028571 每次调用JSON
Douyin$0.001 每次调用JSON

指南:Best Douyin API in 2026: Pricing Compared

问题

常见问题

如何使用 Douyin Shop Item Comments API?

向 https://api.sandbase.ai/v1/api/douyin/ec/item-comments 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

Douyin Shop Item Comments API 的价格是多少?

每次调用 $0.025714,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

Douyin Shop Item Comments API 接受哪些参数?

必填:itemId (string)。 可选:page (string)。 Parameters 表和本页的 Playground 列出了每个字段。

Douyin Shop Item Comments API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 Douyin 开发者账户或 API key 吗?

不需要。Douyin Shop Item Comments 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Douyin API 访问权限。