Search YouTube videos by keyword and filters
tikhub.youtube.search.videosSearch YouTube by keyword (filter type=video for videos only)
- Price
- $0.002/success제공업체 원가
- Success rate
- 100%Last 30 days · 42,337 calls
- Latency p50
- 1.6 sp95 3.3 s
- Last verified
- 2026. 7. 28.Verified working
GEThttps://toolswitch.dev/v1/tools/tikhub.youtube.search.videos?type=video&keyword=coffeePreviewTry online출시 예정Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
파라미터
| 파라미터 | 유형 | 필수 | 설명 | 예시 |
|---|---|---|---|---|
| 쿼리 파라미터 | ||||
type | 문자열 | 선택 | video | channel | playlist | movie | video |
keyword | 문자열 | 필수 | required on the first request; omit when paging with continuation_token | coffee |
sort_by | 문자열 | 선택 | relevance | upload_date | view_count | rating | |
duration | 문자열 | 선택 | short (<4min) | medium (4-20min) | long (>20min) | |
features | 문자열 | 선택 | comma-separated: live, 4k, hd, subtitles, creative_commons, 360, vr180, 3d, hdr | |
upload_date | 문자열 | 선택 | last_hour | today | this_week | this_month | this_year | |
continuation_token | 문자열 | 선택 | pagination token for the next page | |
- 쿼리 파라미터
type문자열선택video | channel | playlist | movie
예시:
videokeyword문자열필수required on the first request; omit when paging with continuation_token
예시:
coffeesort_by문자열선택relevance | upload_date | view_count | rating
duration문자열선택short (<4min) | medium (4-20min) | long (>20min)
features문자열선택comma-separated: live, 4k, hd, subtitles, creative_commons, 360, vr180, 3d, hdr
upload_date문자열선택last_hour | today | this_week | this_month | this_year
continuation_token문자열선택pagination token for the next page
코드 예제
$TOOLSWITCH_KEY를 콘솔에서 생성한 키로 바꾸세요.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.youtube.search.videos?type=video&keyword=coffee' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tikhub.youtube.search.videos?type=video&keyword=coffee",
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.youtube.search.videos?type=video&keyword=coffee", {
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.002/success이며 서비스 수수료가 포함되어 있습니다.