Douyin user videos by user id, newest or most popular
justoneapi.x.douyin-get-user-video-list-v1Retrieves videos published by a Douyin (TikTok China) user, with cursor pagination and newest or most-popular sorting.
- Price
- $0.01476/successプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- 2026/07/28Verified working
GEThttps://toolswitch.dev/v1/tools/justoneapi.x.douyin-get-user-video-list-v1?secUid=MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM&sortType=LATEST&maxCursor=0Preview- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
secUid | 文字列 | 必須 | The unique user ID (sec_user_id) on Douyin. | MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM |
sortType | 文字列 | 任意 | Sort order: `LATEST` for newest first (default), or `MOST_POPULAR` for most popular first. Available Values: - `LATEST`: Newest first (default) - `MOST_POPULAR`: Most popular first One of: LATEST, MOST_POPULAR. | LATEST |
maxCursor | 文字列 | 任意 | Pagination cursor; use 0 for the first page, and the `max_cursor` from the previous response for subsequent pages. | 0 |
- クエリパラメータ
secUid文字列必須The unique user ID (sec_user_id) on Douyin.
例:
MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiMsortType文字列任意Sort order: `LATEST` for newest first (default), or `MOST_POPULAR` for most popular first. Available Values: - `LATEST`: Newest first (default) - `MOST_POPULAR`: Most popular first One of: LATEST, MOST_POPULAR.
例:
LATESTmaxCursor文字列任意Pagination cursor; use 0 for the first page, and the `max_cursor` from the previous response for subsequent pages.
例:
0
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/justoneapi.x.douyin-get-user-video-list-v1?secUid=MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM&sortType=LATEST&maxCursor=0' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/justoneapi.x.douyin-get-user-video-list-v1?secUid=MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM&sortType=LATEST&maxCursor=0",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/justoneapi.x.douyin-get-user-video-list-v1?secUid=MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM&sortType=LATEST&maxCursor=0", {
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());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.01476/success です。サービス料を含みます。