Skip to main content

YouTube Posting API

Add YouTube publishing to your product, automation, agency workflow, or AI system without maintaining YouTube's upload and account connection flow yourself.

  • Publish standard videos and Shorts
  • Set titles, tags, privacy, categories, and custom thumbnails
  • Schedule videos for future publication
  • Connect YouTube accounts through OAuth
No credit card required.
POST https://api.postpeer.dev/v1/posts
{ "platforms": ["twitter", "linkedin"], "content": "Hello world!" }
Published
2 platforms
TwitterLinkedIn
All posts delivered
Scheduled
queue
12
Queued
847
Sent
Next: in 15 min
Platforms
connected
XLIFBTT
One API, every platform
DF

"I was up and running on six different platforms in under 30 minutes. Strongly recommend!"

David Flor, Founder at Darklight Interactive

Divanshu KhatterMarketing Manager at Sembark

"Couldn't figure out the official Pinterest API. PostPeer was smooth. Using it daily."

Divanshu Khatter, Marketing Manager at Sembark

Het TikawalaFounder at Kalizzle AI Studio

"Great integration experience. Jonathan ships fixes within hours. Mad respect for the speed."

Het Tikawala, Founder at Kalizzle AI Studio

Add Social Media to Your Product in Three Steps

Connect once, then publish, schedule, and read data through the same API.

01

Get Your API Key

Sign up and get your API key instantly. No sales calls or complicated setup.

02

Integrate in Minutes

Connect once to PostPeer to publish, schedule, analyze, manage comments, and handle messages.

03

Support Every Major Platform

Give your users access to major social platforms without building and maintaining each integration yourself.

New to PostPeer? Read the getting started guide

Explore Requests and Responses by Format

Use the same endpoint and change only the fields required for each publishing format.

POSTRequest · Video Post
{
    "content": "How to build a social media scheduler",
    "platforms": [
      {
        "platform": "youtube",
        "accountId": "yt_789",
        "platformSpecificData": {
          "title": "How to Build a Social Media Scheduler",
          "visibility": "public",
          "tags": ["tutorial", "api", "social media"],
          "categoryId": "28"
        }
      }
    ],
    "mediaItems": [
      {
        "type": "video",
        "url": "https://cdn.example.com/video.mp4",
        "thumbnail": "https://cdn.example.com/thumbnail.jpg"
      }
    ],
    "publishNow": true
}
202Response · Video Post
{
    "success": true,
    "status": "published",
    "postId": "post_ghi789",
    "platforms": [
      {
        "platform": "youtube",
        "success": true,
        "platformPostUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
      }
    ]
}

POST https://api.postpeer.dev/v1/posts

View the YouTube documentation

Everything You Need for YouTube Publishing

Skip YouTube's complex upload flow. PostPeer gives you a single endpoint for video publishing with full metadata control.

Video Uploads

Upload videos from a public URL or use PostPeer's media upload flow for local files. PostPeer handles YouTube's chunked upload process.

Title & Description

Set video title and tags through platformSpecificData, and include the video description in your post content. Full control over metadata.

Privacy Settings

Publish as public, unlisted, or private. Change visibility settings as part of your posting workflow.

Tags & Categories

Add tags and select YouTube categories to improve discoverability. All settable via the API.

Scheduled Publishing

Schedule videos for future publication. PostPeer uploads scheduled videos privately and changes them to the requested visibility at publish time.

Cross-Post to Shorts & Other Platforms

Upload a video to YouTube and simultaneously post to TikTok, Instagram Reels, and more with one request.

Ship YouTube Posting in Any Stack

Whether your product is a Node app, a no-code workflow, or an AI agent, the same PostPeer API can power the publishing workflow.

Dev Stack

Typed SDKs and predictable REST APIs let you integrate PostPeer into the stack your application already uses.

No Code

Trigger publishing workflows from tools your team already uses.

Setup guides

AI Agents & MCP

Give Claude, Cursor, Codex, or your own AI agent the ability to publish, schedule, and interact with social workflows through PostPeer.

Connect via MCP

Frequently Asked Questions

Power Your Next Project With a Unified Social Media API

Give your users posting, scheduling, analytics, and engagement features through one API your team can maintain.

Start with 20 free credits. No credit card required.