A TikTok account's latest videos
crawl4ai.tiktok.user.videosThe latest videos of one public TikTok account, newest first, one row per video: its text and hashtags, when it was posted, the author, plays, likes, comments, shares and saves, length, cover and sound. `account` is the @handle, the profile URL, or TikTok's secUid (MS4wLjABAAAA…, one call less); `limit` how many videos (default 20, at most 100). About 1 to 3 s; when TikTok does not answer, a slower second source does for a handle (minutes). An unknown or private account gives 0 rows with the reason in the warnings. Columns: post_id, url, description, hashtags, created_at, author, stats, duration_s, cover, music.
- Price
- $0.0005/successAt provider cost
- Success rate
- 96.6%Last 30 days · 23,310 calls
- Latency p50
- 1.6 sp95 7.9 s
- Last verified
- Oct 11, 2026Verified working
POSThttps://toolswitch.dev/v1/tools/crawl4ai.tiktok.user.videosPreview- 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.user.videos' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"account":"nasa"}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/crawl4ai.tiktok.user.videos",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"account\":\"nasa\"}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/crawl4ai.tiktok.user.videos", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"account\":\"nasa\"}")),
});
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.