Sources › Social media › TikTok › Get Post Comments
TikTok Post Comments API
Komentar sebuah video TikTok beserta penulisnya. Catatan: statistik penulis komentar (followerCount, videoCount, dan sejenisnya) selalu 0 — sumber datanya tidak mengirim angka itu di daftar komentar. Pakai endpoint profile kalau butuh angka aslinya.
Request
https://api.zapi.ink/v1/social-media:tiktok-scraper/comments/:idSend your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 10 minutes.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| id | string | path | No | Video ID (numeric) atau full TikTok URL Example: 7554652158981983544 |
| url | string | query | No | Full TikTok video URL — alias untuk id (dipakai bulk async scraping) |
| page | number | query | No | Nomor halaman. Default 1 |
| count | number | query | No | Jumlah komentar per page. Default 20, max 50 |
Code examples
curl -X GET "https://api.zapi.ink/v1/social-media:tiktok-scraper/comments/7554652158981983544?url=&page=&count=" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/social-media:tiktok-scraper/comments/7554652158981983544?url=&page=&count=", { method: "GET", headers: { "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" }, }); const data = await res.json(); console.log(data);
import requests res = requests.get( "https://api.zapi.ink/v1/social-media:tiktok-scraper/comments/7554652158981983544", params={"url":"","page":"","count":""}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "social-media:tiktok-scraper", "data": { "page": 1, "count": 7, "total": 22379, "hasMore": true, "videoId": "7659558620098465055", "comments": [ { "text": "I LOVE YOU OMGGGG THANK YOU", "author": { "id": "7082730284035130410", "avatar": "https://p16-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/64c15499b4abf1ae4291fa5141246716~tplv-tiktokx-cropcenter-q:100:100:q70.jpeg?dr=8835&idc=useast5&ps=87d6e48a&refresh_token=516d1459&s=COMMENT_LIST&sc=avatar&shcp=ff37627b&shp=30310797&t=223449c4&x-expires=1784707200&x-signature=dHw7M6piwhRRByLfhL9fg3Bu5TM%3D", "region": "US", "nickname": "riley", "username": "rileylovesguineapigz", "followerCount": 0 }, "images": [], "videoId": "7659558620098465055", "commentId": "7659558849795572511", "diggCount": 117418, "createTime": 1783380036, "replyCount": 85, "createTimeIso": "2026-07-06T23:20:36.000Z" }, { "text": "yo mrbeast my 1 million dollars broke down", "author": { "id": "7620528461370770452", "avatar": "https://p19-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/856555478564b1e097eda42aa6daea72~tplv-tiktokx-cropcenter-q:100:100:q70.jpeg?dr=8835&idc=useast5&ps=87d6e48a&refresh_token=c6dccbd4&s=COMMENT_LIST&sc=avatar&shcp=ff37627b&shp=30310797&t=223449c4&x-expires=1784707200&x-signature=kthKfZvh7IEwEqCRMZtsk5ojcyE%3D", "region": "PK", "nickname": "👑CALL ME SAMEER👑", "username": "callmesameer16", "followerCount": 0 }, "images": [], "videoId": "7659558620098465055", "commentId": "7659683020446958337", "diggCount": 3290, "createTime": 1783408974, "replyCount": 7, "createTimeIso": "2026-07-07T07:22:54.000Z" }, { "text": "She wasn’t even following? 😭", "author": { "id": "7395868844667946027", "avatar": "https://p19-common-sign.tiktokcdn-us.com/tos-useast8-avt-0068-tx2/aa81decc71eb29e6cf5ed75849bef515~tplv-tiktokx-cropcenter-q:100:100:q70.jpeg?dr=8835&idc=useast5&ps=87d6e48a&refresh_token=e6f9191a&s=COMMENT_LIST&sc=avatar&shcp=ff37627b&shp=30310797&t=223449c4&x-expires=1784707200&x-signature=DyOagIgjnHbEu3Pn%2BJSgTuZbDMg%3D", "region": "US", "nickname": "CoTW/CT(AKA_BLAKE)💙", "username": "cotw_clips9673", "followerCount": 0 }, "images": [], "videoId": "7659558620098465055", "commentId": "7659946464688259870", "diggCount": 18583, "createTime": 1783470291, "replyCount": 26, "createTimeIso": "2026-07-08T00:24:51.000Z" }, { "text": "Bro should consider making a YouTube Channel", "author": { "id": "7357402926577517574", "avatar": "https://p19-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/6e1603b62f4c8224699762fedd588643~tplv-tiktokx-cropcenter-q:100:100:q70.jpeg?dr=8835&idc=useast5&ps=87d6e48a&refresh_token=a35e33bd&s=COMMENT_LIST&sc=avatar&shcp=ff37627b&shp=30310797&t=223449c4&x-expires=1784707200&x-signature=AOL9WD6RH3kfsXiiP%2FVx9Te8d7Q%3D", "region": "PK", "nickname": "ssalaajikyl", "username": "ssalaajikyl", "followerCount": 0 }, "images": [], "videoId": "7659558620098465055", "commentId": "7659566632197997313", "diggCount": 7478, "createTime": 1783381848, "replyCount": 25, "createTimeIso": "2026-07-06T23:50:48.000Z" }, { "text": "I love him", "author": { "id": "6669850252496093190", "avatar": "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/9f4315a2c636415c918dc81fd0963d64~tplv-tiktokx-cropcenter-q:100:100:q70.jpeg?dr=8835&idc=useast5&ps=87d6e48a&refresh_token=10fd83f5&s=COMMENT_LIST&sc=avatar&shcp=ff37627b&shp=30310797&t=223449c4&x-expires=1784707200&x-signature=Ev13JzCt5nqVK3Qb4%2BSuWqvLK0w%3D", "region": "US", "nickname": "Brandon Max", "username": "itsbrandonmax", "followerCount": 0 }, "images": [], "videoId": "7659558620098465055", "commentId": "7659928117440168718", "diggCount": 1867, "createTime": 1783466021, "replyCount": 36, "createTimeIso": "2026-07-07T23:13:41.000Z" }, { "text": "dead internet theory proven", "author": { "id": "7537075067378009106", "avatar": "https://p19-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/485c549f0d4e7450c135f191565ba3a6~tplv-tiktokx-cropcenter-q:100:100:q70.jpeg?dr=8835&idc=useast5&ps=87d6e48a&refresh_token=63d85141&s=COMMENT_LIST&sc=avatar&shcp=ff37627b&shp=30310797&t=223449c4&x-expires=1784707200&x-signature=iHABT79WiKWrKHdD4pOU5cYoIIY%3D", "region": "DZ", "nickname": "moony", "username": "moonyvoid_", "followerCount": 0 }, "images": [], "videoId": "7659558620098465055", "commentId": "7659563601674502932", "diggCount": 193, "createTime": 1783381158, "replyCount": 6, "createTimeIso": "2026-07-06T23:39:18.000Z" }, { "text": "Mrs aap reply Nahin dete", "author": { "id": "7650415663802696725", "avatar": "https://p16-common-sign.tiktokcdn-us.com/tos-alisg-avt-0068/b098a56a605eb44750e8033f5fadb9b4~tplv-tiktokx-cropcenter-q:100:100:q70.jpeg?dr=8835&idc=useast5&ps=87d6e48a&refresh_token=d97911a6&s=COMMENT_LIST&sc=avatar&shcp=ff37627b&shp=30310797&t=223449c4&x-expires=1784707200&x-signature=VeXKDcGZ8tFeU2UtblO67tZhEu8%3D", "region": "PK", "nickname": "🖤Ali🔥 Waris🫵", "username": "aliwaris..6", "followerCount": 0 }, "images": [], "videoId": "7659558620098465055", "commentId": "7664880510318183189", "diggCount": 0, "createTime": 1784619082, "replyCount": 0, "createTimeIso": "2026-07-21T07:31:22.000Z" } ], "nextPage": 2 }, "timestamp": "2026-06-13T03:11:01Z" }
Frequently asked questions
How do I call the TikTok Post Comments API?
Send a GET request to https://api.zapi.ink/v1/social-media:tiktok-scraper/comments/:id with your Zapi key in the x-api-key header. Parameters — optional: id, url, page, count. The response is JSON in the { project, data, timestamp } envelope.
What does the TikTok Post Comments API return?
Komentar sebuah video TikTok beserta penulisnya. The example response has the fields page, count, total, hasMore, videoId, comments, nextPage. Each item in comments has fields such as text, author, images, videoId, commentId, diggCount, createTime, replyCount.
Is the TikTok Post Comments API free?
Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.
Can an AI assistant call the TikTok Post Comments API?
Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "tiktok-scraper" and endpoint "comments".
What other TikTok API endpoints are there?
It has 21 endpoints. Besides Get Post Comments: Get User Profile, Get User Posts, Get Detail Post, Get Hashtag Info, Get Hashtag Posts, Search Videos, and 14 more.