İçeriğe geç

Yorum Yanıtları

GET/v1/tiktok/video/comment/replies1 kredi

Bir TikTok videosundaki bir yoruma verilen yanıtları döndürür.

01Sorgu parametreleri

AdTürAçıklama
urlzorunlustringYorumun ait olduğu videonun URL'si.
comment_idzorunlustringYorumun sayısal kimliği (Video Comments yanıtındaki `cid` değeri).
cursoristeğe bağlıintegerSonraki sayfayı almak için önceki sayfanın `cursor` değeri.

02İstek

curl "https://api.scrapesocial.ai/v1/tiktok/video/comment/replies?url=https%3A%2F%2Fwww.tiktok.com%2F%40tiktok%2Fvideo%2F7683195368279985438&comment_id=7686630323690242836" \
  -H "x-api-key: $SCRAPESOCIAL_KEY"

03Yanıtlar

API'nin gerçek yanıtları. Listeler 2 öğeye kısaltılmıştır.

GET /v1/tiktok/video/comment/replies?url=https%3A%2F%2Fwww.tiktok.com%2F%40tiktok%2Fvideo%2F7683195368279985438&comment_id=7686630323690242836

{
  "success": true,
  "credits_remaining": 4980,
  "credits_charged": 1,
  "comments": [
    {
      "aweme_id": "7683195368279985438",
      "cid": "7686816989613409041",
      "cmt_sticker_struct": {
        "animated_url": {
          "high_resolution_url": {
            "height": 44,
            "uri": "tos-maliva-i-qj2ts5gcsk-us/3ca5dc4a29b947e6b009c735dab39e47",
            "url_list": [
              "https://p16-tiktok-dm-sticker-sign-sg.ibyteimg.com/tos-alisg-i-dhq7zx4c1p-sg/3ca5dc4a29b947e6b009c735dab39e47~tplv-dhq7zx4c1p-full.awebp?rk3s=00edd399&x-expires=1795534911&x-signature=NrcQrQSQo61dDAdDKRDtZTAC31U%3D"
            ],
            "url_prefix": null,
            "width": 68
          },
          "low_resolution_url": {
            "height": 44,
            "uri": "tos-maliva-i-qj2ts5gcsk-us/3ca5dc4a29b947e6b009c735dab39e47",
            "url_list": [
              "https://p16-tiktok-dm-sticker-sign-sg.ibyteimg.com/tos-alisg-i-dhq7zx4c1p-sg/3ca5dc4a29b947e6b009c735dab39e47~tplv-dhq7zx4c1p-full.awebp?rk3s=00edd399&x-expires=1795534911&x-signature=NrcQrQSQo61dDAdDKRDtZTAC31U%3D"
            ],
            "url_prefix": null,
            "width": 68
          },
          "mid_resolution_url": {
            "height": 44,
            "uri": "tos-maliva-i-qj2ts5gcsk-us/3ca5dc4a29b947e6b009c735dab39e47",
            "url_list": [
              "https://p16-tiktok-dm-sticker-sign-sg.ibyteimg.com/tos-alisg-i-dhq7zx4c1p-sg/3ca5dc4a29b947e6b009c735dab39e47~tplv-dhq7zx4c1p-full.awebp?rk3s=00edd399&x-expires=1795534911&x-signature=NrcQrQSQo61dDAdDKRDtZTAC31U%3D"
            ],
            "url_prefix": null,
            "width": 68
          }
        },
        "created_time": 1762509675708,
        "creator_uid": 0,
        "id": "82805699760387",
        "name": "",
        "review_status": 1,
        "set_id": 0,
        "static_url": {
          "high_resolution_url": {
            "height": 44,
            "uri": "tos-maliva-i-qj2ts5gcsk-us/3ca5dc4a29b947e6b009c735dab39e47",
            "url_list": [
              "https://p16-tiktok-dm-sticker-sign-sg.ibyteimg.com/tos-alisg-i-dhq7zx4c1p-sg/3ca5dc4a29b947e6b009c735dab39e47~tplv-dhq7zx4c1p-full.awebp?rk3s=00edd399&x-expires=1795534911&x-signature=NrcQrQSQo61dDAdDKRDtZTAC31U%3D"
            ],
            "url_prefix": null,
            "width": 68
          },
          "low_resolution_url": {
            "height": 44,
            "uri": "tos-maliva-i-qj2ts5gcsk-us/3ca5dc4a29b947e6b009c735dab39e47",
            "url_list": [
              "https://p16-tiktok-dm-sticker-sign-sg.ibyteimg.com/tos-alisg-i-dhq7zx4c1p-sg/3ca5dc4a29b947e6b009c735dab39e47~tplv-dhq7zx4c1p-full.awebp?rk3s=00edd399&x-expires=1795534911&x-signature=NrcQrQSQo61dDAdDKRDtZTAC31U%3D"
            ],
            "url_prefix": null,
            "width": 68
          },
          "mid_resolution_url": {
            "height": 44,
            "uri": "tos-maliva-i-qj2ts5gcsk-us/3ca5dc4a29b947e6b009c735dab39e47",
            "url_list": [
              "https://p16-tiktok-dm-sticker-sign-sg.ibyteimg.com/tos-alisg-i-dhq7zx4c1p-sg/3ca5dc4a29b947e6b009c735dab39e47~tplv-dhq7zx4c1p-full.awebp?rk3s=00edd399&x-expires=1795534911&x-signature=NrcQrQSQo61dDAdDKRDtZTAC31U%3D"
            ],
            "url_prefix": null,
            "width": 68
          }
        },
        "sticker_type": 14,
        "user_favorite": 2
      },
      "collect_stat": 0,
      "comment_language": "ku",
      "comment_post_item_ids": null,
      "content_type": 17,
      "create_time": 1789726563,
      "digg_count": 4,
      "fold_status": 0,
      "image_list": null,
      "is_author_digged": false,
      "is_comment_translatable": false,
      "is_high_purchase_intent": false,
      "label_list": null,
      "no_show": false,
      "reply_comment": null,
      "reply_id": "7686630323690242836",
      "reply_to_reply_id": "0",
      "seeking_help_model_type": 0,
      "share_info": {
        "acl": {
          "add_to_story_code": 1,
          "code": 1,
          "extra": "{\"reason\":\"11\"}"
        },
        "desc": "A1212’s comment: Kurdistan",
        "title": "hear how @Palina La Diva 🌐 spinning tracks on LIVE brings techno lovers together 🪩",
        "url": "https://m.tiktok.com/v/7683195368279985438.html?_d=e8emi95fegb1m3&comment_author_id=6664602022430064645&preview_pb=0&share_comment_id=7686816989613409041&share_item_id=7683195368279985438&sharer_language=en&source=h5_m&u_code=0"
      },
      "status": 11,
      "stick_position": 0,
      "text": "Kurdistan",
      "text_extra": [],
      "text_to_image_item_ids": null,
      "thread_has_more": false,
      "thread_id": 1,
      "trans_btn_style": 1,
      "translated_text_extra": null,
      "update_reason": "Viewer_photo_sticker_report_Fold",
      "user": {
        "account_labels": null,
        "ad_cover_url": null,
        "advance_feature_item_order": null,
        "advanced_feature_info": null,
        "avatar_thumb": {
          "uri": "tos-maliva-avt-0068/808b93f4724a9bddf13fa1eb2b637e63",
          "url_list": [
            "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/808b93f4724a9bddf13fa1eb2b637e63~tplv-tiktokx-cropcenter:100:100.jpg?dr=14579&refresh_token=453688b1&x-expires=1793034000&x-signature=sTpVmkfMQih8r4sJ%2F7eMGv337Hw%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=my2",
            "https://p19-common-sign.tiktokcdn.com/tos-maliva-avt-0068/808b93f4724a9bddf13fa1eb2b637e63~tplv-tiktokx-cropcenter:100:100.jpg?dr=14579&refresh_token=ca47bb30&x-expires=1793034000&x-signature=MiIFAvZL5bZwZKq8GmKif7Rn%2FLs%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=my2"
          ],
          "url_prefix": null
        },
        "bold_fields": null,
        "can_message_follow_status_list": null,
        "can_set_geofencing": null,
        "cha_list": null,
        "cover_url": null,
        "custom_verify": "",
        "enterprise_verify_reason": "",
        "events": null,
        "followers_detail": null,
        "geofencing": null,
        "homepage_bottom_toast": null,
        "item_list": null,
        "mutual_relation_avatars": null,
        "need_points": null,
        "nickname": "A1212",
        "platform_sync_info": null,
        "relative_users": null,
        "search_highlight": null,
        "sec_uid": "MS4wLjABAAAAa0yXTUC2QxfEGLrqLIEmGT8rF-At_Pu0LpQ2o7lYp1S1zCSUbIn742LmaagE43i4",
        "shield_edit_field_info": null,
        "type_label": null,
        "uid": "6664602022430064645",
        "unique_id": "a12a12a12a12a12a12jdjjd2",
        "user_profile_guide": null,
        "user_tags": null,
        "white_cover_url": null
      },
      "user_buried": false,
      "user_digged": 0
    },
    {
      "aweme_id": "7683195368279985438",
      "cid": "7686667344257368863",
      "collect_stat": 0,
      "comment_language": "en",
      "comment_post_item_ids": null,
      "content_type": 1,
      "create_time": 1789691753,
      "digg_count": 0,
      "fold_status": 0,
      "image_list": null,
      "is_author_digged": false,
      "is_comment_translatable": true,
      "is_high_purchase_intent": false,
      "label_list": null,
      "no_show": false,
      "reply_comment": null,
      "reply_id": "7686630323690242836",
      "reply_to_reply_id": "0",
      "seeking_help_model_type": 0,
      "share_info": {
        "acl": {
          "add_to_story_code": 0,
          "code": 0,
          "extra": "{}"
        },
        "desc": "WalkingDrum’s comment: i got a strike - FOR AN EINSTEIN QUOTE 🙄",
        "title": "hear how @Palina La Diva 🌐 spinning tracks on LIVE brings techno lovers together 🪩",
        "url": "https://m.tiktok.com/v/7683195368279985438.html?_d=e8emi95fegb1m3&comment_author_id=7345875635628393514&preview_pb=0&share_comment_id=7686667344257368863&share_item_id=7683195368279985438&sharer_language=en&source=h5_m&u_code=0"
      },
      "status": 1,
      "stick_position": 0,
      "text": "i got a strike - FOR AN EINSTEIN QUOTE 🙄",
      "text_extra": [],
      "text_to_image_item_ids": null,
      "thread_has_more": true,
      "thread_id": 2,
      "trans_btn_style": 0,
      "translated_text_extra": null,
      "update_reason": "pass",
      "user": {
        "account_labels": null,
        "ad_cover_url": null,
        "advance_feature_item_order": null,
        "advanced_feature_info": null,
        "avatar_thumb": {
          "uri": "tos-maliva-avt-0068/576c7f45faa842ca12024aa6edf459ce",
          "url_list": [
            "https://p16-common-sign.tiktokcdn.com/tos-maliva-avt-0068/576c7f45faa842ca12024aa6edf459ce~tplv-tiktokx-cropcenter:100:100.jpg?dr=14579&refresh_token=5478e6d5&x-expires=1793034000&x-signature=gjZvlkPSGU8fQyBhjpNdBA%2FhnpU%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=my2",
            "https://p19-common-sign.tiktokcdn.com/tos-maliva-avt-0068/576c7f45faa842ca12024aa6edf459ce~tplv-tiktokx-cropcenter:100:100.jpg?dr=14579&refresh_token=d64aaae5&x-expires=1793034000&x-signature=10BqlDWA%2B5rSQy5fd%2Fk%2FMp0EMx8%3D&t=4d5b0474&ps=13740610&shp=30310797&shcp=ff37627b&idc=my2"
          ],
          "url_prefix": null
        },
        "bold_fields": null,
        "can_message_follow_status_list": null,
        "can_set_geofencing": null,
        "cha_list": null,
        "cover_url": null,
        "custom_verify": "",
        "enterprise_verify_reason": "",
        "events": null,
        "followers_detail": null,
        "geofencing": null,
        "homepage_bottom_toast": null,
        "item_list": null,
        "mutual_relation_avatars": null,
        "need_points": null,
        "nickname": "WalkingDrum",
        "platform_sync_info": null,
        "relative_users": null,
        "search_highlight": null,
        "sec_uid": "MS4wLjABAAAAIgd-faYBZVn4216qNh6M1BrC7yEjzFKwYAl235IK7W32eJsi-aHsKNmGW7GYOH1h",
        "shield_edit_field_info": null,
        "type_label": null,
        "uid": "7345875635628393514",
        "unique_id": "walkingdrum",
        "user_profile_guide": null,
        "user_tags": null,
        "white_cover_url": null
      },
      "user_buried": false,
      "user_digged": 0
    }
  ],
  "cursor": 3,
  "extra": {
    "fatal_item_ids": [],
    "logid": "2026102601092539833E7C2EDCA937B265",
    "now": 1792948166000
  },
  "has_more": 1,
  "log_pb": {
    "impr_id": "2026102601092539833E7C2EDCA937B265"
  },
  "status_code": 0,
  "status_msg": "",
  "total": 8
}

Tüm uç noktalarda ortak

Her rota bunları döndürebilir: eksik ya da hatalı anahtar, biten kredi, yanıt vermeyen platform ya da bizim tarafımızdaki bir hata. Hiçbiri kredi harcamaz.

GET /v1/cosmos/profile?handle=design

{
  "success": false,
  "message": "Invalid API key"
}

04Notlar

Yanıtlar `comments` içinde, sayfa başına 3 adettir; `total` yorumun toplam yanıt sayısıdır. Sayfalamak için yanıttaki `cursor` değerini `cursor` parametresiyle geri gönderin (3, 6, ...); `has_more` 0 olduğunda durun. Sayısal olmayan bir `comment_id` ücretsiz 400 döner; yanıt içermeyen bir sayfa 0 kredilik boş bir listedir.

05Hatalar ve krediler

Her hatada success: false ve gerçek bir HTTP durum kodu döner; kredi düşmez.

  • 400missing_parameter

    Zorunlu bir parametre eksik veya geçersiz.

  • 403private_account

    Hesap gizli ya da yaş kısıtlamalı.

  • 404not_found

    Böyle bir hesap yok.

  • 503upstream_error

    Platform şu an cevap vermiyor; tekrar deneyin.