# YouTube Shorts API upload guide: specs, quotas, and polling status

Human page: https://pubnio.com/blog/youtube-shorts-api-upload-guide
Published: 2026-12-01
Category: Platform guides

## Direct answer

YouTube has no separate Shorts upload endpoint: any vertical (9:16) or square (1:1) video up to 60 seconds uploaded via the YouTube Data API v3 is classified as a Short automatically. Each upload consumes roughly 1,600 YouTube quota units, and unverified Google OAuth apps default uploaded videos to private.

## 1. How YouTube classifies Shorts uploads

YouTube evaluates the uploaded video's aspect ratio and duration automatically on ingestion. Keep Shorts strictly vertical (9:16, 1080x1920 recommended) or square (1:1) and within 60 seconds, with a clear title under 100 characters.

| Parameter | Requirement |
| --- | --- |
| Title | Required; up to 100 characters |
| Description | Optional; up to 5,000 characters |
| Aspect ratio (Shorts) | Vertical 9:16 or square 1:1, <= 60 seconds |
| Privacy status | public, unlisted, or private (unverified apps lock to private) |
| YouTube quota cost | ~1,600 units per videos.insert call out of 10,000 default daily units |

## 2. Resumable uploads without hanging serverless functions

Uploading multi-hundred-megabyte MP4 files directly inside a short-lived HTTP request handler causes frequent timeouts. PubNio stages media first and handles resumable uploads independently of the request.

```
const video = await ws.media.importUrl({
  url: "https://cdn.example.com/release-short-9x16.mp4",
});

const draft = await ws.posts.create({
  isDraft: true,
  title: "60-second MCP social publishing demo",
  text: "Connect Claude Code or Codex to 7 social platforms with $0/account.",
  targets: [
    {
      accountId: youtubeChannelId,
      placement: "short",
      media: [{ mediaId: video.mediaId }],
      settings: { privacyStatus: "public" },
    },
  ],
});

await ws.posts.publish(draft.postId, { idempotencyKey: "yt-short-01" });
```
