YouTube Videos and Channels API

API ID 15093

Get YouTube videos, shorts and live streams from any channel, search or video address with views, duration, publish date and channel stats. No YouTube key or quota needed.

API Documentation

Endpoints

Request
Get the latest or most popular videos, shorts or live streams of any YouTube channel with title, views, duration, publish date, thumbnail and channel stats (subscribers, video count). Set details=true for likes, description and tags of each video.
Endpoint ID: 40107
GET https://zylalabs.com/api/15093/youtube+videos+and+channels+api/40107/get+channel+videos
INPUT PARAMETERS

Get Channel Videos — Endpoint Features

Object Description
channel Required Channel handle (@name), channel ID (UC...) or channel address.
tab Optional videos, shorts or streams. Default videos.
sort Optional latest or popular. Default latest.
max_results Optional Max videos to return (1-100). Default 20.

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

channel
tab
sort
max_results
API EXAMPLE RESPONSE
JSON
{
    "success": true,
    "count": 10,
    "durationMs": 335,
    "data": [
        {
            "type": "video",
            "videoId": "KTDJiVpSDTI",
            "title": "Can You Trust MKBHD?",
            "viewsText": null,
            "views": null,
            "publishedText": "1d ago",
            "durationText": "14:19",
            "durationSeconds": 859,
            "isLive": false,
            "thumbnail": "https://i.ytimg.com/vi/KTDJiVpSDTI/hq720.jpg",
            "channelName": "Marques Brownlee",
            "channelId": "UCBJycsmduvYEL83R_U4JriQ",
            "channelHandle": "@mkbhd",
            "channelSubscribers": 21400000,
            "url": "https://www.youtube.com/watch?v=KTDJiVpSDTI",
            "channelUrl": "https://www.youtube.com/channel/UCBJycsmduvYEL83R_U4JriQ",
            "rank": 1,
            "source": "channel/videos",
            "sourceValue": "@mkbhd",
            "scrapedAt": "2026-11-19T18:19:55.064Z"
        },
        {
            "type": "video",
            "videoId": "hdMszZ2ah5Q",
            "title": "Macbook PROLED Review: It's Not About That",
            "viewsText": null,
            "views": null,
            "publishedText": "7d ago",
            "durationText": "15:14",
            "durationSeconds": 914,
            "isLive": false,
            "thumbnail": "https://i.ytimg.com/vi/hdMszZ2ah5Q/hq720.jpg",
            "channelName": "Marques Brownlee",
            "channelId": "UCBJycsmduvYEL83R_U4JriQ",
            "channelHandle": "@mkbhd",
            "channelSubscribers": 21400000,
            "url": "https://www.youtube.com/watch?v=hdMszZ2ah5Q",
            "channelUrl": "https://www.youtube.com/channel/UCBJycsmduvYEL83R_U4JriQ",
            "rank": 2,
            "source": "channel/videos",
            "sourceValue": "@mkbhd",
            "scrapedAt": "2026-11-19T18:19:55.064Z"
        },
        {
            "type": "video",
            "videoId": "_x58r9TBois",
            "title": "Meta VR Glasses: What Vision Pro 2 COULD Have Been!",
            "viewsText": null,
            "views": null,
            "publishedText": "12d ago",
            "durationText": "8:01",
            "durationSeconds": 481,
            "isLive": false,
            "thumbnail": "https://i.ytimg.com/vi/_x58r9TBois/hq720.jpg",
            "channelName": "Marques Brownlee",
            "channelId": "UCBJycsmduvYEL83R_U4JriQ",
            "channelHandle": "@mkbhd",
            "channelSubscribers": 21400000,
            "url": "https://www.youtube.com/watch?v=_x58r9TBois",
            "channelUrl": "https://www.youtube.com/channel/UCBJycsmduvYEL83R_U4JriQ",
            "rank": 3,
            "source": "channel/videos",
            "sourceValue": "@mkbhd",
            "scrapedAt": "2026-11-19T18:19:55.064Z"
        },
        {
            "type": "video",
            "videoId": "g6Die8gVFn0",
            "title": "OLED iPad Mini is The Most Apple Product They've Ever Appled",
            "viewsText": null,
            "views": null,
            "publishedText": "2w ago",
            "durationText": "13:00",
            "durationSeconds": 780,
            "isLive": false,
            "thumbnail": "https://i.ytimg.com/vi/g6Die8gVFn0/hq720.jpg",
            "channelName": "Marques Brownlee",
            "channelId": "UCBJycsmduvYEL83R_U4JriQ",
            "channelHandle": "@mkbhd",
            "channelSubscribers": 21400000,
            "url": "https://www.youtube.com/watch?v=g6Die8gVFn0",
            "channelUrl": "https://www.youtube.com/channel/UCBJycsmduvYEL83R_U4JriQ",
            "rank": 4,
            "source": "channel/videos",
            "sourceValue": "@mkbhd",
            "scrapedAt": "2026-11-19T18:19:55.064Z"
        },
        {
            "type": "video",
            "videoId": "2reQut8WNGc",
            "title": "Macbook PROLED XDR Impressions: They Said They Wouldn't!",
            "viewsText": null,
            "views": null,
            "publishedText": "3w ago",
            "durationText": "10:54",
            "durationSeconds": 654,
            "isLive": false,
            "thumbnail": "https://i.ytimg.com/vi/2reQut8WNGc/hq720.jpg",
            "channelName": "Marques Brownlee",
            "channelId": "UCBJycsmduvYEL83R_U4JriQ",
            "channelHandle": "@mkbhd",
            "channelSubscribers": 21400000,
            "url": "https://www.youtube.com/watch?v=2reQut8WNGc",
            "channelUrl": "https://www.youtube.com/channel/UCBJycsmduvYEL83R_U4JriQ",
            "rank": 5,
            "source": "channel/videos",
            "sourceValue": "@mkbhd",
            "scrapedAt": "2026-11-19T18:19:55.064Z"
        },
        {
            "type": "video",
            "videoId": "ESABTN4VtrA",
            "title": "iPhone Duo Review: First Generation Fun!",
            "viewsText": null,
            "views": null,
            "publishedText": "4w ago",
            "durationText": "29:05",
            "durationSeconds": 1745,
            "isLive": false,
            "thumbnail": "https://i.ytimg.com/vi/ESABTN4VtrA/hq720.jpg",
            "channelName": "Marques Brownlee",
            "channelId": "UCBJycsmduvYEL83R_U4JriQ",
            "channelHandle": "@mkbhd",
            "channelSubscribers": 21400000,
            "url": "https://www.youtube.com/watch?v=ESABTN4VtrA",
            "channelUrl": "https://www.youtube.com/channel/UCBJycsmduvYEL83R_U4JriQ",
            "rank": 6,
            "source": "channel/videos",
            "sourceValue": "@mkbhd",
            "scrapedAt": "2026-11-19T18:19:55.064Z"
        },
        {
            "type": "video",
            "videoId": "scwlR0QHGOk",
            "title": "The NEW Tesla Roadster: My Honest Reaction",
            "viewsText": null,
            "views": null,
            "publishedText": "1mo ago",
            "durationText": "22:45",
            "durationSeconds": 1365,
            "isLive": false,
            "thumbnail": "https://i.ytimg.com/vi/scwlR0QHGOk/hq720.jpg",
            "channelName": "Marques Brownlee",
            "channelId": "UCBJycsmduvYEL83R_U4JriQ",
            "channelHandle": "@mkbhd",
            "channelSubscribers": 21400000,
            "url": "https://www.youtube.com/watch?v=scwlR0QHGOk",
            "channelUrl": "https://www.youtube.com/channel/UCBJycsmduvYEL83R_U4JriQ",
            "rank": 7,
            "source": "channel/videos",
            "sourceValue": "@mkbhd",
            "scrapedAt": "2026-11-19T18:19:55.064Z"
        },
        {
            "type": "video",
            "videoId": "QVv3mQzlrN0",
            "title": "Apple Homeview Impressions: Not Convinced!",
            "viewsText": null,
            "views": null,
            "publishedText": "1mo ago",
            "durationText": "11:47",
            "durationSeconds": 707,
            "isLive": false,
            "thumbnail": "https://i.ytimg.com/vi/QVv3mQzlrN0/hq720.jpg",
            "channelName": "Marques Brownlee",
            "channelId": "UCBJycsmduvYEL83R_U4JriQ",
            "channelHandle": "@mkbhd",
            "channelSubscribers": 21400000,
            "url": "https://www.youtube.com/watch?v=QVv3mQzlrN0",
            "channelUrl": "https://www.youtube.com/channel/UCBJycsmduvYEL83R_U4JriQ",
            "rank": 8,
            "source": "channel/videos",
            "sourceValue": "@mkbhd",
            "scrapedAt": "2026-11-19T18:19:55.064Z"
        },
        {
            "type": "video",
            "videoId": "_0G4OG39XjI",
            "title": "WTF is a Googlebook?",
            "viewsText": null,
            "views": null,
            "publishedText": "1mo ago",
            "durationText": "14:13",
            "durationSeconds": 853,
            "isLive": false,
            "thumbnail": "https://i.ytimg.com/vi/_0G4OG39XjI/hq720.jpg",
            "channelName": "Marques Brownlee",
            "channelId": "UCBJycsmduvYEL83R_U4JriQ",
            "channelHandle": "@mkbhd",
            "channelSubscribers": 21400000,
            "url": "https://www.youtube.com/watch?v=_0G4OG39XjI",
            "channelUrl": "https://www.youtube.com/channel/UCBJycsmduvYEL83R_U4JriQ",
            "rank": 9,
            "source": "channel/videos",
            "sourceValue": "@mkbhd",
            "scrapedAt": "2026-11-19T18:19:55.064Z"
        },
        {
            "type": "video",
            "videoId": "3iRUwVzRDZQ",
            "title": "Xiaomi 18 Fold: How Does This Happen?",
            "viewsText": null,
            "views": null,
            "publishedText": "1mo ago",
            "durationText": "10:47",
            "durationSeconds": 647,
            "isLive": false,
            "thumbnail": "https://i.ytimg.com/vi/3iRUwVzRDZQ/hq720.jpg",
            "channelName": "Marques Brownlee",
            "channelId": "UCBJycsmduvYEL83R_U4JriQ",
            "channelHandle": "@mkbhd",
            "channelSubscribers": 21400000,
            "url": "https://www.youtube.com/watch?v=3iRUwVzRDZQ",
            "channelUrl": "https://www.youtube.com/channel/UCBJycsmduvYEL83R_U4JriQ",
            "rank": 10,
            "source": "channel/videos",
            "sourceValue": "@mkbhd",
            "scrapedAt": "2026-11-19T18:19:55.065Z"
        }
    ]
}
Get Channel Videos — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15093/youtube+videos+and+channels+api/40107/get+channel+videos?channel=@mkbhd&tab=videos&sort=latest&max_results=10' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Search YouTube and get the matching videos with title, views, duration, channel name and ID, publish date and thumbnail. Sort by relevance, upload date or view count. Set details=true for likes, description and tags of each video.
Endpoint ID: 40108
GET https://zylalabs.com/api/15093/youtube+videos+and+channels+api/40108/search+videos
INPUT PARAMETERS

Search Videos — Endpoint Features

Object Description
query Required Search text, the same you would type on YouTube.
sort Optional relevance, date or views. Default relevance.
max_results Optional Max videos to return (1-100). Default 20.
country Optional Two-letter country code. Default US.

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

query
sort
max_results
country
API EXAMPLE RESPONSE
JSON
{
    "success": true,
    "count": 10,
    "durationMs": 1674,
    "data": [
        {
            "type": "video",
            "videoId": "ZZXSGt_frg0",
            "title": "Lab Leak or Nuclear War - What Comes Next? | PBD Podcast #893",
            "viewsText": null,
            "views": null,
            "publishedText": "2h ago",
            "durationText": "1:48:20",
            "durationSeconds": 6500,
            "isLive": false,
            "thumbnail": "https://i.ytimg.com/vi/ZZXSGt_frg0/hq720.jpg",
            "url": "https://www.youtube.com/watch?v=ZZXSGt_frg0",
            "channelName": null,
            "channelId": null,
            "channelUrl": null,
            "rank": 1,
            "source": "search",
            "sourceValue": "podcast",
            "scrapedAt": "2026-11-19T18:20:12.280Z"
        },
        {
            "type": "video",
            "videoId": "Fbb5gX2CvoM",
            "title": "Cybertruck Ending Production Next Year!",
            "viewsText": null,
            "views": null,
            "publishedText": "6d ago",
            "durationText": "1:39:12",
            "durationSeconds": 5952,
            "isLive": false,
            "thumbnail": "https://i.ytimg.com/vi/Fbb5gX2CvoM/hq720.jpg",
            "url": "https://www.youtube.com/watch?v=Fbb5gX2CvoM",
            "channelName": null,
            "channelId": null,
            "channelUrl": null,
            "rank": 2,
            "source": "search",
            "sourceValue": "podcast",
            "scrapedAt": "2026-11-19T18:20:12.280Z"
        },
        {
            "type": "video",
            "videoId": "PBUMOJ3M0DQ",
            "title": "#1 Communication Expert: How to Stop Sounding Insecure and Get People to Take You Seriously",
            "viewsText": null,
            "views": null,
            "publishedText": "8h ago",
            "durationText": "1:02:25",
            "durationSeconds": 3745,
            "isLive": false,
            "thumbnail": "https://i.ytimg.com/vi/PBUMOJ3M0DQ/hq720.jpg",
            "url": "https://www.youtube.com/watch?v=PBUMOJ3M0DQ",
            "channelName": null,
            "channelId": null,
            "channelUrl": null,
            "rank": 3,
            "source": "search",
            "sourceValue": "podcast",
            "scrapedAt": "2026-11-19T18:20:12.280Z"
        },
        {
            "type": "video",
            "videoId": "e0lSmPjIXvg",
            "title": "Joe Kent - The Real Reason Republicans Lost the Midterms | SRS #356",
            "viewsText": null,
            "views": null,
            "publishedText": "6d ago",
            "durationText": "2:13:01",
            "durationSeconds": 7981,
            "isLive": false,
            "thumbnail": "https://i.ytimg.com/vi/e0lSmPjIXvg/hq720.jpg",
            "url": "https://www.youtube.com/watch?v=e0lSmPjIXvg",
            "channelName": null,
            "channelId": null,
            "channelUrl": null,
            "rank": 4,
            "source": "search",
            "sourceValue": "podcast",
            "scrapedAt": "2026-11-19T18:20:12.280Z"
        },
        {
            "type": "video",
            "videoId": "XJIKMZpzYeM",
            "title": "Matthew McConaughey: Life Got Easy After I Learned This",
            "viewsText": null,
            "views": null,
            "publishedText": "3w ago",
            "durationText": "1:08:34",
            "durationSeconds": 4114,
            "isLive": false,
            "thumbnail": "https://i.ytimg.com/vi/XJIKMZpzYeM/hq720.jpg",
            "url": "https://www.youtube.com/watch?v=XJIKMZpzYeM",
            "channelName": null,
            "channelId": null,
            "channelUrl": null,
            "rank": 5,
            "source": "search",
            "sourceValue": "podcast",
            "scrapedAt": "2026-11-19T18:20:12.280Z"
        },
        {
            "type": "video",
            "videoId": "ydosgF-if8Y",
            "title": "Dave Smith: “Trump Lied to Us!\" The Real Reason You're Paying For The Iran War",
            "viewsText": null,
            "views": null,
            "publishedText": "9d ago",
            "durationText": "2:27:43",
            "durationSeconds": 8863,
            "isLive": false,
            "thumbnail": "https://i.ytimg.com/vi/ydosgF-if8Y/hq720.jpg",
            "url": "https://www.youtube.com/watch?v=ydosgF-if8Y",
            "channelName": null,
            "channelId": null,
            "channelUrl": null,
            "rank": 6,
            "source": "search",
            "sourceValue": "podcast",
            "scrapedAt": "2026-11-19T18:20:12.280Z"
        },
        {
            "type": "video",
            "videoId": "6VTSAs4Rsck",
            "title": "Mark Cuban: The Brutal Truth About The Next Market Crash!",
            "viewsText": null,
            "views": null,
            "publishedText": "3w ago",
            "durationText": "1:31:34",
            "durationSeconds": 5494,
            "isLive": false,
            "thumbnail": "https://i.ytimg.com/vi/6VTSAs4Rsck/hq720.jpg",
            "url": "https://www.youtube.com/watch?v=6VTSAs4Rsck",
            "channelName": null,
            "channelId": null,
            "channelUrl": null,
            "rank": 7,
            "source": "search",
            "sourceValue": "podcast",
            "scrapedAt": "2026-11-19T18:20:12.280Z"
        },
        {
            "type": "video",
            "videoId": "9tYfQtrTdTA",
            "title": "The Greatest Ancient Mysteries Ever Discussed on Joe Rogan Podcast",
            "viewsText": null,
            "views": null,
            "publishedText": "5mo ago",
            "durationText": "1:04:19",
            "durationSeconds": 3859,
            "isLive": false,
            "thumbnail": "https://i.ytimg.com/vi/9tYfQtrTdTA/hq720.jpg",
            "url": "https://www.youtube.com/watch?v=9tYfQtrTdTA",
            "channelName": null,
            "channelId": null,
            "channelUrl": null,
            "rank": 8,
            "source": "search",
            "sourceValue": "podcast",
            "scrapedAt": "2026-11-19T18:20:12.280Z"
        },
        {
            "type": "video",
            "videoId": "SwQhKFMxmDY",
            "title": "Change Your Brain: Neuroscientist Dr. Andrew Huberman | Rich Roll Podcast",
            "viewsText": "Thanks for watching! Read all about Dr. Andrew Huberman here https://bit.ly/richroll533 Dr. Andrew Huberman is a ...",
            "views": null,
            "publishedText": "6y ago",
            "durationText": "2:12:42",
            "durationSeconds": 7962,
            "isLive": true,
            "thumbnail": "https://i.ytimg.com/vi/SwQhKFMxmDY/hq720.jpg",
            "url": "https://www.youtube.com/watch?v=SwQhKFMxmDY",
            "channelName": null,
            "channelId": null,
            "channelUrl": null,
            "rank": 9,
            "source": "search",
            "sourceValue": "podcast",
            "scrapedAt": "2026-11-19T18:20:12.280Z"
        },
        {
            "type": "video",
            "videoId": "TYzgVUoDNWE",
            "title": "Big John Reveals Secrets Behind Playing At The Internet Invitational! | One Night with Steiny",
            "viewsText": null,
            "views": null,
            "publishedText": "12d ago",
            "durationText": "54:35",
            "durationSeconds": 3275,
            "isLive": false,
            "thumbnail": "https://i.ytimg.com/vi/TYzgVUoDNWE/hq720.jpg",
            "url": "https://www.youtube.com/watch?v=TYzgVUoDNWE",
            "channelName": null,
            "channelId": null,
            "channelUrl": null,
            "rank": 10,
            "source": "search",
            "sourceValue": "podcast",
            "scrapedAt": "2026-11-19T18:20:12.280Z"
        }
    ]
}
Search Videos — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15093/youtube+videos+and+channels+api/40108/search+videos?query=podcast&sort=relevance&max_results=10&country=US' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Get full details of one or more YouTube videos: title, description, views, likes, comment count, duration, tags, category, publish date, thumbnail and channel info. Accepts video addresses or video IDs, up to 10 per call.
Endpoint ID: 40109
GET https://zylalabs.com/api/15093/youtube+videos+and+channels+api/40109/get+video+details
INPUT PARAMETERS

Get Video Details — Endpoint Features

Object Description
url Required Video address or 11-character video ID. Up to 10, comma separated.

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

url
API EXAMPLE RESPONSE
JSON
{
    "success": true,
    "count": 1,
    "durationMs": 1429,
    "data": [
        {
            "type": "video",
            "videoId": "dQw4w9WgXcQ",
            "title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
            "channelName": "Rick Astley",
            "channelId": "UCuAXFkgsw1L7xaCfnd5JJOw",
            "channelSubscribersText": "4.56M subscribers",
            "views": 1838835171,
            "durationSeconds": 213,
            "likes": 19512286,
            "commentsCountText": null,
            "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",
            "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"
            ],
            "category": "Music",
            "dateText": "Oct 24, 2009",
            "publishedAt": "2009-10-25T06:57:33.000Z",
            "uploadedAt": "2009-10-25T06:57:33.000Z",
            "isLiveContent": false,
            "isFamilySafe": true,
            "thumbnail": "https://i.ytimg.com/vi_webp/dQw4w9WgXcQ/maxresdefault.webp",
            "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
            "channelUrl": "https://www.youtube.com/channel/UCuAXFkgsw1L7xaCfnd5JJOw",
            "source": "video",
            "sourceValue": "dQw4w9WgXcQ",
            "scrapedAt": "2026-11-19T18:20:26.877Z"
        }
    ]
}
Get Video Details — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15093/youtube+videos+and+channels+api/40109/get+video+details?url=dQw4w9WgXcQ' --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 Videos and Channels 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.

Starts at
$10,000/Year


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

Overview

Get YouTube videos, shorts and live streams from any channel, search or video address with views, duration, publish date and channel stats. No YouTube key or quota needed.

YouTube Videos and Channels API FAQs

Each endpoint returns data related to YouTube videos, including details like title, views, duration, publish date, and channel statistics. The "Get Channel Videos" endpoint focuses on videos from a specific channel, while "Search Videos" retrieves videos based on search criteria. The "Get Video Details" endpoint provides comprehensive information about specific videos.

Key fields in the response data include `videoId`, `title`, `views`, `duration`, `publishedText`, `thumbnail`, `channelName`, and `channelSubscribers`. These fields provide essential information about each video and its associated channel.

Parameters vary by endpoint. For "Get Channel Videos," you can specify `details=true` for more information. The "Search Videos" endpoint allows sorting by relevance, upload date, or view count. Users can customize requests by including specific video IDs or search terms.

The response data is structured in a JSON format, with a `success` flag, `count` of items returned, and a `data` array containing individual video objects. Each video object includes fields like `type`, `videoId`, `title`, and channel information, making it easy to parse and utilize.

The data is sourced directly from YouTube, ensuring it reflects the latest available information about videos and channels. The API aggregates this data without requiring a YouTube key, simplifying access for users.

Typical use cases include building applications that display trending videos, creating dashboards for video analytics, or integrating video content into websites. Users can leverage the API to enhance user engagement with relevant video content.

Users can utilize the returned data by extracting key fields for display or analysis. For example, they can show video thumbnails and titles in a user interface or analyze view counts and durations for performance metrics. The structured format allows for easy integration into various applications.

If the API returns partial or empty results, users should check the `count` field to determine the number of items returned. Implementing error handling and fallback mechanisms, such as displaying a message or suggesting alternative searches, can enhance user experience when results are limited.

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