Comments of a TikTok post
crawl4ai.tiktok.video.commentsThe top-level comments of one public TikTok post, in TikTok's own order (most relevant first), one row per comment: text, time, likes, reply count, the commenter, whether the creator liked it, its language. `post` is the post's URL or its id; `limit` how many comments (default 50, at most 500; TikTok shows a visitor about 350 to 450 per post). About 1 s per 50; when TikTok does not answer, a slower second source does. When TikTok stops answering partway, the comments read so far come back with a warning that the list stopped early. Columns: comment_id, post_id, text, created_at, likes, replies, author, liked_by_creator, language.
- Price
- $0.0005/successAt provider cost
- Success rate
- —No success-rate data yetNo success-rate data yet
- Latency p50
- ——
- Last verified
- Oct 11, 2026Verified working
POSThttps://toolswitch.dev/v1/tools/crawl4ai.tiktok.video.commentsPreview- Uses platform quota
- Synchronous response
- Reads public data
Parameters
This tool has no parameters. See provider docs ↗ Provider docs
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
curl -X POST 'https://toolswitch.dev/v1/tools/crawl4ai.tiktok.video.comments' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"post":"7654036719242726670"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/crawl4ai.tiktok.video.comments",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"post\":\"7654036719242726670\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/crawl4ai.tiktok.video.comments", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"post\":\"7654036719242726670\"}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.0005/success, including the service fee.