YouTube API

API ID 15377

Online video data: search with every filter, video details, comments and replies, transcripts, channels with their videos, shorts and live streams, playlists and hashtags.

API Documentation

Endpoints

Request
Returns a channel with its title, handle, description, artist biography, subscribers, number of videos, total views, join date, country, verified badge, keywords, avatar, banner, external links, tabs and RSS feed.
Endpoint ID: 41297
GET https://zylalabs.com/api/15377/youtube+api/41297/get+channel+details
INPUT PARAMETERS

Get channel details — Endpoint Features

Object Description
channel_id Required Channel id (e.g. "UCuAXFkgsw1L7xaCfnd5JJOw"), handle (e.g. "@RickAstleyYT") or channel link. Use the /search endpoint with type "channel" to list valid values.
language Optional Optional language of the texts (defaults to "en"); in another language the counts come as text only. Use the /general/languages endpoint to list valid values.
country Optional Optional two-letter country code (defaults to "US").

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

channel_id
language
country
API EXAMPLE RESPONSE
JSON
{
    "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
    "title": "Rick Astley",
    "handle": "@RickAstleyYT",
    "description": "Rick Astley’s Swinging Christmas 2026 🎄 Dec 9th, Royal Albert Hall. SOLD OUT ❤️",
    "artist_bio": "Richard Paul Astley is an English singer, songwriter, radio DJ and podcaster. He gained fame through his association with the production trio Stock Aitken Waterman, releasing the 1987 album Whenever You Need Somebody, which sold 15 million copies worldwide and was certified platinum by both the BPI and the RIAA. His debut single \"Never Gonna Give You Up\" was a No. 1 hit in more than 25 countries, winning the 1988 Brit Award for Best British Single. The song also stayed at the top of the UK chart for five weeks in 1987 and was the best-selling single of that year. His 1988 single \"Together Forever\" also topped the US Billboard Hot 100 and was one of his eight songs to reach the UK Singles Chart top 10.\nIn 1988, Astley followed up his debut album with Hold Me in Your Arms which achieved platinum and gold certifications internationally. The lead single \"She Wants to Dance with Me\" became a worldwide top 10 hit. In 1991, he left Stock Aitken Waterman and moved his musical direction towards soul, which he explored on his other albums. His 1991 single \"Cry for Help\" was his last single to reach the top 10 in either the US or UK.",
    "subscriber_count": 4560000,
    "subscriber_count_text": "4.56M subscribers",
    "video_count": 442,
    "video_count_text": "442 videos",
    "view_count": 2600576030,
    "view_count_text": "2,600,576,030 views",
    "joined_date_text": "Joined Feb 1, 2015",
    "country": "United Kingdom",
    "is_verified": true,
    "is_family_safe": true,
    "keywords": [
        "Official",
        "Rick",
        "Astley",
        "rick astley",
        "never gonna give you up",
        "the best of me",
        "best of me",
        "together forever",
        "cry for help",
        "beautiful life",
        "official video",
        "official audio",
        "rickroll",
        "rickrolled",
        "rick roll",
        "rick asltey",
        "give up",
        "meme"
    ],
    "avatar": "https://yt3.googleusercontent.com/_ShEGOdg-t5YGJse14Ooq6FYBZqX_QSlhaTNjG06miYusm5lWm1UroLyVxnYtahADfRTVLtuVQ=s900-c-k-c0x00ffffff-no-rj",
    "banner": "https://yt3.googleusercontent.com/pi1YBgcetxpQG-xtEKHBLwe3nUxoo-cT1AKYfqLxh8krCgnkpZZM5zOtP2VlFfSFnRFi8EyA=w2560-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
    "links": [
        {
            "title": "Swinging Christmas tickets",
            "link": "lnk.to/RASC26",
            "url": "https://lnk.to/RASC26"
        },
        {
            "title": "New single 'Raindrops'",
            "link": "rickastley.lnk.to/Raindrops",
            "url": "https://rickastley.lnk.to/Raindrops"
        },
        {
            "title": "Website",
            "link": "rickastley.co.uk",
            "url": "https://www.rickastley.co.uk/"
        },
        {
            "title": "Never: The Autobiography",
            "link": "linktr.ee/rickastleynever",
            "url": "https://linktr.ee/rickastleynever"
        },
        {
            "title": "Instagram",
            "link": "instagram.com/officialrickastley",
            "url": "https://www.instagram.com/officialrickastley/"
        },
        {
            "title": "TikTok",
            "link": "tiktok.com/@rickastleyofficial",
            "url": "https://www.tiktok.com/@rickastleyofficial"
        },
        {
            "title": "Facebook",
            "link": "facebook.com/RickAstley",
            "url": "https://www.facebook.com/RickAstley/"
        },
        {
            "title": "Spotify",
            "link": "open.spotify.com/user/rickastleyprofile/playlist/32O0SSXDNWDrMievPkV0Im?si=4kTEsf71RSWznX9X4CLxSw",
            "url": "https://open.spotify.com/user/rickastleyprofile/playlist/32O0SSXDNWDrMievPkV0Im?si=4kTEsf71RSWznX9X4CLxSw"
        },
        {
            "title": "Apple Music",
            "link": "itunes.apple.com/gb/artist/rick-astley/669771",
            "url": "https://itunes.apple.com/gb/artist/rick-astley/669771"
        },
        {
            "title": "YouTube Music",
            "link": "music.youtube.com/channel/UCwZEU0wAwIyZb4x5G_KJp2w",
            "url": "https://music.youtube.com/channel/UCwZEU0wAwIyZb4x5G_KJp2w"
        },
        {
            "title": "Deezer",
            "link": "deezer.com/pt/artist/6160",
            "url": "https://www.deezer.com/pt/artist/6160"
        }
    ],
    "tabs": [
        "Home",
        "Videos",
        "Shorts",
        "Live",
        "Releases",
        "Playlists",
        "Posts"
    ],
    "rss_url": "https://www.youtube.com/feeds/videos.xml?channel_id=UCuAXFkgsw1L7xaCfnd5JJOw",
    "url": "http://www.youtube.com/@RickAstleyYT"
}
Get channel details — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15377/youtube+api/41297/get+channel+details?channel_id=UCuAXFkgsw1L7xaCfnd5JJOw&language=en&country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns the playlists of a channel, each with its id, title, number of videos, last update and thumbnail. 30 a page; pass "next_cursor" as "cursor" to get the next page.
Endpoint ID: 41298
GET https://zylalabs.com/api/15377/youtube+api/41298/get+channel+playlists
INPUT PARAMETERS

Get channel playlists — Endpoint Features

Object Description
channel_id Required Channel id (e.g. "UCuAXFkgsw1L7xaCfnd5JJOw"), handle (e.g. "@RickAstleyYT") or channel link. Use the /search endpoint with type "channel" to list valid values.
cursor Optional Optional "next_cursor" value of the previous page, to get the next page.
language Optional Optional language of the texts (defaults to "en"); in another language the counts come as text only. Use the /general/languages endpoint to list valid values.
country Optional Optional two-letter country code (defaults to "US").

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

channel_id
cursor
language
country
API EXAMPLE RESPONSE
JSON
{
    "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
    "items": [
        {
            "type": "playlist",
            "playlist_id": "PLlaN88a7y2_qHDbY9eQbuNTAuEJUSEeuu",
            "title": "Rick Astley Live at The O2",
            "video_count": 3,
            "video_count_text": "3 videos",
            "is_mix": false,
            "updated_text": null,
            "thumbnail": "https://i.ytimg.com/vi/PXC_PYeB6F8/hqdefault.jpg?sqp=-oaymwEXCOADEI4CSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLA_XxBpjZPBAbBTTuMudhKwQrrHDA",
            "channel": {
                "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
                "name": null,
                "handle": null,
                "thumbnail": null,
                "is_verified": null
            },
            "url": "https://www.youtube.com/playlist?list=PLlaN88a7y2_qHDbY9eQbuNTAuEJUSEeuu"
        },
        {
            "type": "playlist",
            "playlist_id": "PLlaN88a7y2_oK0nKMjZSwdU_njxUYWykm",
            "title": "Rick Astley (リック・アストリー) - 名曲ミュージックビデオ(日本語字幕)",
            "video_count": 5,
            "video_count_text": "5 videos",
            "is_mix": false,
            "updated_text": null,
            "thumbnail": "https://i.ytimg.com/vi/RrESvSRNpeo/hqdefault.jpg?sqp=-oaymwEXCOADEI4CSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLDgM1g-VEAcM6cMpr5yZs9CtVXFqw",
            "channel": {
                "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
                "name": null,
                "handle": null,
                "thumbnail": null,
                "is_verified": null
            },
            "url": "https://www.youtube.com/playlist?list=PLlaN88a7y2_oK0nKMjZSwdU_njxUYWykm"
        },
        {
            "type": "playlist",
            "playlist_id": "PLlaN88a7y2_pVVkl4fGdTny21_LRyT85E",
            "title": "Forever and More",
            "video_count": 2,
            "video_count_text": "2 videos",
            "is_mix": false,
            "updated_text": null,
            "thumbnail": "https://i.ytimg.com/vi/QJjrf9RkzGo/hqdefault.jpg?sqp=-oaymwEXCOADEI4CSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLDL9YxVzxaeAQzXgbPeO5YWkalCsA",
            "channel": {
                "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
                "name": null,
                "handle": null,
                "thumbnail": null,
                "is_verified": null
            },
            "url": "https://www.youtube.com/playlist?list=PLlaN88a7y2_pVVkl4fGdTny21_LRyT85E"
        },
        {
            "type": "playlist",
            "playlist_id": "PLlaN88a7y2_obcaRtOX2oQsmlSDJMiwOr",
            "title": "Are We There Yet?",
            "video_count": 15,
            "video_count_text": "15 videos",
            "is_mix": false,
            "updated_text": null,
            "thumbnail": "https://i.ytimg.com/vi/mIHHfNVfhPk/hqdefault.jpg?sqp=-oaymwEXCOADEI4CSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLATyM4KuVs34pqyKYKTEXVvsiV0eg",
            "channel": {
                "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
                "name": null,
                "handle": null,
                "thumbnail": null,
                "is_verified": null
            },
            "url": "https://www.youtube.com/playlist?list=PLlaN88a7y2_obcaRtOX2oQsmlSDJMiwOr"
        },
        {
            "type": "playlist",
            "playlist_id": "PLlaN88a7y2_rosKX2WQt2VjFbjyDQXOkR",
            "title": "Rick Astley: Complete",
            "video_count": 132,
            "video_count_text": "132 videos",
            "is_mix": false,
            "updated_text": null,
            "thumbnail": "https://i.ytimg.com/vi/LjmOX9jGoR4/hqdefault.jpg?sqp=-oaymwEXCOADEI4CSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLCTYhbb2OUmryN8nPa3iBK5Uu1DVg",
            "channel": {
                "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
                "name": null,
                "handle": null,
                "thumbnail": null,
                "is_verified": null
            },
            "url": "https://www.youtube.com/playlist?list=PLlaN88a7y2_rosKX2WQt2VjFbjyDQXOkR"
        },
        {
            "type": "playlist",
            "playlist_id": "PLlaN88a7y2_rUZ4ojREfC3XbmWABADnHc",
            "title": "Rick Astley: Interviews",
            "video_count": 9,
            "video_count_text": "9 videos",
            "is_mix": false,
            "updated_text": null,
            "thumbnail": "https://i.ytimg.com/vi/tS77-WDtuFo/hqdefault.jpg?sqp=-oaymwExCOADEI4CSFryq4qpAyMIARUAAIhCGAHwAQH4AdQGgALgA4oCDAgAEAEYZSBWKFQwDw==&rs=AOn4CLClecRLxqLc6SGWmp1FEVnpA42jOQ",
            "channel": {
                "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
                "name": null,
                "handle": null,
                "thumbnail": null,
                "is_verified": null
            },
            "url": "https://www.youtube.com/playlist?list=PLlaN88a7y2_rUZ4ojREfC3XbmWABADnHc"
        }
    ],
    "next_cursor": null
}
Get channel playlists — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15377/youtube+api/41298/get+channel+playlists?channel_id=UCuAXFkgsw1L7xaCfnd5JJOw&language=en&country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns the community posts of a channel, each with its id, text, publish time, likes, number of comments, images, attached video and poll choices. About 10 a page; pass "next_cursor" as "cursor" to get the next page.
Endpoint ID: 41299
GET https://zylalabs.com/api/15377/youtube+api/41299/get+channel+posts
INPUT PARAMETERS

Get channel posts — Endpoint Features

Object Description
channel_id Required Channel id (e.g. "UCuAXFkgsw1L7xaCfnd5JJOw"), handle (e.g. "@RickAstleyYT") or channel link. Use the /search endpoint with type "channel" to list valid values.
cursor Optional Optional "next_cursor" value of the previous page, to get the next page.
language Optional Optional language of the texts (defaults to "en"); in another language the counts come as text only. Use the /general/languages endpoint to list valid values.
country Optional Optional two-letter country code (defaults to "US").

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

channel_id
cursor
language
country
API EXAMPLE RESPONSE
JSON
{
    "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
    "items": [
        {
            "type": "post",
            "post_id": "UgkxLvuNrYrKUGnkCWbLxd5VoPZIxuTY-8n_",
            "text": "Today marks 39 years since the release of Rick’s debut album ‘Whenever You Need Somebody’! We can't wait to celebrate the big 40 with you next year! 😉\n\nWhat’s your favourite song from the album? Let us know 👉 https://rickastley.hq.fan/whats-your-...\n\nTeam Rick ❤️",
            "published_time_text": "7 days ago (edited)",
            "like_count": 108,
            "like_count_text": "108",
            "comment_count": 8,
            "comment_count_text": "8",
            "images": [],
            "video": {
                "type": "video",
                "video_id": "BeyEGebJ1l4",
                "title": "Rick Astley - Whenever You Need Somebody (Official Video) (4K Remaster)",
                "description_snippet": "The official video for “Whenever You Need Somebody” by Rick Astley\n \nThe follow-up to the megahit “Never Gonna Give You Up”, Whenever You Need Somebody” was a global top 10 hit-making...",
                "duration": "3:28",
                "duration_seconds": 208,
                "view_count": 20633052,
                "view_count_text": "20,633,052 views",
                "published_time_text": "17 years ago",
                "is_live": false,
                "badges": [],
                "thumbnail": "https://i.ytimg.com/vi/BeyEGebJ1l4/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBqLzl_8DDgitn4yKBhjg6gQg4KgB&rs=AOn4CLDBSD1Dk9TIY_EtDloqPuVbx8YWiw&usqp=CBU",
                "channel": {
                    "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
                    "name": "Rick Astley",
                    "handle": null,
                    "thumbnail": "https://yt3.googleusercontent.com/_ShEGOdg-t5YGJse14Ooq6FYBZqX_QSlhaTNjG06miYusm5lWm1UroLyVxnYtahADfRTVLtuVQ=s88-c-k-c0x00ffffff-no-rj",
                    "is_verified": true
                },
                "url": "https://www.youtube.com/watch?v=BeyEGebJ1l4"
            },
            "poll": null,
            "author": {
                "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
                "name": "Rick Astley",
                "handle": "@RickAstleyYT",
                "thumbnail": "https://yt3.googleusercontent.com/_ShEGOdg-t5YGJse14Ooq6FYBZqX_QSlhaTNjG06miYusm5lWm1UroLyVxnYtahADfRTVLtuVQ=s76-c-k-c0x00ffffff-no-rj-mo"
            },
            "url": "https://www.youtube.com/post/UgkxLvuNrYrKUGnkCWbLxd5VoPZIxuTY-8n_"
        },
        {
            "type": "post",
            "post_id": "Ugkx6HzKUems4roLJrhsxgkRwC0sz_cHiVHX",
            "text": "We’re excited to announce that Rick is bringing his spectacular Swinging Christmas show back to London’s iconic Royal Albert Hall on 9th December 2026! 🎄✨\n \nPre-sale begins tomorrow, Wednesday 23rd September, at 10am BST.Sign up for pre-sale access: https://gigst.rs/RASC26SignUp \n \nGeneral sale begins Friday 25th September at 10am BST.\n\nLet’s swing into Christmas together!\n\nTeam Rick",
            "published_time_text": "2 months ago",
            "like_count": 4500,
            "like_count_text": "4.5K",
            "comment_count": 138,
            "comment_count_text": "138",
            "images": [
                "https://yt3.ggpht.com/fguRbd_ZoAiK9tpgAcgOXqMDRtt4mpbAB-ftzqh4kS01g4KnHANFrCVqsNpu8R4MBpgYDr3rzAn6=s1080-c-fcrop64=1,00000000ffffffff-rw-nd-v1"
            ],
            "video": null,
            "poll": null,
            "author": {
                "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
                "name": "Rick Astley",
                "handle": "@RickAstleyYT",
                "thumbnail": "https://yt3.googleusercontent.com/_ShEGOdg-t5YGJse14Ooq6FYBZqX_QSlhaTNjG06miYusm5lWm1UroLyVxnYtahADfRTVLtuVQ=s76-c-k-c0x00ffffff-no-rj-mo"
            },
            "url": "https://www.youtube.com/post/Ugkx6HzKUems4roLJrhsxgkRwC0sz_cHiVHX"
        },
        {
            "type": "post",
            "post_id": "UgkxufAVto9bwy5lOS5oaHC5mqSKYVowzPpI",
            "text": "38 years on, and the music video still hits 🕺 - Team Rick",
            "published_time_text": "2 months ago",
            "like_count": 254,
            "like_count_text": "254",
            "comment_count": 10,
            "comment_count_text": "10",
            "images": [],
            "video": {
                "type": "video",
                "video_id": "yBwD4iYcWC4",
                "title": "Rick Astley - She Wants To Dance With Me (Official Video) (4K Remaster)",
                "description_snippet": "Official Video for “She Wants To Dance With Me” by Rick Astley\n\nNever: The Autobiography 📚 OUT NOW! \nFollow this link to get your copy and listen to Rick’s ‘Never’ playlist ❤️...",
                "duration": "4:20",
                "duration_seconds": 260,
                "view_count": 26300953,
                "view_count_text": "26,300,953 views",
                "published_time_text": "14 years ago",
                "is_live": false,
                "badges": [],
                "thumbnail": "https://i.ytimg.com/vi/yBwD4iYcWC4/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBqLzl_8DDgijl5ChBhjg6gQg4KgB&rs=AOn4CLBsQS95-5v7NYiY4OfDzQEzAe0p8g&usqp=CBU",
                "channel": {
                    "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
                    "name": "Rick Astley",
                    "handle": null,
                    "thumbnail": "https://yt3.googleusercontent.com/_ShEGOdg-t5YGJse14Ooq6FYBZqX_QSlhaTNjG06miYusm5lWm1UroLyVxnYtahADfRTVLtuVQ=s88-c-k-c0x00ffffff-no-rj",
                    "is_verified": true
                },
                "url": "https://www.youtube.com/watch?v=yBwD4iYcWC4"
            },
            "poll": null,
            "author": {
                "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
                "name": "Rick Astley",
                "handle": "@RickAstleyYT",
                "thumbnail": "https://yt3.googleusercontent.com/_ShEGOdg-t5YGJse14Ooq6FYBZqX_QSlhaTNjG06miYusm5lWm1UroLyVxnYtahADfRTVLtuVQ=s76-c-k-c0x00ffffff-no-rj-mo"
            },
            "url": "https://www.youtube.com/post/UgkxufAVto9bwy5lOS5oaHC5mqSKYVowzPpI"
        },
        {
            "type": "post",
            "post_id": "UgkxOZefqLHjXjtTyCYepL11ELz6kSlfg1I1",
            "text": "Valencia 💃 Rick will be coming to @far_valencia on the 16th of July 2026. Tickets go on sale Thursday 18th December at 12:00 PM CET - Team Rick",
            "published_time_text": "11 months ago",
            "like_count": 1700,
            "like_count_text": "1.7K",
            "comment_count": 95,
            "comment_count_text": "95",
            "images": [
                "https://yt3.ggpht.com/WU4GyBaChfxlH9PuIxQKz-aa-0l-gArC2gvC-Hsj_ayj9Pl5Ji7657tHYoYMDl8EHl5lDKrtUY_51mk=s1080-c-fcrop64=1,00000000ffffcccc-rw-nd-v1"
            ],
            "video": null,
            "poll": null,
            "author": {
                "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
                "name": "Rick Astley",
                "handle": "@RickAstleyYT",
                "thumbnail": "https://yt3.googleusercontent.com/_ShEGOdg-t5YGJse14Ooq6FYBZqX_QSlhaTNjG06miYusm5lWm1UroLyVxnYtahADfRTVLtuVQ=s76-c-k-c0x00ffffff-no-rj-mo"
            },
            "url": "https://www.youtube.com/post/UgkxOZefqLHjXjtTyCYepL11ELz6kSlfg1I1"
        },
        {
            "type": "post",
            "post_id": "UgkxROz37qu6JZHHxEIEFpktfwje730One1P",
            "text": "Keep It Turned On was released 24 years ago today 💿 What's your favourite track from the album? - Team Rick",
            "published_time_text": "11 months ago",
            "like_count": 2200,
            "like_count_text": "2.2K",
            "comment_count": 88,
            "comment_count_text": "88",
            "images": [
                "https://yt3.ggpht.com/nW-k3FNoVSv62ePx-cei7tOli06H7aww-gV3-1NWKh3IszsnQEiiHwyIW_OaY4FLQgPWhtVREX5p2Oc=s890-c-fcrop64=1,00930000ff6cffff-rw-nd-v1"
            ],
            "video": null,
            "poll": null,
            "author": {
                "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
                "name": "Rick Astley",
                "handle": "@RickAstleyYT",
                "thumbnail": "https://yt3.googleusercontent.com/_ShEGOdg-t5YGJse14Ooq6FYBZqX_QSlhaTNjG06miYusm5lWm1UroLyVxnYtahADfRTVLtuVQ=s76-c-k-c0x00ffffff-no-rj-mo"
            },
            "url": "https://www.youtube.com/post/UgkxROz37qu6JZHHxEIEFpktfwje730One1P"
        }
    ],
    "next_cursor": "4qmFsgKBARIYVUN1QVhGa2dzdzFMN3hhQ2ZuZDVKSk93GkxFZ1Z3YjNOMGM2b0RLQW9rVVRKb1ExSkdUWHBXYWs1c1lYcEdkVlZxUWxkVGJVWnpWMjAxV21KVk5VWlNWVVpDS0FyeUJnUUtBa29BmgIWYmFja3N0YWdlLWl0ZW0tc2VjdGlvbg%3D%3D"
}
Get channel posts — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15377/youtube+api/41299/get+channel+posts?channel_id=UCuAXFkgsw1L7xaCfnd5JJOw&language=en&country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Searches the videos, playlists and posts of one channel, each with the same data as in the /search endpoint. Pass "next_cursor" as "cursor" to get the next page.
Endpoint ID: 41300
GET https://zylalabs.com/api/15377/youtube+api/41300/search+channel
INPUT PARAMETERS

Search channel — Endpoint Features

Object Description
channel_id Required Channel id (e.g. "UCuAXFkgsw1L7xaCfnd5JJOw"), handle (e.g. "@RickAstleyYT") or channel link. Use the /search endpoint with type "channel" to list valid values.
query Required Search text (e.g. "live").
cursor Optional Optional "next_cursor" value of the previous page, to get the next page.
language Optional Optional language of the texts (defaults to "en"); in another language the counts come as text only. Use the /general/languages endpoint to list valid values.
country Optional Optional two-letter country code (defaults to "US").

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

channel_id
query
cursor
language
country
API EXAMPLE RESPONSE
JSON
{
    "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
    "query": "live",
    "items": [
        {
            "type": "playlist",
            "playlist_id": "PLlaN88a7y2_qXgEx55T2BjG-LL7-37bIT",
            "title": "Rick Astley: Live Performances",
            "video_count": 12,
            "video_count_text": "12",
            "is_mix": false,
            "updated_text": null,
            "thumbnail": "https://i.ytimg.com/vi/0Aud6ROCkKI/hqdefault.jpg?sqp=-oaymwExCOADEI4CSFryq4qpAyMIARUAAIhCGAHwAQH4Af4JgALQBYoCDAgAEAEYOyAuKH8wDw==&rs=AOn4CLCkdzr6IW6Q2WcO1uwmNbslJ6j2kA",
            "channel": {
                "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
                "name": "Rick Astley",
                "handle": null,
                "thumbnail": null,
                "is_verified": null
            },
            "url": "https://www.youtube.com/playlist?list=PLlaN88a7y2_qXgEx55T2BjG-LL7-37bIT"
        },
        {
            "type": "video",
            "video_id": "IO9XlQrEt2Y",
            "title": "Rick Astley - Never Gonna Give You Up (Live) (The Roxy 1987)",
            "description_snippet": "“Never Gonna Give You Up” by Rick Astley, performed live at The Roxy, 1987\n\nSubscribe to the official Rick Astley YouTube channel: https://RickAstley.lnk.to/YTSubID\n\nFollow Rick Astley:...",
            "duration": "2:58",
            "duration_seconds": 178,
            "view_count": 9315310,
            "view_count_text": "9,315,310 views",
            "published_time_text": "10 years ago",
            "is_live": false,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/IO9XlQrEt2Y/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLCpAhG6uuKTp1h77BXiLuBrwfJdug",
            "channel": {
                "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
                "name": "Rick Astley",
                "handle": null,
                "thumbnail": "https://yt3.googleusercontent.com/_ShEGOdg-t5YGJse14Ooq6FYBZqX_QSlhaTNjG06miYusm5lWm1UroLyVxnYtahADfRTVLtuVQ=s88-c-k-c0x00ffffff-no-rj",
                "is_verified": true
            },
            "url": "https://www.youtube.com/watch?v=IO9XlQrEt2Y"
        },
        {
            "type": "video",
            "video_id": "DD70oKDlemE",
            "title": "Rick Astley - Never Gonna Give You Up (Live) (Top Of The Pops 1987)",
            "description_snippet": "Rick Astley - Never Gonna Give You Up (Top Of The Pops 1987)\n\nSubscribe to the official Rick Astley YouTube channel: https://RickAstley.lnk.to/YTSubID\n\nFollow Rick Astley:\nFacebook: https://RickAst...",
            "duration": "3:16",
            "duration_seconds": 196,
            "view_count": 1486395,
            "view_count_text": "1,486,395 views",
            "published_time_text": "13 years ago",
            "is_live": false,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/DD70oKDlemE/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAtQkie-IVyytt-ojlgZGhZg8Npxw",
            "channel": {
                "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
                "name": "Rick Astley",
                "handle": null,
                "thumbnail": "https://yt3.googleusercontent.com/_ShEGOdg-t5YGJse14Ooq6FYBZqX_QSlhaTNjG06miYusm5lWm1UroLyVxnYtahADfRTVLtuVQ=s88-c-k-c0x00ffffff-no-rj",
                "is_verified": true
            },
            "url": "https://www.youtube.com/watch?v=DD70oKDlemE"
        },
        {
            "type": "video",
            "video_id": "eFebWQucp20",
            "title": "Always time for some live on-stage quiff maintenance 😉 - Team Rick",
            "description_snippet": null,
            "duration": "0:12",
            "duration_seconds": 12,
            "view_count": 50010,
            "view_count_text": "50,010 views",
            "published_time_text": "1 year ago",
            "is_live": false,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/eFebWQucp20/hqdefault.jpg?sqp=-oaymwE2CNACELwBSFXyq4qpAygIARUAAIhCGABwAcABBvABAfgBtgiAAoAPigIMCAAQARhlIEgoUDAP&rs=AOn4CLAb50aPawn0WfsVjOiZTgD7gIKbzw",
            "channel": {
                "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
                "name": "Rick Astley",
                "handle": null,
                "thumbnail": "https://yt3.googleusercontent.com/_ShEGOdg-t5YGJse14Ooq6FYBZqX_QSlhaTNjG06miYusm5lWm1UroLyVxnYtahADfRTVLtuVQ=s88-c-k-c0x00ffffff-no-rj",
                "is_verified": true
            },
            "url": "https://www.youtube.com/watch?v=eFebWQucp20"
        },
        {
            "type": "video",
            "video_id": "3RbyMUnksg4",
            "title": "This never gets old! #rickastley #nevergonnagiveyouup",
            "description_snippet": null,
            "duration": "0:25",
            "duration_seconds": 25,
            "view_count": 7306366,
            "view_count_text": "7,306,366 views",
            "published_time_text": "7 months ago",
            "is_live": false,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/3RbyMUnksg4/hqdefault.jpg?sqp=-oaymwE2CNACELwBSFXyq4qpAygIARUAAIhCGABwAcABBvABAfgBtgiAAoAPigIMCAAQARhyIEMoKzAP&rs=AOn4CLA43Ihk_A35QzF-i4_bzkepeqZl7w",
            "channel": {
                "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
                "name": "Rick Astley",
                "handle": null,
                "thumbnail": "https://yt3.googleusercontent.com/_ShEGOdg-t5YGJse14Ooq6FYBZqX_QSlhaTNjG06miYusm5lWm1UroLyVxnYtahADfRTVLtuVQ=s88-c-k-c0x00ffffff-no-rj",
                "is_verified": true
            },
            "url": "https://www.youtube.com/watch?v=3RbyMUnksg4"
        },
        {
            "type": "video",
            "video_id": "pmhj2OCyWrs",
            "title": "Let's get Never Gonna Give You Up to 1 BILLION streams on ​⁠@Spotify 😎 - Team Rick",
            "description_snippet": null,
            "duration": "0:22",
            "duration_seconds": 22,
            "view_count": 187717,
            "view_count_text": "187,717 views",
            "published_time_text": "1 year ago",
            "is_live": false,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/pmhj2OCyWrs/hqdefault.jpg?sqp=-oaymwE2CNACELwBSFXyq4qpAygIARUAAIhCGABwAcABBvABAfgBtgiAAoAPigIMCAAQARhlIF4oVTAP&rs=AOn4CLBaUQQgnRp6bzsjvz66SAJxFHT-ew",
            "channel": {
                "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
                "name": "Rick Astley",
                "handle": null,
                "thumbnail": "https://yt3.googleusercontent.com/_ShEGOdg-t5YGJse14Ooq6FYBZqX_QSlhaTNjG06miYusm5lWm1UroLyVxnYtahADfRTVLtuVQ=s88-c-k-c0x00ffffff-no-rj",
                "is_verified": true
            },
            "url": "https://www.youtube.com/watch?v=pmhj2OCyWrs"
        },
        {
            "type": "video",
            "video_id": "UT7j2KdUosM",
            "title": "Rick Astley - Whenever You Need Somebody (Live) (The Roxy 1987)",
            "description_snippet": "Rick Astley - Whenever You Need Somebody (The Roxy)\n\nSubscribe to the official Rick Astley YouTube channel: https://RickAstley.lnk.to/YTSubID \n\nFollow Rick Astley:\nFacebook: https://RickAstley.lnk....",
            "duration": "2:49",
            "duration_seconds": 169,
            "view_count": 320230,
            "view_count_text": "320,230 views",
            "published_time_text": "10 years ago",
            "is_live": false,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/UT7j2KdUosM/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLBb7F7Xd2syCkvSfWoK7gsmARne6w",
            "channel": {
                "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
                "name": "Rick Astley",
                "handle": null,
                "thumbnail": "https://yt3.googleusercontent.com/_ShEGOdg-t5YGJse14Ooq6FYBZqX_QSlhaTNjG06miYusm5lWm1UroLyVxnYtahADfRTVLtuVQ=s88-c-k-c0x00ffffff-no-rj",
                "is_verified": true
            },
            "url": "https://www.youtube.com/watch?v=UT7j2KdUosM"
        }
    ],
    "next_cursor": "4qmFsgJ0EhhVQ3VBWEZrZ3N3MUw3eGFDZm5kNUpKT3caJkNCMFNCbk5sWVhKamFEQUJPQUZnQVdvQWVnTkhRalM0QVFBJTNEWgRsaXZlmgIpYnJvd3NlLWZlZWRVQ3VBWEZrZ3N3MUw3eGFDZm5kNUpKT3dzZWFyY2g%3D"
}
Search channel — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15377/youtube+api/41300/search+channel?channel_id=UCuAXFkgsw1L7xaCfnd5JJOw&query=live&language=en&country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns the shorts of a channel, newest, most viewed or oldest first, each with its id, title, views and thumbnail. About 48 a page; pass "next_cursor" as "cursor" to get the next page.
Endpoint ID: 41301
GET https://zylalabs.com/api/15377/youtube+api/41301/get+channel+shorts
INPUT PARAMETERS

Get channel shorts — Endpoint Features

Object Description
channel_id Required Channel id (e.g. "UCuAXFkgsw1L7xaCfnd5JJOw"), handle (e.g. "@RickAstleyYT") or channel link. Use the /search endpoint with type "channel" to list valid values.
sort Optional Optional sort order: "latest", "popular" or "oldest" (defaults to "latest"). Use the /general/channel-sorts endpoint to list valid values.
cursor Optional Optional "next_cursor" value of the previous page, to get the next page.
language Optional Optional language of the texts (defaults to "en"); in another language the counts come as text only. Use the /general/languages endpoint to list valid values.
country Optional Optional two-letter country code (defaults to "US").

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

channel_id
sort
cursor
language
country
API EXAMPLE RESPONSE
JSON
{
    "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
    "items": [
        {
            "type": "short",
            "video_id": "YJbUv8BIZRY",
            "title": "Recording an audiobook is a lot harder than you think 😂 Listen to Never: The Autobiography! 📚",
            "view_count": 12000,
            "view_count_text": "12K views",
            "thumbnail": "https://i.ytimg.com/vi/YJbUv8BIZRY/frame0.jpg",
            "url": "https://www.youtube.com/shorts/YJbUv8BIZRY"
        },
        {
            "type": "short",
            "video_id": "-cMznWcKK5Q",
            "title": "When you’re scared of flying and have to get to Japan somehow… 🥴 #rickastley #autobiography",
            "view_count": 16000,
            "view_count_text": "16K views",
            "thumbnail": "https://i.ytimg.com/vi/-cMznWcKK5Q/frame0.jpg",
            "url": "https://www.youtube.com/shorts/-cMznWcKK5Q"
        },
        {
            "type": "short",
            "video_id": "TIRgIY2nwOk",
            "title": "This version of Never Gonna Give You Up still gets to us 😭 #nevergonnagiveyouup",
            "view_count": 64000,
            "view_count_text": "64K views",
            "thumbnail": "https://i.ytimg.com/vi/TIRgIY2nwOk/frame0.jpg",
            "url": "https://www.youtube.com/shorts/TIRgIY2nwOk"
        },
        {
            "type": "short",
            "video_id": "9xKcnpo_L_o",
            "title": "Dippin My Feet just hits different live 🕺 #rickastley #livemusic",
            "view_count": 18000,
            "view_count_text": "18K views",
            "thumbnail": "https://i.ytimg.com/vi/9xKcnpo_L_o/frame0.jpg",
            "url": "https://www.youtube.com/shorts/9xKcnpo_L_o"
        },
        {
            "type": "short",
            "video_id": "6oHkCfhlDnc",
            "title": "Hits for decades 🕺 We still have The Best of Me (and the Never Edition!) on repeat ❤️ Team Rick",
            "view_count": 24000,
            "view_count_text": "24K views",
            "thumbnail": "https://i.ytimg.com/vi/6oHkCfhlDnc/frame0.jpg",
            "url": "https://www.youtube.com/shorts/6oHkCfhlDnc"
        },
        {
            "type": "short",
            "video_id": "E_MGy41IYVw",
            "title": "38 years on, and the music video still hits 🕺 # #rickastley #80smusic",
            "view_count": 58000,
            "view_count_text": "58K views",
            "thumbnail": "https://i.ytimg.com/vi/E_MGy41IYVw/frame0.jpg",
            "url": "https://www.youtube.com/shorts/E_MGy41IYVw"
        },
        {
            "type": "short",
            "video_id": "ihRdK3x3cUY",
            "title": "A message from Rick ♥️ #rickastley",
            "view_count": 78000,
            "view_count_text": "78K views",
            "thumbnail": "https://i.ytimg.com/vi/ihRdK3x3cUY/frame0.jpg",
            "url": "https://www.youtube.com/shorts/ihRdK3x3cUY"
        },
        {
            "type": "short",
            "video_id": "JjI4o2w6D5A",
            "title": "We had a fantastic time in Cologne last night. Thanks for having us! ♥️🇩🇪",
            "view_count": 611000,
            "view_count_text": "611K views",
            "thumbnail": "https://i.ytimg.com/vi/JjI4o2w6D5A/frame0.jpg",
            "url": "https://www.youtube.com/shorts/JjI4o2w6D5A"
        },
        {
            "type": "short",
            "video_id": "GdbjNGtWPe4",
            "title": "39 years of Never Gonna Give You Up!🕺Next year it’s the big 4-0… how should we celebrate? Team Rick",
            "view_count": 98000,
            "view_count_text": "98K views",
            "thumbnail": "https://i.ytimg.com/vi/GdbjNGtWPe4/frame0.jpg",
            "url": "https://www.youtube.com/shorts/GdbjNGtWPe4"
        },
        {
            "type": "short",
            "video_id": "YJi5uH8YHG8",
            "title": "Copenhagen, you were amazing. Tak 🇩🇰♥️ #rickastley #tivoligardens",
            "view_count": 31000,
            "view_count_text": "31K views",
            "thumbnail": "https://i.ytimg.com/vi/YJi5uH8YHG8/frame0.jpg",
            "url": "https://www.youtube.com/shorts/YJi5uH8YHG8"
        },
        {
            "type": "short",
            "video_id": "WmXE7IfqXQ8",
            "title": "Fly Me To The Moon 🌙 #rickastley",
            "view_count": 72000,
            "view_count_text": "72K views",
            "thumbnail": "https://i.ytimg.com/vi/WmXE7IfqXQ8/frame0.jpg",
            "url": "https://www.youtube.com/shorts/WmXE7IfqXQ8"
        },
        {
            "type": "short",
            "video_id": "S069PVmKXZ4",
            "title": "Last but not least… Angels on My Side ♥️ watch and stream now.",
            "view_count": 67000,
            "view_count_text": "67K views",
            "thumbnail": "https://i.ytimg.com/vi/S069PVmKXZ4/frame0.jpg",
            "url": "https://www.youtube.com/shorts/S069PVmKXZ4"
        }
    ],
    "next_cursor": "4qmFsgKdDhIYVUN1QVhGa2dzdzFMN3hhQ2ZuZDVKSk93GoAOOGdhM0NocTBDbEt4Q2pLdUNnb2tObUl4WkdObVlXVXRNREF3TUMweU1XWXlMV0UyWWpVdE5UZ3lOREk1WTJGaVl6aGpFb01LUVdOV09GWmtXR2hvTW01bVlWRTVSek5PY0hCcU5rOWlSMU5KZGxkTlYyUnRZVFJNYWpRd05FTnRTMG8xYmtwNk9XTmhRa281VWpkQmFsZHdXRVI2YkV4bFMwWllVME00YzFsSU9EUnZNMUZ3TkdGbE5WQm5TRlJaZVRKTFgzUkhVR2RoYzFORWQzaDNUVTFCZDBaUmNWcDNNRzFDZEhKRmRtTTFZakIxZW5FMmJXMXNTRzl2VFZWblNtZFlaVEJsZFZWYVJqaGhaMjE1TjA5VmFYb3hRVmxwTkhvNGJHaFFRa2xVUjFkUWVuaEllazlTZDJNd1VtTmtiMVIzUnpoaldIaEVRV0pGZEVkSVMybEVhekpsTVV0ek4wZDJiM2xWTVROQ1Z6TmpOMnBxVVc0Mk0xQnZSakEyUVZKM2RHVlJNbkZQVUVneVQxWjRWVXhJUjBKUVNFOVRaa3hhTUZsNldXTklXSGxzY1RsS1EydHRjRnBWTldaNk5XMTZaVXcwWjB0ZmJEaFdiR3R4VGxNM2MzSkRkRlppYWpabmRrSkhRV3hKUjB0QllrUnBhSFJEUjFka01rcHVOVWxaZG14R00xbEhiWFpUV1dwTGNISkdXbFkxY25CelgxSm9URnBUV2psdFEzTklRMlpZVUcxbE0zQm1jMGR2ZW1kcGFHMWFRbVozUlROS1VGOWhlamxqYWtsbU1GVnRZM1ZrVEhaa1RWTmtXRWxSZGtoQ1pXZHhMWEJzWkRodWVsWnplbTFmTjJ4QlZtMDVhMFozVGpGMWJXSkthR1pmVVU4NU1XNW5TUzA0Y1RRd1UwazVWRkJ6UWtkU01YaE1iSEptU0RoQmNUVTBiRzlDTlRWWFEwWmlRMGxOUkd0clVqUnNVbGRaUzA5NVZHb3lUMjFDTlVzMGRGcFhNMUpZWVRKcFlsUjJUa2RKVGpWdWQya3pjRU54ZEhSQmVYVkhUMFUwYTJzM2JHNW5WRkppYWtsYUxYcGZMWGhaVXpORFRXOXJjQzFFZGtwQmN6RTVZM1Z0UmsxcFNUbFdTV2xWUzJsa2NGUlhZV3BvVlZCSmRXOWphMUZJUjE5QmVVdEVRMWRYYUZVdFIzZzJUMDVtZGt0eFozQmpTRmx2UlRFeldYaDVaa1JPUnpCSWNIcGFhakJpYUdZeVZVTlZTRkJ6ZUd4WlRuWnZibDlrUkZsb1FsRkpjbVZpYW5GUFdsVmZYMnhrVUhnMVZ6RTBZbUoyU0VKaVNuVllWMjFPWDNwQlZEaHpXV2RWVkdGR1luQkhRVlZOVUhkcVlVbE5XVEI2WjJoNWRGaE9hbVl0TVV0b1lXNUxUSFJ1TXpWUGR6TmxW..."
}
Get channel shorts — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15377/youtube+api/41301/get+channel+shorts?channel_id=UCuAXFkgsw1L7xaCfnd5JJOw&sort=latest&language=en&country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns the live streams of a channel, current, upcoming and past, newest, most viewed or oldest first, each with the same data as in the /channel/videos endpoint. 30 a page; pass "next_cursor" as "cursor" to get the next page.
Endpoint ID: 41302
GET https://zylalabs.com/api/15377/youtube+api/41302/get+channel+live+streams
INPUT PARAMETERS

Get channel live streams — Endpoint Features

Object Description
channel_id Required Channel id (e.g. "UCSJ4gkVC6NrvII8umztf0Ow"), handle (e.g. "@LofiGirl") or channel link. Use the /search endpoint with type "channel" to list valid values.
sort Optional Optional sort order: "latest", "popular" or "oldest" (defaults to "latest"). Use the /general/channel-sorts endpoint to list valid values.
cursor Optional Optional "next_cursor" value of the previous page, to get the next page.
language Optional Optional language of the texts (defaults to "en"); in another language the counts come as text only. Use the /general/languages endpoint to list valid values.
country Optional Optional two-letter country code (defaults to "US").

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

channel_id
sort
cursor
language
country
API EXAMPLE RESPONSE
JSON
{
    "channel_id": "UCSJ4gkVC6NrvII8umztf0Ow",
    "items": [
        {
            "type": "video",
            "video_id": "4t4AQ15yj1M",
            "title": "christmas lofi radio 🎄 cozy ambience to relax to",
            "description_snippet": null,
            "duration": null,
            "duration_seconds": null,
            "view_count": 6100,
            "view_count_text": "6.1K watching",
            "published_time_text": null,
            "is_live": true,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/4t4AQ15yj1M/hq720.jpg?v=6aea0b77&sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAvFULKolKf1uPBge-AzfljwUzKaw",
            "channel": {
                "channel_id": "UCSJ4gkVC6NrvII8umztf0Ow",
                "name": null,
                "handle": null,
                "thumbnail": null,
                "is_verified": null
            },
            "url": "https://www.youtube.com/watch?v=4t4AQ15yj1M"
        },
        {
            "type": "video",
            "video_id": "0sfDth4lMLc",
            "title": "24/7 halloween ambience 🎃 spooky lofi to get chills to",
            "description_snippet": null,
            "duration": null,
            "duration_seconds": null,
            "view_count": 225,
            "view_count_text": "225 watching",
            "published_time_text": null,
            "is_live": true,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/0sfDth4lMLc/hq720.jpg?v=6ad771e2&sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLC7072963-uWxiAZtxFeygCvXs4jg",
            "channel": {
                "channel_id": "UCSJ4gkVC6NrvII8umztf0Ow",
                "name": null,
                "handle": null,
                "thumbnail": null,
                "is_verified": null
            },
            "url": "https://www.youtube.com/watch?v=0sfDth4lMLc"
        },
        {
            "type": "video",
            "video_id": "3PFJ9SETS4M",
            "title": "lofi house radio 🌅  lounge music to vibe/chill to",
            "description_snippet": null,
            "duration": null,
            "duration_seconds": null,
            "view_count": 978,
            "view_count_text": "978 watching",
            "published_time_text": null,
            "is_live": true,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/3PFJ9SETS4M/hq720.jpg?v=6ace2c85&sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLDkXfFkwL3BxQKnAlUMefPMYcHkMg",
            "channel": {
                "channel_id": "UCSJ4gkVC6NrvII8umztf0Ow",
                "name": null,
                "handle": null,
                "thumbnail": null,
                "is_verified": null
            },
            "url": "https://www.youtube.com/watch?v=3PFJ9SETS4M"
        },
        {
            "type": "video",
            "video_id": "rFZHOHl-L8A",
            "title": "lofi hip hop radio 📚 beats to relax/study to",
            "description_snippet": null,
            "duration": null,
            "duration_seconds": null,
            "view_count": 19000,
            "view_count_text": "19K watching",
            "published_time_text": null,
            "is_live": true,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/rFZHOHl-L8A/hq720.jpg?v=6ad62bed&sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLCdekX1ygqqUJynjbliA5ayfR7tlw",
            "channel": {
                "channel_id": "UCSJ4gkVC6NrvII8umztf0Ow",
                "name": null,
                "handle": null,
                "thumbnail": null,
                "is_verified": null
            },
            "url": "https://www.youtube.com/watch?v=rFZHOHl-L8A"
        },
        {
            "type": "video",
            "video_id": "0muHFBSiybw",
            "title": "summer lofi radio ☀️ music to put you in a better mood",
            "description_snippet": null,
            "duration": null,
            "duration_seconds": null,
            "view_count": 199,
            "view_count_text": "199 watching",
            "published_time_text": null,
            "is_live": true,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/0muHFBSiybw/hq720.jpg?v=6ad62ea0&sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLDtwURbacbkuJdrgs7R87At0ddR6g",
            "channel": {
                "channel_id": "UCSJ4gkVC6NrvII8umztf0Ow",
                "name": null,
                "handle": null,
                "thumbnail": null,
                "is_verified": null
            },
            "url": "https://www.youtube.com/watch?v=0muHFBSiybw"
        },
        {
            "type": "video",
            "video_id": "VAlMDl00mYY",
            "title": "sleep lofi radio 🌌 relaxing music to sleep/dream to",
            "description_snippet": null,
            "duration": null,
            "duration_seconds": null,
            "view_count": 783,
            "view_count_text": "783 watching",
            "published_time_text": null,
            "is_live": true,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/VAlMDl00mYY/hq720.jpg?v=6ad62e47&sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAgGDF433vsw7GaUAacYgzDg9S27w",
            "channel": {
                "channel_id": "UCSJ4gkVC6NrvII8umztf0Ow",
                "name": null,
                "handle": null,
                "thumbnail": null,
                "is_verified": null
            },
            "url": "https://www.youtube.com/watch?v=VAlMDl00mYY"
        }
    ],
    "next_cursor": null
}
Get channel live streams — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15377/youtube+api/41302/get+channel+live+streams?channel_id=UCSJ4gkVC6NrvII8umztf0Ow&sort=latest&language=en&country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns the videos of a channel, newest, most viewed or oldest first, each with its id, title, duration, views, upload time and thumbnail. 30 a page; pass "next_cursor" as "cursor" to get the next page.
Endpoint ID: 41303
GET https://zylalabs.com/api/15377/youtube+api/41303/get+channel+videos
INPUT PARAMETERS

Get channel videos — Endpoint Features

Object Description
channel_id Required Channel id (e.g. "UCuAXFkgsw1L7xaCfnd5JJOw"), handle (e.g. "@RickAstleyYT") or channel link. Use the /search endpoint with type "channel" to list valid values.
sort Optional Optional sort order: "latest", "popular" or "oldest" (defaults to "latest"). Use the /general/channel-sorts endpoint to list valid values.
cursor Optional Optional "next_cursor" value of the previous page, to get the next page.
language Optional Optional language of the texts (defaults to "en"); in another language the counts come as text only. Use the /general/languages endpoint to list valid values.
country Optional Optional two-letter country code (defaults to "US").

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

channel_id
sort
cursor
language
country
API EXAMPLE RESPONSE
JSON
{
    "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
    "items": [
        {
            "type": "video",
            "video_id": "PXC_PYeB6F8",
            "title": "Rick Astley - Angels On My Side (Live at The O2, London, April 2026)",
            "description_snippet": null,
            "duration": "3:51",
            "duration_seconds": 231,
            "view_count": 125000,
            "view_count_text": "125K views",
            "published_time_text": "4 months ago",
            "is_live": false,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/PXC_PYeB6F8/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLDjichxht-_GtPETZ7g8ZB6-E32BQ",
            "channel": {
                "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
                "name": null,
                "handle": null,
                "thumbnail": null,
                "is_verified": null
            },
            "url": "https://www.youtube.com/watch?v=PXC_PYeB6F8"
        },
        {
            "type": "video",
            "video_id": "LaOUkDBDjW8",
            "title": "Rick Astley - Dance (Live at The O2, London, April 2026)",
            "description_snippet": null,
            "duration": "3:54",
            "duration_seconds": 234,
            "view_count": 70000,
            "view_count_text": "70K views",
            "published_time_text": "4 months ago",
            "is_live": false,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/LaOUkDBDjW8/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLB22UoKUjTJ3Jjci9MCfj8vBunIlg",
            "channel": {
                "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
                "name": null,
                "handle": null,
                "thumbnail": null,
                "is_verified": null
            },
            "url": "https://www.youtube.com/watch?v=LaOUkDBDjW8"
        },
        {
            "type": "video",
            "video_id": "wvr7-pDJUOA",
            "title": "Rick Astley - Keep Singing (Live at The O2, London, April 2026)",
            "description_snippet": null,
            "duration": "4:08",
            "duration_seconds": 248,
            "view_count": 119000,
            "view_count_text": "119K views",
            "published_time_text": "5 months ago",
            "is_live": false,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/wvr7-pDJUOA/hq720.jpg?sqp=-oaymwE2CNAFEJQDSFXyq4qpAygIARUAAIhCGAFwAcABBvABAfgB_gmAAtAFigIMCAAQARhFIEAocjAP&rs=AOn4CLBS6ErmkI3QhwaE3u7QPgDbLM0dMg",
            "channel": {
                "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
                "name": null,
                "handle": null,
                "thumbnail": null,
                "is_verified": null
            },
            "url": "https://www.youtube.com/watch?v=wvr7-pDJUOA"
        },
        {
            "type": "video",
            "video_id": "dE2TxYSDy4Y",
            "title": "Rick Astley - '50' Track By Track (10 Years Later)",
            "description_snippet": null,
            "duration": "47:18",
            "duration_seconds": 2838,
            "view_count": 40000,
            "view_count_text": "40K views",
            "published_time_text": "5 months ago",
            "is_live": false,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/dE2TxYSDy4Y/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAipVCApzUVkKpKpsSWkeS3Z3cw4Q",
            "channel": {
                "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
                "name": null,
                "handle": null,
                "thumbnail": null,
                "is_verified": null
            },
            "url": "https://www.youtube.com/watch?v=dE2TxYSDy4Y"
        },
        {
            "type": "video",
            "video_id": "LjmOX9jGoR4",
            "title": "Rick Astley - Raindrops (Official Video)",
            "description_snippet": null,
            "duration": "3:36",
            "duration_seconds": 216,
            "view_count": 147000,
            "view_count_text": "147K views",
            "published_time_text": "6 months ago",
            "is_live": false,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/LjmOX9jGoR4/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLBw5yf6Itm35aDIKVstm8sC2Jkzow",
            "channel": {
                "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
                "name": null,
                "handle": null,
                "thumbnail": null,
                "is_verified": null
            },
            "url": "https://www.youtube.com/watch?v=LjmOX9jGoR4"
        },
        {
            "type": "video",
            "video_id": "zRVjZ2DJ9Cg",
            "title": "Rick Astley - Waiting On You (Official Video)",
            "description_snippet": null,
            "duration": "3:51",
            "duration_seconds": 231,
            "view_count": 597000,
            "view_count_text": "597K views",
            "published_time_text": "8 months ago",
            "is_live": false,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/zRVjZ2DJ9Cg/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLD0xEtJ6CEOoZwS73SAZKEw4yMosg",
            "channel": {
                "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
                "name": null,
                "handle": null,
                "thumbnail": null,
                "is_verified": null
            },
            "url": "https://www.youtube.com/watch?v=zRVjZ2DJ9Cg"
        },
        {
            "type": "video",
            "video_id": "WyK7s-osTLs",
            "title": "Rick Astley - The Never Book Tour Dublin 2024",
            "description_snippet": null,
            "duration": "6:52",
            "duration_seconds": 412,
            "view_count": 37000,
            "view_count_text": "37K views",
            "published_time_text": "1 year ago",
            "is_live": false,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/WyK7s-osTLs/hq720.jpg?sqp=-oaymwE2CNAFEJQDSFXyq4qpAygIARUAAIhCGAFwAcABBvABAfgB_gmAAtAFigIMCAAQARh_ICQoGjAP&rs=AOn4CLAaCdXmMFLihemGPLjopJV3YrF5TA",
            "channel": {
                "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
                "name": null,
                "handle": null,
                "thumbnail": null,
                "is_verified": null
            },
            "url": "https://www.youtube.com/watch?v=WyK7s-osTLs"
        }
    ],
    "next_cursor": "4qmFsgK5CxIYVUN1QVhGa2dzdzFMN3hhQ2ZuZDVKSk93GpwLOGdhc0NCcXBDSHFtQ0RxakNBb2tObUl4TkRaaE1EWXRNREF3TUMweVpHVmxMVGhpWTJJdFpEUm1OVFEzWmpnMVpUa3dFdmdIUVdOV09GWmtWMjVpU0hkWU1FVmZMV1ZtYlhSWGFUSlVibEI1WWtOUlJXMVlVMlUyWkV4WlMxcG9iVmw0UjJkbmJFVTFaV3R2WDNvelMwcFNkRUYyT0RBeWNEVmZjazFsUVZoU2VqUjFNelZCZUV0UFVETjZWR2swYzIxT1ZFdHdURWcyTlVZeVpUUjVRbWRYUzBkdlVqQlVXbVpxYkRFdGRIQm1iWGRKUlUxeVUxQlBaRFpUTmpNdFZHVjNVazVwWDNCTFJFOXVWM0F5WjFkYVMydFNjVFYyVGpsYWFFRnVTVGRCYlhWUlJVaHhlVVZHTjNaSmR6YzBUa2RSYTBKbmFWQkxTMGgxTlVkUllrVkVUMWROYXpKTmRGWklUMGRFZGxVeVRXVjBZMUpOWDBZelp5MVFSMDlzTWs1dlRHODRTMU5CVm1wUk9EVmlURTh6UWxnNU5YZHVSSGg2ZDB4a2VrOW5TVlZZYm5ocFkxaEJUa2h5YjBOT1RWWjBkRWxzWmkxU1VHdHlhVkl5YlhsclVrOVRZakZETW1RMGExSm9TSFpMVG1GRE4ybERkWE00YlRoV1NrWktRMFZyU21Wak1HTnlUa2RSU0dSZmQxUlZabnBxVGpWSVVWRm5SMFpoTW1GSFMyUldaVEppV0dneVoyVk9NRXhmZGtsRVMyOXdlWGQ0VTBwdlYwZE9ZVGxMVm1SQ2RtMVBRbFJXZVdOMU0xTkNUelowY3pOVFIzZGhhMDlpVjBoS2VUbEVNbVIyUTFkM1N6aG9lbG95T1drM2QyOVdYME5MWlhwVWNHdHdVV2RaUW1OMlRrVnRkVGhIUjBWcGNXZE1YelpMYTBsWFRtWndVMTloYlVoZmREbFpZMGxCUms1b1ozSkxNbk0wV2xBMWEzbFRTVUpqTFhkYWQwTlFPWFZuWTFCdllqTXdkMk4zT1dsdFQxVjBORWh5VFhRd2FVMVdja1IxVnpJMFRHcFZTMHhRVm5kMmIyVnRWMU56VUY5alUydzVOMHRzUm1ZNGRESkRhRGhKT0hSRGVVeENXV05rTVZkUE5HMW5iMFZQVEhGalRFcG1USEpHWlU5WmNtSjRORTgxTTBoSE5EVm5lRmRWY1hadFRUTnRYMWs0WWkxRGVXOW5TVmw2U21ObWFqQk1jMUkyYVd0eVdWTnlXR1I1YTFCaU1HZFJaMFphYlZSWFVrWTJNblpzZW5ac2FtSkhPVjloVWtsVlYyazFTelZFZVVaRk1YSm9VbFUzZUUxQlRFcDFUVWRmUzBGNU1rZHJjemxYWWtvNFdXVTVRWFptUkdZNGRGSjZOVWRLV1ZvMGFsWTRhV3d4WVhSSE5WWlhN..."
}
Get channel videos — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15377/youtube+api/41303/get+channel+videos?channel_id=UCuAXFkgsw1L7xaCfnd5JJOw&sort=latest&language=en&country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Lists the values accepted by the "sort" parameter of the /channel/videos, /channel/shorts and /channel/streams endpoints.
Endpoint ID: 41304
GET https://zylalabs.com/api/15377/youtube+api/41304/get+channel+sort+orders
INPUT PARAMETERS

Free test requests remaining: 3 of 3.

This endpoint does not require any input parameters.

API EXAMPLE RESPONSE
JSON
[
    {
        "value": "latest",
        "label": "Newest first"
    },
    {
        "value": "popular",
        "label": "Most viewed first"
    },
    {
        "value": "oldest",
        "label": "Oldest first"
    }
]
Get channel sort orders — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15377/youtube+api/41304/get+channel+sort+orders' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Lists the values accepted by the "sort" parameter of the /video/comments endpoint.
Endpoint ID: 41305
GET https://zylalabs.com/api/15377/youtube+api/41305/get+comment+sort+orders
INPUT PARAMETERS

Free test requests remaining: 3 of 3.

This endpoint does not require any input parameters.

API EXAMPLE RESPONSE
JSON
[
    {
        "value": "top",
        "label": "Top comments first"
    },
    {
        "value": "newest",
        "label": "Newest first"
    }
]
Get comment sort orders — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15377/youtube+api/41305/get+comment+sort+orders' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Lists the values accepted by the "duration" parameter of the /search endpoint.
Endpoint ID: 41306
GET https://zylalabs.com/api/15377/youtube+api/41306/get+durations
INPUT PARAMETERS

Free test requests remaining: 3 of 3.

This endpoint does not require any input parameters.

API EXAMPLE RESPONSE
JSON
[
    {
        "value": "any",
        "label": "Any duration"
    },
    {
        "value": "short",
        "label": "Under 3 minutes"
    },
    {
        "value": "medium",
        "label": "3 to 20 minutes"
    },
    {
        "value": "long",
        "label": "Over 20 minutes"
    }
]
Get durations — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15377/youtube+api/41306/get+durations' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns the videos and shorts tagged with a hashtag, each with the same data as in the /search endpoint, and the number of videos and channels that use it. Pass "next_cursor" as "cursor" to get the next page.
Endpoint ID: 41307
GET https://zylalabs.com/api/15377/youtube+api/41307/get+hashtag+videos
INPUT PARAMETERS

Get hashtag videos — Endpoint Features

Object Description
hashtag Required Hashtag with or without "#" (e.g. "lofi").
cursor Optional Optional "next_cursor" value of the previous page, to get the next page.
language Optional Optional language of the texts (defaults to "en"); in another language the counts come as text only. Use the /general/languages endpoint to list valid values.
country Optional Optional two-letter country code (defaults to "US").

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

hashtag
cursor
language
country
API EXAMPLE RESPONSE
JSON
{
    "hashtag": "#lofi",
    "metadata": [
        "7.2M videos • 1.4M channels"
    ],
    "items": [
        {
            "type": "video",
            "video_id": "sF80I-TQiW0",
            "title": "90's Chill Lofi ☕️ Study Music Lofi Rain Chillhop Beats ☔️ Lofi Rain Playlist",
            "description_snippet": null,
            "duration": "11:53:45",
            "duration_seconds": 42825,
            "view_count": 32273577,
            "view_count_text": "32,273,577 views",
            "published_time_text": "2 years ago",
            "is_live": false,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/sF80I-TQiW0/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLDQJ3X7IoPg4KQ569CSak42FYrJwQ",
            "channel": {
                "channel_id": "UCuS_-bvOCh4W5Sy11Uf4H5A",
                "name": "The Japanese Town",
                "handle": null,
                "thumbnail": "https://yt3.ggpht.com/qSCIEHMCVV3joyY5lrPVv1xoHwPk-ou_M-7r5yrORp9bNJT6H_wsUlZ46Nn6cxajPOheR0hxzg4=s68-c-k-c0x00ffffff-no-rj",
                "is_verified": false
            },
            "url": "https://www.youtube.com/watch?v=sF80I-TQiW0"
        },
        {
            "type": "video",
            "video_id": "WWjDHX-s-vc",
            "title": "Warm Lofi Coffee ☕ Let the City Fade Behind You 🌆 Lofi Beats for Work / Study / Relax",
            "description_snippet": null,
            "duration": "11:54:59",
            "duration_seconds": 42899,
            "view_count": 24436,
            "view_count_text": "24,436 views",
            "published_time_text": "3 weeks ago",
            "is_live": false,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/WWjDHX-s-vc/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLB2y1Ehe8GgIIGHwm9Yx_-vvHJqfA",
            "channel": {
                "channel_id": "UCPb7HS_gEFJYV-1IOrKIUKw",
                "name": "W I N D",
                "handle": null,
                "thumbnail": "https://yt3.ggpht.com/IUp-7w1zir3rb96hveOGeC4QEflVa-jjYwxnEMIWx1UdUfdIvgoNAP5s7uKXrbgx_pLPjYUf=s68-c-k-c0x00ffffff-no-rj",
                "is_verified": false
            },
            "url": "https://www.youtube.com/watch?v=WWjDHX-s-vc"
        },
        {
            "type": "video",
            "video_id": "BYTxPFj44uo",
            "title": "Why the rush? - lo-fi beats for work/study / cat jazz",
            "description_snippet": null,
            "duration": "3:31:19",
            "duration_seconds": 12679,
            "view_count": 6344999,
            "view_count_text": "6,344,999 views",
            "published_time_text": "1 year ago",
            "is_live": false,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/BYTxPFj44uo/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAFbzTfU7trg_hlgfiWzUI9dxJZlA",
            "channel": {
                "channel_id": "UCiC2wfbkgr8DU5uOQFz9OrQ",
                "name": "chill chill journal",
                "handle": null,
                "thumbnail": "https://yt3.ggpht.com/xHar-3rbJCrOhAqI1kv4EqMxhDhLILHpn84yeUnVQSy76t2NClORvSaiC1ClK6KWYRJzaOgfIg=s88-c-k-c0x00ffffff-no-rj",
                "is_verified": true
            },
            "url": "https://www.youtube.com/watch?v=BYTxPFj44uo"
        },
        {
            "type": "video",
            "video_id": "OO2kPK5-qno",
            "title": "Make you feel positive and peaceful 🍀 Lofi Coffee ☕ ~ Lofi Hip Hop - Lofi Music [ Study/ Relax ]",
            "description_snippet": null,
            "duration": "24:38:38",
            "duration_seconds": 88718,
            "view_count": 13732313,
            "view_count_text": "13,732,313 views",
            "published_time_text": "2 years ago",
            "is_live": false,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/OO2kPK5-qno/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLBe0Ih8ae3-VncS-p0VfUBzqbfjSw",
            "channel": {
                "channel_id": "UCFHHuuy5uE3S-wJaWoY10mQ",
                "name": "Lofi Coffee",
                "handle": null,
                "thumbnail": "https://yt3.ggpht.com/yFNGC3IJTSlQrlte84JLqRQNPGspNgBNs0UrzT7i4B0im3bKdJ7wRxOjo2Rodm_O76pQP5GX=s68-c-k-c0x00ffffff-no-rj",
                "is_verified": false
            },
            "url": "https://www.youtube.com/watch?v=OO2kPK5-qno"
        }
    ],
    "next_cursor": "4qmFsgLhBRIJRkVoYXNodGFnGrwFQ0NSNi13TkRRMUZSUVVKcGVIaFBTSE4xWTFjeExYWlZRa2RRYWpBdGNIVklhazVUTVVkQ2FURTVjVTlyY1hGcFJEWnpORUpIVUhKNGJrcEhPREJ6UTNsNlFVVlpkaTFwWlhKTFgzRnBOR2hCUjBzMmMzbHlVM2gzV1hVeGVVRkZXWEZrWW5KNVRWaFBaMGs1UlVkS1lXOXhVRGR6WjFCbGJHaDNSVmwzY21sZk5WbElkbkUzVUVsQlVtcHVOR1EyYnpsYWNXTTFlV3RaTlZCWU9ERjFkbmx3ZEdwblFWSnBZV3RtYWpjMlRWOWZiVlIzV1RkMVVHd3pkbFIyWDB4Nk4wRlNhVXAxZG1KWmJUUlBXSE5oU1VKSFQxUktOSEJ1TkMwMWNqUlllR294TWpsSFJYRk1SRkZ6YTFsWmMzUmlkWGwyZFRBd2MzaHNSMDFMWVY5TmNYZzRObEJyUVhocVptaFFNMDF3ZEdaUk1VSkZXWEpMTm5wcWRDMUZYMlo0TTBkSlNEQXdiMVJmYm1KdVptdEJSVmxxT0Zka2FqbHVXbkppV2pkSFRUZGlkbVl5WW5SME5sQnlkMFZaTVhSMU9IcDJUMGgyZFVsYVIwMVBUbW8yTFZseFprYzJTMEpxY0hobVZGTXlZbTFwYUZGM1dUVndlakEwWWxoVGRUWklRVUZTYW5Wb04xUTVlRnBFWTNGRmExa3pYMkpHTUhOaVFYazFPRFpIVUhFMWNVOXhTSFUzZVdnNVFVVlpaemxNTVhkalMyWjZTMHBvUjB4eFJtbFFla3czU3paYWRrRkZXVFpMV0RrMGMzWXdlSFZqZFVkUE0yeGZUMmxXZVhKcVVYWm5SVmxmV2xRMmRtSTNUbXBOWm5GQlVtazBaM1kyZEc1eWFrVmZRMW5xQlFvS0JHeHZabWtRQUJnQpoCFGJyb3dzZS1mZWVkRkVoYXNodGFn"
}
Get hashtag videos — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15377/youtube+api/41307/get+hashtag+videos?hashtag=lofi&language=en&country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Lists the values accepted by the "language" parameter.
Endpoint ID: 41308
GET https://zylalabs.com/api/15377/youtube+api/41308/get+languages
INPUT PARAMETERS

Free test requests remaining: 3 of 3.

This endpoint does not require any input parameters.

API EXAMPLE RESPONSE
JSON
[
    {
        "value": "af",
        "label": "Afrikaans"
    },
    {
        "value": "az",
        "label": "Azerbaijani"
    },
    {
        "value": "id",
        "label": "Indonesian"
    },
    {
        "value": "ms",
        "label": "Malay"
    },
    {
        "value": "bs",
        "label": "Bosnian"
    },
    {
        "value": "ca",
        "label": "Catalan"
    },
    {
        "value": "cs",
        "label": "Czech"
    },
    {
        "value": "da",
        "label": "Danish"
    },
    {
        "value": "de",
        "label": "German"
    },
    {
        "value": "et",
        "label": "Estonian"
    },
    {
        "value": "en",
        "label": "English (US)"
    },
    {
        "value": "en-GB",
        "label": "English (UK)"
    },
    {
        "value": "en-IN",
        "label": "English (India)"
    },
    {
        "value": "es",
        "label": "Spanish (Spain)"
    },
    {
        "value": "es-419",
        "label": "Spanish (Latin America)"
    },
    {
        "value": "es-US",
        "label": "Spanish (US)"
    },
    {
        "value": "eu",
        "label": "Basque"
    },
    {
        "value": "fil",
        "label": "Filipino"
    },
    {
        "value": "fr",
        "label": "French"
    },
    {
        "value": "fr-CA",
        "label": "French (Canada)"
    },
    {
        "value": "gl",
        "label": "Galician"
    },
    {
        "value": "hr",
        "label": "Croatian"
    },
    {
        "value": "zu",
        "label": "Zulu"
    },
    {
        "value": "is",
        "label": "Icelandic"
    },
    {
        "value": "it",
        "label": "Italian"
    },
    {
        "value": "sw",
        "label": "Swahili"
    },
    {
        "value": "lv",
        "label": "Latvian"
    },
    {
        "value": "lt",
        "label": "Lithuanian"
    },
    {
        "value": "hu",
        "label": "Hungarian"
    },
    {
        "value": "nl",
        "label": "Dutch"
    },
    {
        "value": "no",
        "label": "Norwegian"
    },
    {
        "value": "uz",
        "label": "Uzbek"
    },
    {
        "value": "pl",
        "label": "Polish"
    },
    {
        "value": "pt-PT",
        "label": "Portuguese (Portugal)"
    },
    {
        "value": "pt",
        "label": "Portuguese (Brazil)"
    },
    {
        "value": "ro",
        "label": "Romanian"
    },
    {
        "value": "sq",
        "label": "Albanian"
    },
    {
        "value": "sk",
        "label": "Slovak"
    },
    {
        "value": "sl",
        "label": "Slovenian"
    },
    {
        "value": "sr-Latn",
        "label": "Serbian (Latin)"
    },
    {
        "value": "fi",
        "label": "Finnish"
    },
    {
        "value": "sv",
        "label": "Swedish"
    },
    {
        "value": "vi",
        "label": "Vietnamese"
    },
    {
        "value": "tr",
        "label": "Turkish"
    },
    {
        "value": "be",
        "label": "Belarusian"
    },
    {
        "value": "bg",
        "label": "Bulgarian"
    },
    {
        "value": "ky",
        "label": "Kyrgyz"
    },
    {
        "value": "kk",
        "label": "Kazakh"
    },
    {
        "value": "mk",
        "label": "Macedonian"
    },
    {
        "value": "mn",
        "label": "Mongolian"
    },
    {
        "value": "ru",
        "label": "Russian"
    },
    {
        "value": "sr",
        "label": "Serbian"
    },
    {
        "value": "uk",
        "label": "Ukrainian"
    },
    {
        "value": "el",
        "label": "Greek"
    },
    {
        "value": "hy",
        "label": "Armenian"
    },
    {
        "value": "iw",
        "label": "Hebrew"
    },
    {
        "value": "ur",
        "label": "Urdu"
    },
    {
        "value": "ar",
        "label": "Arabic"
    },
    {
        "value": "fa",
        "label": "Persian"
    },
    {
        "value": "ne",
        "label": "Nepali"
    },
    {
        "value": "mr",
        "label": "Marathi"
    },
    {
        "value": "hi",
        "label": "Hindi"
    },
    {
        "value": "as",
        "label": "Assamese"
    },
    {
        "value": "bn",
        "label": "Bengali"
    },
    {
        "value": "pa",
        "label": "Punjabi"
    },
    {
        "value": "gu",
        "label": "Gujarati"
    },
    {
        "value": "or",
        "label": "Odia"
    },
    {
        "value": "ta",
        "label": "Tamil"
    },
    {
        "value": "te",
        "label": "Telugu"
    },
    {
        "value": "kn",
        "label": "Kannada"
    },
    {
        "value": "ml",
        "label": "Malayalam"
    },
    {
        "value": "si",
        "label": "Sinhala"
    },
    {
        "value": "th",
        "label": "Thai"
    },
    {
        "value": "lo",
        "label": "Lao"
    },
    {
        "value": "my",
        "label": "Burmese"
    },
    {
        "value": "ka",
        "label": "Georgian"
    },
    {
        "value": "am",
        "label": "Amharic"
    },
    {
        "value": "km",
        "label": "Khmer"
    },
    {
        "value": "zh-CN",
        "label": "Chinese (Simplified)"
    },
    {
        "value": "zh-TW",
        "label": "Chinese (Traditional)"
    },
    {
        "value": "zh-HK",
        "label": "Chinese (Hong Kong)"
    },
    {
        "value": "ja",
        "label": "Japanese"
    },
    {
        "value": "ko",
        "label": "Korean"
    }
]
Get languages — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15377/youtube+api/41308/get+languages' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns what a YouTube link points to (a video, short, channel, playlist, hashtag or post) and its id, to be used with the other endpoints. Takes handle links (youtube.com/@name), custom and legacy channel links (youtube.com/c/name, youtube.com/user/name) and youtu.be links.
Endpoint ID: 41309
GET https://zylalabs.com/api/15377/youtube+api/41309/resolve+link
INPUT PARAMETERS

Resolve link — Endpoint Features

Object Description
url Required YouTube link (e.g. "https://www.youtube.com/@RickAstleyYT").

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

url
API EXAMPLE RESPONSE
JSON
{
    "type": "channel",
    "id": "UCuAXFkgsw1L7xaCfnd5JJOw",
    "url": "https://www.youtube.com/channel/UCuAXFkgsw1L7xaCfnd5JJOw"
}
Resolve link — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15377/youtube+api/41309/resolve+link?url=https://www.youtube.com/@RickAstleyYT' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Lists the values accepted by the "features" parameter of the /search endpoint.
Endpoint ID: 41310
GET https://zylalabs.com/api/15377/youtube+api/41310/get+search+features
INPUT PARAMETERS

Free test requests remaining: 3 of 3.

This endpoint does not require any input parameters.

API EXAMPLE RESPONSE
JSON
[
    {
        "value": "live",
        "label": "Live"
    },
    {
        "value": "4k",
        "label": "4K"
    },
    {
        "value": "hd",
        "label": "HD"
    },
    {
        "value": "subtitles",
        "label": "Subtitles/CC"
    },
    {
        "value": "creative_commons",
        "label": "Creative Commons"
    },
    {
        "value": "360",
        "label": "360°"
    },
    {
        "value": "vr180",
        "label": "VR180"
    },
    {
        "value": "3d",
        "label": "3D"
    },
    {
        "value": "hdr",
        "label": "HDR"
    },
    {
        "value": "location",
        "label": "Location"
    },
    {
        "value": "purchased",
        "label": "Purchased"
    }
]
Get search features — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15377/youtube+api/41310/get+search+features' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Lists the values accepted by the "sort" parameter of the /search endpoint.
Endpoint ID: 41311
GET https://zylalabs.com/api/15377/youtube+api/41311/get+search+sort+orders
INPUT PARAMETERS

Free test requests remaining: 3 of 3.

This endpoint does not require any input parameters.

API EXAMPLE RESPONSE
JSON
[
    {
        "value": "relevance",
        "label": "Most relevant first"
    },
    {
        "value": "popularity",
        "label": "Most popular first"
    }
]
Get search sort orders — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15377/youtube+api/41311/get+search+sort+orders' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Lists the values accepted by the "type" parameter of the /search endpoint.
Endpoint ID: 41312
GET https://zylalabs.com/api/15377/youtube+api/41312/get+search+types
INPUT PARAMETERS

Free test requests remaining: 3 of 3.

This endpoint does not require any input parameters.

API EXAMPLE RESPONSE
JSON
[
    {
        "value": "all",
        "label": "Videos, shorts, channels and playlists"
    },
    {
        "value": "video",
        "label": "Videos"
    },
    {
        "value": "short",
        "label": "Shorts"
    },
    {
        "value": "channel",
        "label": "Channels"
    },
    {
        "value": "playlist",
        "label": "Playlists"
    },
    {
        "value": "movie",
        "label": "Movies"
    }
]
Get search types — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15377/youtube+api/41312/get+search+types' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Lists the values accepted by the "upload_date" parameter of the /search endpoint.
Endpoint ID: 41313
GET https://zylalabs.com/api/15377/youtube+api/41313/get+upload+dates
INPUT PARAMETERS

Free test requests remaining: 3 of 3.

This endpoint does not require any input parameters.

API EXAMPLE RESPONSE
JSON
[
    {
        "value": "any",
        "label": "Any time"
    },
    {
        "value": "today",
        "label": "Today"
    },
    {
        "value": "week",
        "label": "This week"
    },
    {
        "value": "month",
        "label": "This month"
    },
    {
        "value": "year",
        "label": "This year"
    }
]
Get upload dates — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15377/youtube+api/41313/get+upload+dates' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns a playlist with its title, description, number of videos, views, last update, thumbnail and the channel that made it.
Endpoint ID: 41314
GET https://zylalabs.com/api/15377/youtube+api/41314/get+playlist+details
INPUT PARAMETERS

Get playlist details — Endpoint Features

Object Description
playlist_id Required Playlist id (e.g. "PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI") or playlist link. Use the /search endpoint with type "playlist" or the /channel/playlists endpoint to list valid values.
language Optional Optional language of the texts (defaults to "en"); in another language the counts come as text only. Use the /general/languages endpoint to list valid values.
country Optional Optional two-letter country code (defaults to "US").

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

playlist_id
language
country
API EXAMPLE RESPONSE
JSON
{
    "playlist_id": "PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI",
    "title": "Popular Music Videos",
    "description": null,
    "video_count": 182,
    "video_count_text": "182 videos",
    "view_count": 1045678974,
    "view_count_text": "1,045,678,974 views",
    "updated_text": null,
    "metadata": [
        "by Music",
        "Playlist",
        "182 videos",
        "1,045,678,974 views"
    ],
    "channel": {
        "channel_id": "UC-9-kyTW8ZkZNDHQJ6FgpwQ",
        "name": "Music",
        "handle": null,
        "thumbnail": "https://yt3.ggpht.com/M1Hbe-1uiAYWJI8-1ZzV3uf7MwoWcEmKAPbIivbKs3buggZcVLov91trUzy8y-96unrkOcv3oA=s48-c-k-c0x00ffffff-no-rj"
    },
    "thumbnail": "https://i.ytimg.com/vi/fOT0BUpITw8/hqdefault.jpg?sqp=-oaymwEXCOADEI4CSFryq4qpAwkIARUAAIhCGAE=&rs=AOn4CLBPvHeziSEJED_Foq__RulNlvvGlA&days_since_epoch=20780",
    "first_video_id": "fOT0BUpITw8",
    "url": "https://www.youtube.com/playlist?list=PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI"
}
Get playlist details — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15377/youtube+api/41314/get+playlist+details?playlist_id=PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI&language=en&country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns the videos of a playlist in their order, each with its id, title, duration, views, upload time, thumbnail and channel. Pass "next_cursor" as "cursor" to get the next page.
Endpoint ID: 41315
GET https://zylalabs.com/api/15377/youtube+api/41315/get+playlist+videos
INPUT PARAMETERS

Get playlist videos — Endpoint Features

Object Description
playlist_id Required Playlist id (e.g. "PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI") or playlist link. Use the /search endpoint with type "playlist" or the /channel/playlists endpoint to list valid values.
cursor Optional Optional "next_cursor" value of the previous page, to get the next page.
language Optional Optional language of the texts (defaults to "en"); in another language the counts come as text only. Use the /general/languages endpoint to list valid values.
country Optional Optional two-letter country code (defaults to "US").

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

playlist_id
cursor
language
country
API EXAMPLE RESPONSE
JSON
{
    "playlist_id": "PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI",
    "items": [
        {
            "type": "video",
            "video_id": "fOT0BUpITw8",
            "title": "BELLAKEO (Video Oficial) - Peso Pluma, Anitta",
            "description_snippet": null,
            "duration": "3:55",
            "duration_seconds": 235,
            "view_count": 781000000,
            "view_count_text": "781M views",
            "published_time_text": "2 years ago",
            "is_live": false,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/fOT0BUpITw8/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLDIUMo6wmNwCk7_4gaFgstLo8XRVQ",
            "channel": {
                "channel_id": "UCzrM_068Odho89mTRrrxqbA",
                "name": "Peso Pluma",
                "handle": "@pesopluma_oficial",
                "thumbnail": "https://yt3.ggpht.com/shYKZTjAV9vcGz4GWpJ_66iuvOsah34oIV2loAQzvB4Qb-Ta-DwvCOwl39uL45EG4YajxDcq=s68-c-k-c0x00ffffff-no-rj",
                "is_verified": null
            },
            "url": "https://www.youtube.com/watch?v=fOT0BUpITw8"
        },
        {
            "type": "video",
            "video_id": "NFvDHYMzj9U",
            "title": "Arcángel - FN8 ( Video Lyric )",
            "description_snippet": null,
            "duration": "10:50",
            "duration_seconds": 650,
            "view_count": 32000000,
            "view_count_text": "32M views",
            "published_time_text": "2 years ago",
            "is_live": false,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/NFvDHYMzj9U/hqdefault.jpg?sqp=-oaymwE2CNACELwBSFXyq4qpAygIARUAAIhCGAFwAcABBvABAfgB_gmAAtAFigIMCAAQARhjIGMoYzAP&rs=AOn4CLBfwrF8-B99YkS29S2MbyVfQrPfjQ",
            "channel": {
                "channel_id": "UCu4bj03KW4CwAsYtHSwMEsQ",
                "name": "Arcangel",
                "handle": null,
                "thumbnail": "https://yt3.ggpht.com/uEoj8Jo9Qt7jmxWnpI4T0EbllWzX-KWZXKaIJpICekHigtUUnK9C4FJEmX1aP1EPxxQjpjxw=s88-c-k-c0x00ffffff-no-rj",
                "is_verified": null
            },
            "url": "https://www.youtube.com/watch?v=NFvDHYMzj9U"
        },
        {
            "type": "video",
            "video_id": "8c7KOGxeY3w",
            "title": "Becky G - POR EL CONTRARIO (Performance Video) ft. Ángela Aguilar, Leonardo Aguilar",
            "description_snippet": null,
            "duration": "3:55",
            "duration_seconds": 235,
            "view_count": 804000000,
            "view_count_text": "804M views",
            "published_time_text": "2 years ago",
            "is_live": false,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/8c7KOGxeY3w/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAc8FMXFBxT72mBl7UTb-La5RqIWQ",
            "channel": {
                "channel_id": "UCgtNC51EUSgcZ6kKyVoPxKA",
                "name": "Becky G",
                "handle": null,
                "thumbnail": "https://yt3.ggpht.com/mnhA7phg9lNpqfohdcWaOiaPgtY3XK7DdgEflgyNYkwJIjdqOifaqDBDw9bL0yfOm_Oj9qwtRw=s88-c-k-c0x00ffffff-no-rj",
                "is_verified": null
            },
            "url": "https://www.youtube.com/watch?v=8c7KOGxeY3w"
        },
        {
            "type": "video",
            "video_id": "jWdxXdp8sZI",
            "title": "Real Boston Richey - The Type (Official Music Video) ft. YTB Fatt",
            "description_snippet": null,
            "duration": "3:32",
            "duration_seconds": 212,
            "view_count": 42000000,
            "view_count_text": "42M views",
            "published_time_text": "2 years ago",
            "is_live": false,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/jWdxXdp8sZI/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLCU4nNiLW-ejwKcP2XK93Pio-SQ_A",
            "channel": {
                "channel_id": "UCpkyspUtZwYhgUkepiREflg",
                "name": "Real Boston Richey",
                "handle": null,
                "thumbnail": "https://yt3.ggpht.com/YntHc6I2qEB8bJCkjgmm_wnG64FKRtn3_lk_wICe6eo6A8bNCxZyDLPCy4m2CfanmA4szgPcH8A=s88-c-k-c0x00ffffff-no-rj",
                "is_verified": null
            },
            "url": "https://www.youtube.com/watch?v=jWdxXdp8sZI"
        },
        {
            "type": "video",
            "video_id": "s6cdjJvGM2o",
            "title": "La Diabla",
            "description_snippet": null,
            "duration": "2:53",
            "duration_seconds": 173,
            "view_count": 248000000,
            "view_count_text": "248M views",
            "published_time_text": "2 years ago",
            "is_live": false,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/s6cdjJvGM2o/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLDGPlC5azB_kDun7NUUIUxe5nlG9A",
            "channel": {
                "channel_id": "UCx0lY_L_o5vFPQaLAdBasmQ",
                "name": "Xavi Oficial",
                "handle": null,
                "thumbnail": "https://yt3.ggpht.com/ywNUAEmnI3HBAytDsgZoVU_fCTIbxfIXm7w7esGDfSE5yLIr9HE6jo6Jth5EcK4OnMELgW-F=s88-c-k-c0x00ffffff-no-rj",
                "is_verified": null
            },
            "url": "https://www.youtube.com/watch?v=s6cdjJvGM2o"
        },
        {
            "type": "video",
            "video_id": "w1-jss2mZlY",
            "title": "Drake - You Broke My Heart",
            "description_snippet": null,
            "duration": "4:53",
            "duration_seconds": 293,
            "view_count": 20000000,
            "view_count_text": "20M views",
            "published_time_text": "2 years ago",
            "is_live": false,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/w1-jss2mZlY/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLA6R_WZOL5smHEMstp1zt9pENfD-w",
            "channel": {
                "channel_id": "UCByOQJjav0CUDwxCk-jVNRQ",
                "name": "Drake",
                "handle": null,
                "thumbnail": "https://yt3.ggpht.com/ytc/AIdro_lCPp6jFXJWIVHM0fIK5HofL3nyLOsmhu1Ek2OwyppYlOM=s88-c-k-c0x00ffffff-no-rj",
                "is_verified": null
            },
            "url": "https://www.youtube.com/watch?v=w1-jss2mZlY"
        }
    ],
    "next_cursor": "4qmFsgKBARIkVkxQTEZncXVMbkw1OWFsQ2xfMlRRdk9pRDVWZ20xaENhR1NJGjRDQUY2SGxCVU9rTkhVV2xGUlZrMVVXdGFRazFVWXpOT1JFazFUWHBSZVU5RVdRJTNEJTNEmgIiUExGZ3F1TG5MNTlhbENsXzJUUXZPaUQ1VmdtMWhDYUdTSQ%3D%3D"
}
Get playlist videos — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15377/youtube+api/41315/get+playlist+videos?playlist_id=PLFgquLnL59alCl_2TQvOiD5Vgm1hCaGSI&language=en&country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Searches YouTube for videos, shorts, channels, playlists and movies, with the filters of the site: type, upload date, duration, features (live, 4K, HD, subtitles, Creative Commons, 360°, VR180, 3D, HDR, location, purchased) and sort order. Every result has its type: a video with its id, title, description snippet, duration, views, upload time, badges, thumbnail and channel; a short with its id, title and views; a channel with its id, handle, subscribers and description; a playlist with its id, title, number of videos and channel. About 20 results a page; pass "next_cursor" as "cursor" to get the next page.
Endpoint ID: 41316
GET https://zylalabs.com/api/15377/youtube+api/41316/search
INPUT PARAMETERS

Search — Endpoint Features

Object Description
query Required Search text (e.g. "lofi hip hop").
type Optional Optional result type: "all", "video", "short", "channel", "playlist" or "movie" (defaults to "all"). Use the /general/search-types endpoint to list valid values.
upload_date Optional Optional upload date: "any", "today", "week", "month" or "year" (defaults to "any"). Use the /general/upload-dates endpoint to list valid values.
duration Optional Optional duration: "any", "short" (under 3 minutes), "medium" (3 to 20 minutes) or "long" (over 20 minutes) (defaults to "any"). Use the /general/durations endpoint to list valid values.
features Optional Optional comma-separated features every result must have (e.g. "hd,subtitles"). Use the /general/search-features endpoint to list valid values.
sort Optional Optional sort order: "relevance" or "popularity" (defaults to "relevance"). Use the /general/search-sorts endpoint to list valid values.
cursor Optional Optional "next_cursor" value of the previous page, to get the next page. The other filters are then taken from the cursor.
language Optional Optional language of the texts (defaults to "en"); in another language the counts come as text only. Use the /general/languages endpoint to list valid values.
country Optional Optional two-letter country code the results are for (defaults to "US").

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

query
type
upload_date
duration
features
sort
cursor
language
country
API EXAMPLE RESPONSE
JSON
{
    "query": "lofi hip hop",
    "estimated_results": 3423220,
    "items": [
        {
            "type": "video",
            "video_id": "n61ULEU7CO0",
            "title": "Best of lofi hip hop 2021 ✨ [beats to relax/study to]",
            "description_snippet": "Listen on Spotify, Apple music and more → https://fanlink.tv/BestofLofi2021 The new Lofi Girl compilation “Best of 2021” is out now ...",
            "duration": "6:10:58",
            "duration_seconds": 22258,
            "view_count": 58905159,
            "view_count_text": "58,905,159 views",
            "published_time_text": "4 years ago",
            "is_live": false,
            "badges": [
                "1 product"
            ],
            "thumbnail": "https://i.ytimg.com/vi/n61ULEU7CO0/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLAi4TCpAtbxLFIBULRlcZHudl1uFw",
            "channel": {
                "channel_id": "UCSJ4gkVC6NrvII8umztf0Ow",
                "name": "Lofi Girl",
                "handle": null,
                "thumbnail": "https://yt3.ggpht.com/REcZL_LGu0DaDaC-G7VIbN0uE_5l-i_dw6ZvOETRnY3pRhUmfkOq6C1MLephPZkV4VSzQAhEi_4=s88-c-k-c0x00ffffff-no-rj",
                "is_verified": true
            },
            "url": "https://www.youtube.com/watch?v=n61ULEU7CO0"
        },
        {
            "type": "video",
            "video_id": "zW5wpJY1rgQ",
            "title": "Night Drive ~ lofi hip hop mix ~ beats to chill / drive to",
            "description_snippet": "Listen to PUEBLO VISTA // ⟪ pvmm ⟫ → https://pvmm.ffm.to/lofivibes → https://pvmm.ffm.to/chillbeats ...",
            "duration": "24:37:03",
            "duration_seconds": 88623,
            "view_count": 6520599,
            "view_count_text": "6,520,599 views",
            "published_time_text": "4 years ago",
            "is_live": false,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/zW5wpJY1rgQ/hq720.jpg?sqp=-oaymwE2CNAFEJQDSFXyq4qpAygIARUAAIhCGAFwAcABBvABAfgB_gmAAtAFigIMCAAQARh1IDcofzAP&rs=AOn4CLDnL1l5X_ehET89uspJ47ElV4kGxA",
            "channel": {
                "channel_id": "UCq9J_CUURRfbP7vm4VN_3xg",
                "name": "Mimi Lofi Chill",
                "handle": "@mimilofichill",
                "thumbnail": "https://yt3.ggpht.com/HQs8Bet0yJvtN77N8qIorxtPmh-ZB_qcMAA27P8utiCQC7t8qsqWOuXFQ2XdES5RCcLbiLZW00M=s68-c-k-c0x00ffffff-no-rj",
                "is_verified": false
            },
            "url": "https://www.youtube.com/watch?v=zW5wpJY1rgQ"
        },
        {
            "type": "video",
            "video_id": "CLeZyIID9Bo",
            "title": "Chill Lofi Mix [chill lo-fi hip hop beats]",
            "description_snippet": "YouTube Playlists: http://listen.settle.fm/youtube Listen on Spotify, Apple Music & more: https://listen.settle.fm/playlists Tracklist ...",
            "duration": "1:44:52",
            "duration_seconds": 6292,
            "view_count": 35413706,
            "view_count_text": "35,413,706 views",
            "published_time_text": "4 years ago",
            "is_live": false,
            "badges": [
                "4K"
            ],
            "thumbnail": "https://i.ytimg.com/vi/CLeZyIID9Bo/hq720.jpg?sqp=-oaymwE2CNAFEJQDSFXyq4qpAygIARUAAIhCGAFwAcABBvABAfgB_gmAAtAFigIMCAAQARhDIGQoZTAP&rs=AOn4CLCljfsoUy4QvdaH9IydXKSjwkcbgg",
            "channel": {
                "channel_id": "UCkKT4qf-TcPFOmpqhTawrGA",
                "name": "Settle",
                "handle": "@settlefm",
                "thumbnail": "https://yt3.ggpht.com/89HydDCrVDqoTZbqoXQHr7HkQjDnvDrkkUyBFh_wP3dWm0RYHj6QtlDOvV9dcZgYEJFareVIBg=s68-c-k-c0x00ffffff-no-rj",
                "is_verified": false
            },
            "url": "https://www.youtube.com/watch?v=CLeZyIID9Bo"
        },
        {
            "type": "video",
            "video_id": "qVVmxCruC44",
            "title": "Upbeat Work Lofi 🍂 Uplifting Neo Soul & R&B for Peaceful Workday [lofi hiphop]",
            "description_snippet": "All our music is originally made by us :) Become A Lofi Soul & Subscribe: ...",
            "duration": "5:02:30",
            "duration_seconds": 18150,
            "view_count": 13267,
            "view_count_text": "13,267 views",
            "published_time_text": "6 days ago",
            "is_live": false,
            "badges": [
                "New"
            ],
            "thumbnail": "https://i.ytimg.com/vi/qVVmxCruC44/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLA9bcaf-mMGqpHB89oVqcOmB0xgYw",
            "channel": {
                "channel_id": "UCinqfJ9-v5-HHqTskU2LlIw",
                "name": "A Lofi Soul",
                "handle": "@A-Lofi-Soul",
                "thumbnail": "https://yt3.ggpht.com/EhMdoC3MSwZUKJvhtb0LHtjMBmAnNUphLUCuJaFCs4Ed9ywJqPQ6OcyphJzAkzop6iau63Uxug=s68-c-k-c0x00ffffff-no-rj",
                "is_verified": false
            },
            "url": "https://www.youtube.com/watch?v=qVVmxCruC44"
        },
        {
            "type": "video",
            "video_id": "I140iNpx1xM",
            "title": "Lofi HipHop Mix 🌻 Happy and Uplifting Beats for a Beautiful Day",
            "description_snippet": "Lofi HipHop Mix Happy and Uplifting Beats for a Beautiful Day ...",
            "duration": "4:02:23",
            "duration_seconds": 14543,
            "view_count": 2388119,
            "view_count_text": "2,388,119 views",
            "published_time_text": "3 years ago",
            "is_live": false,
            "badges": [
                "CC"
            ],
            "thumbnail": "https://i.ytimg.com/vi/I140iNpx1xM/hq720.jpg?sqp=-oaymwEcCNAFEJQDSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLBG3JJhdT-7wAdEgmg1MbHCJw_dkg",
            "channel": {
                "channel_id": "UC2ZgqWbCNz-q5_SROTvE1ew",
                "name": "Lofi & Chill Beats",
                "handle": "@lofiandchillbeats",
                "thumbnail": "https://yt3.ggpht.com/37ds_vPmFoDIILwhy59k-9cq-fArFFhdGx8VxkEGR7Jc3_aOp8sFZcBAAz19XwzLpn6VKlHZzA=s68-c-k-c0x00ffffff-no-rj",
                "is_verified": false
            },
            "url": "https://www.youtube.com/watch?v=I140iNpx1xM"
        }
    ],
    "next_cursor": "Ep0DEgxsb2ZpIGhpcCBob3AajANFZ1FRQVNBQlNCU0NBUXR1TmpGVlRFVlZOME5QTUlJQkMzcFhOWGR3U2xreGNtZFJnZ0VMUTB4bFdubEpTVVE1UW0tQ0FRdHhWbFp0ZUVOeWRVTTBOSUlCQzBreE5EQnBUbkI0TVhoTmdnRUxRWEpyTVdocWFGRk5lSE9DQVF0c1h6ZGxNbHBoYlZWd1NZSUJDemhtUTFGM1lucDFlVXBGZ2dFTFlYZHBOelJQWHpaV1NHdUNBUXR6Umpnd1NTMVVVV2xYTUlJQkN6RktOR0U1WTFReWJHdDNnZ0VMZUZaWGVsSlBTbVIwYURDQ0FRc3hSR3RFY2xaRlN6SnlZNElCQzFSVFFUWkhSRGxOYVc5TmdnRUxlbE52WVVkeFUyNWpTRGlDQVF0c1dGTkplSEZ0TUZCM1k0SUJDMmswTTNScllWUllkSGRKZ2dFTFZXSllXWGhoWmpGcGRGR0NBUXRYVjJwRVNGZ3RjeTEyWTRJQkMwMDFhRnBCVEY5b1Z6ZGpzZ0VHQ2dRSUZCQUMYgeDoGCILc2VhcmNoLWZlZWQ%3D"
}
Search — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15377/youtube+api/41316/search?query=lofi hip hop&type=video&upload_date=any&duration=any&features=hd&sort=relevance&language=en&country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns the search suggestions YouTube shows while typing, for a partial search text.
Endpoint ID: 41317
GET https://zylalabs.com/api/15377/youtube+api/41317/get+search+suggestions
INPUT PARAMETERS

Get search suggestions — Endpoint Features

Object Description
query Required Partial search text (e.g. "lofi").
language Optional Optional language of the suggestions (defaults to "en"). Use the /general/languages endpoint to list valid values.
country Optional Optional two-letter country code the suggestions are for (defaults to "US").

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

query
language
country
API EXAMPLE RESPONSE
JSON
{
    "query": "lofi",
    "suggestions": [
        "lofi",
        "lofi coffee shop",
        "lofi fireplace",
        "lofi girl",
        "lofi music",
        "lofi hip hop",
        "lofi study music",
        "lofi beats",
        "lofi asmr",
        "lofi christmas",
        "lofi jazz",
        "lofi sleep",
        "lofi study",
        "lofi no ads"
    ]
}
Get search suggestions — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15377/youtube+api/41317/get+search+suggestions?query=lofi&language=en&country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns the replies to a comment, each with the same data as in the /video/comments endpoint. 10 a page; pass "next_cursor" as "cursor" to get the next page.
Endpoint ID: 41318
GET https://zylalabs.com/api/15377/youtube+api/41318/get+comment+replies
INPUT PARAMETERS

Get comment replies — Endpoint Features

Object Description
cursor Required The "replies_cursor" of a comment from the /video/comments endpoint, or the "next_cursor" of the previous page of replies.
language Optional Optional language of the texts (defaults to "en"); in another language the counts come as text only. Use the /general/languages endpoint to list valid values.
country Optional Optional two-letter country code (defaults to "US").

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

cursor
language
country
API EXAMPLE RESPONSE
JSON
{
    "comments": [
        {
            "comment_id": "Ugzn9VS5jfDEby21Yv94AaABAg.AdXvSEOasD3AdY4cfx1kOR",
            "text": "I’m here to Rick roll my 2 year old 😂😂😂",
            "published_time_text": "11 hours ago",
            "like_count": 3,
            "like_count_text": "3",
            "reply_count": 0,
            "is_reply": true,
            "is_pinned": false,
            "is_hearted": false,
            "author": {
                "channel_id": "UCc0eHUWPU3nlOsEwFGcODvg",
                "name": "@HeavenJackson-r7i",
                "thumbnail": "https://yt3.ggpht.com/AtJ6qptxiTBzmHkP-32MYgoZ-uWe_XTGDUkH6P70pf9_axtC8oR44vs_pD7fruznlVavEfCdJH8=s88-c-k-c0x00ffffff-no-rj",
                "is_verified": false,
                "is_creator": false,
                "is_artist": false
            }
        },
        {
            "comment_id": "Ugzn9VS5jfDEby21Yv94AaABAg.AdXvSEOasD3AdY75-qL0Pz",
            "text": "We need Rick Astley playing gta6",
            "published_time_text": "10 hours ago",
            "like_count": 5,
            "like_count_text": "5",
            "reply_count": 0,
            "is_reply": true,
            "is_pinned": false,
            "is_hearted": false,
            "author": {
                "channel_id": "UCdMTPFTYizbv9uuXvt3x6Mw",
                "name": "@Samkirkpatrik",
                "thumbnail": "https://yt3.ggpht.com/Hbt23D5TFhRfXA8bL7tkRbw8WFqVCb4aPAmDISCM_I6oB3m1hco32f88ieYyPyKX-JgZAwfvpio=s88-c-k-c0x00ffffff-no-rj",
                "is_verified": false,
                "is_creator": false,
                "is_artist": false
            }
        },
        {
            "comment_id": "Ugzn9VS5jfDEby21Yv94AaABAg.AdXvSEOasD3AdYAuGsajM8",
            "text": "POST GTA VI",
            "published_time_text": "10 hours ago",
            "like_count": 5,
            "like_count_text": "5",
            "reply_count": 0,
            "is_reply": true,
            "is_pinned": false,
            "is_hearted": false,
            "author": {
                "channel_id": "UCf9bxi4a-YXCWSV5uw3EpUQ",
                "name": "@CastielAngeloVillamonte-j7t",
                "thumbnail": "https://yt3.ggpht.com/4kT94Pn0CkxgudHptvnFYesmVwExQwV6vOhwBjJMVMIVtNb0_wj0J603HGkdynQEAYxRUEyu=s88-c-k-c0x00ffffff-no-rj",
                "is_verified": false,
                "is_creator": false,
                "is_artist": false
            }
        },
        {
            "comment_id": "Ugzn9VS5jfDEby21Yv94AaABAg.AdXvSEOasD3AdZ3iV7Jclr",
            "text": "Brother, this my fav song of all time",
            "published_time_text": "1 hour ago",
            "like_count": 0,
            "like_count_text": "0",
            "reply_count": 0,
            "is_reply": true,
            "is_pinned": false,
            "is_hearted": false,
            "author": {
                "channel_id": "UCeopbSwD2-S48V3DChd-H3Q",
                "name": "@vegancatz",
                "thumbnail": "https://yt3.ggpht.com/3mFCI0tQvkjBHtprztgp1g1QB-mPy5XezUfVU0h2CjQC8KzO12N9RJEWDm1U8qNa68Qgk16RiwQ=s88-c-k-c0x00ffffff-no-rj",
                "is_verified": false,
                "is_creator": false,
                "is_artist": false
            }
        },
        {
            "comment_id": "Ugzn9VS5jfDEby21Yv94AaABAg.AdXvSEOasD3AdZF9FB1PGR",
            "text": "I thought it was a link to download GTA VI free 🥀",
            "published_time_text": "11 minutes ago",
            "like_count": 0,
            "like_count_text": "0",
            "reply_count": 0,
            "is_reply": true,
            "is_pinned": false,
            "is_hearted": false,
            "author": {
                "channel_id": "UC1WI4p-0jnRoLbZ4Mf-1fng",
                "name": "@kaput_offical",
                "thumbnail": "https://yt3.ggpht.com/R3KMvuUA0PqP1xSgAnErfHm06fhSVikrMQr5r9n0koq7V5iuMeC5tLHYkZ4DH1Pz05Fc5tkB=s88-c-k-c0x00ffffff-no-rj",
                "is_verified": false,
                "is_creator": false,
                "is_artist": false
            }
        }
    ],
    "next_cursor": null
}
Get comment replies — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15377/youtube+api/41318/get+comment+replies?cursor=Eg0SC2RRdzR3OVdnWGNRGAYygwEaUBIaVWd6bjlWUzVqZkRFYnkyMVl2OTRBYUFCQWciAggAKhhVQ3VBWEZrZ3N3MUw3eGFDZm5kNUpKT3cyC2RRdzR3OVdnWGNRQAFICoIBAggBQi9jb21tZW50LXJlcGxpZXMtaXRlbS1VZ3puOVZTNWpmREVieTIxWXY5NEFhQUJBZw%3D%3D&language=en&country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns the comments of a video with the total number of comments, each comment with its id, text, publish time, likes, number of replies, whether it is pinned or hearted by the creator, its author (channel id, name, avatar, verified, creator or artist) and the "replies_cursor" for the /video/comment-replies endpoint. Top comments or newest first, 20 a page; pass "next_cursor" as "cursor" to get the next page.
Endpoint ID: 41319
GET https://zylalabs.com/api/15377/youtube+api/41319/get+video+comments
INPUT PARAMETERS

Get video comments — Endpoint Features

Object Description
video_id Required Video id (e.g. "dQw4w9WgXcQ") or a video, shorts or youtu.be link. Use the /search endpoint to list valid values.
sort Optional Optional sort order: "top" or "newest" (defaults to "top"). Use the /general/comment-sorts endpoint to list valid values.
cursor Optional Optional "next_cursor" value of the previous page, to get the next page.
language Optional Optional language of the texts (defaults to "en"); in another language the counts come as text only. Use the /general/languages endpoint to list valid values.
country Optional Optional two-letter country code (defaults to "US").

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

video_id
sort
cursor
language
country
API EXAMPLE RESPONSE
JSON
{
    "video_id": "dQw4w9WgXcQ",
    "comment_count": 2400000,
    "comment_count_text": "2.4M",
    "comments": [
        {
            "comment_id": "UgzKYksqeQ5gA3t0g0F4AaABAg",
            "text": "I Rick rolled my entire French class because we had to study a city in France and make a quiz about it as well as a presentation, I decided to make a Kahoot quiz because it’s very easy. I put a link in to this saying it’s the kahoot link. The teacher needless to say got very very mad. As well as my classmates asking who rick rolls in 2019",
            "published_time_text": "7 years ago (edited)",
            "like_count": 109000,
            "like_count_text": "109K",
            "reply_count": 740,
            "is_reply": false,
            "is_pinned": false,
            "is_hearted": false,
            "author": {
                "channel_id": "UCKrzgYonJnMd0Dk7zQXjYXw",
                "name": "@grustache4569",
                "thumbnail": "https://yt3.ggpht.com/ytc/AIdro_kDD-FhIbth2qcBbI9VGxR41dJa0kE3kN9iVlGzNgRU_g=s88-c-k-c0x00ffffff-no-rj",
                "is_verified": false,
                "is_creator": false,
                "is_artist": false
            },
            "replies_cursor": "Eg0SC2RRdzR3OVdnWGNRGAYygwEaUBIaVWd6S1lrc3FlUTVnQTN0MGcwRjRBYUFCQWciAggAKhhVQ3VBWEZrZ3N3MUw3eGFDZm5kNUpKT3cyC2RRdzR3OVdnWGNRQAFICoIBAggBQi9jb21tZW50LXJlcGxpZXMtaXRlbS1VZ3pLWWtzcWVRNWdBM3QwZzBGNEFhQUJBZw%3D%3D"
        },
        {
            "comment_id": "UgwPwTibxdgqCHZxktd4AaABAg",
            "text": "My algebra teacher said that this was a link to the test answers",
            "published_time_text": "7 years ago",
            "like_count": 72000,
            "like_count_text": "72K",
            "reply_count": 707,
            "is_reply": false,
            "is_pinned": false,
            "is_hearted": false,
            "author": {
                "channel_id": "UCdi6tGxvFvTRGe-7dAn7m7w",
                "name": "@bdr8823",
                "thumbnail": "https://yt3.ggpht.com/ytc/AIdro_kcDoQJUNDkDzTrA5kaF5ADVujN-6UcDjMP2Kydtw=s88-c-k-c0x00ffffff-no-rj",
                "is_verified": false,
                "is_creator": false,
                "is_artist": false
            },
            "replies_cursor": "Eg0SC2RRdzR3OVdnWGNRGAYygwEaUBIaVWd3UHdUaWJ4ZGdxQ0haeGt0ZDRBYUFCQWciAggAKhhVQ3VBWEZrZ3N3MUw3eGFDZm5kNUpKT3cyC2RRdzR3OVdnWGNRQAFICoIBAggBQi9jb21tZW50LXJlcGxpZXMtaXRlbS1VZ3dQd1RpYnhkZ3FDSFp4a3RkNEFhQUJBZw%3D%3D"
        },
        {
            "comment_id": "Ugw10bSluCDSZMIxUSB4AaABAg",
            "text": "Let’s put the meme aside, this is actually a banging song.",
            "published_time_text": "6 years ago",
            "like_count": 223000,
            "like_count_text": "223K",
            "reply_count": 663,
            "is_reply": false,
            "is_pinned": false,
            "is_hearted": false,
            "author": {
                "channel_id": "UCHpvHTRSILoOFKWX5oFCYDA",
                "name": "@LK-ht7qz",
                "thumbnail": "https://yt3.ggpht.com/RJnrz4JwDmHNgtFdnVdJ6FKLiuo59IuHkY6bvqaEJM0mxTSlq0GKQs_ItA-sJ8QMqps_lf9Lvgs=s88-c-k-c0x00ffffff-no-rj",
                "is_verified": false,
                "is_creator": false,
                "is_artist": false
            },
            "replies_cursor": "Eg0SC2RRdzR3OVdnWGNRGAYygwEaUBIaVWd3MTBiU2x1Q0RTWk1JeFVTQjRBYUFCQWciAggAKhhVQ3VBWEZrZ3N3MUw3eGFDZm5kNUpKT3cyC2RRdzR3OVdnWGNRQAFICoIBAggBQi9jb21tZW50LXJlcGxpZXMtaXRlbS1VZ3cxMGJTbHVDRFNaTUl4VVNCNEFhQUJBZw%3D%3D"
        },
        {
            "comment_id": "UgyyEqaBXOKgoi4cf7l4AaABAg",
            "text": "Ok let’s be honest here\nRick rolling is the one meme that will never die",
            "published_time_text": "6 years ago (edited)",
            "like_count": 429000,
            "like_count_text": "429K",
            "reply_count": 788,
            "is_reply": false,
            "is_pinned": false,
            "is_hearted": false,
            "author": {
                "channel_id": "UCNRtoaGfHCLksAz2ofEAfgA",
                "name": "@JetpackGamer456",
                "thumbnail": "https://yt3.ggpht.com/ytc/AIdro_nyhrpC59MDbvwlTlkeHmG6xvzXfJQdI4SBR7r8a5XLhJg=s88-c-k-c0x00ffffff-no-rj",
                "is_verified": false,
                "is_creator": false,
                "is_artist": false
            },
            "replies_cursor": "Eg0SC2RRdzR3OVdnWGNRGAYygwEaUBIaVWd5eUVxYUJYT0tnb2k0Y2Y3bDRBYUFCQWciAggAKhhVQ3VBWEZrZ3N3MUw3eGFDZm5kNUpKT3cyC2RRdzR3OVdnWGNRQAFICoIBAggBQi9jb21tZW50LXJlcGxpZXMtaXRlbS1VZ3l5RXFhQlhPS2dvaTRjZjdsNEFhQUJBZw%3D%3D"
        },
        {
            "comment_id": "Ugzn9VS5jfDEby21Yv94AaABAg",
            "text": "Yall still getting rick rolled after gta6",
            "published_time_text": "12 hours ago",
            "like_count": 98,
            "like_count_text": "98",
            "reply_count": 4,
            "is_reply": false,
            "is_pinned": false,
            "is_hearted": false,
            "author": {
                "channel_id": "UCYkKHiczoMbaR7v7kuefCAg",
                "name": "@ELIBRON-i2g",
                "thumbnail": "https://yt3.ggpht.com/9ptwIqgvw-f3nu8YMMQZmvZ2DRJ_0KFqQQ5NIsjtNZnNIlN3gefuQRQvtI4SoyI_s7G0mb7Lyw=s88-c-k-c0x00ffffff-no-rj",
                "is_verified": false,
                "is_creator": false,
                "is_artist": false
            },
            "replies_cursor": "Eg0SC2RRdzR3OVdnWGNRGAYygwEaUBIaVWd6bjlWUzVqZkRFYnkyMVl2OTRBYUFCQWciAggAKhhVQ3VBWEZrZ3N3MUw3eGFDZm5kNUpKT3cyC2RRdzR3OVdnWGNRQAFICoIBAggBQi9jb21tZW50LXJlcGxpZXMtaXRlbS1VZ3puOVZTNWpmREVieTIxWXY5NEFhQUJBZw%3D%3D"
        }
    ],
    "next_cursor": "Eg0SC2RRdzR3OVdnWGNRGAYylQMK2AJnZXRfcmFua2VkX3N0cmVhbXMtLUNxY0JDSUFFRlJlMzBUZ2FuQUVLbHdFSTJGOFFnQVFZQnlLTUFmdUNEWHczM21YX2FzUlAzNkFyVWRCY1Vkci1NQmZYZWNVOUYzV2U1dm1RY1h0SUxGbWsyWjlrc0s2TFFtR0pBYzlRMUJPeURNUHFuZG95Wk5HV3NjTHhjcUdFcWc2MlVFU0NZeG5SQ012RkV5S2NDRUhFLWdKTW5ZQTRiRVZ3azJXY2lpNVkyc0NMTXhqUm9PREJGS1BIdGEwRjZIek9nT2N3cDN5TDNpaExfdjBOdU5wLVNfUmduRThMRUJRU0J3aUVJQkFQR0FFU0J3aUpJQkFCR0FBU0JRaW9JQmdBRWdVSWlDQVlBQklGQ0ljZ0dBQVNCUWlHSUJnQUVnY0loU0FRQlJnQkVnVUl3Q0FZQUJJRkNMc2dHQUJRQUZnQiIRIgtkUXc0dzlXZ1hjUTAAeAEoFDABQiFlbmdhZ2VtZW50LXBhbmVsLWNvbW1lbnRzLXNlY3Rpb24%3D"
}
Get video comments — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15377/youtube+api/41319/get+video+comments?video_id=dQw4w9WgXcQ&sort=top&language=en&country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns a video or short with its title, full description, duration, views, likes, number of comments, publish date, keywords, hashtags, whether it is live or private, thumbnail, chapters with their start time, caption languages, and its channel with handle, subscribers and verified and artist badges.
Endpoint ID: 41320
GET https://zylalabs.com/api/15377/youtube+api/41320/get+video+details
INPUT PARAMETERS

Get video details — Endpoint Features

Object Description
video_id Required Video id (e.g. "dQw4w9WgXcQ") or a video, shorts or youtu.be link. Use the /search endpoint to list valid values.
language Optional Optional language of the texts (defaults to "en"); in another language the counts come as text only. Use the /general/languages endpoint to list valid values.
country Optional Optional two-letter country code (defaults to "US").

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

video_id
language
country
API EXAMPLE RESPONSE
JSON
{
    "video_id": "dQw4w9WgXcQ",
    "title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
    "description": "The official video for “Never Gonna Give You Up” by Rick Astley. \n\nNever: The Autobiography 📚 OUT NOW! \nFollow this link to get your copy and listen to Rick’s ‘Never’ playlist ❤️ #RickAstleyNever\nhttps://linktr.ee/rickastleynever\n\n“Never Gonna Give You Up” was a global smash on its release in July 1987, topping the charts in 25 countries including Rick’s native UK and the US Billboard Hot 100.  It also won the Brit Award for Best single in 1988. Stock Aitken and Waterman wrote and produced the track which was the lead-off single and lead track from Rick’s debut LP “Whenever You Need Somebody”.  The album was itself a UK number one and would go on to sell over 15 million copies worldwide.\n\nThe legendary video was directed by Simon West – who later went on to make Hollywood blockbusters such as Con Air, Lara Croft – Tomb Raider and The Expendables 2.  The video passed the 1bn YouTube views milestone on 28 July 2021.\n\nSubscribe to the official Rick Astley YouTube channel: https://RickAstley.lnk.to/YTSubID\n\nFollow Rick Astley:\nFacebook: https://RickAstley.lnk.to/FBFollowID \nTwitter: https://RickAstley.lnk.to/TwitterID \nInstagram: https://RickAstley.lnk.to/InstagramID \nWebsite: https://RickAstley.lnk.to/storeID \nTikTok: https://RickAstley.lnk.to/TikTokID\n\nListen to Rick Astley:\nSpotify: https://RickAstley.lnk.to/SpotifyID \nApple Music: https://RickAstley.lnk.to/AppleMusicID \nAmazon Music: https://RickAstley.lnk.to/AmazonMusicID \nDeezer: https://RickAstley.lnk.to/DeezerID \n\nLyrics:\nWe’re no strangers to love\nYou know the rules and so do I\nA full commitment’s what I’m thinking of\nYou wouldn’t get this from any other guy\n\nI just wanna tell you how I’m feeling\nGotta make you understand\n\nNever gonna give you up\nNever gonna let you down\nNever gonna run around and desert you\nNever gonna make you cry\nNever gonna say goodbye\nNever gonna tell a lie and hurt you\n\nWe’ve known each other for so long\nYour heart’s been aching but you’re too shy to say it\nInside we both know what’s been going on\nWe know the game and we’re gonna play it\n\nAnd if you ask me how I’m feeling\nDon’t tell me you’re too blind to see\n\nNever gonna give you up\nNever gonna let you down\nNever gonna run around and desert you\nNever gonna make you cry\nNever gonna say goodbye\nNever gonna tell a lie and hurt you\n\n#RickAstley #NeverGonnaGiveYouUp #WheneverYouNeedSomebody #OfficialMusicVideo",
    "duration_seconds": 213,
    "duration": "3:33",
    "view_count": 1840194641,
    "view_count_text": "1,840,194,641 views",
    "like_count": 19000000,
    "like_count_text": "19M",
    "comment_count": 2400000,
    "comment_count_text": "2.4M",
    "published_date": "2009-10-24",
    "date_text": "Oct 24, 2009",
    "relative_date_text": "17 years ago",
    "keywords": [
        "rick astley",
        "Never Gonna Give You Up",
        "nggyu",
        "never gonna give you up lyrics",
        "rick rolled",
        "Rick Roll",
        "rick astley official",
        "rickrolled",
        "Fortnite song",
        "Fortnite event",
        "Fortnite dance",
        "fortnite never gonna give you up",
        "rick roll",
        "rickrolling",
        "rick rolling",
        "never gonna give you up",
        "80s music",
        "rick astley new",
        "animated video",
        "rickroll",
        "meme songs",
        "never gonna give u up lyrics",
        "Rick Astley 2022",
        "never gonna let you down",
        "animated",
        "rick rolls 2022",
        "never gonna give you up karaoke"
    ],
    "hashtags": [
        "#OfficialMusicVideo",
        "#NeverGonnaGiveYouUp",
        "#RickAstleyNever"
    ],
    "is_live": false,
    "is_live_content": false,
    "is_private": false,
    "thumbnail": "https://i.ytimg.com/vi/dQw4w9WgXcQ/sddefault.jpg",
    "channel": {
        "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
        "name": "Rick Astley",
        "handle": "@RickAstleyYT",
        "thumbnail": "https://yt3.ggpht.com/_ShEGOdg-t5YGJse14Ooq6FYBZqX_QSlhaTNjG06miYusm5lWm1UroLyVxnYtahADfRTVLtuVQ=s176-c-k-c0x00ffffff-no-rj",
        "subscriber_count": 4560000,
        "subscriber_count_text": "4.56M subscribers",
        "is_verified": true,
        "is_artist": true
    },
    "chapters": [],
    "captions": [
        {
            "language": "en",
            "name": "English",
            "is_auto_generated": false,
            "is_translatable": true
        },
        {
            "language": "en",
            "name": "English (auto-generated)",
            "is_auto_generated": true,
            "is_translatable": true
        },
        {
            "language": "de-DE",
            "name": "German (Germany)",
            "is_auto_generated": false,
            "is_translatable": true
        },
        {
            "language": "ja",
            "name": "Japanese",
            "is_auto_generated": false,
            "is_translatable": true
        },
        {
            "language": "pt-BR",
            "name": "Portuguese (Brazil)",
            "is_auto_generated": false,
            "is_translatable": true
        },
        {
            "language": "es-419",
            "name": "Spanish (Latin America)",
            "is_auto_generated": false,
            "is_translatable": true
        }
    ],
    "embed_url": "https://www.youtube.com/embed/dQw4w9WgXcQ",
    "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
}
Get video details — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15377/youtube+api/41320/get+video+details?video_id=dQw4w9WgXcQ&language=en&country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns the videos and playlists YouTube recommends next to a video, each with the same data as in the /search endpoint. About 20 a page; pass "next_cursor" as "cursor" to get the next page.
Endpoint ID: 41321
GET https://zylalabs.com/api/15377/youtube+api/41321/get+related+videos
INPUT PARAMETERS

Get related videos — Endpoint Features

Object Description
video_id Required Video id (e.g. "dQw4w9WgXcQ") or a video, shorts or youtu.be link. Use the /search endpoint to list valid values.
cursor Optional Optional "next_cursor" value of the previous page, to get the next page.
language Optional Optional language of the texts (defaults to "en"); in another language the counts come as text only. Use the /general/languages endpoint to list valid values.
country Optional Optional two-letter country code (defaults to "US").

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

video_id
cursor
language
country
API EXAMPLE RESPONSE
JSON
{
    "video_id": "dQw4w9WgXcQ",
    "items": [
        {
            "type": "video",
            "video_id": "9IVdHLb4E1Y",
            "title": "(NO MID-ROLL ADS) November Thanksgiving Jazz 🦃 Cozy Ambience for Peaceful Days",
            "description_snippet": null,
            "duration": "4:02:11",
            "duration_seconds": 14531,
            "view_count": 128000,
            "view_count_text": "128K",
            "published_time_text": "7d ago",
            "is_live": false,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/9IVdHLb4E1Y/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLCJ-fsFsSLICx84kf7knjqjxk_i_A",
            "channel": {
                "channel_id": null,
                "name": "Midnight Window Jazz",
                "handle": null,
                "thumbnail": null,
                "is_verified": null
            },
            "url": "https://www.youtube.com/watch?v=9IVdHLb4E1Y"
        },
        {
            "type": "video",
            "video_id": "E8gmARGvPlI",
            "title": "Wham! - Last Christmas (Official Video)",
            "description_snippet": null,
            "duration": "4:39",
            "duration_seconds": 279,
            "view_count": 1100000000,
            "view_count_text": "1.1B",
            "published_time_text": "17y ago",
            "is_live": false,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/E8gmARGvPlI/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLBr1aKVywfq2J740dtpc7qTt9DnXQ",
            "channel": {
                "channel_id": null,
                "name": "WHAM!",
                "handle": null,
                "thumbnail": null,
                "is_verified": null
            },
            "url": "https://www.youtube.com/watch?v=E8gmARGvPlI"
        },
        {
            "type": "video",
            "video_id": "yPYZpwSpKmA",
            "title": "Rick Astley - Together Forever (Official Video) [4K Remaster]",
            "description_snippet": null,
            "duration": "3:24",
            "duration_seconds": 204,
            "view_count": 209000000,
            "view_count_text": "209M",
            "published_time_text": "17y ago",
            "is_live": false,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/yPYZpwSpKmA/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLD6igKYt99JwlgbMCpf5I2GwXNVow",
            "channel": {
                "channel_id": null,
                "name": "Rick Astley",
                "handle": null,
                "thumbnail": null,
                "is_verified": null
            },
            "url": "https://www.youtube.com/watch?v=yPYZpwSpKmA"
        },
        {
            "type": "video",
            "video_id": "EXdIhbqYJgQ",
            "title": "Best of 80s Music Legends - Cyndi Lauper, Tears For Fears, Madonna, Modern Talking, Michael Jackson",
            "description_snippet": null,
            "duration": "1:01:05",
            "duration_seconds": 3665,
            "view_count": 11000,
            "view_count_text": "11K",
            "published_time_text": "Streamed 9h ago",
            "is_live": false,
            "badges": [
                "New"
            ],
            "thumbnail": "https://i.ytimg.com/vi/EXdIhbqYJgQ/hqdefault.jpg?sqp=-oaymwEcCNACELwBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLCQzEj9hZy2gky-KRALN5XWm5_9NQ",
            "channel": {
                "channel_id": null,
                "name": "Pure 80s Retro",
                "handle": null,
                "thumbnail": null,
                "is_verified": null
            },
            "url": "https://www.youtube.com/watch?v=EXdIhbqYJgQ"
        },
        {
            "type": "video",
            "video_id": "0QVOc1aagSE",
            "title": "Daft Punk ft. Pharell Williams Get lucky Extended Version Original Video Full HD",
            "description_snippet": null,
            "duration": "18:08",
            "duration_seconds": 1088,
            "view_count": 31000000,
            "view_count_text": "31M",
            "published_time_text": "13y ago",
            "is_live": false,
            "badges": [],
            "thumbnail": "https://i.ytimg.com/vi/0QVOc1aagSE/hqdefault.jpg?sqp=-oaymwE2CNACELwBSFXyq4qpAygIARUAAIhCGAFwAcABBvABAfgB_gmAAtAFigIMCAAQARg1IE8ocjAP&rs=AOn4CLDAtW1beovXcLStj07mcFQqrJcWSQ",
            "channel": {
                "channel_id": null,
                "name": "pfigueroah",
                "handle": null,
                "thumbnail": null,
                "is_verified": null
            },
            "url": "https://www.youtube.com/watch?v=0QVOc1aagSE"
        }
    ],
    "next_cursor": "CBQSDRILZFF3NHc5V2dYY1EYACq_DU1nc0k1c0M4NGZpcDA2THhBZHJPaS1zTS13a0stQWtLQV9JLUFBb093ajRMQ09PMHNZTG0zc3FmOEFFS0RjSS1DZ2lzODlhWXc2dmZvMndLRGNJLUNnaUQ1WTNDdDhpNjdFVUtEc0ktQ3dpZF9xYWdnY3VsNXZzQkNnN0NQZ3NJNHIyemlQaVE5WXJLQVFvTndqNEtDS3VwbXNYZTItU0RCUW9Od2o0S0NMQ040clRPb1plOEd3b093ajRMQ1BMYnl1M0V5b0xyN3dFS0RjSS1DZ2lWNHZTV3lQUFEwZ29LRGNJLUNnakFzNFRjbzRQRDVnb0tEc0ktQ3dpb21zLUhzYzNMeUo4QkNnN0NQZ3NJaFp5NV9vU18yZlRkQVFvTndqNEtDUHE5eDRiX2xwamNaZ29Pd2o0TENLT1Y5Ty1PcTVtX3FnRUtEY0ktQ2dqdGhwam5xNlRfcmswS0RjSS1DZ2pxbzlISTBQVE5wUUVLRGNJLUNnamxfTHVoMm95N3lXb0tEY0ktQ2dpUmtzYjg4WkxyN0NzS0RjSS1DZ2pTdnEzU2pKUGJzbG9LRGNJLUNnaVNxY08zbFo3VTBuSUtEc0ktQ3dqZ2w4X0o5X24waHJzQkNnM0NQZ29JeUpQNnJQYlV6YUVwQ2czQ1Bnb0lyOHZTbElDU3dJaHNDZzNDUGdvSWxhR2pycHJiODdnUENnM0NQZ29Ja1BlWWg5X1JwX1U1Q2czQ1Bnb0l6dExteDl1b2hPVmFDZzdDUGdzSTh0TDdqWnUwN3NYZEFRb093ajRMQ055NnJJTGwyN2pJLVFFS0RjSS1DZ2pLdC03OWhiVzBvZ2dLRHNJLUN3ajU1NnpzMnJYWWlfa0JDZ1B5UGdBS0lJTGU3YUFLR2dvWVZVTjFRVmhHYTJkemR6Rk1OM2hoUTJadVpEVktTazkzQ2dQeVBnQUtEc0ktQ3dqV3B1QzN5NlBYd3ZRQkNnUHlQZ0FLRGNJLUNnalNfTHlOa2NDSjVCTUtBX0ktQUFvT3dqNExDT0RVcEtYd3RJYjd5QUVLQV9JLUFBb053ajRLQ0lUTTROVGJrTks3RVFvRDhqNEFDZzdDUGdzSW9ZTHF0TFhPMDRMUkFRb0Q4ajRBQ2c3Q1Bnc0kyTTdEazRUY3F2YXdBUW9EOGo0QUNnN0NQZ3NJbGNyc3Q3UHc0YmZEQVFvRDhqNEFDZzdDUGdzSXZjLXF4TkhlX2JQZEFRb0Q4ajRBQ2czQ1Bnb0kzdTd6dHRlNjNacDJDZ1B5UGdBS0RzSS1Dd2o2OTk3MzRlckMtN3NCQ2dQeVBnQUtEY0ktQ2dpaGlPdUNuYnFPb3hZS0FfSS1BQW9Pd2o0TENKcTR0X2pIc096aGxRRUtBX0ktQUFvT3dqNExDTFNEcWFtTjdfenI3d0VLQV9JLUFBb053ajRLQ0pPNGpQNngydGZjTGdvRDhqNEFDZzNDUGdv..."
}
Get related videos — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15377/youtube+api/41321/get+related+videos?video_id=dQw4w9WgXcQ&language=en&country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Returns the transcript of a video from its captions: the full text and every line with its start and end time. Captions written by the uploader are preferred over automatic ones, and any language the video has captions in can be picked.
Endpoint ID: 41322
GET https://zylalabs.com/api/15377/youtube+api/41322/get+video+transcript
INPUT PARAMETERS

Get video transcript — Endpoint Features

Object Description
video_id Required Video id (e.g. "dQw4w9WgXcQ") or a video, shorts or youtu.be link. Use the /search endpoint to list valid values.
language Optional Optional language of the captions (e.g. "en"). Defaults to the first caption track of the video. The "captions" of the /video/details endpoint list the languages a video has.

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

video_id
language
API EXAMPLE RESPONSE
JSON
{
    "video_id": "dQw4w9WgXcQ",
    "language": "en",
    "language_name": "English",
    "is_auto_generated": false,
    "text": "[♪♪♪] ♪ We're no strangers to love ♪ ♪ You know the rules and so do I ♪ ♪ A full commitment's what I'm thinking of ♪ ♪ You wouldn't get this from any other guy ♪ ♪ I just wanna tell you how I'm feeling ♪ ♪ Gotta make you understand ♪ ♪ Never gonna give you up ♪ ♪ Never gonna let you down ♪ ♪ Never gonna run around and desert you ♪ ♪ Never gonna make you cry ♪ ♪ Never gonna say goodbye ♪ ♪ Never gonna tell a lie and hurt you ♪ ♪ We've known each other for so long ♪ ♪ Your heart's been aching but you're too shy to say it ♪ ♪ Inside we both know what's been going ♪ ♪ We know the game and we're gonna play it ♪ ♪ And if you ask me how I'm feeling ♪ ♪ Don't tell me you're too blind to see ♪ ♪ Never gonna give you up ♪ ♪ Never gonna let you down ♪ ♪ Never gonna run around and desert you ♪ ♪ Never gonna make you cry ♪ ♪ Never gonna say goodbye ♪ ♪ Never gonna tell a lie and hurt you ♪ ♪ Never gonna give you up ♪ ♪ Never gonna let you down ♪ ♪ Never gonna run around and desert you ♪ ♪ Never gonna make you cry ♪ ♪ Never gonna say goodbye ♪ ♪ Never gonna tell a lie and hurt you ♪ ♪ (Ooh, give you up) ♪ ♪ (Ooh, give you up) ♪ ♪ Never gonna give, never gonna give ♪ ♪ (Give you up) ♪ ♪ Never gonna give, never gonna give ♪ ♪ (Give you up) ♪ ♪ We've known each other for so long ♪ ♪ Your heart's been aching but you're too shy to say it ♪ ♪ Inside we both know what's been going ♪ ♪ We know the game and we're gonna play it ♪ ♪ I just wanna tell you how I'm feeling ♪ ♪ Gotta make you understand ♪ ♪ Never gonna give you up ♪ ♪ Never gonna let you down ♪ ♪ Never gonna run around and desert you ♪ ♪ Never gonna make you cry ♪ ♪ Never gonna say goodbye ♪ ♪ Never gonna tell a lie and hurt you ♪ ♪ Never gonna give you up ♪ ♪ Never gonna let you down ♪ ♪ Never gonna run around and desert you ♪ ♪ Never gonna make you cry ♪ ♪ Never gonna say goodbye ♪ ♪ Never gonna tell a lie and hurt you ♪ ♪ Never gonna give you up ♪ ♪ Never gonna let you down ♪ ♪ Never gonna run around and desert you ♪ ♪ Never gonna make you cry ♪ ♪ Never gonna say goodbye ♪ ♪ Never gonna tell a lie and hurt you ♪",
    "segments": [
        {
            "start_ms": 1360,
            "end_ms": 3040,
            "start": "0:01",
            "text": "[♪♪♪]"
        },
        {
            "start_ms": 18640,
            "end_ms": 21880,
            "start": "0:18",
            "text": "♪ We're no strangers to love ♪"
        },
        {
            "start_ms": 22640,
            "end_ms": 26960,
            "start": "0:22",
            "text": "♪ You know the rules and so do I ♪"
        },
        {
            "start_ms": 27040,
            "end_ms": 31040,
            "start": "0:27",
            "text": "♪ A full commitment's what I'm thinking of ♪"
        },
        {
            "start_ms": 31120,
            "end_ms": 35080,
            "start": "0:31",
            "text": "♪ You wouldn't get this from any other guy ♪"
        },
        {
            "start_ms": 35160,
            "end_ms": 39520,
            "start": "0:35",
            "text": "♪ I just wanna tell you how I'm feeling ♪"
        },
        {
            "start_ms": 40520,
            "end_ms": 42920,
            "start": "0:40",
            "text": "♪ Gotta make you understand ♪"
        },
        {
            "start_ms": 43000,
            "end_ms": 45120,
            "start": "0:43",
            "text": "♪ Never gonna give you up ♪"
        },
        {
            "start_ms": 45200,
            "end_ms": 47080,
            "start": "0:45",
            "text": "♪ Never gonna let you down ♪"
        },
        {
            "start_ms": 47320,
            "end_ms": 51120,
            "start": "0:47",
            "text": "♪ Never gonna run around and desert you ♪"
        },
        {
            "start_ms": 51480,
            "end_ms": 53480,
            "start": "0:51",
            "text": "♪ Never gonna make you cry ♪"
        },
        {
            "start_ms": 53600,
            "end_ms": 55520,
            "start": "0:53",
            "text": "♪ Never gonna say goodbye ♪"
        },
        {
            "start_ms": 55720,
            "end_ms": 59360,
            "start": "0:55",
            "text": "♪ Never gonna tell a lie and hurt you ♪"
        },
        {
            "start_ms": 60800,
            "end_ms": 64800,
            "start": "1:00",
            "text": "♪ We've known each other for so long ♪"
        },
        {
            "start_ms": 64880,
            "end_ms": 69040,
            "start": "1:04",
            "text": "♪ Your heart's been aching but you're too shy to say it ♪"
        },
        {
            "start_ms": 69120,
            "end_ms": 72960,
            "start": "1:09",
            "text": "♪ Inside we both know what's been going ♪"
        },
        {
            "start_ms": 73360,
            "end_ms": 77200,
            "start": "1:13",
            "text": "♪ We know the game and we're gonna play it ♪"
        },
        {
            "start_ms": 77400,
            "end_ms": 82040,
            "start": "1:17",
            "text": "♪ And if you ask me how I'm feeling ♪"
        },
        {
            "start_ms": 82400,
            "end_ms": 85240,
            "start": "1:22",
            "text": "♪ Don't tell me you're too blind to see ♪"
        },
        {
            "start_ms": 85320,
            "end_ms": 87280,
            "start": "1:25",
            "text": "♪ Never gonna give you up ♪"
        },
        {
            "start_ms": 87360,
            "end_ms": 89320,
            "start": "1:27",
            "text": "♪ Never gonna let you down ♪"
        },
        {
            "start_ms": 89440,
            "end_ms": 93720,
            "start": "1:29",
            "text": "♪ Never gonna run around and desert you ♪"
        },
        {
            "start_ms": 93800,
            "end_ms": 95600,
            "start": "1:33",
            "text": "♪ Never gonna make you cry ♪"
        },
        {
            "start_ms": 95760,
            "end_ms": 98000,
            "start": "1:35",
            "text": "♪ Never gonna say goodbye ♪"
        },
        {
            "start_ms": 98080,
            "end_ms": 102040,
            "start": "1:38",
            "text": "♪ Never gonna tell a lie and hurt you ♪"
        },
        {
            "start_ms": 102200,
            "end_ms": 104120,
            "start": "1:42",
            "text": "♪ Never gonna give you up ♪"
        },
        {
            "start_ms": 104280,
            "end_ms": 106360,
            "start": "1:44",
            "text": "♪ Never gonna let you down ♪"
        },
        {
            "start_ms": 106480,
            "end_ms": 110080,
            "start": "1:46",
            "text": "♪ Never gonna run around and desert you ♪"
        },
        {
            "start_ms": 110760,
            "end_ms": 112720,
            "start": "1:50",
            "text": "♪ Never gonna make you cry ♪"
        },
        {
            "start_ms": 112800,
            "end_ms": 114680,
            "start": "1:52",
            "text": "♪ Never gonna say goodbye ♪"
        }
    ]
}
Get video transcript — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15377/youtube+api/41322/get+video+transcript?video_id=dQw4w9WgXcQ&language=en' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the YouTube API simply include your bearer token in the Authorization header.

Headers
Header Description
Authorization Required Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.

(Save 2 months with annual billing 🎉)

Starts at
$10,000/Year


  • Custom Volume
  • Custom Rate Limit
  • Specialized Customer Support
  • Real-Time API Monitoring

Overview

Online video data: search with every filter, video details, comments and replies, transcripts, channels with their videos, shorts and live streams, playlists and hashtags.

General FAQs

To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.

You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.

The free trial lasts for 7 days and allows you to make up to 50 API requests.

No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.

Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

You can monitor your API usage through the response headers included with every request:

x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.

Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

Please have a look at our Refund Policy: https://zylalabs.com/terms#refund


Related APIs