YouTubeYouTubeSocial

Your YouTube channel profile — subscribers, views

youtube.youtube.channel.profile

Get your YouTube channel's profile and lifetime stats (subscribers, views, video count)

价格
free按供应商原价
成功率
100%近 30 天 · 3,403 次
延迟 p50
93 毫秒p95 240 毫秒
最后验证
2026年7月28日实测可用
GEThttps://toolswitch.dev/v1/tools/youtube.youtube.channel.profile?id=UCBR8-60-B28hp2BmDPdntcQ&part=snippet%2Cstatistics预览
  • 可用平台额度调用
  • 同步返回
  • 读取公开数据

参数

exactly one of mine | id | forHandle. contentDetails.relatedPlaylists.uploads from part=contentDetails is the uploads playlist id needed by youtube.channel.videos.uploads

参数类型必填说明示例
查询参数
id字符串可选UC… channel id — use INSTEAD of mine to read any public channelUCX6OQ3DkcsbYNE6H8uQQuVA
mine布尔可选true = the connected account's own channeltrue
part字符串必填comma-separated resource parts; snippet+statistics is the useful pairsnippet,statistics
forHandle字符串可选@handle — resolves a handle to a channel@MrBeast
  • 查询参数
  • id字符串可选

    UC… channel id — use INSTEAD of mine to read any public channel

    示例:UCX6OQ3DkcsbYNE6H8uQQuVA

  • mine布尔可选

    true = the connected account's own channel

    示例:true

  • part字符串必填

    comma-separated resource parts; snippet+statistics is the useful pair

    示例:snippet,statistics

  • forHandle字符串可选

    @handle — resolves a handle to a channel

    示例:@MrBeast

代码示例

将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。

预览
curl -X GET 'https://toolswitch.dev/v1/tools/youtube.youtube.channel.profile?id=UCBR8-60-B28hp2BmDPdntcQ&part=snippet%2Cstatistics' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 free 计费,已含服务费。