Post to YouTube from one API

Upload videos and Shorts to YouTube with a title, tags, category, playlist, thumbnail and visibility, or set a premiere time with publishAt. Made for kids and synthetic media flags are supported.

What works on YouTube

  • Publish now
  • Schedule and queue
  • Post analytics
  • Comments in the inbox
  • Direct messages
  • First comment
  • Public data scraping
  • Video downloads

What you can publish

Text length
5,000 characters
Title length
100 characters
Images per post
Not supported
Videos per post
Up to 1
Video file size
Up to 256 GB
Media
A video is required
Long text
Sent as one post

Preflight checks these limits for every target before publishing and returns clear errors and warnings.

How you connect

Sign in with YouTube and approve access. Postkea stores the tokens encrypted and refreshes them for you. On Pro and Business you can use your own OAuth app.

Options for YouTube

Pass these in platformSpecificData on the YouTube entry of a post. Everything else, like text, media, first comment and scheduling, works the same on every network.

  • title
  • privacyStatus
  • publishAt
  • tags
  • categoryId
  • playlistId
  • madeForKids
  • containsSyntheticMedia
  • notifySubscribers
  • thumbnail
  • license
  • embeddable
  • publicStatsViewable
  • defaultLanguage
  • defaultAudioLanguage

Example request

curl -X POST "https://postkea.com/api/v1/posts" \
  -H "Authorization: Bearer $POSTKEA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "content": "Our spring pottery workshop opens for booking today.",
  "platforms": [
    {
      "accountId": "acc_yout_8f2k",
      "platformSpecificData": {
        "title": "Kiln day in 60 seconds",
        "visibility": "public",
        "tags": [
          "pottery"
        ]
      }
    }
  ],
  "mediaItems": [
    {
      "type": "video",
      "url": "https://cdn.example.com/kiln-day.mp4"
    }
  ],
  "scheduledFor": "2026-11-03T09:00",
  "timezone": "Europe/Berlin"
}'

Read public YouTube data

8 operations for public YouTube content. Each returns clean JSON and costs credits only when it succeeds.

OperationEndpoint
YouTube video detailsTitle, description, views, likes, comment count, duration, tags, chapters and channel of a video or Short.POST /v1/scrape/youtube/stats
YouTube transcriptFull transcript with timestamps from captions, or from speech to text when the video has none.POST /v1/scrape/youtube/transcript
YouTube summarySummary, key points, topics, takeaways, sentiment and chapters of a video.POST /v1/scrape/youtube/summarize
YouTube commentsTop or newest comments of a video with authors, likes and reply counts.POST /v1/scrape/youtube/comments
YouTube channel detailsName, handle, subscribers, description, avatar and video count of a channel.POST /v1/scrape/youtube/channel
YouTube channel videosLatest videos, Shorts or streams of a channel.Returns a list you can use in pipelinesPOST /v1/scrape/youtube/videos
YouTube playlist videosVideos in a playlist, in order.Returns a list you can use in pipelinesPOST /v1/scrape/youtube/playlist
YouTube searchSearch YouTube videos by keyword.Returns a list you can use in pipelinesPOST /v1/scrape/youtube/search

YouTube questions

Can I schedule YouTube posts with the API?

Yes. Send a post with scheduledFor and a timezone, or addToQueue to use the next free slot of the account. You can also schedule from the dashboard calendar or let an AI agent do it through the MCP server.

What are the YouTube limits?

Posts can have up to 5,000 characters. Postkea checks text length, media count, file size, duration and aspect ratio before publishing, so you get a clear error instead of a failed post.

What happens if a YouTube post fails?

The post gets a result per network. Failed networks cost no credits, the error says what went wrong, and you can retry them with one call to POST /v1/posts/{id}/retry or one click in the dashboard.

Can I get data from public YouTube posts?

Yes. Use the YouTube scraping operations for details, comments, profiles and more, or POST /v1/scrape/auto with any YouTube link.

Other platforms

Connect your first channels

Free includes 3 channels and 200 credits a month.