Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

YouTube Channel Shorts

API दस्तावेज़
https://api.sandbase.ai/v1/api/youtube/channel-shorts

Get 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.

मूल्य
$0.014286USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
1 आवश्यक · 1 वैकल्पिक

प्लेग्राउंड

इनपुट
The UC-prefixed unique identifier for a YouTube channel. @username handles are not supported.
Pagination token returned by the previous response.
आउटपुटतैयार

आपका आउटपुट यहाँ दिखाई देगा

इनपुट पूरा करें, फिर Run पर क्लिक करें।

API README

YouTube Channel Shorts API

Returns a list of public Shorts from a YouTube channel. Each item has the title, video ID, link, thumbnail and a view count label. You send the channel's UC prefixed ID.

Use cases

  • Build a feed of a creator's latest Shorts for a dashboard or content archive.
  • Compare view count labels across a channel's Shorts to see which topics get attention.
  • Collect Short video IDs and URLs to pass to a video details or transcript API.
  • Pull Short thumbnails and titles to build a link preview or media gallery.

Request

curl -X POST "https://api.sandbase.ai/v1/api/youtube/channel-shorts" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"channelId": "UCuAXFkgsw1L7xaCfnd5JJOw"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
channelIdstringYesThe UC-prefixed unique identifier for a YouTube channel. @username handles are not supported.
continuationTokenstringNoPagination token returned by the previous response.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "channel_id": "UCuAXFkgsw1L7xaCfnd5JJOw",
  "continuation_token": "4qmFsgK5…",
  "has_more": true,
  "shorts": [
    {
      "accessibility_text": "This version of Never Gonna Give You Up still gets to us 😭 #nevergonnagiveyouup,…",
      "thumbnails": [
        {
          "height": 1920,
          "url": "https://i.ytimg.com/vi/TIRgIY2nwOk/frame0.jpg",
          "width": 1080
        }
      ],
      "title": "This version of Never Gonna Give You Up still gets to us 😭 #nevergonnagiveyouup",
      "video_id": "TIRgIY2nwOk",
      "video_url": "https://www.youtube.com/shorts/TIRgIY2nwOk",
      "view_count_text": "4.9 thousand views"
    }
  ],
  "total_count": 48
}

Response fields

FieldMeaning
shorts[].video_idThe ID of the Short. Use it to look up the video in other YouTube APIs.
shorts[].video_urlDirect youtube.com/shorts/ link to the Short.
shorts[].titleTitle of the Short, including any hashtags and emoji.
shorts[].view_count_textView count as display text, for example 4.9 thousand views. It is a rounded label, not a number.
shorts[].thumbnails[].url / shorts[].thumbnails[].width / shorts[].thumbnails[].heightThumbnail image link and its pixel size. The sample is 1080 by 1920, a vertical frame.
shorts[].accessibility_textScreen reader text that combines the title, the view count label and a play prompt.
has_moretrue when more Shorts are available on a later page.
continuation_tokenToken to send as continuationToken in the next request to get the next page.
total_countCount value returned with the response. In the sample it is 48.
channel_idThe channel ID the Shorts belong to.

Notes

  • channelId must start with UC. @username handles are not supported. To find the ID from a channel URL, try YouTube Channel ID from URL.
  • For the next page, pass the continuation_token value from the last response as continuationToken. Keep channelId the same. Continue while has_more is true.
  • To get full details for a Short, pass its video_id to YouTube Video Details.
  • To list the channel's regular uploads instead, use YouTube Channel Videos.

Pricing

$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

और जानें

संबंधित APIs

सभी APIs
APIकीमतप्रतिक्रिया
YouTube$0.014286 प्रति कॉलJSON
YouTube$0.00045 प्रति कॉल सेJSON
YouTube$0.0012 प्रति कॉल सेJSON
YouTube$0.0012 प्रति कॉल सेJSON
YouTube$0.0012 प्रति कॉल सेJSON
YouTube$0.014286 प्रति कॉलJSON

गाइड्स:Best YouTube API in 2026: Pricing Compared

प्रश्न

FAQ

YouTube Channel Shorts API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/youtube/channel-shorts पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

YouTube Channel Shorts API की लागत कितनी है?

$0.014286 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

YouTube Channel Shorts API कौन-से parameters स्वीकार करती है?

आवश्यक: channelId (string)। वैकल्पिक: continuationToken (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

YouTube Channel Shorts API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।

क्या मुझे एक YouTube developer account या API key चाहिए?

नहीं। YouTube Channel Shorts SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से YouTube API access के लिए आवेदन करने की आवश्यकता नहीं है।