Search TikTok videos by keyword
scrapecreators.tiktok.search.videosSearches for TikTok videos by keyword or phrase — the general video search across all of TikTok.
- Price
- $0.00188/callプロバイダー原価
- Success rate
- 99.6%Last 30 days · 12,085 calls
- Latency p50
- 3.8 sp95 5.5 s
- Last verified
- 2026/07/28Verified working
GEThttps://toolswitch.dev/v1/tools/scrapecreators.tiktok.search.videos?query=ai&date_posted=all-timePreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
trim | 真偽値 | 任意 | Set to true for a trimmed response | |
query | 文字列 | 必須 | Keyword to search for | ai |
cursor | 数値 | 任意 | Pagination cursor from previous response cursor field | 10 |
region | 文字列 | 任意 | Does NOT filter results to that region only — it places the proxy there (use for geo-restricted posts). 2-letter codes like US, GB, FR | |
sort_by | 文字列 | 任意 | Sort by | relevance |
date_posted | 文字列 | 任意 | Time frame | all-time |
- クエリパラメータ
trim真偽値任意Set to true for a trimmed response
query文字列必須Keyword to search for
例:
aicursor数値任意Pagination cursor from previous response cursor field
例:
10region文字列任意Does NOT filter results to that region only — it places the proxy there (use for geo-restricted posts). 2-letter codes like US, GB, FR
sort_by文字列任意Sort by
例:
relevancedate_posted文字列任意Time frame
例:
all-time
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/scrapecreators.tiktok.search.videos?query=ai&date_posted=all-time' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/scrapecreators.tiktok.search.videos?query=ai&date_posted=all-time",
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.tiktok.search.videos?query=ai&date_posted=all-time", {
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 です。サービス料を含みます。