Your TikTok videos — views, likes, comments, shares
tiktok.tiktok.user.videosList your own TikTok videos with view, like, comment and share counts
- Price
- freeAt provider cost
- Success rate
- 100%Last 30 days · 5,200 calls
- Latency p50
- 534 msp95 901 ms
- Last verified
- —Not verified yet
POSThttps://toolswitch.dev/v1/tools/tiktok.tiktok.user.videosPreviewTry onlineComing soonProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parameters
fields ride in the QUERY STRING, paging in the JSON BODY — an easy thing to get backwards. Response carries has_more + cursor. Only videos of the authorized creator are ever returned; there is no way to list another user's videos on this API
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
fields | string | Required | comma-separated video fields | id,title,video_description,duration,cover_image_url,share_url,create_time,view_count,like_count,comment_count,share_count |
- Query parameters
fieldsstringRequiredcomma-separated video fields
Example:
id,title,video_description,duration,cover_image_url,share_url,create_time,view_count,like_count,comment_count,share_count
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
Preview
curl -X POST 'https://toolswitch.dev/v1/tools/tiktok.tiktok.user.videos' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/tiktok.tiktok.user.videos",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tiktok.tiktok.user.videos", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
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 free, including the service fee.