TikTok user's recent videos by secUid
tikhub.tiktok.user.videosRecent videos posted by a TikTok user (keyed by secUid, not username)
- Price
- $0.001/successZum Anbieterpreis
- Success rate
- 100 %Last 30 days · 91.582 calls
- Latency p50
- 518 msp95 1.2 s
- Last verified
- 04.10.2026Verified working
GEThttps://toolswitch.dev/v1/tools/tikhub.tiktok.user.videos?count=5&secUid=MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiMPreviewTry onlineDemnächstProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parameter
| Parameter | Typ | Erforderlich | Beschreibung | Beispiel |
|---|---|---|---|---|
| Abfrageparameter | ||||
count | Ganzzahl | Optional | items per page (default 20) | 5 |
cursor | Ganzzahl | Optional | page cursor | 0 |
secUid | Zeichenkette | Erforderlich | user secUid — obtain it from tiktok.user.profile first; this endpoint does NOT accept a username | MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM |
coverFormat | Ganzzahl | Optional | cover image format (default 2) | |
post_item_list_request_type | Ganzzahl | Optional | sort type (default 0) | |
- Abfrageparameter
countGanzzahlOptionalitems per page (default 20)
Beispiel:
5cursorGanzzahlOptionalpage cursor
Beispiel:
0secUidZeichenketteErforderlichuser secUid — obtain it from tiktok.user.profile first; this endpoint does NOT accept a username
Beispiel:
MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiMcoverFormatGanzzahlOptionalcover image format (default 2)
post_item_list_request_typeGanzzahlOptionalsort type (default 0)
Codebeispiele
Ersetze $TOOLSWITCH_KEY durch den in der Konsole erstellten Schlüssel.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.tiktok.user.videos?count=5&secUid=MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tikhub.tiktok.user.videos?count=5&secUid=MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.tiktok.user.videos?count=5&secUid=MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Diese Gateway-API ist eine Vorschauversion; URL und Authentifizierung können sich ändern. Die Beispielparameter sind Musterdaten. Aufrufe werden mit $0.001/success einschließlich Servicegebühr abgerechnet.