One TikTok post
crawl4ai.tiktok.video.detailOne public TikTok video post as one row: its text and hashtags, when it was posted, the author (handle, name, followers, verified), plays, likes, comments, shares and saves, length, cover, sound and subtitles. `post` is the post's URL or its id (the long number after /video/). About 1 s; when TikTok does not answer, a slower second source does. Columns: post_id, url, description, hashtags, created_at, author, stats, duration_s, cover, music, subtitles, region.
- Price
- $0.0005/successAu prix du fournisseur
- Success rate
- 99,1 %Last 30 days · 3 431 calls
- Latency p50
- 831 msp95 3.3 s
- Last verified
- 11 oct. 2026Verified working
POSThttps://toolswitch.dev/v1/tools/crawl4ai.tiktok.video.detailPreview- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
Cet outil n’a pas de paramètres. Voir la doc du fournisseur ↗ Provider docs
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
curl -X POST 'https://toolswitch.dev/v1/tools/crawl4ai.tiktok.video.detail' \
-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.detail",
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.detail", {
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());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.0005/success, frais de service inclus.