TikTok user videos by username or id
scrapecreators.x.v3-tiktok-profile-videosFetches videos posted by a TikTok user, sortable by latest or most popular — use this to get a creator's video feed or TikToks.
- 价格
- $0.00188/call按供应商原价
- 成功率
- 99.6%近 30 天 · 47,726 次
- 延迟 p50
- 3.1 秒p95 6.1 秒
- 最后验证
- —尚未验证
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v3-tiktok-profile-videos?handle=stoolpresidente预览在线试用即将上线供应商文档 ↗
- 可用平台额度调用
- 同步返回
- 读取公开数据
参数
| 参数 | 类型 | 必填 | 说明 | 示例 |
|---|---|---|---|---|
| 查询参数 | ||||
trim | 布尔 | 可选 | Set to true for a trimmed down version of the response | false |
handle | 字符串 | 必填 | TikTok handle | stoolpresidente |
region | 字符串 | 可选 | Region (country) for the proxy. Defaults to GB. If a profile should have videos but returns none, try US or another relevant two-letter country code. | GB |
sort_by | 字符串 | 可选 | What to sort by | latest |
user_id | 字符串 | 可选 | TikTok user id. Use this for faster responses. | 6659752019493208069 |
max_cursor | 字符串 | 可选 | Cursor to get more videos. Get 'max_cursor' from previous response. | 1734562353000 |
- 查询参数
trim布尔可选Set to true for a trimmed down version of the response
示例:
falsehandle字符串必填TikTok handle
示例:
stoolpresidenteregion字符串可选Region (country) for the proxy. Defaults to GB. If a profile should have videos but returns none, try US or another relevant two-letter country code.
示例:
GBsort_by字符串可选What to sort by
示例:
latestuser_id字符串可选TikTok user id. Use this for faster responses.
示例:
6659752019493208069max_cursor字符串可选Cursor to get more videos. Get 'max_cursor' from previous response.
示例:
1734562353000
代码示例
将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。
预览
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.x.v3-tiktok-profile-videos?handle=stoolpresidente' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/scrapecreators.x.v3-tiktok-profile-videos?handle=stoolpresidente",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/scrapecreators.x.v3-tiktok-profile-videos?handle=stoolpresidente", {
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());网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 $0.00188/call 计费,已含服务费。