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.
- Price
- $0.00188/callプロバイダー原価
- Success rate
- 99.6%Last 30 days · 47,726 calls
- Latency p50
- 3.1 sp95 6.1 s
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/scrapecreators.x.v3-tiktok-profile-videos?handle=stoolpresidentePreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
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 をコンソールで作成したキーに置き換えてください。
Preview
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());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.00188/call です。サービス料を含みます。