YouTube API

YouTube Posting API

Upload videos, set titles and descriptions, manage privacy settings, and publish to YouTube programmatically. No YouTube Data API complexity.

  • Video uploads with title, description, and tags
  • Privacy settings (public, unlisted, private)
  • Category and tag management
  • Schedule video premieres
No credit card required.
POST https://api.postpeer.dev/v1/posts
{ "platforms": ["twitter", "linkedin"], "content": "Hello world!" }
Published
5 platforms
TwitterLinkedInFacebook+2
All posts delivered
Scheduled
queue
12
Queued
847
Sent
Next: in 15 min
Platforms
connected
XIGFBLITT
One API, every platform

How It Works

Add social media to your product in three steps.

01

Get Your API Key

Sign up and get your API key instantly — no sales calls, no complex onboarding.

02

Integrate in Minutes

A single endpoint to post, schedule, and manage content. Drop it into your product and go.

03

Your Users Post Everywhere

Your product now supports every major social platform — without you maintaining a single integration.

API Response Format

Clean, structured JSON that's easy to parse and integrate

Request

POST
curl -X POST https://api.postpeer.dev/v1/posts \
  -H "x-access-key: your-api-key" \
  -H "Content-Type: application/json" \
  -d '{
    "content": "How to build a social media scheduler",
    "mediaItems": [
      { "url": "https://cdn.example.com/video.mp4", "type": "video" }
    ],
    "platforms": [
      {
        "platform": "youtube",
        "accountId": "acc_yt_789",
        "platformSpecificData": {
          "title": "How to Build a Social Media Scheduler",
          "privacyStatus": "public",
          "tags": ["tutorial", "api", "social media"]
        }
      }
    ]
  }'

Response

JSON
{
  "postId": "post_ghi789",
  "status": "published",
  "platforms": [
    {
      "platform": "youtube",
      "status": "published",
      "platformPostId": "dQw4w9WgXcQ",
      "platformPostUrl": "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
    }
  ]
}

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 URL or directly. PostPeer handles YouTube's chunked upload process and progress tracking.

Title & Description

Set video title, description, and tags through platformSpecificData. 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 manages the upload and sets the premiere time on YouTube.

Cross-Post to Shorts & Other Platforms

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

Frequently Asked Questions

Ready to Add Social Media to Your Product?

One API. Every platform. Start building with free credits.

Start Posting for FreeNo credit card required.
POST https://api.postpeer.dev/v1/posts
{ "platforms": ["twitter", "linkedin"], "content": "Hello world!" }
Published
5 platforms
TwitterLinkedInFacebook+2
All posts delivered
Scheduled
queue
12
Queued
847
Sent
Next: in 15 min
Platforms
connected
XIGFBLITT
One API, every platform