YouTube
Retrieve the shorts tab for a YouTube channel
Returns the first page of Shorts from a YouTube channel's Shorts tab. id accepts a channel id, @handle, /c or /user path, or a full channel URL. Each short has its position, video id, title, URL, thumbnail and view count text.
get/youtube/channel/{id}/shorts
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/youtube/channel/{id}/shorts
- Auth: API key in header x-api-key
Path parameters
idstring required
Channel ID, @handle, /c path, /user path, or full YouTube channel URL
Headers
x-api-keystring required
API key required
Response
OK
Example response
{
"code": 200,
"data": {
"channel_id": "UCXZCJLdBC09xxGZ6gcdrc6A",
"channel_title": "OpenAI",
"channel_url": "https://www.youtube.com/@OpenAI",
"handle": "@OpenAI",
"shorts": [
{
"position": 1,
"thumbnail": "https://i.ytimg.com/vi/abc123xyz89/oar2.jpg",
"title": "OpenAI demo clip",
"url": "https://www.youtube.com/shorts/abc123xyz89",
"video_id": "abc123xyz89",
"view_count": "1.2M views"
}
],
"thumbnail": "https://yt3.googleusercontent.com/example=s176-c-k-c0x00ffffff-no-rj"
},
"msg": "OK"
}Changes
No recorded changes to this operation across all 2 revisions of this API.