Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Douyin Shop Item Comments

Dokumentacja 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.

Cena
$0.025714USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
1 wymaganych · 1 opcjonalnych

Playground

Wejście
The unique ID of the item on Douyin E-commerce.
Page number for paginated comments.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

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.

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Douyin$0.025714 za wywołanieJSON
Douyin$0.025714 za wywołanieJSON
Douyin$0.035714 za wywołanieJSON
Douyin$0.035714 za wywołanieJSON
Douyin$0.028571 za wywołanieJSON
Douyin$0.001 za wywołanieJSON

Przewodniki:Best Douyin API in 2026: Pricing Compared

Pytania

FAQ

Jak używać API Douyin Shop Item Comments?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/douyin/ec/item-comments z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Douyin Shop Item Comments?

$0.025714 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Douyin Shop Item Comments?

Wymagane: itemId (string). Opcjonalne: page (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Douyin Shop Item Comments?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Douyin lub klucza API?

Nie. Douyin Shop Item Comments działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Douyin.