Skip to content

YouTube Channel API

Profile of a YouTube channel: id, title, handle, description, subscriber/video/view counts, join date, country, external links, avatar, banner and keywords.

GEThttps://api.maviapi.com/v1/sites/youtube/channel5 credits per call

Parameters

NameRequiredExampleDescription
channelstring in queryOptional@mkbhdchannel id (UC...), @handle, or channel URL

Response fields

channel_idstringe.g."UCBJycsmduvYEL83R_U4JriQ"
urlstringe.g."https://www.youtube.com/channel/UCBJycsmduvYEL83R_U4JriQ"
titlestringe.g."Marques Brownlee"
handlestringe.g."@mkbhd"
descriptionstringe.g."MKBHD: Quality Tech Videos | YouTuber | Geek | Consumer Electronics | Tech Head | Internet Personality!\n\nbusiness@MKBHD.com\n\nNYC"
subscribers_textstringe.g."21.4M subscribers"
subscribersintegere.g.21400000
video_countintegere.g.1867
view_countintegere.g.5907552880
joinedstringe.g."Mar 21, 2008"
countrystringe.g."United States"
linksobject[]2 fields
titlestringe.g."Twitter"
urlstringe.g."twitter.com/MKBHD"
keywordsstringe.g."MKBHD MarquesBrownlee Marques Brownlee"
is_family_safebooleane.g.true
avatarstringe.g."https://yt3.googleusercontent.com/qu4TmIaYUlS41-dJ9gZ7DUR3nilvmB5_11i6OKSdvNnBNiyOusZP1bMN6ICnuxtjFBb6ioKgRQ=s900-c-k-c0x00ffffff-no-rj"
bannerstringe.g."https://yt3.googleusercontent.com/zi_48HwHU4s0Hnb6tZuvRzTfCPHrLEnrtIMDLzMauDEyDmURh9JZ4wrNd3lKr7m9uVnT4YjYKw=w2560-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj"
rss_urlstringe.g."https://www.youtube.com/feeds/videos.xml?channel_id=UCBJycsmduvYEL83R_U4JriQ"

Example request

Set MAVI_KEY to your API key. A successful call costs 5 credits per call, and a failed call costs nothing.

cURL
curl 'https://api.maviapi.com/v1/sites/youtube/channel' \
  -H "Authorization: Bearer $MAVI_KEY"

YouTube Channel API questions

What you get, what it costs and how to call it.

What does the YouTube Channel API return?

Profile of a YouTube channel: id, title, handle, description, subscriber/video/view counts, join date, country, external links, avatar, banner and keywords. The response has channel_id, url, title, handle, description, subscribers_text, subscribers, video_count and 9 more.

Which parameters does the YouTube Channel API take?

Every parameter of GET /channel is optional. You can pass channel.

How much does one YouTube Channel 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 API?

Send an HTTPS GET request to https://api.maviapi.com/v1/sites/youtube/channel 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 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.