跳到主内容

GET /v1/youtube/web_v2/search_channels

搜索频道

stable · 2 credits / 次(成功才计)

搜索YouTube频道;只返回频道类型的搜索结果(过滤掉视频、播放列表等);支持分页获取更多频道;keyword: 搜索关键词(首次请求必填);continuation_token: 分页token(可选,用于获取下一页);need_format: 是否格式化数据(默认 true);- true: 返回格式化的结构化数据(推荐);- false: 返回原始的 YouTube API 结构(用于调试);返回数据包含;当 need_format=true 时;keyword: 搜索关键词;channels: 频道列表;- channel_id: 频道ID(如 "UCjuNibFJ21MiSNpu8LZyV4w");- title: 频道名称;- handle: 频道自定义handle(如 "@chaijing2023");- subscriber_count_text: 订阅者数量文本(如 …

注册即送 500 credits,用自己的 Key 试调。 免费注册

请求

curl
curl -s 'https://api.wellbyte.net/v1/youtube/web_v2/search_channels?keyword=Rick%20Astley&need_format=true&continuation_token=demo' \
  -H "Authorization: Bearer dg_live_…"

响应

示例采集于 2026-09-23

data{
code:0
data{
keyword:"Rick Astley"
channels[ 0 items ]
has_more:false
total_count:0
continuation_token:null
}
meta{
endpoint:"youtube.web_v2.search_channels"
cache_hit:false
elapsed_ms:0
request_id:"req_sample"
credits_charged:0
}
message:"ok"
}

请求历史

打开完整日志

还没有调用记录。先跑通一次,再换成你的数据。

    请求参数

    参数类型位置必填说明示例
    keywordstringquery否搜索关键词Rick Astley
    need_formatbooleanquery否是否格式化数据true
    continuation_tokenstringquery否分页tokendemo

    响应字段

    字段字典待补 —— 右侧可执行区可直接看到真实结构。

    错误码

    codeHTTP含义是否计费
    40001400参数缺失或格式错误否
    40102401API Key 无效或已吊销否
    40201402余额不足,请充值否
    40402404目标资源不存在否
    42201422质量门槛未通过否
    42901429超出速率限制否
    50401504上游超时否
    50201502上游返回异常否

    计费

    成功扣 2 credits;任何失败(含返回 200 但未过质量门槛)扣 0。

    全部YouTube端点 →

    搜索

    搜索端点与文档