video_details_v2
Retrieve detailed metadata for YouTube videos by providing a video ID or URL. Get information like title, description, duration, and statistics.
Instructions
Video Details (v2)
Query Parameters:
video_id (Required): Video ID or URL e.g. kJQP7kiw5Fk e.g. https://youtu.be/kJQP7kiw5Fk e.g. https://www.youtube.com/watch?v=kJQP7kiw5Fk
hl: Example value: en
Responses:
200 (Success): Successful response
Content-Type:
application/json
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| video_id | Yes | Video ID or URL e.g. kJQP7kiw5Fk e.g. https://youtu.be/kJQP7kiw5Fk e.g. https://www.youtube.com/watch?v=kJQP7kiw5Fk | |
| hl | No | Example value: en |
Input Schema (JSON Schema)
{
"properties": {
"hl": {
"description": "Example value: en",
"type": "string"
},
"video_id": {
"description": "Video ID or URL e.g. kJQP7kiw5Fk e.g. https://youtu.be/kJQP7kiw5Fk e.g. https://www.youtube.com/watch?v=kJQP7kiw5Fk",
"type": "string"
}
},
"required": [
"video_id"
],
"type": "object"
}