YouTube Shorts API: list a channel's Shorts
Is there a YouTube Shorts API? Why Google's Data API cannot list Shorts apart from videos, and how to get a channel's Shorts with views as rows.
The short answer
- Google's API has no field or filter that marks a video as a Short. Shorts come back mixed in with long videos.
- The workaround is guessing by duration, which breaks now that Shorts can run up to three minutes.
- Straight from the Shorts tab: send a channel handle and get only its Shorts, with title and views, one row each.
Read this as
Developer
The shorts endpoint takes a channel handle and a limit. Each row carries the video ID, so the video and comments endpoints work on Shorts unchanged.
Example 100 Shorts from each of 40 channels is 4,000 rows: $2.
Marketer
Compare a competitor's Shorts with their long videos: which format earns the views now. Pull both lists for the same channel and sort by views.
Example A competitor's last 200 Shorts and 50 videos is 250 rows: $0.13.
Agency
Many creators now grow on Shorts first. Check a creator's Shorts tab separately before booking, because their long-form numbers can hide a strong Shorts audience.
Example 50 Shorts for each of 30 creators is 1,500 rows: $0.75.
Researcher
Classify Shorts by where they appear, the Shorts tab, rather than by duration. It is the platform's own label, and it survives changes to the length limit.
Example 500 Shorts from each of 20 channels is 10,000 rows: $5.
There is no official YouTube Shorts API. Google's Data API returns Shorts as ordinary videos, with no field saying which ones are Shorts. To list a channel's Shorts on their own, you read the channel's Shorts tab.
Why can't Google's YouTube API list Shorts?
videos.list and search.list have no Short type, no Shorts filter and no flag on the video. A channel's uploads playlist mixes Shorts and long videos in one list. The usual workaround was to treat anything under 60 seconds as a Short. Since October 2024 Shorts can be up to three minutes long, so that rule now misses Shorts and wrongly catches short ordinary videos.
How do I get a channel's Shorts here?
One call to the shorts endpoint with the channel handle and a limit. It reads the channel's Shorts tab, so every row is a Short by YouTube's own label.
Shorts rows from one channel
| Id | Title | View count text |
|---|---|---|
| hT3kq9VbL2s | 3-ingredient pasta in 60 seconds | 4.1M views |
| pQ8wZr1mN0c | Knife skill you're doing wrong | 872K views |
| aX5jd0YtR7e | Crispy rice, the lazy way | 126K views |
[
{
"id": "hT3kq9VbL2s",
"title": "3-ingredient pasta in 60 seconds",
"view_count_text": "4.1M views"
},
{
"id": "pQ8wZr1mN0c",
"title": "Knife skill you're doing wrong",
"view_count_text": "872K views"
},
{
"id": "aX5jd0YtR7e",
"title": "Crispy rice, the lazy way",
"view_count_text": "126K views"
}
]
What else can I get for a Short?
| You want | Endpoint |
|---|---|
| Full details of one Short | video, with the ID: likes, comment count, description, publish date. |
| Comments on a Short | comments, with the ID and a limit. |
| Replies under those comments | replies, with the video ID. |
| The channel's long videos, for comparison | videos, with the same handle. |
Shorts comment study
The comments only. A Short with comments turned off returns nothing and costs nothing.
What can SocialHolmes return for YouTube?
YouTube
Public endpoints: 11
| Endpoint | What it returns | Takes |
|---|---|---|
| channel | Channel details — name, handle, subscriber and video counts. | handle |
| channels | Channels this channel features or subscribes to publicly. | handle |
| videos | A channel's uploads, newest first. | handle |
| shorts | A channel's Shorts. | handle |
| live | A channel's live streams, past and present. | handle |
| playlists | A channel's playlists — title, video count and owner. | handle |
| playlist | The videos inside one playlist. | playlist_id |
| video | One video's full record — description, counts, keywords, channel. | video_id |
| comments | Top-level comments on a video. | video_id |
| hashtag | Videos under a hashtag. | tag |
| search | Keyword search. | query |
What SocialHolmes costs
$0.50 per 1,000 results on every YouTube endpoint, Shorts included. No quota, no subscription and no monthly minimum. New accounts get 1,000 free credits.
Questions people ask
Is there a YouTube Shorts API?
Not from Google. Its Data API returns Shorts as ordinary videos with no way to tell them apart. A channel's Shorts tab is the reliable list.
How do I tell if a YouTube video is a Short with the API?
Google's API has no field for it. Duration no longer works, because Shorts can be up to three minutes. List the channel's Shorts tab instead.
Can I get view counts for YouTube Shorts?
Yes. Each Shorts row carries the view count YouTube shows, and the video endpoint returns the full count with likes and comments.
Can I get comments on a YouTube Short?
Yes. A Short has a normal video ID, so the comments endpoint works on it the same way.
How long can a YouTube Short be?
Up to three minutes, since 15 October 2024. Before that the limit was 60 seconds.
Posts are published in English only. The rest of the site reads in ten languages; these do not, because a translated archive is one nobody keeps current.
Try it on your own targets
The only comparison that settles anything is your own. A new account gets 1,000 credits, needs no card, and runs on the same endpoints and rate as a paying one.