author_idstringобязательно
Creator/author ID
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-hot-comment-tokensReturns trending comment tokens and keywords for a Douyin creator. Queries metrics by author ID with options to exclude emojis and adjust token count.
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": "Success"
},
"hot_comment_tokens": [
{
"comment_token": "平板",
"hot_rate": 1335
},
{
"comment_token": "垃圾",
"hot_rate": 613
},
{
"comment_token": "电脑",
"hot_rate": 580
},
"… 7 more items in the full response"
]
}
}
]Выберите пример, чтобы загрузить его входные данные и результат в playground.
Returns the most frequent comment tokens (keywords) found in a Douyin creator's comment sections on Xingtu, each with a hot_rate score. It needs a Xingtu author_id. You can set the number of tokens with num and drop emojis with without_emoji.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-hot-comment-tokens" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"author_id": "7146074596666507300"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
author_id | string | Yes | Creator/author ID |
num | integer | No | Number of hot tokens, default 10 |
without_emoji | boolean | No | Whether to exclude emoji, default True |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": "Success"
},
"hot_comment_tokens": [
{
"comment_token": "平板",
"hot_rate": 1335
}
]
}
| Field | Meaning |
|---|---|
hot_comment_tokens[] | List of hot comment tokens for the creator. Each item is one token with its score. |
hot_comment_tokens[].comment_token | The keyword or token found in the creator's comments, such as 平板 or 电脑. |
hot_comment_tokens[].hot_rate | Score for how hot the token is. A higher number ranks the token higher in the list. |
base_resp.status_code / base_resp.status_message | Status of the call. 0 with Success means the request worked. |
author_id. If you only have a Douyin ID or sec_user_id, look up the creator ID first with Douyin XingTu kolId by Douyin ID or Douyin XingTu kolId by sec_user_id (V2).num sets how many tokens come back (default 10). without_emoji defaults to true; set it to false to keep emoji tokens.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Начните разработку
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-hot-comment-tokens" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"author_id": "7146074596666507300"
}'Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
author_idstringобязательноCreator/author ID
numintegerNumber of hot tokens, default 10
without_emojibooleanWhether to exclude emoji, default True
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": "Success"
},
"hot_comment_tokens": [
{
"comment_token": "平板",
"hot_rate": 1335
},
{
"comment_token": "垃圾",
"hot_rate": 613
},
{
"comment_token": "电脑",
"hot_rate": 580
},
"… 7 more items in the full response"
]
}
}
]Посмотреть больше
| API | Цена | Ответ |
|---|---|---|
Douyin | $0.001 за запрос | 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/author-hot-comment-tokens, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
$0.001 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Обязательные: author_id (string). Необязательные: num (integer) и without_emoji (boolean). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нет. Douyin Xingtu Author Hot Comment Tokens (Xingtu V2) работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Douyin.