Solas45
Solas45

Reputation: 191

Is it possible to upload YouTube shorts via the API?

I was looking through the Google API docs and could not find anything on uploading YouTube shorts. Does anybody know of a way?

Upvotes: 19

Views: 13336

Answers (2)

Farith Adnan
Farith Adnan

Reputation: 175

I want to give a few updates, based on OfirD's answer, I can't edit the answer directly because there are too many pending edits.

  • you don't necessarily need to add the #shorts hashtag to (snippet.title & snippet.description).
  • You just need to upload a video with a 9:16 aspect ratio
  • Video with less than 60 seconds duration.

Refer to Upload YouTube Shorts to learn more details about Shorts.

Hope this helps!

Upvotes: 1

OfirD
OfirD

Reputation: 10490

As of today, it seems that "Shorts" are just plain Youtube videos, because really any Youtube video can be regarded as a "Shorts" video by appending its id to the shorts route, even if it's a 24 hours long video, for example this one: https://www.youtube.com/shorts/4dhIvyskkB0.

So just upload a video.

However, it seems that the question should better be: What could raise the chances that a Youtube video be "promoted" by Youtube as a "Shorts" video?

To which the answer is: Follow Youtube's guidelines, provided here:

  1. Entitle your video with the #shorts hashtag (snippet.title).
  2. Add the #shorts hashtag to your description (snippet.description).
  3. Make it shorter than 60 seconds.
  • The videos endpoint request body documentation is here.

Maybe once "Shorts" get out of beta, things would get more strict.

Upvotes: 30

Related Questions