TikHubYouTubeSocial

YouTube video details by video id or URL

tikhub.x.youtube-web-v2-get-video-info-v2

Youtube: get video info v2 (web_v2)

Price
$0.001/successAt provider cost
Success rate
100%Last 30 days · 5,390 calls
Latency p50
2.2 sp95 4.4 s
Last verified
Jul 28, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/tikhub.x.youtube-web-v2-get-video-info-v2?video_id=dQw4w9WgXcQ&video_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DdQw4w9WgXcQPreview
Try onlineComing soonProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameters

ParameterTypeRequiredDescriptionExample
Query parameters
video_idstringOptionalVideo IDdQw4w9WgXcQ
video_urlstringOptional视频URL/Video URL (如果提供 video_id 则忽略此参数)https://www.youtube.com/watch?v=dQw4w9WgXcQ
need_formatbooleanOptionalWhether to return cleaned payloadtrue
  • Query parameters
  • video_idstringOptional

    Video ID

    Example: dQw4w9WgXcQ

  • video_urlstringOptional

    视频URL/Video URL (如果提供 video_id 则忽略此参数)

    Example: https://www.youtube.com/watch?v=dQw4w9WgXcQ

  • need_formatbooleanOptional

    Whether to return cleaned payload

    Example: true

Code samples

Replace $TOOLSWITCH_KEY with the key you created in the console.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.x.youtube-web-v2-get-video-info-v2?video_id=dQw4w9WgXcQ&video_url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DdQw4w9WgXcQ' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.001/success, including the service fee.