Your TikTok videos — views, likes, comments, shares
tiktok.tiktok.user.videosList your own TikTok videos with view, like, comment and share counts
- Price
- freeプロバイダー原価
- 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 online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
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
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
fields | 文字列 | 必須 | comma-separated video fields | id,title,video_description,duration,cover_image_url,share_url,create_time,view_count,like_count,comment_count,share_count |
- クエリパラメータ
fields文字列必須comma-separated video fields
例:
id,title,video_description,duration,cover_image_url,share_url,create_time,view_count,like_count,comment_count,share_count
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
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());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は free です。サービス料を含みます。