YouTube Channel Shorts
Retrieve public Shorts from a YouTube channel ID with optional continuation-token pagination. Use it to browse a channel's short-form videos and continue through additional result pages.
/v1/youtube/get_channel_shorts_v1
$0.02
- Price
- $0.02 per successful call, Failed calls are free
- Endpoint ID
youtube.get_channel_shorts_v1
Parameters
-
channel_idstring RequiredThe UC-prefixed unique identifier for a YouTube channel. @username handles are not supported.
Example
UCX6OQ3DkcsbYNE6H8uQQuVA -
continuation_tokenstring OptionalPagination token returned by the previous response.
Code samples
curl -G "https://api.mofa-ai.com/v1/youtube/get_channel_shorts_v1" \
-H "Authorization: Bearer $MOFA_API_KEY" \
--data-urlencode 'channel_id=UCX6OQ3DkcsbYNE6H8uQQuVA'
import os
import requests
resp = requests.get(
"https://api.mofa-ai.com/v1/youtube/get_channel_shorts_v1",
headers={"Authorization": f"Bearer {os.environ['MOFA_API_KEY']}"},
params={
"channel_id": "UCX6OQ3DkcsbYNE6H8uQQuVA",
},
timeout=60,
)
body = resp.json()
if body["success"]:
print(body["cost_usd"], body["data"])
else:
print(body["error"], body["message"])
const url = new URL("https://api.mofa-ai.com/v1/youtube/get_channel_shorts_v1");
url.search = new URLSearchParams({
channel_id: "UCX6OQ3DkcsbYNE6H8uQQuVA",
});
const resp = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.MOFA_API_KEY}` },
});
const body = await resp.json();
if (body.success) console.log(body.cost_usd, body.data);
else console.error(body.error, body.message);
Example response
Request parameters {"channel_id": "UCX6OQ3DkcsbYNE6H8uQQuVA"}
{
"success": true,
"code": 0,
"message": "success",
"request_id": "req_5f1c2a9be04d7c3a81f6e2d0",
"endpoint": "youtube.get_channel_shorts_v1",
"cost_usd": 0.02,
"data": {
"code": 0,
"data": {
"shorts": [
{
"title": "Trap Door Roulette",
"video_id": "kPI9Mc35mOg",
"video_url": "https://www.youtube.com/shorts/kPI9Mc35mOg",
"thumbnails": [
{
"url": "https://i.ytimg.com/vi/kPI9Mc35mOg/frame0.jpg",
"width": 1080,
"height": 1920
}
],
"view_count_text": "44 million views",
"accessibility_text": "Trap Door Roulette, 44 million views - play Short"
},
{
"title": "Can A Robot Do My Chores?",
"video_id": "41UzbuW6wJs",
"video_url": "https://www.youtube.com/shorts/41UzbuW6wJs",
"thumbnails": [
{
"url": "https://i.ytimg.com/vi/41UzbuW6wJs/frame0.jpg",
"width": 1080,
"height": 1920
}
],
"view_count_text": "69 million views",
"accessibility_text": "Can A Robot Do My Chores?, 69 million views - play Short"
},
"… +46"
],
"has_more": true,
"channel_id": "UCX6OQ3DkcsbYNE6H8uQQuVA",
"total_count": 48,
"continuation_token": "4qmFsgLBCxIYVUNYNk9RM0RrY3NiWU5FNkg4dVFRdVZBGqQLOGdhM0NCcTBDRkt4Q0RLdUNBb2tObU0yTUdJM1lXTXRNREF3TUMweVl6aGxMV0kxTXpRdE5UZ3lOREk1WVdFNU1EWTRFb01JUVdOV09GWmtWVTVrVGpReVdYZG5YM1V3WW5selJ6TXllQzFuVERWNFox…"
},
"message": null,
"requestId": "48149f0623c74cbe80e5aab64e92a5a1",
"recordTime": "2026-11-08T08:00:11.471511768",
"requestParams": {
"body": null,
"query": {
"channelId": "UCX6OQ3DkcsbYNE6H8uQQuVA"
}
}
}
}
Try it
Sign in to call this endpoint from this page. Successful calls are billed to your balance, failed calls are free, and new accounts get $0.50 of trial credit.
More YouTube endpoints
-
General Search
$0.02Search YouTube by keyword with optional type, upload-date, duration, feature, and sort filters, or continue with a token. Use it to discover videos, channels…
/v1/youtube/search_v1
-
Video Details
$0.02Retrieve public details for a YouTube video identified by video ID. Use it to inspect a known video before further content or comment analysis.
/v1/youtube/get_video_detail_v1
-
Channel Videos
$0.02Retrieve public videos from a YouTube channel, with optional cursor-based pagination. Use it to browse a channel's uploads and continue through additional re…
/v1/youtube/get_channel_videos_v1
-
Video Captions
$0.02Retrieve available caption tracks for a YouTube video or request captions in SRT, XML, JSON3, or plain-text format. Use it to support transcription, accessib…
/v1/youtube/get_video_captions_v1
-
Video Comment List
$0.02Retrieve first-level comments for a YouTube video with sorting, locale options, and cursor pagination. Use it to review audience discussion or continue throu…
/v1/youtube/get_video_comment_v1
-
Video Sub Comment List
$0.02Retrieve replies associated with a YouTube comment continuation cursor, with optional locale settings. Use it to follow threaded discussion beyond first-leve…
/v1/youtube/get_video_sub_comment_v1