YouTube
pepe.business supports uploading long videos, Shorts, and Community posts via the YouTube Data API v3.
Connection
POST /v1/connect/youtube
{ "scopes": ["youtube.upload", "youtube.readonly"] }
Long video upload
POST /v1/posts
{
"platforms": ["youtube"],
"mediaUrls": ["https://example.com/documentary.mp4"],
"youtubeOptions": {
"title": "Our story",
"description": "Discover our entrepreneurial journey",
"tags": ["startup", "entrepreneur", "france"],
"category": "22", // People & Blogs
"privacy": "public",
"thumbnail": "https://example.com/thumb.jpg"
}
}
Limits: 256 GB, 12h max.
Short
POST /v1/posts
{
"platforms": ["youtube"],
"mediaUrls": ["https://example.com/short.mp4"],
"youtubeOptions": {
"type": "short",
"title": "Quick tip #123"
}
}
Limits: 256 MB, 60s max, 9:16 ratio.
Community post
POST /v1/posts
{
"platforms": ["youtube"],
"text": "What content do you want to see next?",
"youtubeOptions": {
"type": "poll",
"pollOptions": ["Tutorial", "Vlog", "Interview"]
}
}
Analytics
GET /v1/analytics/post/{postId}?platform=youtube
{
"views": 4231,
"likes": 312,
"comments": 41,
"shares": 12,
"subscribersGained": 8,
"averageViewDuration": 87,
"averageViewPercentage": 0.62
}
Channel analytics
GET /v1/youtube/channel-stats?range=30d
Returns: views, subscribers, watchTimeMinutes, estimatedRevenue (if monetized).
Demographics
GET /v1/youtube/audience/demographics
Returns: age, gender, geography, device.
Limits
- 6 uploads / 24h per channel
- 10,000 quota units / day (pepe.business manages the quota for you)
- Thumbnail: 2 MB, JPG/PNG, 1280x720 min