Get Video Details (Price:1-2)
get_youtube_v3_video_detailsExtracts comprehensive information about a YouTube video including metadata, available formats, download links, and server-rendered video options with audio merging capabilities. Group: YouTube-Video. Billing per call: 2 Credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language code for localized content (e.g., 'en-US', 'es'). Defaults to 'en-US'. | |
| fields | No | A comma-separated list of fields to include in the response. This can be used to limit the amount of data returned. Allowed values: `contents`, `contents.videos`, `contents.audios`, `contents.images`, `contents.renderableVideos`, `contents.renderableAudios`, `metadata`, `metadata.author`, `metadata.comments`, `metadata.playlist`, `metadata.channel`, `metadata.post`, `metadata.hashtag`, `metadata.transcript`, `metadata.additionalData`. For exclusion, prefix the field with a dash; e.g. `-metadata… | |
| videoId | Yes | The ID of the YouTube video. | |
| urlAccess | No | When set to 'proxied', the API uses its own proxies to prevent 403 errors, which can sometimes occur with 'normal' URLs. This comes at the cost of slower download speeds. Allowed values: normal, proxied. When set to 'proxied' the request will be `billed as 2 requests`. Note: If both this parameter and `renderableFormats` are used, the total cost remains 2 requests (charges do not stack). | proxied |
| countryCode | No | ISO 3166-1 alpha-2 country code for geo-specific results (e.g., 'US', 'GB'). | |
| getTranscript | No | Set to true to retrieve the video transcript. Allowed values: false, true. | false |
| renderableFormats | No | A comma-separated list of quality formats to generate server-rendered video links for. If any videos are rendered, this request will be `billed as 2 requests`. Note: If both this parameter and `urlAccess='proxied'` are used, the total cost remains 2 requests (charges do not stack). The number of formats that can be rendered depends on your subscription plan. Allowed values: 144p, 144p60 HDR, 240p, 240p60 HDR, 360p, 360p60 HDR, 480p, 480p60 HDR, 720p, 720p60, 720p60 HDR, 1080p, 1080p60, 1080p60… | |
| transcriptLanguage | No | The language to use for the transcript. This must be one of the languages returned in the `metadata.transcript.languages` array. If not provided, the default transcript is returned. |