Sand AISand AI MAGI-2MAGI-2가 이제 SandBase에서 제공됩니다: 네이티브 오디오가 포함된 1080p 동영상지금 사용해 보기

Xigua Video Comment List

API 문서
https://api.sandbase.ai/v1/api/xigua/app-v2/video-comment-list

Returns comments for a specified Xigua video. Supports paginating through discussion threads using offset and result count parameters.

가격
$0.001USD / 호출
메서드
POST
응답
JSON
매개변수
필수 1개 · 선택 사항 2개

Playground

입력
Video id
Quantity, default 20, it is recommended to keep the default.
Offset, pass 0 for the first request, pass the offset returned by the previous request for subsequent requests
출력예시
응답outputs · 20.0 KB · 560줄
[
  {
    "data": {
      "at_user_guide_info": null,
      "ban_audio_comment": false,
      "ban_comment": false,
      "ban_comment_reason": "写评论",
      "ban_comment_toast": "",
      "ban_face": false,
      "ban_gif_suggest": 0,
      "ban_pic_comment": 0,
      "bottom_tips": null,
      "comment_activity": null,
      "comment_classify_detail": null,
      "comment_share_enabled": true,
      "data": [
        {
          "ad": null,
          "cell_type": 1,
          "comment": {
            "aid": 13,
            "auth_verified_info": "",
            "author_act_badge": null,
            "author_badge": null,
            "author_badge_night": null,
            "band_name": "",
            "band_url": "",
            "bury_count": 2,
            "comment_badge": null,
            "comment_badge_night": null,
            "comment_tag_url": "",
            "content_rich_span": "{\"links\":[]}",
            "couplet_sticker": null,
            "create_time": 1716343807,
            "digg_bury_style": 2,
            "digg_count": 1593,
            "digg_prompt": {
              "enable": true,
              "reply_box_placeholder": "发评不易,快回复鼓励下TA吧"
            },
            "dislike_style": 0,
            "extra": null,
            "extra_tips": "",
            "forward_count": 0,
            "has_author_digg": 0,
            "has_author_replied": 0,
            "has_multi_media": false,
            "id": 7371640439654811000,
            "id_str": "7371640439654810377",
            "interact_style": 0,
            "is_blocked": 0,
            "is_blocking": 0,
            "is_first_comment": 0,
            "is_followed": 0,
            "is_following": 0,
            "is_loyal_fan": 0,
            "is_pgc_author": 0,
            "is_repost": false,
            "large_image_list": [],
            "media_info": {
              "avatar_url": "",
              "name": ""
            },
            "membership_status": 0,
            "multi_media": null,
            "new_reply_list": [],
            "pendants": null,
            "platform": "feifei",
            "publish_loc_info": "广东",
            "reaction_info": null,
            "remark_name": "",
            "reply_count": 28,
            "reply_list": [],
            "resource_url": "",
            "score": 1593.1716343807,
            "show_tags": 0,
            "source": null,
            "star_comment_info": {
              "has_recommend": false,
              "is_open": false,
              "is_star_comment": false
            },
            "support_react_list": null,
            "tags": null,
            "text": "你笑人家被关在动物园,人家笑你996,还没编制![捂脸][捂脸][捂脸]",
            "thumb_image_list": [],
            "user_auth_info": "",
            "user_bury": 0,
            "user_decoration": "",
            "user_digg": 0,
            "user_id": 4494411680452766,
            "user_name": "闲逛市民",
            "user_profile_image_url": "https://p3-sign.toutiaoimg.com/tos-cn-i-0022/9ecac0ef5c814eeaae15c493de61338f~300x300.image?_iz=112761&from=tt_user.tab_comments_comment&lk3s=a67912db&x-expires=1791331200&x-signature=kXUg6%2BSbVsvkXAfijL6iOsqb5Jw%3D",
            "user_relation": 0,
            "user_super_digg": 0,
            "user_verified": false,
            "verified_reason": "",
            "vote_info": null,
            "xg_badge_type": 0
          },
          "comment_resource_banner": null,
          "embedded_data": null,
          "forum_card": null,
          "id": 7371640439654811000,
          "pk_forum": null
        },
        {
          "ad": null,
          "cell_type": 1,
          "comment": {
            "aid": 13,
            "auth_verified_info": "",
            "author_act_badge": null,
            "author_badge": null,
            "author_badge_night": null,
            "band_name": "",
            "band_url": "",
            "bury_count": 5,
            "comment_badge": null,
            "comment_badge_night": null,
            "comment_tag_url": "",
            "content_rich_span": "{\"links\":[{\"start\":9,\"length\":0,\"link\":\"\",\"type\":5,\"text\":\"\",\"id\":0,\"id_type\":0,\"flag\":1,\"image\":[{\"u\":\"tos-cn-i-jcdsk5yqko/af126affd2254802abf9b3154ad240d0\",\"w\":1179,\"h\":2556,\"f\":\"webp\"}]}],\"image_list\":{\"tos-cn-i-jcdsk5yqko/af126affd2254802abf9b3154ad240d0\":{\"uri\":\"tos-cn-i-jcdsk5yqko/af126affd2254802abf9b3154ad240d0\",\"url\":\"https://p26-sign.bdxiguaimg.com/tos-cn-i-jcdsk5yqko/af126affd2254802abf9b3154ad240d0~640x0.jpeg?lk3s=a67912db\\u0026x-expires=1793283894\\u0026x-signature=%2FV38Hu1QzvAzU9OsL45SX90IZU0%3D\",\"width\":640,\"height\":1387,\"url_list\":[{\"url\":\"https://p26-sign.bdxiguaimg.com/tos-cn…",
            "couplet_sticker": null,
            "create_time": 1716335884,
            "digg_bury_style": 2,
            "digg_count": 1121,
            "digg_prompt": {
              "enable": true,
              "reply_box_placeholder": "有共鸣?一起讨论下吧"
            },
            "dislike_style": 0,
            "extra": null,
            "extra_tips": "",
            "forward_count": 0,
            "has_author_digg": 0,
            "has_author_replied": 0,
            "has_multi_media": false,
            "id": 7371606395315176000,
            "id_str": "7371606395315176244",
            "interact_style": 0,
            "is_blocked": 0,
            "is_blocking": 0,
            "is_first_comment": 0,
            "is_followed": 0,
            "is_following": 0,
            "is_loyal_fan": 0,
            "is_pgc_author": 0,
            "is_repost": false,
            "large_image_list": [],
            "media_info": {
              "avatar_url": "",
              "name": ""
            },
            "membership_status": 0,
            "multi_media": null,
            "new_reply_list": [
              {
                "bury_count": 0,
                "content": "高贵与生俱来的",
                "content_rich_span": "{\"links\":[]}",
                "create_time": 1716344792,
                "digg_bury_style": 2,
                "digg_count": 260,
                "digg_prompt": {
                  "enable": true,
                  "reply_box_placeholder": "有共鸣?快回复一下吧"
                },
                "dislike_style": 0,
                "extra": null,
                "extra_tips": "",
                "forward_count": 0,
                "group": null,
                "has_author_digg": 0,
                "has_multi_media": false,
                "id": 7371644645644289000,
                "id_str": "7371644645644288783",
                "is_owner": false,
                "large_image_list": [],
                "multi_media": null,
                "publish_loc_info": "山东",
                "reaction_info": null,
                "reply_badge": null,
                "reply_badge_night": null,
                "repost_params": null,
                "star_comment_info": {
                  "has_recommend": false,
                  "is_open": false,
                  "is_star_comment": false
                },
                "support_react_list": null,
                "text": "高贵与生俱来的",
                "thumb_image_list": [],
                "user": {
                  "auth_verified_info": "",
                  "author_badge": null,
                  "author_badge_night": null,
                  "avatar_url": "https://p11-sign.toutiaoimg.com/user-avatar/d3c101fe8440a2496af3414f7b7bf83b~300x300.image?_iz=112761&from=tt_user.tab_comments_comment&lk3s=a67912db&x-expires=1791331200&x-signature=V0k3jqnORiVCA%2FZo4W5P%2BWzTb%2Fk%3D",
                  "band_name": "",
                  "band_url": "",
                  "description": "",
                  "interact_style": 0,
                  "is_blocked": false,
                  "is_blocking": false,
                  "is_followed": false,
                  "is_following": false,
                  "is_pgc_author": false,
                  "membership_status": 0,
                  "name": "依旧痞子郑",
                  "pendants": null,
                  "screen_name": "依旧痞子郑",
                  "user_auth_info": "",
                  "user_decoration": "",
                  "user_id": 6675046493,
                  "user_relation": 0,
                  "user_verified": false,
                  "verified_reason": ""
                },
                "user_bury": false,
                "user_digg": false,
                "user_super_digg": 0
              },
              {
                "bury_count": 0,
                "content": "猴中贵族",
                "content_rich_span": "{\"links\":[]}",
                "create_time": 1716343594,
                "digg_bury_style": 2,
                "digg_count": 175,
                "digg_prompt": {
                  "enable": true,
                  "reply_box_placeholder": "发条评论,你也能收到点赞哦"
                },
                "dislike_style": 0,
                "extra": null,
                "extra_tips": "",
                "forward_count": 0,
                "group": null,
                "has_author_digg": 0,
                "has_multi_media": false,
                "id": 7371639524856350000,
                "id_str": "7371639524856349478",
                "is_owner": false,
                "large_image_list": [],
                "multi_media": null,
                "publish_loc_info": "河北",
                "reaction_info": null,
                "reply_badge": null,
                "reply_badge_night": null,
                "repost_params": null,
                "star_comment_info": {
                  "has_recommend": false,
                  "is_open": false,
                  "is_star_comment": false
                },
                "support_react_list": null,
                "text": "猴中贵族",
                "thumb_image_list": [],
                "user": {
                  "auth_verified_info": "",
                  "author_badge": null,
                  "author_badge_night": null,
                  "avatar_url": "https://p3-sign.toutiaoimg.com/user-avatar/8e643f4fc8a048d69866be8837b78f86~300x300.image?_iz=112761&from=tt_user.tab_comments_comment&lk3s=a67912db&x-expires=1791331200&x-signature=ZwtN6WUwcYjzAROHMCtmvU4Rz%2Bo%3D",
                  "band_name": "",
                  "band_url": "",
                  "description": "",
                  "interact_style": 0,
                  "is_blocked": false,
                  "is_blocking": false,
                  "is_followed": false,
                  "is_following": false,
                  "is_pgc_author": false,
                  "membership_status": 0,
                  "name": "静悄悄",
                  "pendants": null,
                  "screen_name": "静悄悄",
                  "user_auth_info": "",
                  "user_decoration": "",
                  "user_id": 3698935903,
                  "user_relation": 0,
                  "user_verified": false,
                  "verified_reason": ""
                },
                "user_bury": false,
                "user_digg": false,
                "user_super_digg": 0
              }
            ],
            "pendants": null,
            "platform": "feifei",
            "publish_loc_info": "安徽",
            "reaction_info": null,
            "remark_name": "",
            "reply_count": 65,
            "reply_list": [
              {
                "auth_verified_info": "",
                "author_badge": null,
                "author_badge_night": null,
                "band_name": "",
                "band_url": "",

예시

예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.

API README

Xigua Video Comment List API

Returns a page of comments for one Xigua video. The only required input is the video's item_id. The response also includes the video's author and repost info, plus pagination values.

Use cases

  • Collect viewer comments on a Xigua video for sentiment review.
  • Page through the full comment list of a video to archive audience discussion.
  • Check whether commenting is turned off for a video before you plan outreach.
  • Read the video's author name and title from the same call that returns comments.

Request

curl -X POST "https://api.sandbase.ai/v1/api/xigua/app-v2/video-comment-list" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"item_id": "7354954305222377999"}'

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

Parameters

NameTypeRequiredDescription
item_idstringYesVideo id
countintegerNoQuantity, default 20, it is recommended to keep the default.
offsetintegerNoOffset, pass 0 for the first request, pass the offset returned by the previous request for subsequent requests

Example response

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

{
  "at_user_guide_info": null,
  "ban_ai_polish": false,
  "ban_audio_comment": false,
  "ban_comment": false,
  "ban_comment_reason": "写评论",
  "ban_comment_toast": "",
  "ban_face": false,
  "ban_gif_suggest": 0,
  "ban_pic_comment": 0,
  "bottom_tips": null,
  "comment_activity": null,
  "comment_classify_detail": null
}

Response fields

FieldMeaning
data[]The list of comment entries on this page. Each entry has an id and a comment object.
data[].idNumeric ID of the comment entry.
data[].comment.bury_countNumber of buries (dislikes) on the comment. Other counts and author details sit in the same comment object.
has_moretrue when more comments remain after this page.
offsetOffset value to send as offset in the next request. In the sample it is 20.
next_comment_since_tsA Unix-style timestamp value (1793692046 in the sample) tied to the next page of comments.
ban_comment / ban_pic_comment / ban_audio_commentFlags that show whether commenting, picture comments or audio comments are blocked for this video.
group.group_idID of the video the comments belong to. It matches the item_id you sent.
group.user_name / group.user_idName and numeric ID of the video's author.
repost_params.titleTitle of the video.

Notes

  • Send offset as 0 on the first call. For later pages, pass the offset value returned by the previous response and stop when has_more is false.
  • count defaults to 20 and the parameter description recommends keeping the default.
  • item_id is a numeric video ID passed as a string, for example 7354954305222377999.
  • To get the video ID from a keyword, call Xigua Video Search. For video details, call Xigua Single Video Information.

Pricing

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

더 살펴보기

관련 API

모든 API
API가격응답
Xigua$0.001 / 호출JSON
Xigua$0.001 / 호출JSON
Xigua$0.001 / 호출JSON
Xigua$0.001 / 호출JSON
Xigua$0.001 / 호출JSON
Xigua$0.001 / 호출JSON

질문

FAQ

Xigua Video Comment List API를 어떻게 사용하나요?

Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/xigua/app-v2/video-comment-list에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.

Xigua Video Comment List API 비용은 얼마인가요?

호출당 $0.001, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.

Xigua Video Comment List API는 어떤 매개변수를 받나요?

필수: item_id (string). 선택: count (integer) 및 offset (integer). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.

Xigua Video Comment List API는 무엇을 반환하나요?

같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.

Xigua 개발자 계정이나 API 키가 필요한가요?

아니요. Xigua Video Comment List은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Xigua API 액세스를 별도로 신청할 필요는 없습니다.