Explore our Marketplace to buy and sell APIs, services, and social media solutions. Connect with a vibrant community of developers, businesses, and creators!
Authorization: Bearer <API_TOKEN> 认证。video_id:必填,11 位视频 ID,例如 phlZ2J3x4hI。proxy_url:必填,http://用户名:密码@公网代理地址:端口。@、:、/ 等保留字符需要 URL 编码。itags:可选,1–4 个不重复的数字字符串,默认 ["137", "140"]。137 为 1080p MP4 纯视频,140 为 M4A 音频;verify_download:可选,默认 false。设为 true 时尝试读取各流前 1 KiB,streams[].download_headers。仅国家或 session 字符串相同不够。proxy_exit_ip。expires_at 指定的 Unix 秒时间戳到期;expires_in_seconds 是响应时剩余秒数。streams:按所选格式返回 itag、url、媒体信息、请求头和有效期。proxy_exit_ip:本次请求的代理公网出口;same_proxy_required 为 true。proxy_exit_verified:本次请求的出口检查是否通过,不代表未来不会变更。download_verification_requested:本次是否请求小字节验证。streams[].verification:开启验证时包含 status、bytes_read、ok 和 duration_ms。streams[].verified / all_selected_streams_verified 为布尔值;未验证时为 null。false 的响应。{
"video_id": "phlZ2J3x4hI",
"proxy_url": "http://USERNAME:PASSWORD@proxy.example.com:1000",
"itags": ["137", "140"],
"verify_download": false
}Authorization: Bearer <API_TOKEN>.video_id: required, an 11-character YouTube video ID.proxy_url: required, http://USERNAME:PASSWORD@PUBLIC_HOST:PORT.itags: 1–4 unique numeric strings, default ["137", "140"].verify_download: default false. If enabled, probe up to 1 KiB per stream.download_headers. The same country or session name alone is insufficient.proxy_exit_ip.expires_at is a Unix timestamp in seconds; expires_in_seconds is the remainingstreams contains selected formats, URLs, headers and expiry values.same_proxy_required is true. proxy_exit_verified describes checks for this request,download_verification_requested indicates whether small-byte verification was requested.verification includes status, bytes_read, ok and duration_ms when enabled.verified and all_selected_streams_verified are null when verification is disabled.Authorization: Bearer ********************curl --location 'https://api.tikhub.io/api/v1/youtube/web_v2/get_video_streams_v3' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"itags": [
"137",
"140"
],
"proxy_url": "http://USERNAME:PASSWORD@proxy.example.com:1000",
"verify_download": false,
"video_id": "phlZ2J3x4hI"
}'{
"code": 200,
"request_id": "string",
"message": "Request successful. This request will incur a charge.",
"message_zh": "请求成功,本次请求将被计费。",
"support": "Discord: https://discord.gg/aMEAS8Xsvz",
"time": "string",
"time_stamp": 0,
"time_zone": "America/Los_Angeles",
"docs": "string",
"cache_message": "string",
"cache_message_zh": "string",
"cache_url": "string",
"router": "",
"params": {},
"data": null
}