Skip to main content
GET
/
api
/
v1
/
video
/
detail
Get video detail
curl --request GET \
  --url https://youtube-scraper-api-v21.p.rapidapi.com/api/v1/video/detail \
  --header 'x-rapidapi-key: <api-key>'
{
  "message": "Success",
  "statusCode": 200,
  "pagination": {
    "total": 100,
    "hasMore": true,
    "continuation": "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-rapidapi-key
string
header
required

API Key

Query Parameters

videoId
string
required

YouTube video ID

Example:

"kJQP7kiw5Fk"

hl
enum<string>
default:en

Language code

Available options:
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
Example:

"en"

gl
enum<string>
default:US

Geographical code

Available options:
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
Example:

"US"

Response

Success

message
string
Example:

"Success"

statusCode
number
Example:

200

pagination
object
data
object