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/successAl precio del proveedor
- Success rate
- —Aún no hay datos de tasa de éxitoAún no hay datos de tasa de éxito
- Latency p50
- ——
- Last verified
- 11 oct 2026Verified working
POSThttps://toolswitch.dev/v1/tools/crawl4ai.tiktok.video.commentsPreview- Uses platform quota
- Synchronous response
- Reads public data
Parámetros
Esta herramienta no tiene parámetros. Consulta la documentación del proveedor ↗ Provider docs
Ejemplos de código
Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.
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());La API de la pasarela está en versión preliminar; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a $0.0005/success, incluida la tarifa de servicio.