---
title: "YouTube Video Details API (V1)"
description: "Retrieve public details for a YouTube video identified by video ID. Use it to inspect a known video before further content or comment analysis."
aiUsagePrompt: true
---

# YouTube Video Details API \(V1\)

<ApiTester
  method="GET"
  :path='JSON.parse("\"/api/youtube/get-video-detail/v1\"")'
  :summary='JSON.parse("\"Video Details (V1)\"")'
  openapiDefinitionUrl="https://docs.justoneapi.com/openapi/youtube/video-details-v1-en.json"
  openapiVersion="3.1.0"
  :parameters='JSON.parse("[{\"name\":\"token\",\"in\":\"query\",\"description\":\"Access token for this API service.\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"videoId\",\"in\":\"query\",\"description\":\"The unique identifier for a YouTube video.\",\"required\":true,\"schema\":{\"type\":\"string\"}},{\"name\":\"lang\",\"in\":\"query\",\"description\":\"Optional IETF language tag for localized video details, such as en-US. Leave empty to use the default language.\",\"required\":false,\"schema\":{\"type\":\"string\"}}]")'
  :requestBody='JSON.parse("null")'
  :responses='JSON.parse("{\"200\":{\"description\":\"OK\",\"content\":{\"application/json\":{\"schema\":{\"if\":{\"properties\":{\"code\":{\"const\":0}},\"required\":[\"code\"]},\"then\":{\"properties\":{\"data\":{\"type\":\"object\",\"description\":\"Public details for the requested YouTube video.\",\"properties\":{\"errorId\":{\"type\":\"string\",\"description\":\"Status returned in the video detail payload. It is Success for successful details.\"},\"type\":{\"type\":\"string\",\"description\":\"Content type reported for the video.\"},\"id\":{\"type\":\"string\",\"description\":\"YouTube video identifier.\"},\"title\":{\"type\":\"string\",\"description\":\"Video title.\"},\"description\":{\"type\":\"string\",\"description\":\"Video description text.\"},\"channel\":{\"type\":\"object\",\"description\":\"YouTube channel that published the video.\",\"properties\":{\"type\":{\"type\":\"string\",\"description\":\"Reported type of the channel entry.\"},\"id\":{\"type\":\"string\",\"description\":\"YouTube channel identifier.\"},\"name\":{\"type\":\"string\",\"description\":\"Channel display name.\"},\"handle\":{\"type\":\"string\",\"description\":\"Public handle of the YouTube channel.\"},\"isVerified\":{\"type\":\"boolean\",\"description\":\"Whether the channel is marked as verified.\"},\"isVerifiedArtist\":{\"type\":\"boolean\",\"description\":\"Whether the channel is marked as a verified artist.\"},\"subscriberCountText\":{\"type\":\"string\",\"description\":\"Channel subscriber count as display text.\"},\"avatar\":{\"type\":\"array\",\"description\":\"Channel avatar image options.\",\"items\":{\"type\":\"object\",\"description\":\"One channel avatar image option.\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL of the image.\"},\"width\":{\"type\":\"integer\",\"description\":\"Image width in pixels.\"},\"height\":{\"type\":\"integer\",\"description\":\"Image height in pixels.\"}}}}}},\"lengthSeconds\":{\"type\":\"integer\",\"description\":\"Video duration in seconds.\"},\"viewCount\":{\"type\":\"integer\",\"description\":\"Reported video view count.\"},\"likeCount\":{\"type\":\"integer\",\"description\":\"Reported video like count.\"},\"publishedTime\":{\"type\":\"string\",\"description\":\"Video publication date and time as text with a UTC offset.\"},\"publishedTimeText\":{\"type\":\"string\",\"description\":\"Video publication time as display text.\"},\"isLiveStream\":{\"type\":\"boolean\",\"description\":\"Whether the video is identified as a live stream. Use isLiveNow to check current live status.\"},\"isLiveNow\":{\"type\":\"boolean\",\"description\":\"Whether the video is currently live.\"},\"isRegionRestricted\":{\"type\":\"boolean\",\"description\":\"Whether a regional availability restriction is reported for the video.\"},\"isUnlisted\":{\"type\":\"boolean\",\"description\":\"Whether the video is marked as unlisted.\"},\"isCommentDisabled\":{\"type\":\"boolean\",\"description\":\"Whether comments are disabled for this video.\"},\"commentCountText\":{\"type\":\"string\",\"description\":\"Video comment count as display text.\"},\"thumbnails\":{\"type\":\"array\",\"description\":\"Video thumbnail image options.\",\"items\":{\"type\":\"object\",\"description\":\"One thumbnail image option.\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL of the image.\"},\"width\":{\"type\":\"integer\",\"description\":\"Image width in pixels.\"},\"height\":{\"type\":\"integer\",\"description\":\"Image height in pixels.\"}}}},\"musicCredits\":{\"type\":\"array\",\"description\":\"Music attribution entries attached to the video.\",\"items\":{\"type\":\"object\",\"description\":\"One music attribution entry.\",\"properties\":{\"title\":{\"type\":\"string\",\"description\":\"Title of the credited music track.\"},\"artist\":{\"type\":\"string\",\"description\":\"Artist displayed in the music credit.\"},\"album\":{\"type\":\"string\",\"description\":\"Album displayed in the music credit.\"},\"description\":{\"type\":\"string\",\"description\":\"Description text associated with the music credit.\"},\"thumbnails\":{\"type\":\"array\",\"description\":\"Thumbnail images for this music credit.\",\"items\":{\"type\":\"object\",\"description\":\"One thumbnail image option.\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL of the image.\"}}}}}}},\"videos\":{\"type\":\"object\",\"description\":\"Video format bundle for this video.\",\"properties\":{\"errorId\":{\"type\":\"string\",\"description\":\"Status reported for this media bundle.\"},\"reason\":{\"type\":\"string\",\"description\":\"Reason the media formats or tracks were unavailable, when provided.\"},\"expiration\":{\"type\":\"integer\",\"description\":\"Unix timestamp in seconds when the URLs in this bundle expire.\"},\"items\":{\"type\":\"array\",\"description\":\"Available video formats.\",\"items\":{\"type\":\"object\",\"description\":\"One available video format.\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL for this video format. The URL can expire.\"},\"lengthMs\":{\"type\":\"integer\",\"description\":\"Duration of this format in milliseconds.\"},\"mimeType\":{\"type\":\"string\",\"description\":\"Media MIME type for this format.\"},\"extension\":{\"type\":\"string\",\"description\":\"File extension for this format.\"},\"lastModified\":{\"type\":\"integer\",\"description\":\"Reported last modification timestamp for this media format.\"},\"size\":{\"type\":\"integer\",\"description\":\"Reported size of this format in bytes.\"},\"sizeText\":{\"type\":\"string\",\"description\":\"File size of this format as display text.\"},\"hasAudio\":{\"type\":\"boolean\",\"description\":\"Whether the video format includes an audio track.\"},\"quality\":{\"type\":\"string\",\"description\":\"Reported video quality label.\"},\"width\":{\"type\":\"integer\",\"description\":\"Video frame width in pixels.\"},\"height\":{\"type\":\"integer\",\"description\":\"Video frame height in pixels.\"}}}}}},\"audios\":{\"type\":\"object\",\"description\":\"Audio format bundle for this video.\",\"properties\":{\"errorId\":{\"type\":\"string\",\"description\":\"Status reported for this media bundle.\"},\"reason\":{\"type\":\"string\",\"description\":\"Reason the media formats or tracks were unavailable, when provided.\"},\"expiration\":{\"type\":\"integer\",\"description\":\"Unix timestamp in seconds when the URLs in this bundle expire.\"},\"items\":{\"type\":\"array\",\"description\":\"Available audio formats.\",\"items\":{\"type\":\"object\",\"description\":\"One available audio format.\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL for this audio format. The URL can expire.\"},\"lengthMs\":{\"type\":\"integer\",\"description\":\"Duration of this format in milliseconds.\"},\"mimeType\":{\"type\":\"string\",\"description\":\"Media MIME type for this format.\"},\"extension\":{\"type\":\"string\",\"description\":\"File extension for this format.\"},\"lastModified\":{\"type\":\"integer\",\"description\":\"Reported last modification timestamp for this media format.\"},\"size\":{\"type\":\"integer\",\"description\":\"Reported size of this format in bytes.\"},\"sizeText\":{\"type\":\"string\",\"description\":\"File size of this format as display text.\"},\"isDrc\":{\"type\":\"boolean\",\"description\":\"Whether dynamic range compression is indicated for this audio format.\"}}}}}},\"subtitles\":{\"type\":\"object\",\"description\":\"Subtitle track bundle for this video.\",\"properties\":{\"errorId\":{\"type\":\"string\",\"description\":\"Status reported for this media bundle.\"},\"reason\":{\"type\":\"string\",\"description\":\"Reason the media formats or tracks were unavailable, when provided.\"},\"expiration\":{\"type\":\"integer\",\"description\":\"Unix timestamp in seconds when the URLs in this bundle expire.\"},\"items\":{\"type\":\"array\",\"description\":\"Available subtitle tracks.\",\"items\":{\"type\":\"object\",\"description\":\"One available subtitle track.\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL for this subtitle track. The URL can expire.\"},\"code\":{\"type\":\"string\",\"description\":\"Language or track code reported for the subtitle.\"}}}}}},\"related\":{\"type\":\"object\",\"description\":\"Related video results included with the details.\",\"properties\":{\"nextToken\":{\"type\":\"string\",\"description\":\"Opaque continuation value reported for the related video results.\"},\"items\":{\"type\":\"array\",\"description\":\"Related video entries returned with the details.\",\"items\":{\"type\":\"object\",\"description\":\"One related video entry.\",\"properties\":{\"type\":{\"type\":\"string\",\"description\":\"Content type reported for the related video.\"},\"id\":{\"type\":\"string\",\"description\":\"YouTube video identifier.\"},\"title\":{\"type\":\"string\",\"description\":\"Title of the related video.\"},\"channel\":{\"type\":\"object\",\"description\":\"YouTube channel that published the related video.\",\"properties\":{\"type\":{\"type\":\"string\",\"description\":\"Reported type of the channel entry.\"},\"id\":{\"type\":\"string\",\"description\":\"YouTube channel identifier.\"},\"name\":{\"type\":\"string\",\"description\":\"Channel display name.\"},\"handle\":{\"type\":\"string\",\"description\":\"Public handle of the YouTube channel.\"},\"isVerified\":{\"type\":\"boolean\",\"description\":\"Whether the channel is marked as verified.\"},\"isVerifiedArtist\":{\"type\":\"boolean\",\"description\":\"Whether the channel is marked as a verified artist.\"},\"avatar\":{\"type\":\"array\",\"description\":\"Channel avatar image options.\",\"items\":{\"type\":\"object\",\"description\":\"One channel avatar image option.\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL of the image.\"},\"width\":{\"type\":\"integer\",\"description\":\"Image width in pixels.\"},\"height\":{\"type\":\"integer\",\"description\":\"Image height in pixels.\"}}}}}},\"isLiveNow\":{\"type\":\"boolean\",\"description\":\"Whether the related video is currently live.\"},\"lengthText\":{\"type\":\"string\",\"description\":\"Related video duration as display text.\"},\"viewCountText\":{\"type\":\"string\",\"description\":\"Related video view count as display text.\"},\"publishedTimeText\":{\"type\":\"string\",\"description\":\"Related video publication time as display text.\"},\"thumbnails\":{\"type\":\"array\",\"description\":\"Related video thumbnail image options.\",\"items\":{\"type\":\"object\",\"description\":\"One thumbnail image option.\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL of the image.\"},\"width\":{\"type\":\"integer\",\"description\":\"Image width in pixels.\"},\"height\":{\"type\":\"integer\",\"description\":\"Image height in pixels.\"},\"moving\":{\"type\":\"boolean\",\"description\":\"Whether the thumbnail is an animated preview.\"}}}},\"collaborators\":{\"type\":\"array\",\"description\":\"Collaborating channels listed for the related video.\",\"items\":{\"type\":\"object\",\"description\":\"A collaborating YouTube channel listed for the related video.\",\"properties\":{\"type\":{\"type\":\"string\",\"description\":\"Reported type of the channel entry.\"},\"id\":{\"type\":\"string\",\"description\":\"YouTube channel identifier.\"},\"name\":{\"type\":\"string\",\"description\":\"Channel display name.\"},\"handle\":{\"type\":\"string\",\"description\":\"Public handle of the YouTube channel.\"},\"isVerified\":{\"type\":\"boolean\",\"description\":\"Whether the channel is marked as verified.\"},\"isVerifiedArtist\":{\"type\":\"boolean\",\"description\":\"Whether the channel is marked as a verified artist.\"},\"subscriberCountText\":{\"type\":\"string\",\"description\":\"Channel subscriber count as display text.\"},\"avatar\":{\"type\":\"array\",\"description\":\"Channel avatar image options.\",\"items\":{\"type\":\"object\",\"description\":\"One channel avatar image option.\",\"properties\":{\"url\":{\"type\":\"string\",\"description\":\"URL of the image.\"},\"width\":{\"type\":\"integer\",\"description\":\"Image width in pixels.\"},\"height\":{\"type\":\"integer\",\"description\":\"Image height in pixels.\"}}}}}}}}}}}}}}}},\"allOf\":[{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}]}}}},\"400\":{\"description\":\"Invalid request parameters or body\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"401\":{\"description\":\"Invalid or inactive access token\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"403\":{\"description\":\"Permission denied\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"429\":{\"description\":\"Request rate or daily quota limit exceeded\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"500\":{\"description\":\"Internal server error\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}},\"503\":{\"description\":\"Service temporarily unavailable\",\"content\":{\"application/json\":{\"schema\":{\"type\":\"object\",\"properties\":{\"code\":{\"type\":\"integer\",\"format\":\"int32\",\"enum\":[0,100,101,202,300,301,302,303,400,404,500,503,600,601,602]},\"message\":{\"type\":[\"string\",\"null\"]},\"data\":{},\"recordTime\":{\"type\":[\"string\",\"null\"]},\"requestId\":{\"type\":\"string\"},\"reason\":{\"type\":\"string\"},\"requestParams\":{\"type\":\"object\",\"properties\":{\"query\":{\"type\":\"object\",\"additionalProperties\":{\"type\":\"object\"}},\"body\":{\"type\":\"object\",\"properties\":{\"empty\":{\"type\":\"boolean\"},\"array\":{\"type\":\"boolean\"},\"null\":{\"type\":\"boolean\"},\"object\":{\"type\":\"boolean\"},\"float\":{\"type\":\"boolean\"},\"container\":{\"type\":\"boolean\"},\"valueNode\":{\"type\":\"boolean\"},\"integralNumber\":{\"type\":\"boolean\"},\"floatingPointNumber\":{\"type\":\"boolean\"},\"missingNode\":{\"type\":\"boolean\"},\"boolean\":{\"type\":\"boolean\"},\"binary\":{\"type\":\"boolean\"},\"nodeType\":{\"type\":\"string\",\"enum\":[\"ARRAY\",\"BINARY\",\"BOOLEAN\",\"MISSING\",\"NULL\",\"NUMBER\",\"OBJECT\",\"POJO\",\"STRING\"]},\"string\":{\"type\":\"boolean\"},\"pojo\":{\"type\":\"boolean\"},\"short\":{\"type\":\"boolean\"},\"int\":{\"type\":\"boolean\"},\"long\":{\"type\":\"boolean\"},\"double\":{\"type\":\"boolean\"},\"bigDecimal\":{\"type\":\"boolean\"},\"bigInteger\":{\"type\":\"boolean\"},\"textual\":{\"type\":\"boolean\",\"deprecated\":true},\"number\":{\"type\":\"boolean\"},\"embeddedValue\":{\"type\":\"boolean\"}}}}}},\"required\":[\"code\",\"data\",\"message\",\"recordTime\"]}}}}}")'
  :servers='JSON.parse("[{\"url\":\"https://api.justoneapi.com\",\"description\":\"Global production API (default)\"}]")'
  :security='JSON.parse("[]")'
  :securitySchemes='JSON.parse("{}")'
  :schemas='JSON.parse("{}")'
/>

<ApiHealthSection :api='JSON.parse("\"/api/youtube/get-video-detail/v1\"")' />

<p>Retrieve public details for a YouTube video identified by video ID. Use it to inspect a known video before further content or comment analysis.</p>

## Parameters

<div class="api-doc-table api-doc-table--params">

| Name | In | Type | Required | Default | Description |
| --- | --- | --- | --- | --- | --- |
| <code>token</code> | query | <code>string</code> | Yes | - | Access token for this API service. |
| <code>videoId</code> | query | <code>string</code> | Yes | - | The unique identifier for a YouTube video. |
| <code>lang</code> | query | <code>string</code> | No | - | Optional IETF language tag for localized video details, such as en-US. Leave empty to use the default language. |

</div>

## Code Samples

::: code-group

```bash [🐚 cURL]
curl --max-time 120 -X GET 'https://api.justoneapi.com/api/youtube/get-video-detail/v1?token=YOUR_API_KEY&videoId=VALUE'
```

```text [🤖 AI Prompt]
I want to use the "Video Details (V1)" API from JustOneAPI.
Base URL: https://api.justoneapi.com.
API Path: /api/youtube/get-video-detail/v1?token=YOUR_API_KEY&videoId=VALUE
API Endpoint: BASE_URL + /api/youtube/get-video-detail/v1?token=YOUR_API_KEY&videoId=VALUE
HTTP Method: GET
Authentication: Append the "token" query parameter to the URL.
OpenAPI Definition: https://docs.justoneapi.com/openapi/youtube/video-details-v1-en.json

Parameters:
- token (query): Access token for this API service. (Required)
- videoId (query): The unique identifier for a YouTube video. (Required)
- lang (query): Optional IETF language tag for localized video details, such as en-US. Leave empty to use the default language.

Return format: safely handle JSON or text according to the actual Content-Type.

Response Handling & Error Codes:
1. Business results should be determined by the "code" field in the response body (code 0 means success).
2. Timeout Recommendation: Set the request timeout to 120 seconds. If 120 seconds is too long for your use case, use at least 60 seconds, but a small number of requests may time out before receiving a result.
3. Business Code Reference:
   - 0: Success
   - 100: Invalid or Inactive Token
   - 301: Collection Failed. Please Retry.
   - 302: Rate Limit Exceeded
   - 303: Daily Quota Exceeded
   - 400: Invalid Parameters
   - 500: Internal Server Error
   - 600: Permission Denied
   - 601: Insufficient Balance
   - 602: Token Budget Exceeded
4. Code 601 means the shared account balance is insufficient. Code 602 means the current API token's own cumulative budget limit has been reached. Token budget limits do not transfer funds out of the shared account balance.

Please help me write a script in my preferred programming language to call this API and handle the response.
```

```python [🐍 Python]
import requests

BASE_URL = "https://api.justoneapi.com"  # Provided by OpenAPI servers

url = BASE_URL + "/api/youtube/get-video-detail/v1?token=YOUR_API_KEY&videoId=VALUE"
response = requests.get(url, timeout=120)
print(response.status_code)
if response.content:
    content_type = response.headers.get("content-type", "").lower()
    if "json" in content_type:
        try:
            print(response.json())
        except ValueError:
            print(response.text)
    elif content_type.startswith("text/") or "xml" in content_type or content_type.split(";", 1)[0].strip() in {"application/javascript", "application/x-www-form-urlencoded", "application/graphql"}:
        print(response.text)
    else:
        with open("response.bin", "wb") as output:
            output.write(response.content)
        print(f"Saved {len(response.content)} bytes to response.bin")
```

```js [🌐 JavaScript]
const BASE_URL = "https://api.justoneapi.com"; // Provided by OpenAPI servers
const url = BASE_URL + "/api/youtube/get-video-detail/v1?token=YOUR_API_KEY&videoId=VALUE";

const response = await fetch(url, {
  method: "GET",
  signal: AbortSignal.timeout(120000)
});
console.log(response.status);
const responseBytes = await response.arrayBuffer();
if (responseBytes.byteLength) {
  const contentType = (response.headers.get("content-type") || "").toLowerCase();
  const mediaType = contentType.split(";", 1)[0].trim();
  const textual = contentType.startsWith("text/") || contentType.includes("json") || contentType.includes("xml") || ["application/javascript", "application/x-www-form-urlencoded", "application/graphql"].includes(mediaType);
  if (textual) {
    const responseText = new TextDecoder().decode(responseBytes);
    let data = responseText;
    if (contentType.includes("json")) {
      try { data = JSON.parse(responseText); } catch { /* Keep the raw body. */ }
    }
    console.log(data);
  } else {
    console.log(`Received ${responseBytes.byteLength} binary bytes`);
  }
}
```

```java [☕ Java]
import java.net.URI;
import java.net.http.HttpClient;
import java.net.http.HttpRequest;
import java.net.http.HttpResponse;
import java.time.Duration;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Path;

public class Main {
    public static void main(String[] args) throws Exception {
        final String BASE_URL = "https://api.justoneapi.com"; // Provided by OpenAPI servers
        final String url = BASE_URL + "/api/youtube/get-video-detail/v1?token=YOUR_API_KEY&videoId=VALUE";

        HttpClient client = HttpClient.newBuilder().connectTimeout(Duration.ofSeconds(120)).build();
        HttpRequest.Builder builder = HttpRequest.newBuilder()
            .uri(URI.create(url))
            .timeout(Duration.ofSeconds(120))
            .method("GET", HttpRequest.BodyPublishers.noBody());

        HttpRequest request = builder.build();

        HttpResponse<byte[]> response = client.send(request, HttpResponse.BodyHandlers.ofByteArray());
        System.out.println(response.statusCode());
        String contentType = response.headers().firstValue("content-type").orElse("").toLowerCase();
        String mediaType = contentType.split(";", 2)[0].trim();
        if (contentType.startsWith("text/") || contentType.contains("json") || contentType.contains("xml") || mediaType.equals("application/javascript") || mediaType.equals("application/x-www-form-urlencoded") || mediaType.equals("application/graphql")) {
            System.out.println(new String(response.body(), StandardCharsets.UTF_8));
        } else {
            Files.write(Path.of("response.bin"), response.body());
            System.out.println("Saved " + response.body().length + " bytes to response.bin");
        }
    }
}
```

```go [🐹 Go]
package main

import (
	"fmt"
	"io"
	"os"
	"strings"
	"net/http"
	"time"
)

const BASE_URL = "https://api.justoneapi.com" // Provided by OpenAPI servers

func main() {
	client := &http.Client{Timeout: 120 * time.Second}
	url := BASE_URL + "/api/youtube/get-video-detail/v1?token=YOUR_API_KEY&videoId=VALUE"
	req, _ := http.NewRequest("GET", url, nil)
	resp, _ := client.Do(req)
	defer resp.Body.Close()
	fmt.Println(resp.StatusCode)
	bodyBytes, _ := io.ReadAll(resp.Body)
	contentType := strings.ToLower(resp.Header.Get("Content-Type"))
	mediaType := strings.TrimSpace(strings.SplitN(contentType, ";", 2)[0])
	if strings.HasPrefix(contentType, "text/") || strings.Contains(contentType, "json") || strings.Contains(contentType, "xml") || mediaType == "application/javascript" || mediaType == "application/x-www-form-urlencoded" || mediaType == "application/graphql" {
		fmt.Println(string(bodyBytes))
	} else {
		os.WriteFile("response.bin", bodyBytes, 0600)
		fmt.Printf("Saved %d bytes to response.bin\n", len(bodyBytes))
	}
}
```

```php [🐘 PHP]
<?php
$BASE_URL = 'https://api.justoneapi.com'; // Provided by OpenAPI servers
$url = $BASE_URL . '/api/youtube/get-video-detail/v1?token=YOUR_API_KEY&videoId=VALUE';

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 120);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET");
$response = curl_exec($ch);
$status = curl_getinfo($ch, CURLINFO_RESPONSE_CODE);
$contentType = strtolower((string) curl_getinfo($ch, CURLINFO_CONTENT_TYPE));
curl_close($ch);
echo $status . PHP_EOL;
$mediaType = trim(explode(';', $contentType, 2)[0]);
if (str_starts_with($contentType, 'text/') || str_contains($contentType, 'json') || str_contains($contentType, 'xml') || in_array($mediaType, ['application/javascript', 'application/x-www-form-urlencoded', 'application/graphql'], true)) {
    echo $response;
} else {
    file_put_contents('response.bin', $response);
    echo 'Saved ' . strlen($response) . ' bytes to response.bin' . PHP_EOL;
}
```

:::

<div style="text-align: right; margin-top: -20px; margin-bottom: 20px;">
<a href="/openapi/youtube/video-details-v1-en.json" target="_blank" style="font-size: 12px; color: var(--vp-c-text-3); text-decoration: none; opacity: 0.8;">[OpenAPI Definition (JSON)]</a>
</div>

## Response Fields

Key fields in a successful response (`code = 0`).

<div class="api-doc-table api-doc-table--response">

| Field path | Type | Description |
| --- | --- | --- |
| <code>data</code> | <code>object</code> | Public details for the requested YouTube video. |
| <code>data.errorId</code> | <code>string</code> | Status returned in the video detail payload. It is Success for successful details. |
| <code>data.type</code> | <code>string</code> | Content type reported for the video. |
| <code>data.id</code> | <code>string</code> | YouTube video identifier. |
| <code>data.title</code> | <code>string</code> | Video title. |
| <code>data.description</code> | <code>string</code> | Video description text. |
| <code>data.channel</code> | <code>object</code> | YouTube channel that published the video. |
| <code>data.channel.type</code> | <code>string</code> | Reported type of the channel entry. |
| <code>data.channel.id</code> | <code>string</code> | YouTube channel identifier. |
| <code>data.channel.name</code> | <code>string</code> | Channel display name. |
| <code>data.channel.handle</code> | <code>string</code> | Public handle of the YouTube channel. |
| <code>data.channel.isVerified</code> | <code>boolean</code> | Whether the channel is marked as verified. |
| <code>data.channel.isVerifiedArtist</code> | <code>boolean</code> | Whether the channel is marked as a verified artist. |
| <code>data.channel.subscriberCountText</code> | <code>string</code> | Channel subscriber count as display text. |
| <code>data.channel.avatar</code> | <code>array</code> | Channel avatar image options. |
| <code>data.channel.avatar[]</code> | <code>object</code> | One channel avatar image option. |
| <code>data.channel.avatar[].url</code> | <code>string</code> | URL of the image. |
| <code>data.channel.avatar[].width</code> | <code>integer</code> | Image width in pixels. |
| <code>data.channel.avatar[].height</code> | <code>integer</code> | Image height in pixels. |
| <code>data.lengthSeconds</code> | <code>integer</code> | Video duration in seconds. |
| <code>data.viewCount</code> | <code>integer</code> | Reported video view count. |
| <code>data.likeCount</code> | <code>integer</code> | Reported video like count. |
| <code>data.publishedTime</code> | <code>string</code> | Video publication date and time as text with a UTC offset. |
| <code>data.publishedTimeText</code> | <code>string</code> | Video publication time as display text. |
| <code>data.isLiveStream</code> | <code>boolean</code> | Whether the video is identified as a live stream. Use isLiveNow to check current live status. |
| <code>data.isLiveNow</code> | <code>boolean</code> | Whether the video is currently live. |
| <code>data.isRegionRestricted</code> | <code>boolean</code> | Whether a regional availability restriction is reported for the video. |
| <code>data.isUnlisted</code> | <code>boolean</code> | Whether the video is marked as unlisted. |
| <code>data.isCommentDisabled</code> | <code>boolean</code> | Whether comments are disabled for this video. |
| <code>data.commentCountText</code> | <code>string</code> | Video comment count as display text. |
| <code>data.thumbnails</code> | <code>array</code> | Video thumbnail image options. |
| <code>data.thumbnails[]</code> | <code>object</code> | One thumbnail image option. |
| <code>data.thumbnails[].url</code> | <code>string</code> | URL of the image. |
| <code>data.thumbnails[].width</code> | <code>integer</code> | Image width in pixels. |
| <code>data.thumbnails[].height</code> | <code>integer</code> | Image height in pixels. |
| <code>data.musicCredits</code> | <code>array</code> | Music attribution entries attached to the video. |
| <code>data.musicCredits[]</code> | <code>object</code> | One music attribution entry. |
| <code>data.musicCredits[].title</code> | <code>string</code> | Title of the credited music track. |
| <code>data.musicCredits[].artist</code> | <code>string</code> | Artist displayed in the music credit. |
| <code>data.musicCredits[].album</code> | <code>string</code> | Album displayed in the music credit. |
| <code>data.musicCredits[].description</code> | <code>string</code> | Description text associated with the music credit. |
| <code>data.musicCredits[].thumbnails</code> | <code>array</code> | Thumbnail images for this music credit. |
| <code>data.musicCredits[].thumbnails[]</code> | <code>object</code> | One thumbnail image option. |
| <code>data.musicCredits[].thumbnails[].url</code> | <code>string</code> | URL of the image. |
| <code>data.videos</code> | <code>object</code> | Video format bundle for this video. |
| <code>data.videos.errorId</code> | <code>string</code> | Status reported for this media bundle. |
| <code>data.videos.reason</code> | <code>string</code> | Reason the media formats or tracks were unavailable, when provided. |
| <code>data.videos.expiration</code> | <code>integer</code> | Unix timestamp in seconds when the URLs in this bundle expire. |
| <code>data.videos.items</code> | <code>array</code> | Available video formats. |
| <code>data.videos.items[]</code> | <code>object</code> | One available video format. |
| <code>data.videos.items[].url</code> | <code>string</code> | URL for this video format. The URL can expire. |
| <code>data.videos.items[].lengthMs</code> | <code>integer</code> | Duration of this format in milliseconds. |
| <code>data.videos.items[].mimeType</code> | <code>string</code> | Media MIME type for this format. |
| <code>data.videos.items[].extension</code> | <code>string</code> | File extension for this format. |
| <code>data.videos.items[].lastModified</code> | <code>integer</code> | Reported last modification timestamp for this media format. |
| <code>data.videos.items[].size</code> | <code>integer</code> | Reported size of this format in bytes. |
| <code>data.videos.items[].sizeText</code> | <code>string</code> | File size of this format as display text. |
| <code>data.videos.items[].hasAudio</code> | <code>boolean</code> | Whether the video format includes an audio track. |
| <code>data.videos.items[].quality</code> | <code>string</code> | Reported video quality label. |
| <code>data.videos.items[].width</code> | <code>integer</code> | Video frame width in pixels. |
| <code>data.videos.items[].height</code> | <code>integer</code> | Video frame height in pixels. |
| <code>data.audios</code> | <code>object</code> | Audio format bundle for this video. |
| <code>data.audios.errorId</code> | <code>string</code> | Status reported for this media bundle. |
| <code>data.audios.reason</code> | <code>string</code> | Reason the media formats or tracks were unavailable, when provided. |
| <code>data.audios.expiration</code> | <code>integer</code> | Unix timestamp in seconds when the URLs in this bundle expire. |
| <code>data.audios.items</code> | <code>array</code> | Available audio formats. |
| <code>data.audios.items[]</code> | <code>object</code> | One available audio format. |
| <code>data.audios.items[].url</code> | <code>string</code> | URL for this audio format. The URL can expire. |
| <code>data.audios.items[].lengthMs</code> | <code>integer</code> | Duration of this format in milliseconds. |
| <code>data.audios.items[].mimeType</code> | <code>string</code> | Media MIME type for this format. |
| <code>data.audios.items[].extension</code> | <code>string</code> | File extension for this format. |
| <code>data.audios.items[].lastModified</code> | <code>integer</code> | Reported last modification timestamp for this media format. |
| <code>data.audios.items[].size</code> | <code>integer</code> | Reported size of this format in bytes. |
| <code>data.audios.items[].sizeText</code> | <code>string</code> | File size of this format as display text. |
| <code>data.audios.items[].isDrc</code> | <code>boolean</code> | Whether dynamic range compression is indicated for this audio format. |
| <code>data.subtitles</code> | <code>object</code> | Subtitle track bundle for this video. |
| <code>data.subtitles.errorId</code> | <code>string</code> | Status reported for this media bundle. |
| <code>data.subtitles.reason</code> | <code>string</code> | Reason the media formats or tracks were unavailable, when provided. |
| <code>data.subtitles.expiration</code> | <code>integer</code> | Unix timestamp in seconds when the URLs in this bundle expire. |
| <code>data.subtitles.items</code> | <code>array</code> | Available subtitle tracks. |
| <code>data.subtitles.items[]</code> | <code>object</code> | One available subtitle track. |
| <code>data.subtitles.items[].url</code> | <code>string</code> | URL for this subtitle track. The URL can expire. |
| <code>data.subtitles.items[].code</code> | <code>string</code> | Language or track code reported for the subtitle. |
| <code>data.related</code> | <code>object</code> | Related video results included with the details. |
| <code>data.related.nextToken</code> | <code>string</code> | Opaque continuation value reported for the related video results. |
| <code>data.related.items</code> | <code>array</code> | Related video entries returned with the details. |
| <code>data.related.items[]</code> | <code>object</code> | One related video entry. |
| <code>data.related.items[].type</code> | <code>string</code> | Content type reported for the related video. |
| <code>data.related.items[].id</code> | <code>string</code> | YouTube video identifier. |
| <code>data.related.items[].title</code> | <code>string</code> | Title of the related video. |
| <code>data.related.items[].channel</code> | <code>object</code> | YouTube channel that published the related video. |
| <code>data.related.items[].channel.type</code> | <code>string</code> | Reported type of the channel entry. |
| <code>data.related.items[].channel.id</code> | <code>string</code> | YouTube channel identifier. |
| <code>data.related.items[].channel.name</code> | <code>string</code> | Channel display name. |
| <code>data.related.items[].channel.handle</code> | <code>string</code> | Public handle of the YouTube channel. |
| <code>data.related.items[].channel.isVerified</code> | <code>boolean</code> | Whether the channel is marked as verified. |
| <code>data.related.items[].channel.isVerifiedArtist</code> | <code>boolean</code> | Whether the channel is marked as a verified artist. |
| <code>data.related.items[].channel.avatar</code> | <code>array</code> | Channel avatar image options. |
| <code>data.related.items[].channel.avatar[]</code> | <code>object</code> | One channel avatar image option. |
| <code>data.related.items[].channel.avatar[].url</code> | <code>string</code> | URL of the image. |
| <code>data.related.items[].channel.avatar[].width</code> | <code>integer</code> | Image width in pixels. |
| <code>data.related.items[].channel.avatar[].height</code> | <code>integer</code> | Image height in pixels. |
| <code>data.related.items[].isLiveNow</code> | <code>boolean</code> | Whether the related video is currently live. |
| <code>data.related.items[].lengthText</code> | <code>string</code> | Related video duration as display text. |
| <code>data.related.items[].viewCountText</code> | <code>string</code> | Related video view count as display text. |
| <code>data.related.items[].publishedTimeText</code> | <code>string</code> | Related video publication time as display text. |
| <code>data.related.items[].thumbnails</code> | <code>array</code> | Related video thumbnail image options. |
| <code>data.related.items[].thumbnails[]</code> | <code>object</code> | One thumbnail image option. |
| <code>data.related.items[].thumbnails[].url</code> | <code>string</code> | URL of the image. |
| <code>data.related.items[].thumbnails[].width</code> | <code>integer</code> | Image width in pixels. |
| <code>data.related.items[].thumbnails[].height</code> | <code>integer</code> | Image height in pixels. |
| <code>data.related.items[].thumbnails[].moving</code> | <code>boolean</code> | Whether the thumbnail is an animated preview. |
| <code>data.related.items[].collaborators</code> | <code>array</code> | Collaborating channels listed for the related video. |
| <code>data.related.items[].collaborators[]</code> | <code>object</code> | A collaborating YouTube channel listed for the related video. |
| <code>data.related.items[].collaborators[].type</code> | <code>string</code> | Reported type of the channel entry. |
| <code>data.related.items[].collaborators[].id</code> | <code>string</code> | YouTube channel identifier. |
| <code>data.related.items[].collaborators[].name</code> | <code>string</code> | Channel display name. |
| <code>data.related.items[].collaborators[].handle</code> | <code>string</code> | Public handle of the YouTube channel. |
| <code>data.related.items[].collaborators[].isVerified</code> | <code>boolean</code> | Whether the channel is marked as verified. |
| <code>data.related.items[].collaborators[].isVerifiedArtist</code> | <code>boolean</code> | Whether the channel is marked as a verified artist. |
| <code>data.related.items[].collaborators[].subscriberCountText</code> | <code>string</code> | Channel subscriber count as display text. |
| <code>data.related.items[].collaborators[].avatar</code> | <code>array</code> | Channel avatar image options. |
| <code>data.related.items[].collaborators[].avatar[]</code> | <code>object</code> | One channel avatar image option. |
| <code>data.related.items[].collaborators[].avatar[].url</code> | <code>string</code> | URL of the image. |
| <code>data.related.items[].collaborators[].avatar[].width</code> | <code>integer</code> | Image width in pixels. |
| <code>data.related.items[].collaborators[].avatar[].height</code> | <code>integer</code> | Image height in pixels. |

</div>

## Response Example

<ApiExampleSection :api='JSON.parse("\"/api/youtube/get-video-detail/v1\"")' />

