How to get TikTok comments
GET request to /v1/tiktok/comments with your input. You get clean JSON back in seconds for 2 credits per call — no OAuth, scraping or platform SDKs. TikTok comments — clean schema plus authorName, stable authorId/authorSecUid and commentLanguage for listening loops. Unresolvable videos are 404 at 0 credits.How to get TikTok comments (step by step)
- 1
Get a free API key
Create a free Captapi account (100 credits, no card) and generate an API key from the dashboard.
- 2
Call the TikTok Comments API
Send an authenticated GET request to /v1/tiktok/comments with your input. No OAuth, no scraping setup.
- 3
Read the JSON response
Parse the clean JSON response. Pass cache=true for a free 24h cache hit; default is always fresh.
Code example
curl "https://api.captapi.com/v1/tiktok/comments?url=https%3A%2F%2Fwww.tiktok.com%2F%40khaby.lame%2Fvideo%2F7646812028874673439" \
-H "Authorization: Bearer capt_live_..."
# or: -H "x-api-key: capt_live_..."What the response looks like
{
"success": true,
"data": {
"platform": "tiktok",
"url": "https://www.tiktok.com/@khaby.lame/video/7646812028874673439",
"totalComments": 824,
"totalReturned": 2,
"comments": [
{
"id": "7646834545992696596",
"text": "Mr beast 500 million 🥰🇧🇩",
"author": "yeasin3344556677",
"authorAvatarUrl": "https://p16-common-sign.tiktokcdn-eu.com/tos-alisg-avt-0068/1e20d2d83b1200c623f0dec26603356f~tplv-tiktokx-cropcenter-q:100:100:q70.webp?dr=9606&idc=useast2b&ps=87d6e48a&refresh_token=7098d2d1&s=COMMENT_LIST&sc=avatar&shcp=5597e28e&shp=30310797&t=223449c4&x-expires=1784300400&x-signature=%2FbEc5ajSBQOMXt9rOeQY8GO%2Beh8%3D",
"likeCount": 223,
"publishedAt": "2026-06-02T16:23:41.000Z",
"authorId": "6958917445306926086",
"commentLanguage": "en",
"replyCount": 14,
"authorSecUid": null,
"authorName": "yeasin3344556677"
},
{
"id": "7647102586621297429",
"text": "С каждым лайком нос растёт",
"author": "gudingar",
"authorAvatarUrl": "https://p16-common-sign.tiktokcdn-eu.com/tos-alisg-avt-0068/56317ccbf99872b4f14448d7fb959826~tplv-tiktokx-cropcenter-q:100:100:q70.webp?dr=9606&idc=useast2b&ps=87d6e48a&refresh_token=9f5971b4&s=COMMENT_LIST&sc=avatar&shcp=5597e28e&shp=30310797&t=223449c4&x-expires=1784300400&x-signature=FXHzE%2FNLM2v17bh45RTPVfe8%2BDA%3D",
"likeCount": 635,
"publishedAt": "2026-06-03T09:43:54.000Z",
"authorId": "6958917445306926086",
"commentLanguage": "ru",
"replyCount": 0,
"authorSecUid": null,
"authorName": "gudingar"
}
],
"nextCursor": "2",
"hasMore": true
}
}Billing metadata (credits charged, cache hit/miss) is returned in the X-Captapi-Credits and X-Captapi-Cache response headers.
Request parameters
| Name | Type | Required | Description |
|---|---|---|---|
| url | string | Yes | Public TikTok video URL, e.g. https://www.tiktok.com/@khaby.lame/video/7646812028874673439. Not a YouTube/Instagram/Facebook URL. The URL platform must match this endpoint's platform. Do not pass cross-platform URLs, e.g. YouTube to TikTok, Instagram to Facebook, LinkedIn to X/Twitter, or Pinterest to Rumble. |
| limit | integer | No | Max items to return (default 50, max 500). Flat 2 credits per call. |
| cursor | string | No | Pagination cursor. Leave empty for the first page; then pass the nextCursor value returned in the previous response (a numeric offset, e.g. 50). A null nextCursor means the end of the comments. |
| cache | boolean | No | Set true to serve from the 24h response cache (0 credits on hit). Default false — always fetch fresh. |
Frequently asked questions
What does the TikTok Comments API do?
The TikTok Comments API lets you pull comments with author, text, likes, and replies from a public TikTok video using one GET request to /v1/tiktok/comments. It returns clean JSON — no OAuth or infrastructure setup required.
How many credits does the TikTok Comments API cost?
Each successful call costs 2 credits. Pass cache=true to serve from the 24h cache (0 credits on hit); default is always fresh. Selected profile endpoints also accept cacheMaxAge=1d|3d|7d|14d|30d. Failed or empty results are never charged.
Do I need a TikTok API key or OAuth?
No. A single Captapi key works across every platform Captapi supports — YouTube, TikTok, Instagram, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, LinkedIn, Rumble, Spotify, Kwai, and more. We handle proxies, rate limits, retries, and authentication for you.
What happens when the video does not exist?
HTTP 404 at 0 credits — the same answer /tiktok/video-details already gives for that URL. Comments never returns 200 with a synthesised row (an empty-text comment and totalReturned: 1). Zero is a number people act on; a miss is not a thread.
What does degraded / degradedReason mean?
When TikTok's native comment API is blocked, the first page may come from the extended actor. Those responses set degraded=true and degradedReason=extended. hasMore is still a boolean (false — the actor cannot page) and totalComments stays on the envelope. Retry the call if you need the native cursor.
Is the TikTok Comments API suitable for production use?
Yes. It is a stable REST endpoint with predictable JSON and automatic retries. Pass cache=true to serve from the 24h cache (0 credits on hit); default is always fresh. Selected profile endpoints also accept cacheMaxAge=1d|3d|7d|14d|30d. Use it for analytics, monitoring, and content automation.
Ready to get TikTok comments?
Start free with 100 credits — no credit card required.
Get your free API key