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/successAt provider cost
- Success rate
- —No success-rate data yetNo success-rate data yet
- Latency p50
- ——
- Last verified
- Jul 28, 2026Verified 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
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
secUid | string | Required | The unique user ID (sec_user_id) on Douyin. | MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM |
sortType | string | Optional | 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 | string | Optional | Pagination cursor; use 0 for the first page, and the `max_cursor` from the previous response for subsequent pages. | 0 |
- Query parameters
secUidstringRequiredThe unique user ID (sec_user_id) on Douyin.
Example:
MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiMsortTypestringOptionalSort 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.
Example:
LATESTmaxCursorstringOptionalPagination cursor; use 0 for the first page, and the `max_cursor` from the previous response for subsequent pages.
Example:
0
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
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());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.01476/success, including the service fee.