YouTube API: Get channel
Gets a public YouTube channel's profile, links and statistics from its name, @handle or link. Subscriber totals may be rounded as YouTube displays them.
Unofficial. Not affiliated with or endorsed by YouTube.
Inputs
Values from the run on Nov 1, 2026, shown under Output.
- Channel, required
channel Channel name, @handle, or YouTube channel link, such as MrBeast, @MrBeast, or https://www.youtube.com/@MrBeast.
MrBeast
Input as JSON
{ "channel": "MrBeast"}Output
{ "links": [ { "link": "https://www.instagram.com/mrbeast/" , "label": "Follow" }, { "link": "https://twitter.com/MrBeast" , "label": "Twitter" }, { "link": "https://facebook.com/mrbeast/" , "label": "Facebook" } ], "handle": "@MrBeast", "country": "United States", "verified": "yes", "join_date": "2012-02-19", "channel_id": "UCX6OQ3DkcsbYNE6H8uQQuVA", "description": "SUBSCRIBE FOR A COOKIE!\nNew MrBeast or MrBeast Gaming video every single Saturday at noon eastern time!\nAccomplishments:\n- Raised $20,000,000 To Plant 20,000,000 Trees\n- Removed 30,000,000 pounds of trash from the ocean\n- Helped 2,000 people walk again\n- Helped 1,000 blind people see\n- Helped 1,000 …", "subscribers": 524000000, "total_views": 145430387555, "channel_link": "https://www.youtube.com/@MrBeast" , "channel_name": "MrBeast", "number_of_videos": 1011, "avatar_image_link": "https://yt3.googleusercontent.com/nxYrc_1_2f77DoBadyxMTmv7ZpRZapHR5jbuYe7PlPd5cIRJxtNNEYyOC0ZsxaDyJJzXrnJiuDE=s900-c-k-c0x00ffffff-no-rj" , "banner_image_link": "https://yt3.googleusercontent.com/mHMO_eEMp0dPvh0ADwXhPXNYb_GnjSVsLI8biqF1CpxT8OPl7izhNQsDPD3JHhd5y5Mg9GrP=w2560-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj" }Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"youtube.com/get_channel","input":{"channel":"MrBeast"}}' # Save as fous.py, then run: python3 fous.pyimport json, os, timefrom urllib.error import HTTPErrorfrom urllib.request import Request, urlopenAPI = "https://api.fous.com/v1/runs" KEY = os.environ["FOUS_API_KEY"]HEADERS = { "Authorization": f"Bearer {KEY}", "Content-Type": "application/json" ,}def call(url, body=None): data = json.dumps(body).encode() if body else None request = Request(url, data, HEADERS) try: with urlopen(request, timeout=120) as r: return r.status, json.load(r) except HTTPError as error: message = json.load(error)["error"]["message"] raise RuntimeError(message) from errorstatus, run = call(API, { "method": "youtube.com/get_channel" , "input": { "channel": "MrBeast" }})# 202: still going after 30 s. Ask again until it ends.while status == 202: time.sleep(2) status, run = call(f"{API}/{run['id']}")print(json.dumps(run["data"], indent=2))// Save as fous.mjs, then run: node fous.mjsconst api = "https://api.fous.com/v1/runs" ;const headers = { Authorization: `Bearer ${process.env.FOUS_API_KEY}`, "Content-Type": "application/json" ,};let response = await fetch(api, { method: "POST", headers, body: JSON.stringify({ "method": "youtube.com/get_channel" , "input": { "channel": "MrBeast" } }), signal: AbortSignal.timeout(120_000),});let run = await response.json();// 202: still going after 30 s. Ask again until it ends.while (response.status === 202) { await new Promise((done) => setTimeout(done, 2_000)); response = await fetch(`${api}/${run.id}`, { headers }); run = await response.json();}if (!response.ok) throw new Error(run.error.message);console.log(run.data);# Connect your agent to Fous once, over MCP (Streamable HTTP):# https://api.fous.com/mcp# Set FOUS_API_KEY first: create a key at https://app.fous.com/keys.# Claude Codeclaude mcp add \ --scope user \ --transport http fous https://api.fous.com/mcp \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Codexcodex mcp add fous \ --url https://api.fous.com/mcp \ --bearer-token-env-var FOUS_API_KEY# Cursor, VS Code, Windsurf, Cline and morenpx -y add-mcp https://api.fous.com/mcp -g -n fous \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Then ask your agent:# "Use Fous to run youtube.com/get_channel# with {"channel":"MrBeast"}"Over HTTP, the answer’s data holds the output. A run still going after 30 seconds answers 202 with its id: ask GET /v1/runs/{id} until it ends.
Schema
Input schema
{ "type": "object", "required": [ "channel" ], "properties": { "channel": { "type": "string", "minLength": 1, "description": "Channel name, @handle, or YouTube channel link, such as MrBeast, @MrBeast, or https://www.youtube.com/@MrBeast." } }}Output schema
{ "type": "object", "required": [ "channel_name", "verified", "links", "channel_link", "channel_id" ], "properties": { "links": { "type": "array", "items": { "type": "object", "required": [ "label", "link" ], "properties": { "link": { "type": "string" }, "label": { "type": "string" } } } }, "handle": { "type": [ "string", "null" ] }, "country": { "type": [ "string", "null" ] }, "verified": { "enum": [ "yes", "no" ], "type": "string" }, "join_date": { "type": [ "string", "null" ] }, "channel_id": { "type": "string" }, "description": { "type": [ "string", "null" ] }, "subscribers": { "type": [ "integer", "null" ] }, "total_views": { "type": [ "integer", "null" ] }, "channel_link": { "type": "string" }, "channel_name": { "type": "string" }, "number_of_videos": { "type": [ "integer", "null" ] }, "avatar_image_link": { "type": [ "string", "null" ] }, "banner_image_link": { "type": [ "string", "null" ] } }}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
youtube.com/get_channel- Returns
- name, handle, description, subscribers, views, videos, join date, country, verified, links, images, channel link and id
Use it from your agent
Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method youtube.com/get_channel with the inputs above.
Ask your agent
- Can you pull up the profile for the channel @MKBHD and tell me how many subscribers it has?
- What's the join date and total view count for the Veritasium channel?
- I need the description, country, and verified status of the Kurzgesagt YouTube channel.
- Look up the channel at https://www.youtube.com/@LinusTechTips and list its links and video count.
- Find the stats for the channel named Fireship, including subscriber total and channel ID.
See more
All YouTube methodsLists a YouTube channel's public videos, Shorts, or live uploads, newest first or most popular first, along with channel details. Counts and dates taken from displayed text may be approximate.
youtube.com/list_channel_videosFinds a company's verified YouTube channel by name and returns its name, link, subscriber count, description, country and official website when identifiable.
youtube.com/find_company_channelGets public details and statistics for one YouTube video by link, ID or title. A title selects the top search match.
youtube.com/get_videoGets public top-level comments on a YouTube video, found by link, video ID or title. Reply text is not included.
youtube.com/get_video_commentsLists the latest weekly YouTube Music Top Songs chart for a country or globally, with ranks, weekly views and video links.
youtube.com/list_top_songsReturns the spoken captions and timed segments of a YouTube video, given a video link or a title (top search match). Only captions the video has are returned.
youtube.com/get_video_transcriptLooks up a YouTube channel on Social Blade by name, @handle, YouTube link or Social Blade link and returns its profile, 30-day growth, earnings estimates and the last 14 daily statistics.
socialblade.com/get_youtube_channel_statsGets the title, username, description, subscriber total, verification, photo and public media totals of a public Telegram channel.
t.me/get_channel