Skip to main content
GET
/
api
/
v1
/
trending
/
video
Get trending videos
curl --request GET \
  --url https://youtube.zilodata.com/api/v1/trending/video \
  --header 'x-api-key: <api-key>'
{
  "data": {
    "contents": [
      {
        "author": {
          "avatar": {
            "url": "https://i.ytimg.com/vi/JednRKQYhC4/default.jpg",
            "width": 120,
            "height": 90
          },
          "name": "Alofoke Music"
        },
        "videoId": "JednRKQYhC4",
        "channelId": "UCeDlzhpU8NZAlL1rsXp54zQ",
        "thumbnails": [
          {
            "url": "https://i.ytimg.com/vi/JednRKQYhC4/default.jpg",
            "width": 120,
            "height": 90
          },
          {
            "url": "https://i.ytimg.com/vi/JednRKQYhC4/mqdefault.jpg",
            "width": 320,
            "height": 180
          },
          {
            "url": "https://i.ytimg.com/vi/JednRKQYhC4/hqdefault.jpg",
            "width": 480,
            "height": 360
          },
          {
            "url": "https://i.ytimg.com/vi/JednRKQYhC4/sddefault.jpg",
            "width": 640,
            "height": 480
          }
        ],
        "publishedTimeText": "2 days ago",
        "releaseDate": {
          "year": 2025,
          "month": 11,
          "day": 29
        },
        "title": "MICHAEL FLORES X DANI BARRANCO X ALOFOKE MUSIC - AGUITA E COCO",
        "duration": "2:22",
        "songwriters": [],
        "songProducers": [],
        "url": "https://www.youtube.com/watch?v=JednRKQYhC4"
      }
    ]
  },
  "message": "Success",
  "statusCode": 200,
  "pagination": {
    "total": 100,
    "hasMore": true,
    "paginationToken": "CDsQ8FsiEwje95_F1pmRAxXlsykDHUX"
  }
}

Authorizations

x-api-key
string
header
required

API Key

Query Parameters

countryCode
enum<string>
default:us

Country code for trending videos/ filter by country

Available options:
us,
ar,
au,
at,
be,
bo,
br,
ca,
cl,
co,
cr,
cz,
dk,
do,
ec,
eg,
sv,
ee,
fi,
fr,
de,
gt,
hn,
hk,
hu,
is,
in,
id,
ie,
il,
it,
jp,
ke,
lu,
my,
mx,
nl,
nz,
ni,
ng,
no,
pa,
py,
pe,
ph,
pl,
pt,
ro,
ru,
sa,
rs,
sg,
za,
kr,
es,
se,
ch,
tw,
tz,
th,
tr,
ug,
ua,
ae,
gb,
uy,
vn,
zw
Example:

"us"

geoCode
enum<string>
default:US

Geographical code for trending videos

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"

language
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"

Response

Success

data
object
required
message
string
Example:

"Success"

statusCode
number
Example:

200

pagination
object