YouTube Channel Videos API
One page (~30) of a channel's uploads: videos, shorts, live streams or playlists, each with id, url, title, views, published time, duration and thumbnail, plus `next_page_token`.
https://api.maviapi.com/v1/sites/youtube/channel_videos5 credits per callParameters
| Name | Required | Example | Description |
|---|---|---|---|
channelstring in query | Optional | @mkbhd | channel id (UC...), @handle, or channel URL |
tabstring in query | Optional | videos | videos, shorts, live or playlists |
sortstring in query | Optional | latest | latest, popular or oldest (videos, shorts and live tabs) |
page_tokenstring in query | Optional | None | `next_page_token` from a previous call (other parameters are then ignored) |
Response fields
channel_ide.g."UCBJycsmduvYEL83R_U4JriQ"channel_titlee.g."Marques Brownlee"tabe.g."videos"sorte.g."latest"items
typee.g."video"video_ide.g."KTDJiVpSDTI"urle.g."https://www.youtube.com/watch?v=KTDJiVpSDTI"titlee.g."Can You Trust MKBHD?"channel_namee.g."Marques Brownlee"channel_ide.g."UCBJycsmduvYEL83R_U4JriQ"publishede.g."2 days ago"views_texte.g."3.3M views"viewse.g.3300000duratione.g."14:19"duration_secondse.g.859thumbnaile.g."https://i.ytimg.com/vi/KTDJiVpSDTI/hq720.jpg?sqp=-oaymwEnCNAFEJQDSFryq4qpAxkIARUAAIhCGAHYAQHiAQoIGBACGAY4AUAB&rs=AOn4CLBVNbjlhZFhOCPQLXOtegSO1Nh2yQ"next_page_tokene.g."4qmFsgK5CxIYVUNCSnljc21kdXZZRUw4M1JfVTRKcmlRGpwLOGdhc0NCcXBDSHFtQ0RxakNBb2tObUkwT1RBeVpHVXRNREF3TUMweU56UTJMVGhpT1RjdE9EZ3paREkwWmpZME9XUTRFdmdIUVdOV09GWmtWbWhmWVRsbVVFcHZlbVV6TmpZd2NXSkVXa2h6T1RkbllUQXdYM2hqU1haNFQyRnVTMWxmWWpkSVQwTlpkMDF1ZFVWNWEwbDFTVlZxYlhWdk9GUnJka3BhTW1jemVHcFRTbUZ0ZGtaS05HVXRjMFJsYWxKZlRFMWtZVTFIZUhKTmNYcHBjbkl0Wm01UVdsSjZTMmN3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MU1qWXdjMWxhV2poc1ozZEtiVTVLT1VGMmJ6ZE9SVnBSUldwMWEwTm1WR2RNTlMxRllXaEpPRFJyVEhKaWVXaFRjbEZIZFhGUlRYbHBkMVJrZFVwSmVYTjVVRUphTTJGYWNqRkRiRkJCYlRKbk5HRTBkbGx4UjFCTVVqSjZSVWh5UldwT1dXbHhWM0I2WVdWcVJUVmhTVGxYTkhwa2JuTXlhek42YkVSU1FuRm1jbnBQUkUxdldtRnVSVzAzUVZSbVVtRXlPVEZIYzBWeVZWaEpTVTVxZWxaUWRqQlZNblJQZDFGQmMxTk5UVTVZY21WeFIwZElWR3h1TFRFemFYQkViekJzUzNOWVozZEhkbmxmV0VoUFZXSjBOa2RyTnkxb2JtcEllVWQxWlU4d1VXTnBOQzB3ZHpObGNrTnBOVGhCVURkaFVqa3hNbTlyY3kxV2R5MUJjVXRoYUhwb1JXUm1RMlJKYWpnMmEyMUhWVTlGUkZFM2RuRnBSVTlqWTFKRFdteHJjR1pzWTNBelNuaExVbGdZQkElM0QlM0Q%3D"Example request
Set MAVI_KEY to your API key. A successful call costs 5 credits per call, and a failed call costs nothing.
curl 'https://api.maviapi.com/v1/sites/youtube/channel_videos' \
-H "Authorization: Bearer $MAVI_KEY"YouTube Channel Videos API questions
What you get, what it costs and how to call it.
What does the YouTube Channel Videos API return?
One page (~30) of a channel's uploads: videos, shorts, live streams or playlists, each with id, url, title, views, published time, duration and thumbnail, plus `next_page_token`. The response has channel_id, channel_title, tab, sort, items and next_page_token.
Which parameters does the YouTube Channel Videos API take?
Every parameter of GET /channel_videos is optional. You can pass channel, tab, sort and page_token.
How much does one YouTube Channel Videos API call cost?
One successful call costs 5 credits. A failed call costs nothing. On the Hobby plan ($49 a month for 250,000 credits), 1,000 calls cost about $0.98. The Free plan gives you 1,000 credits a month, with no credit card required. See plans and credit prices for everything after that.
How do I call the YouTube Channel Videos API?
Send an HTTPS GET request to https://api.maviapi.com/v1/sites/youtube/channel_videos with your API key in the Authorization header, as in the example request on this page. Create a key on your API keys page, or try the endpoint first in the console with the free test key.
Is the YouTube Channel Videos API official?
No. It is an independent, hosted API from maviapi for the public data on youtube.com, and it is not made, endorsed or supported by YouTube. Its parameters and response fields are documented on this page.