Search YouTube Shorts by keyword
tikhub.x.youtube-web-v2-get-shorts-searchYoutube: get shorts search (web_v2)
- Price
- $0.001/successプロバイダー原価
- Success rate
- 100%Last 30 days · 2,474 calls
- Latency p50
- 1.6 sp95 2.7 s
- Last verified
- 2026/07/28Verified working
GEThttps://toolswitch.dev/v1/tools/tikhub.x.youtube-web-v2-get-shorts-search?time_zone=America%2FLos_Angeles&country_code=US&search_query=Python%E7%BC%96%E7%A8%8B&language_code=en-US&filter_mixed_content=truePreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
sort_by | other | 任意 | 排序方式 | Sort by for Shorts | |
time_zone | 文字列 | 任意 | Time zone | America/Los_Angeles |
upload_time | other | 任意 | 上传时间过滤 | Upload time filter for Shorts | |
country_code | 文字列 | 任意 | Country code | US |
search_query | 文字列 | 必須 | Search keyword | Python编程 |
language_code | 文字列 | 任意 | Language code | en-US |
continuation_token | other | 任意 | Pagination token | |
filter_mixed_content | 真偽値 | 任意 | Filter mixed content (long videos), default True | true |
- クエリパラメータ
sort_byother任意排序方式 | Sort by for Shorts
time_zone文字列任意Time zone
例:
America/Los_Angelesupload_timeother任意上传时间过滤 | Upload time filter for Shorts
country_code文字列任意Country code
例:
USsearch_query文字列必須Search keyword
例:
Python编程language_code文字列任意Language code
例:
en-UScontinuation_tokenother任意Pagination token
filter_mixed_content真偽値任意Filter mixed content (long videos), default True
例:
true
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.x.youtube-web-v2-get-shorts-search?time_zone=America%2FLos_Angeles&country_code=US&search_query=Python%E7%BC%96%E7%A8%8B&language_code=en-US&filter_mixed_content=true' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tikhub.x.youtube-web-v2-get-shorts-search?time_zone=America%2FLos_Angeles&country_code=US&search_query=Python%E7%BC%96%E7%A8%8B&language_code=en-US&filter_mixed_content=true",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.x.youtube-web-v2-get-shorts-search?time_zone=America%2FLos_Angeles&country_code=US&search_query=Python%E7%BC%96%E7%A8%8B&language_code=en-US&filter_mixed_content=true", {
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.001/success です。サービス料を含みます。