从频道URL获取频道ID V2/Get channel ID from URL V2
[中文]#
用途:#
从YouTube频道URL转换获取频道ID(channel_id)。
支持多种URL格式,包括@用户名格式、/channel/格式、/c/格式、/user/格式。
参数:#
返回:#
channel_id: 频道ID(如:UCeu6U67OzJhV1KwBansH3Dg)
source: 数据来源(url_parse表示直接从URL解析,page_parse表示从页面解析)
[English]#
Purpose:#
Convert YouTube channel URL to channel ID.
Supports multiple URL formats including @username, /channel/, /c/, /user/ formats.
Parameters:#
channel_url: Channel URL.
Returns:#
channel_id: Channel ID (e.g., UCeu6U67OzJhV1KwBansH3Dg)
channel_url: Normalized channel URL
source: Data source (url_parse means parsed from URL directly, page_parse means parsed from page)
[示例/Example]#
Request
Provide your bearer token in the Authorization
header when making requests to protected resources. Example:Authorization: Bearer ********************
or
Request Code Samples
curl --location 'https://api.tikomni.com/api/u1/v1/youtube/web/get_channel_id_v2?channel_url=https%3A%2F%2Fwww.youtube.com%2F%40CozyCraftYT' \
--header 'Authorization: Bearer <token>'
Modified at 2026-08-29 22:56:33