YouTube API

YouTube's Data API has a 10,000-unit daily quota, resumable upload sessions, and complex OAuth scopes. Zernio gives you one endpoint for videos, Shorts, and channel management with no quota headaches.

  • Free tier
  • No credit card
  • 99.97% uptime
8:42
How we ship a video to every platform in one callKestrel Studio · Premieres Monday
Wednesday 2912:45 AMScheduled

Join 200,000+ of the world's most ambitious developers and builders

Warner Music Group
Runable
ClickUp
MoFlo
RE/MAX
Readdy
How it works

Live in three steps, no YouTube app review

1

Profile

default

YouTube

Connect YouTube

Sign up for free, get your API key and connect YouTube accounts through our OAuth flow.

2

POST /v1/posts

const { data } = await zernio.posts.createPost({
  body: {
    content: 'v2 walkthrough',
    mediaItems: [{ url: 'https://cdn.acme.com/launch.mp4' }],
    platforms: [
      { platform: 'youtube', accountId: 'acc_8f2a' },
    ],
    scheduledFor: '2027-01-15T14:30:00',
    timezone: 'Europe/Madrid',
  },
});

Make one call

Send content to YouTube from one REST endpoint, right away or scheduled.

3

post.failed

Webhook sent to your app

Failed

Mon, 18 Jan

09:00, Europe/Madrid

Scheduled

v2 walkthrough

Fri, 15 Jan at 14:30

Published

Track every post

Follow each post from scheduled to published, with a webhook when one fails.

Endpoints

YouTube endpoints on one REST API

EndpointWhat it does
POST/v1/postsUpload or schedule a YouTube video or Short
GET/v1/posts/{id}Get status and details of a YouTube upload
DELETE/v1/posts/{id}Cancel a scheduled YouTube upload
GET/v1/profilesList all connected YouTube channels
Media specs

What you can upload to YouTube

Zernio transcodes and optimizes media for YouTube's requirements automatically.

youtube/media-specs
TypeFormatMax sizeNotes
VideoMP4, MOV, AVI, WMV256 GBUp to 12 hours duration
ShortsMP4, MOV256 GBUp to 60 sec, 9:16 aspect
ThumbnailJPEG, PNG50 MB1280x720 recommended
TitleText100 charsRequired for videos
Capabilities

Everything the API handles for you

YouTube's Data API has quota limits that reset daily. Zernio manages your quota usage and queues uploads to avoid hitting limits.

Videos and Shorts

Upload long-form videos and Shorts.

Custom thumbnails

Set a custom thumbnail on every upload.

Premieres

Schedule videos to premiere at a set time.

Processing webhooks

Get notified when YouTube finishes processing.

Privacy settings

Publish as public, unlisted, or private.

Multi-channel

Manage several channels from one API key.

Tags and playlists

Tags, descriptions, and playlists on every video.

Response

What comes back from every call

Plain JSON back from every YouTube call, with the IDs and statuses your app needs to follow up.

cURL

$

{
  "post": {
    "_id": "65f1c0a9e2b5af0012ab34cd",
    "status": "published",
    "content": "Learn how to build a REST API from scratch...",
    "platforms": [{
      "platform": "youtube",
      "accountId": { "_id": "acc_abc123", "username": "YourChannel" },
      "status": "published",
      "platformPostId": "dQw4w9WgXcQ",
      "platformPostUrl": "https://youtube.com/watch?v=dQw4w9WgXcQ"
    }],
    "createdAt": "2025-01-10T10:30:00Z"
  },
  "message": "Post published successfully"
}

Start building with the YouTube API

Free tier available. No credit card required.

  • Free tier
  • No credit card
  • 99.97% uptime