item_idstringобязательно
Video (item) ID
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/item-report-commentsGet Item Report Comments on Douyin. Returns the platform data as structured JSON.
Ваш результат появится здесь
Заполните входные данные, затем нажмите «Запустить».
Returns a list of comments for one Douyin video, taken from its Xingtu item report. Each comment has its ID, text, like count and reply count. The only input is the video item_id.
like_count to find the most liked comments on a video.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/item-report-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"item_id": "7372484719365098803"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
item_id | string | Yes | Video (item) ID |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": ""
},
"comments": [
{
"comment_count": "30",
"comment_id": "7372955079207256882",
"comment_text": "不仅赞还评论你也尽量[比心]",
"like_count": "97"
}
]
}
| Field | Meaning |
|---|---|
base_resp.status_code / base_resp.status_message | Status of the request. A status_code of 0 with an empty status_message means the call worked. |
comments[] | List of comments on the video. Each entry is one comment. |
comments[].comment_id | ID of the comment, returned as a string. |
comments[].comment_text | Text of the comment. It can contain platform emoji codes such as [比心]. |
comments[].like_count | Number of likes the comment received, returned as a string. |
comments[].comment_count | Number of replies to the comment, returned as a string. |
item_id is the Douyin video ID, for example 7372484719365098803.like_count and comment_count come back as strings, so convert them before sorting.$0.003 per successful call. Failed calls are not charged.
Начните разработку
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/item-report-comments" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"item_id": "7372484719365098803"
}'Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
item_idstringобязательноVideo (item) ID
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
Сохранённый ответ не опубликован. Запустите API в Playground, чтобы посмотреть его ответ.
Посмотреть больше
| API | Цена | Ответ |
|---|---|---|
Douyin Item Report CommentsЭтот API Douyin | $0.003 за запрос | JSON |
Douyin | $0.002 за запрос | JSON |
Douyin | $0.002 за запрос | JSON |
Douyin | $0.01 за запрос | JSON |
Douyin | $0.003 за запрос | JSON |
Douyin | $0.001 за запрос | JSON |
Руководства:Best Douyin API in 2026: Pricing Compared
Вопросы
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/douyin/xingtu-v2/item-report-comments, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
$0.003 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Обязательные: item_id (string). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нет. Douyin Item Report Comments работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Douyin.