# YouTube video details by video id or URL

Provider: TikHub
Final price: $0.001/success
Success rate: 100 %

Youtube: get video info v2 (web_v2)

## Parameters

- video_id (string, optional)
- video_url (string, optional)
- need_format (boolean, optional)

## Example

```curl
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"
```

[View on Toolswitch](https://toolswitch.dev/fr/tools/tikhub.x.youtube-web-v2-get-video-info-v2)
