Sand AISand AI MAGI-2MAGI-2 agora está na SandBase: vídeo em 1080p com áudio nativoExperimente agora

TikTok Video Comment Keywords

Docs da API
https://api.sandbase.ai/v1/api/tiktok/analytics/comment-keywords

Returns extracted keywords and topics from user comments on a TikTok video. Queries are filtered by the unique video identifier.

Preço
$0.001USD / chamada
Método
POST
Resposta
JSON
Parâmetros
1 obrigatórios · 0 opcionais

Playground

Entrada
Video ID, required parameter, can be obtained from video sharing links or TikTok Studio
SaídaExemplo
Respostaoutputs · 14.7 KB · 205 linhas
[
  {
    "data": {
      "item_id": "7350810998023949599",
      "key_words": {
        "comment_key_words": [
          {
            "comments": [
              {
                "channel_id": 0,
                "cid": "7350994816208044831",
                "comment_author": {
                  "cover": {
                    "url_list": [
                      "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/83a239de10dcb0f948e4480223db88be~tplv-tiktokx-cropcenter-q:100:100:q70.webp?dr=8835&refresh_token=89dc6e63&x-expires=1791374400&x-signature=Egyx%2ByaGOkEduhxJjlMsCn3vH4c%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=3bcfdc78&idc=useast8&sc=avatar&s=COMMENT_LIST",
                      "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/83a239de10dcb0f948e4480223db88be~tplv-tiktokx-cropcenter-q:100:100:q70.webp?dr=8835&refresh_token=88e61c7c&x-expires=1791374400&x-signature=32yC3NVMIaCtWibXkTvraJ7bWJs%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=3bcfdc78&idc=useast8&sc=avatar&s=COMMENT_LIST",
                      "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/83a239de10dcb0f948e4480223db88be~tplv-tiktokx-cropcenter-q:100:100:q70.jpeg?dr=8835&refresh_token=5b5c9227&x-expires=1791374400&x-signature=5cAnAYfnF5eol4PwFH6yQWSn1Ow%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=3bcfdc78&idc=useast8&sc=avatar&s=COMMENT_LIST"
                    ]
                  },
                  "nick_name": "Itsmellow",
                  "uid": "7312929108468139054"
                },
                "comment_type": 0,
                "create_date": 1711536918,
                "digg_count": 0,
                "text": "Yo if you look again I’m pretty sure she made it"
              },
              {
                "channel_id": 0,
                "cid": "7350896612720100127",
                "comment_author": {
                  "cover": {
                    "url_list": [
                      "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/dc2594344eab345af61ca3cda291d48b~tplv-tiktokx-cropcenter-q:100:100:q70.webp?dr=8835&refresh_token=b8da1e04&x-expires=1791374400&x-signature=VkCaBLEzAnfRhuQGbmSYAcxQBRU%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=3bcfdc78&idc=useast8&s=COMMENT_LIST&sc=avatar",
                      "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/dc2594344eab345af61ca3cda291d48b~tplv-tiktokx-cropcenter-q:100:100:q70.webp?dr=8835&refresh_token=60a4b5f1&x-expires=1791374400&x-signature=ajgwfsMHNHDXwPUbyneKCFuRaHk%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=3bcfdc78&idc=useast8&s=COMMENT_LIST&sc=avatar",
                      "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/dc2594344eab345af61ca3cda291d48b~tplv-tiktokx-cropcenter-q:100:100:q70.jpeg?dr=8835&refresh_token=6e8f1a36&x-expires=1791374400&x-signature=UNH9jRFx%2BuQAptJ3V9nnazkjsIk%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=3bcfdc78&idc=useast8&s=COMMENT_LIST&sc=avatar"
                    ]
                  },
                  "nick_name": "BellaTrixx",
                  "uid": "7052022655189746693"
                },
                "comment_type": 0,
                "create_date": 1711514012,
                "digg_count": 0,
                "text": "I’m pretty sure that’s boloney"
              },
              {
                "channel_id": 0,
                "cid": "7350848653739328299",
                "comment_author": {
                  "cover": {
                    "url_list": [
                      "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/ddc2aee3b640fa1fe2d60ec5089faae1~tplv-tiktokx-cropcenter-q:100:100:q70.webp?dr=8835&refresh_token=e3470aec&x-expires=1791374400&x-signature=w%2FdnC0u3E5CflJEHRGs%2B8KqTOgA%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=3bcfdc78&idc=useast8&s=COMMENT_LIST&sc=avatar",
                      "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/ddc2aee3b640fa1fe2d60ec5089faae1~tplv-tiktokx-cropcenter-q:100:100:q70.webp?dr=8835&refresh_token=7a918264&x-expires=1791374400&x-signature=J%2Bvc8H30vsqjuz%2BGWq6PDP%2BZn3g%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=3bcfdc78&idc=useast8&s=COMMENT_LIST&sc=avatar",
                      "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/ddc2aee3b640fa1fe2d60ec5089faae1~tplv-tiktokx-cropcenter-q:100:100:q70.jpeg?dr=8835&refresh_token=821aec15&x-expires=1791374400&x-signature=so5%2FLbW%2FZtzZ1QIpaK02dVOacME%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=3bcfdc78&idc=useast8&s=COMMENT_LIST&sc=avatar"
                    ]
                  },
                  "nick_name": "LENNIE JAMES 🧟‍♂️",
                  "uid": "7050480075401462790"
                },
                "comment_type": 0,
                "create_date": 1711502844,
                "digg_count": 0,
                "text": "uhm I'm pretty sure you have to fold it sideways 😅"
              },
              "… 1 more items in the full response"
            ],
            "key_word": "pretty sure"
          },
          {
            "comments": [
              {
                "channel_id": 0,
                "cid": "7350832440615830303",
                "comment_author": {
                  "cover": {
                    "url_list": [
                      "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/9289312a54fec3fb79bf221aed7fdd1e~tplv-tiktokx-cropcenter-q:100:100:q70.webp?dr=8835&refresh_token=c1ab661e&x-expires=1791374400&x-signature=Rkx%2FcZBxyx49UUkpJc1xGVoCtMs%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=3bcfdc78&idc=useast8&sc=avatar&s=COMMENT_LIST",
                      "https://p19-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/9289312a54fec3fb79bf221aed7fdd1e~tplv-tiktokx-cropcenter-q:100:100:q70.webp?dr=8835&refresh_token=533497ad&x-expires=1791374400&x-signature=CQcoRHHibexHrvEs0ODF%2BP1jcoI%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=3bcfdc78&idc=useast8&sc=avatar&s=COMMENT_LIST",
                      "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/9289312a54fec3fb79bf221aed7fdd1e~tplv-tiktokx-cropcenter-q:100:100:q70.jpeg?dr=8835&refresh_token=1146e257&x-expires=1791374400&x-signature=WdkW99fYfos%2FnkaVv5sPjojOK3g%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=3bcfdc78&idc=useast8&sc=avatar&s=COMMENT_LIST"
                    ]
                  },
                  "nick_name": "dingle man",
                  "uid": "7097768029329867819"
                },
                "comment_type": 0,
                "create_date": 1711499073,
                "digg_count": 4607,
                "text": "the long way I guess"
              },
              {
                "channel_id": 0,
                "cid": "7350897460569129733",
                "comment_author": {
                  "cover": {
                    "url_list": [
                      "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/06342e86fb50bd57599bb828ebb7eadb~tplv-tiktokx-cropcenter-q:100:100:q70.webp?dr=8835&refresh_token=a0358539&x-expires=1791374400&x-signature=DoWR0aG8sVb%2BvmRwdJVe4h6HPxg%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=3bcfdc78&idc=useast8&sc=avatar&s=COMMENT_LIST",
                      "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/06342e86fb50bd57599bb828ebb7eadb~tplv-tiktokx-cropcenter-q:100:100:q70.webp?dr=8835&refresh_token=98cdd7e1&x-expires=1791374400&x-signature=XrjeoXadv0z7mvkvvs09ppc81YE%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=3bcfdc78&idc=useast8&sc=avatar&s=COMMENT_LIST",
                      "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/06342e86fb50bd57599bb828ebb7eadb~tplv-tiktokx-cropcenter-q:100:100:q70.jpeg?dr=8835&refresh_token=967785b7&x-expires=1791374400&x-signature=kPQAGiDGOfRmP2mlEOfneRFglrM%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=3bcfdc78&idc=useast8&sc=avatar&s=COMMENT_LIST"
                    ]
                  },
                  "nick_name": "Juancho17",
                  "uid": "92945610198183936"
                },
                "comment_type": 0,
                "create_date": 1711514204,
                "digg_count": 0,
                "text": "lil sis made a turkey sandwich the long way 💀"
              },
              {
                "channel_id": 0,
                "cid": "7350888945955685151",
                "comment_author": {
                  "cover": {
                    "url_list": [
                      "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/7ffcf94fed2e7a2ea5c17ed8cf9090ec~tplv-tiktokx-cropcenter-q:100:100:q70.webp?dr=8835&refresh_token=d4c5b172&x-expires=1791374400&x-signature=hJG0Pw5CD7t6a959X6rmPKuJ9io%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=3bcfdc78&idc=useast8&sc=avatar&s=COMMENT_LIST",
                      "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/7ffcf94fed2e7a2ea5c17ed8cf9090ec~tplv-tiktokx-cropcenter-q:100:100:q70.webp?dr=8835&refresh_token=b76ba991&x-expires=1791374400&x-signature=ITgyeHCaRSgQIgzyYyJcPbESGCA%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=3bcfdc78&idc=useast8&sc=avatar&s=COMMENT_LIST",
                      "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/7ffcf94fed2e7a2ea5c17ed8cf9090ec~tplv-tiktokx-cropcenter-q:100:100:q70.jpeg?dr=8835&refresh_token=b8f25d79&x-expires=1791374400&x-signature=KWxl%2BJjt2sjYQnoHw0EN0HSRh08%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=3bcfdc78&idc=useast8&sc=avatar&s=COMMENT_LIST"
                    ]
                  },
                  "nick_name": "christmasdust",
                  "uid": "7071822224373613610"
                },
                "comment_type": 0,
                "create_date": 1711512226,
                "digg_count": 0,
                "text": "she took the long way home"
              },
              "… 1 more items in the full response"
            ],
            "key_word": "long way"
          },
          {
            "comments": [
              {
                "channel_id": 0,
                "cid": "7350865083474133791",
                "comment_author": {
                  "cover": {
                    "url_list": [
                      "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/8f214cd0c9dc289c6e82ee24ed9d113c~tplv-tiktokx-cropcenter-q:100:100:q70.webp?dr=8835&refresh_token=1529090d&x-expires=1791374400&x-signature=ynmxGQ4VP66shXAzaUzBMtE6DcI%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=3bcfdc78&idc=useast8&sc=avatar&s=COMMENT_LIST",
                      "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/8f214cd0c9dc289c6e82ee24ed9d113c~tplv-tiktokx-cropcenter-q:100:100:q70.webp?dr=8835&refresh_token=0394ffd4&x-expires=1791374400&x-signature=2QveeWsrUbPZehW%2FFK5Mdg5KIFA%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=3bcfdc78&idc=useast8&sc=avatar&s=COMMENT_LIST",
                      "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/8f214cd0c9dc289c6e82ee24ed9d113c~tplv-tiktokx-cropcenter-q:100:100:q70.jpeg?dr=8835&refresh_token=efc9b1f2&x-expires=1791374400&x-signature=wpDYWW7buqC1lSZG27l7eoLJrIA%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=3bcfdc78&idc=useast8&sc=avatar&s=COMMENT_LIST"
                    ]
                  },
                  "nick_name": "questionable",
                  "uid": "7290433039350547498"
                },
                "comment_type": 0,
                "create_date": 1711506664,
                "digg_count": 6,
                "text": "whatchu mean how you literally just made the most perfect turkey sandwich I've ever seen"
              },
              {
                "channel_id": 0,
                "cid": "7350981849152733985",
                "comment_author": {
                  "cover": {
                    "url_list": [
                      "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/7328403864867700741~tplv-tiktokx-cropcenter-q:100:100:q70.webp?dr=8835&refresh_token=f56b223e&x-expires=1791374400&x-signature=QIgWBNqwi4MlOujEkBw7N9h%2BTJc%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=3bcfdc78&idc=useast8&sc=avatar&s=COMMENT_LIST",
                      "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/7328403864867700741~tplv-tiktokx-cropcenter-q:100:100:q70.webp?dr=8835&refresh_token=47f129b1&x-expires=1791374400&x-signature=E8HkmjNLxUVYBrS184isU09mQ0c%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=3bcfdc78&idc=useast8&sc=avatar&s=COMMENT_LIST",
                      "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/7328403864867700741~tplv-tiktokx-cropcenter-q:100:100:q70.jpeg?dr=8835&refresh_token=ffbaa449&x-expires=1791374400&x-signature=TQ6GOuSLaZpkB8OMOlpvrYY%2Fh0Y%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=3bcfdc78&idc=useast8&sc=avatar&s=COMMENT_LIST"
                    ]
                  },
                  "nick_name": "Dawid Kupis 🪿",
                  "uid": "6810328347928937478"
                },
                "comment_type": 0,
                "create_date": 1711533893,
                "digg_count": 0,
                "text": "that's the best way i've ever seen"
              },
              {
                "channel_id": 0,
                "cid": "7350893377389052677",
                "comment_author": {
                  "cover": {
                    "url_list": [
                      "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/5c5dfeba07c4bfc74b17c35051d9af05~tplv-tiktokx-cropcenter-q:100:100:q70.webp?dr=8835&refresh_token=0f96655d&x-expires=1791374400&x-signature=wwUuU3AICg312bbTV3EGDz1056k%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=3bcfdc78&idc=useast8&sc=avatar&s=COMMENT_LIST",
                      "https://p19-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/5c5dfeba07c4bfc74b17c35051d9af05~tplv-tiktokx-cropcenter-q:100:100:q70.webp?dr=8835&refresh_token=730cb7ba&x-expires=1791374400&x-signature=hyceojZkHP0IM6MuH9KN%2BTIXRcg%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=3bcfdc78&idc=useast8&sc=avatar&s=COMMENT_LIST",
                      "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/5c5dfeba07c4bfc74b17c35051d9af05~tplv-tiktokx-cropcenter-q:100:100:q70.jpeg?dr=8835&refresh_token=62984576&x-expires=1791374400&x-signature=sRxkCXQAZ97p9vajzKxzqnFnoVc%3D&t=223449c4&ps=87d6e48a&shp=30310797&shcp=3bcfdc78&idc=useast8&sc=avatar&s=COMMENT_LIST"
                    ]
                  },
                  "nick_name": "megan 🕊️",
                  "uid": "6669130349573160965"
                },
                "comment_type": 0,
                "create_date": 1711513255,
                "digg_count": 0,
                "text": "you’re literally the only other person i’ve ever seen with joji tour merch twins 🫶🏻"
              }
            ],
            "key_word": "ever seen"
          },
          "… 15 more items in the full response"
        ],
        "message": {
          "data_source": 1,
          "status": 1,
          "timestamp": 1791290483
        }
      }
    }
  }
]

Exemplos

Selecione um exemplo para carregar as entradas e o resultado no playground.

README da API

TikTok Video Comment Keywords API

Returns keywords and short phrases pulled from the comments on one TikTok video. Each keyword comes with example comments that contain it. The only input is the video ID in item_id.

Use cases

  • Find the phrases viewers repeat most in the comments of a single video.
  • Read sample comments behind each phrase to see how viewers talk about a topic.
  • Spot the most liked comments that mention a phrase.
  • Compare the keyword lists of several videos to see which topics come up again.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/analytics/comment-keywords" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"item_id": "7350810998023949599"}'

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

Parameters

NameTypeRequiredDescription
item_idstringYesVideo ID, required parameter, can be obtained from video sharing links or TikTok Studio

Example response

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

{
  "item_id": "7350810998023949599",
  "key_words": {
    "comment_key_words": [
      {
        "comments": [
          {
            "channel_id": 0,
            "cid": "7350994816208044831",
            "comment_author": {
              "cover": {
                "url_list": [
                  "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/83a239de10dcb0…"
                ]
              },
              "nick_name": "Itsmellow",
              "uid": "7312929108468139054"
            },
            "comment_type": 0,
            "create_date": 1711536918,
            "digg_count": 0,
            "text": "Yo if you look again I’m pretty sure she made it"
          }
        ],
        "key_word": "pretty sure"
      }
    ],
    "message": {
      "data_source": 1,
      "status": 1,
      "timestamp": 1793691831
    }
  }
}

Response fields

FieldMeaning
item_idThe video ID that was queried. It matches the item_id in the request.
key_words.comment_key_words[].key_wordAn extracted keyword or phrase, such as pretty sure or long way.
key_words.comment_key_words[].comments[].textThe text of a comment that contains the keyword.
key_words.comment_key_words[].comments[].cidThe ID of the comment.
key_words.comment_key_words[].comments[].digg_countThe like count of the comment.
key_words.comment_key_words[].comments[].create_dateThe time the comment was posted, as a Unix timestamp in seconds.
key_words.comment_key_words[].comments[].comment_author.nick_name / key_words.comment_key_words[].comments[].comment_author.uidThe display name and the user ID of the person who wrote the comment.
key_words.comment_key_words[].comments[].comment_author.cover.url_list[]Image URLs for the comment author's avatar.

Notes

  • Get item_id from a TikTok video sharing link or from TikTok Studio. It is a numeric string such as 7350810998023949599.
  • Each keyword in the response holds a short list of comments, not every comment on the video.
  • To see views, likes and other metrics for the same video, call TikTok Video Metrics.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Explorar mais

APIs relacionadas

Todas as APIs
APIPreçoResposta
TikTok$0.001 por chamadaJSON
TikTok$0.001 por chamadaJSON
TikTok$0.01 por chamadaJSON
TikTok$0.001 por chamadaJSON
TikTok$0.001 por chamadaJSON
TikTok$0.001 por chamadaJSON

Guias:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

Perguntas

FAQ

Como eu uso a API TikTok Video Comment Keywords?

Envie uma solicitação POST para https://api.sandbase.ai/v1/api/tiktok/analytics/comment-keywords com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.

Quanto custa a API TikTok Video Comment Keywords?

$0.001 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.

Quais parâmetros a API TikTok Video Comment Keywords aceita?

Obrigatórios: item_id (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.

O que a API TikTok Video Comment Keywords retorna?

Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.

Preciso de uma conta de desenvolvedor TikTok ou de uma chave de API?

Não. TikTok Video Comment Keywords funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do TikTok separadamente.