> ## Documentation Index
> Fetch the complete documentation index at: https://docs.zilodata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get video detail

> Get detailed information about a YouTube video



## OpenAPI

````yaml api-reference/youtube-openapi.json get /api/v1/video/detail
openapi: 3.1.0
info:
  title: YouTube APIs
  description: YouTube API Documentation
  version: 1.0.0
servers:
  - url: https://youtube-scraper-api-v21.p.rapidapi.com
security: []
paths:
  /api/v1/video/detail:
    get:
      tags:
        - Video
      summary: Get video detail
      description: Get detailed information about a YouTube video
      operationId: getApiV1VideoDetail
      parameters:
        - in: query
          name: videoId
          schema:
            type: string
            description: YouTube video ID
            example: kJQP7kiw5Fk
          required: true
        - in: query
          name: hl
          schema:
            type: string
            description: Language code
            example: en
            enum:
              - ar
              - az
              - bg
              - bn
              - cs
              - da
              - de
              - el
              - en
              - en-GB
              - en-IE
              - en-NZ
              - en-SG
              - es
              - es-419
              - fi
              - fil
              - fr
              - he
              - hi
              - hr
              - hu
              - id
              - it
              - ja
              - ko
              - lt
              - lv
              - ms
              - nl
              - 'no'
              - pl
              - pt-BR
              - pt-PT
              - ro
              - ru
              - sv
              - th
              - tr
              - uk
              - ur
              - vi
              - zh-Hant
            default: en
          required: false
        - in: query
          name: gl
          schema:
            type: string
            default: US
            description: Geographical code
            example: US
            enum:
              - US
              - AE
              - AR
              - AT
              - AU
              - AZ
              - BD
              - BE
              - BG
              - BR
              - CA
              - CH
              - CL
              - CO
              - CZ
              - DE
              - DK
              - DO
              - DZ
              - EC
              - EG
              - ES
              - FI
              - FR
              - GB
              - GH
              - GR
              - GT
              - HK
              - HN
              - HR
              - HU
              - ID
              - IE
              - IL
              - IN
              - IQ
              - IT
              - JP
              - KE
              - KR
              - LB
              - LT
              - LV
              - MA
              - MX
              - MY
              - NG
              - NL
              - 'NO'
              - NZ
              - PE
              - PH
              - PK
              - PL
              - PT
              - RO
              - RU
              - SA
              - SE
              - SG
              - TH
              - TR
              - TW
              - UA
              - VE
              - VN
              - ZA
          required: false
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Success
                  statusCode:
                    type: number
                    example: 200
                  pagination:
                    type: object
                    properties:
                      total:
                        type: number
                        example: 100
                      hasMore:
                        type: boolean
                        example: true
                      continuation:
                        type:
                          - string
                          - 'null'
                        description: Continuation token for pagination
                        example: CDsQ8FsiEwje95_F1pmRAxXlsykDHUX
                  data:
                    type: object
                    properties:
                      videoId:
                        type: string
                        description: YouTube video ID
                        example: kJQP7kiw5Fk
                      title:
                        type: string
                        description: Video title
                        example: Luis Fonsi - Despacito ft. Daddy Yankee
                      description:
                        type: string
                        description: Video description
                        example: >-
                          Official video for "Despacito" by Luis Fonsi featuring
                          Daddy Yankee
                      author:
                        type: object
                        properties:
                          id:
                            type: string
                            description: Channel ID
                            example: UCxoq-PAQeAdk_zyg8YS0JqA
                          name:
                            type: string
                            description: Channel name
                            example: Luis Fonsi
                          thumbnails:
                            type: array
                            items:
                              type: object
                              properties:
                                url:
                                  type: string
                                  description: Thumbnail URL
                                  example: https://yt3.ggpht.com/...
                                width:
                                  type: number
                                  description: Thumbnail width
                                  example: 68
                                height:
                                  type: number
                                  description: Thumbnail height
                                  example: 68
                              required:
                                - url
                                - width
                                - height
                              description: Thumbnail information
                            description: Array of channel thumbnails
                          subscriberCount:
                            type: number
                            description: Channel subscriber count
                            example: 1000000
                          verified:
                            type: boolean
                            description: Whether the channel is verified
                            example: true
                        required:
                          - id
                          - name
                        description: Video author/channel information
                      thumbnails:
                        type: array
                        items:
                          type: object
                          properties:
                            url:
                              type: string
                              description: Thumbnail image URL
                              example: https://i.ytimg.com/vi/kJQP7kiw5Fk/hq720.jpg
                            width:
                              type: number
                              description: Thumbnail image width in pixels
                              example: 360
                            height:
                              type: number
                              description: Thumbnail image height in pixels
                              example: 202
                          required:
                            - url
                            - width
                            - height
                          description: Thumbnail image information
                        description: Array of video thumbnail images in different sizes
                      viewCount:
                        type: number
                        description: Number of video views
                        example: 8871198622
                      likeCount:
                        type: number
                        description: Number of likes
                        example: 50000000
                      dislikes:
                        type: number
                        description: Number of dislikes (from external API)
                        example: 1000000
                      rating:
                        type: number
                        description: Rating (from external API)
                        example: 5
                      published:
                        type: string
                        description: Published date
                        example: '2017-01-13'
                      lengthSeconds:
                        type: number
                        description: Video length in seconds
                        example: 282
                      duration:
                        type: string
                        description: Video duration in format MM:SS or HH:MM:SS
                        example: '4:42'
                      isLive:
                        type: boolean
                        description: Whether the video is a live stream
                        example: false
                      keywords:
                        type: array
                        items:
                          type: string
                        description: Video keywords/tags
                        example:
                          - music
                          - despacito
                          - luis fonsi
                      downloadLinks:
                        type: array
                        items:
                          type: object
                          properties:
                            itag:
                              type: number
                              description: Format itag identifier
                              example: 18
                            quality:
                              type: string
                              description: Video quality label
                              example: 360p
                            mime:
                              type: string
                              description: MIME type
                              example: video/mp4; codecs="avc1.42001E, mp4a.40.2"
                            hasAudio:
                              type: boolean
                              description: Whether the format has audio
                              example: true
                            url:
                              type: string
                              description: Download URL
                              example: >-
                                https://rr8---sn-42u-i5olk.googlevideo.com/videoplayback?...
                          required:
                            - itag
                            - quality
                            - mime
                            - hasAudio
                            - url
                          description: Download link information
                        description: Array of download links for different formats
                    required:
                      - videoId
                      - title
                      - author
                      - thumbnails
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Bad request
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Invalid API key
        '403':
          description: Not Found
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: >-
                      You are not subscribed to this API, please subscribe
                      before using
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: false
                  message:
                    type: string
                    example: Internal Server Error
                  status_code:
                    type: number
                    example: 500
                  cost:
                    type: number
                    example: 0
                  explain:
                    type: string
                    example: Internal Server Error
      security:
        - apiKeyAuth: []
components:
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-rapidapi-key
      description: API Key

````