Skip to main content
GET
/
api
/
v1
/
video
/
detail
Get video detail
curl --request GET \
  --url https://youtube.zilodata.com/api/v1/video/detail \
  --header 'x-api-key: <api-key>'
{
  "message": "Success",
  "statusCode": 200,
  "pagination": {
    "total": 100,
    "hasMore": true,
    "paginationToken": "CDsQ8FsiEwje95_F1pmRAxXlsykDHUX"
  },
  "data": {
    "videoId": "kJQP7kiw5Fk",
    "title": "Luis Fonsi - Despacito ft. Daddy Yankee",
    "author": {
      "id": "UCxoq-PAQeAdk_zyg8YS0JqA",
      "name": "Luis Fonsi",
      "thumbnails": [
        {
          "url": "https://yt3.ggpht.com/...",
          "width": 68,
          "height": 68
        }
      ],
      "subscriberCount": 1000000,
      "verified": true
    },
    "thumbnails": [
      {
        "url": "https://i.ytimg.com/vi/kJQP7kiw5Fk/hq720.jpg",
        "width": 360,
        "height": 202
      }
    ],
    "description": "Official video for \"Despacito\" by Luis Fonsi featuring Daddy Yankee",
    "viewCount": 8871198622,
    "likeCount": 50000000,
    "dislikes": 1000000,
    "rating": 5,
    "published": "2017-01-13",
    "lengthSeconds": 282,
    "duration": "4:42",
    "isLive": false,
    "keywords": [
      "music",
      "despacito",
      "luis fonsi"
    ],
    "downloadLinks": [
      {
        "itag": 18,
        "quality": "360p",
        "mime": "video/mp4; codecs=\"avc1.42001E, mp4a.40.2\"",
        "hasAudio": true,
        "url": "https://rr8---sn-42u-i5olk.googlevideo.com/videoplayback?..."
      }
    ]
  }
}

Authorizations

x-api-key
string
header
required

API Key

Query Parameters

videoId
string
required

YouTube video ID

Example:

"kJQP7kiw5Fk"

hl
string
default:vi

Host language code

Example:

"vi"

gl
string
default:VN

Geolocation code

Example:

"VN"

Response

Success

message
string
Example:

"Success"

statusCode
number
Example:

200

pagination
object
data
object