Post

Description

Get comments of a post by its identifier. If you have a post URL, you can use the URL resolver endpoint to get the post ID. For each comment, learn about its content, author, statistics, sub-comments and more. Up to 10 results per page.

Endpoint

GET api/v1/realtime/social/tiktok/v1/post/{id}/comments

Parameters

Param
Required
Param Type
Description

id

Yes

Path Param

String | The identifier of the post

cursor

No

Query Param

String | Cursor for paginate data

Example Request
curl -X GET 'https://api.webit.live/api/v1/realtime/social/tiktok/v1/post/7343128535550184710/comments' \
--header 'Authorization: Basic <credential string>'
Example Response
{
    "comments": [
        {
            "author_pin": false,
            "post_id": "7343128535550184710",
            "comment_id": "7344321161637610241",
            "comment_language": "en",
            "create_time": 1709983039,
            "likes_count": 5,
            "text": "“Trust me bro”.",
            "text_extra": [],
            "commenter": {
                "comment_setting": 0,
                "custom_verify": "",
                "fake_data_info": {},
                "follower_count": 0,
                "following_count": 0,
                "instagram_id": "",
                "is_ad_fake": false,
                "mention_status": "everyone",
                "nickname": "Lawndart",
                "sec_uid": "MS4wLjABAAAAS5YbeMqxJ_YLEsl_JrMVYIgDhanuwljxo_-MQZYl7-DTEM4M0vy67vJBke228l8n",
                "uid": "6929247952104866821",
                "username": "lawndart555",
                "verification_type": 0,
                "profile_photo": {
                    "thumb": "https://p16-sg.tiktokcdn.com/tos-alisg-avt-0068/9ad6695203c95964d5ef85b2e9bf5e46~tplv-tiktokx-cropcenter-q:64:64:q70.heic?dr=10723&idc=useast5&nonce=10598&ps=87d6e48a&refresh_token=2cab23185ce660ceb0aa7627bb830491&s=COMMENT_LIST&sc=avatar&shcp=ff37627b&shp=30310797&t=223449c4"
                }
            }
        },
        {
            "author_pin": false,
            "post_id": "7343128535550184710",
            "comment_id": "7355438613596144416",
            "comment_language": "en",
            "create_time": 1712571559,
            "likes_count": 1,
            "text": "Why is every picture of a flat earth a cartoon!",
            "text_extra": [],
            "commenter": {
                "comment_setting": 0,
                "custom_verify": "",
                "fake_data_info": {},
                "follower_count": 0,
                "following_count": 0,
                "instagram_id": "",
                "is_ad_fake": false,
                "mention_status": "everyone",
                "nickname": "Nick The Kafir",
                "sec_uid": "MS4wLjABAAAA45IjE6mqbTwNmptr8YXCKqZGZUN3a2qzlefQVsYnlJPe27T4v6Nun_oejS8WcVs5",
                "uid": "6942232517069259781",
                "username": "itestifythatthereisnogod",
                "verification_type": 0,
                "profile_photo": {
                    "thumb": "https://p16-useast2a.tiktokcdn.com/tos-useast2a-avt-0068-euttp/c7fa600b53689c0544a522913f183c5f~tplv-tiktokx-cropcenter-q:64:64:q70.heic?dr=10723&idc=useast5&nonce=66030&ps=87d6e48a&refresh_token=92c9908306417b65a6e2cedf11cd82f8&s=COMMENT_LIST&sc=avatar&shcp=ff37627b&shp=30310797&t=223449c4"
                }
            }
        },
        {
            "author_pin": false,
            "post_id": "7343128535550184710",
            "comment_id": "7353938647458956065",
            "comment_language": "en",
            "create_time": 1712222352,
            "likes_count": 1,
            "text": "all these theories ar just WILD...\napply for a job at Netflix i would watch this like the M.J. eating popcorn meme",
            "text_extra": [],
            "commenter": {
                "comment_setting": 0,
                "custom_verify": "",
                "fake_data_info": {},
                "follower_count": 0,
                "following_count": 0,
                "instagram_id": "",
                "is_ad_fake": false,
                "mention_status": "everyone",
                "nickname": "Dino K.",
                "sec_uid": "MS4wLjABAAAAnHpMj7fDOgapcKb7RlM_Sw7HXxAOYARAkvS7PBoOvLpzVNMh4fky3kmsWvpyFfTA",
                "uid": "6809654359887447046",
                "username": "dknow80",
                "verification_type": 0,
                "profile_photo": {
                    "thumb": "https://p16-sg.tiktokcdn.com/tos-alisg-avt-0068/7320621356532367362~tplv-tiktokx-cropcenter-q:64:64:q70.heic?dr=10723&idc=useast5&nonce=91750&ps=87d6e48a&refresh_token=a98acc93e52fbd28fc6827ba4502fab9&s=COMMENT_LIST&sc=avatar&shcp=ff37627b&shp=30310797&t=223449c4"
                }
            }
        },
        {
            "author_pin": false,
            "post_id": "7343128535550184710",
            "comment_id": "7345138279862387461",
            "comment_language": "en",
            "create_time": 1710176229,
            "likes_count": 26,
            "text": "now this makes sense",
            "text_extra": [],
            "commenter": {
                "comment_setting": 0,
                "custom_verify": "",
                "fake_data_info": {},
                "follower_count": 0,
                "following_count": 0,
                "instagram_id": "",
                "is_ad_fake": false,
                "mention_status": "everyone",
                "nickname": "It's your boy bongs",
                "sec_uid": "MS4wLjABAAAAiCQu0Sr40yRTJTloxbGmAr1W62ioLRzqAJJfAmTdyEr-_ff8IAhXkXF3lg1iHDZA",
                "uid": "7298601221437375494",
                "username": "yoboybongs",
                "verification_type": 0,
                "profile_photo": {
                    "thumb": "https://p16-amd-va.tiktokcdn.com/tos-maliva-avt-0068/8202a3a5b3c069702a1874640a6f6cd6~tplv-tiktokx-cropcenter-q:64:64:q70.heic?dr=10723&idc=useast5&nonce=89730&ps=87d6e48a&refresh_token=2f271bdf4c2bbe5b0372f786ee265d62&s=COMMENT_LIST&sc=avatar&shcp=ff37627b&shp=30310797&t=223449c4"
                }
            }
        },
        {
            "author_pin": false,
            "post_id": "7343128535550184710",
            "comment_id": "7344800050470617888",
            "comment_language": "en",
            "create_time": 1710094555,
            "likes_count": 6,
            "text": "Interesting",
            "text_extra": [],
            "commenter": {
                "comment_setting": 0,
                "custom_verify": "",
                "fake_data_info": {},
                "follower_count": 0,
                "following_count": 0,
                "instagram_id": "",
                "is_ad_fake": false,
                "mention_status": "everyone",
                "nickname": "olgag olgag",
                "sec_uid": "MS4wLjABAAAAoEhMytDgPVZbW_KQMCndpsgU5fxpyyxNbfsQ0Bzy1EinDVWMkwWb7kn4E3bQcgge",
                "uid": "7296588828050719777",
                "username": "olgag.olgag0",
                "verification_type": 0,
                "profile_photo": {
                    "thumb": "https://p16-useast2a.tiktokcdn.com/tos-useast2a-avt-0068-euttp/7296588868399136800~tplv-tiktokx-cropcenter-q:64:64:q70.heic?dr=10723&idc=useast5&nonce=59395&ps=87d6e48a&refresh_token=c041d87a4e499ce2f982d4d42ec10468&s=COMMENT_LIST&sc=avatar&shcp=ff37627b&shp=30310797&t=223449c4"
                }
            }
        },
        {
            "author_pin": false,
            "post_id": "7343128535550184710",
            "comment_id": "7354440537501483808",
            "comment_language": "en",
            "create_time": 1712339142,
            "likes_count": 1,
            "text": "this !!!",
            "text_extra": [],
            "commenter": {
                "comment_setting": 0,
                "custom_verify": "",
                "fake_data_info": {},
                "follower_count": 0,
                "following_count": 0,
                "instagram_id": "",
                "is_ad_fake": false,
                "mention_status": "everyone",
                "nickname": "Sin Kent",
                "sec_uid": "MS4wLjABAAAAmqPwEMGiTGp-_1ZI1Wa5XeCCfCNwmEiBo-3iK6gfIAaGUzGZe8EnOOjN_2P5GmAq",
                "uid": "6894638977668908037",
                "username": "sinkent",
                "verification_type": 0,
                "profile_photo": {
                    "thumb": "https://p16-sg.tiktokcdn.com/tos-alisg-avt-0068/7327770928564633602~tplv-tiktokx-cropcenter-q:64:64:q70.heic?dr=10723&idc=useast5&nonce=34789&ps=87d6e48a&refresh_token=843458d6821534507131145a1ca367fc&s=COMMENT_LIST&sc=avatar&shcp=ff37627b&shp=30310797&t=223449c4"
                }
            }
        }
    ],
    "pagination": {
        "cursor": "eyJvZmZzZXQiOjh9",
        "has_more": true,
        "total_comments": 1625
    }
}

Info

Description

Fetch a post info by its ID. for each post get statistics, author info, content (text, hashtags, media), music info, etc.

Endpoint

GET api/v1/realtime/social/tiktok/v1/post/{id}/info

Parameters

Param
Required
Param Type
Description

id

Yes

Path Param

String | The identifier of the post

Example Request
Example Response

Sub-Comments

Description

Get sub comments of a comment by its identifier and post ID. You can get the comment ID from the post comments endpoint. For each sub comment, get statistics, author info, content, etc. Up to 5 results per page.

Endpoint

GET api/v1/realtime/social/tiktok/v1/post/{post_id}/comment/{comment_id}/sub-comments

Parameters

Param
Required
Param Type
Description

post_id

Yes

Path Param

String | The post ID the comment belongs to

comment_id

Yes

Path Param

String | The comment ID

cursor

No

Query Param

String | Cursor for paginate data

Example Request
Example Response

Last updated