YouTube handles both traditional long-form videos and Shorts (vertical video). The API comes with legal requirements you can’t ignore.Documentation Index
Fetch the complete documentation index at: https://info.bundle.social/llms.txt
Use this file to discover all available pages before exploring further.
Supported Content Types
- Videos: Long-form content. 1 video, up to 4 hours. Max 1 GB.
- Shorts: Vertical/square video, max 3 minutes. YouTube auto-detects based on duration and aspect ratio.
Quirks & Gotchas
”Made for Kids” (COPPA)
This is not just a quirk, it’s a legal requirement.- You must flag content as
madeForKids: trueif it targets children. - Failure to do so can result in penalties - real ones, from the FTC.
- We expose this field in the
data.YOUTUBEobject. Use it. Don’t skip it. Don’t “figure it out later”.
Shorts Detection
There is no special “upload as Short” button. YouTube decides for you based on the file:- Duration: Under 3 minutes (180 seconds).
- Aspect Ratio: Vertical (9:16) or Square (1:1). Technically 1:3 to 1:1.
YouTube Title is Required
Unlike most platforms where you just need text, YouTube treatsdata.YOUTUBE.text as the video title. If you leave it empty, YouTube can reject the upload.
Media Limits
See Platform Limits for the full breakdown.Text & Field Limits
| Field | Limit |
|---|---|
text (video title) | Max 100 characters |
description | Max 5,000 characters |
Post Options
Send YouTube-specific options insidedata.YOUTUBE.
| Field | Type | Description |
|---|---|---|
type | enum | VIDEO or SHORT. Default: SHORT. |
uploadIds | string[] | Required. One uploaded video. |
text | string | Video title. Max 100 characters. |
description | string | Video description. Max 5,000 characters. |
thumbnail | string | Optional thumbnail image URL uploaded through bundle.social. |
privacy | enum | PRIVATE, PUBLIC, or UNLISTED. Default sent to YouTube is public if omitted. |
madeForKids | boolean | Required by YouTube policy. Set true when the video is made for children. |
containsSyntheticMedia | boolean | Set true when the video contains AI-generated or synthetic content. |
hasPaidProductPlacement | boolean | Set true when the video contains paid product placement. |
Analytics
For general analytics concepts (refresh rates, data retention, what “Returns 0” means), see the Analytics Overview. YouTube analytics are all Lifetime values. There is no rolling window - everything is cumulative from day one.Profile (Channel) Analytics
Period: Lifetime.| Metric | Description | Note |
|---|---|---|
impressions | Total channel views | |
impressionsUnique | - | Same as impressions (YouTube doesn’t distinguish) |
views | Total channel views | Same as impressions |
viewsUnique | - | Same as views |
likes | - | Returns 0 (not available at channel level) |
comments | Total comments | Across all videos |
postCount | Total videos | |
followers | Subscribers | |
following | - | Returns 0 (not applicable to channels) |
Post (Video) Analytics
Period: Lifetime.| Metric | Description | Note |
|---|---|---|
impressions | Video views | |
impressionsUnique | - | Same as impressions (YouTube doesn’t distinguish) |
views | Video views | Same as impressions |
viewsUnique | - | Same as views |
likes | Likes | |
dislikes | Dislikes | Available via API even though YouTube hides them on the UI |
comments | Comments | |
shares | - | Returns 0 (not provided by YouTube API) |
saves | Favorites |
Quirks
- YouTube doesn’t distinguish between impressions and unique impressions at any level.
- Dislikes are available through the API (though YouTube no longer shows dislike counts publicly). Handy if you want to know the truth.
- Channel-level likes are not available. Post shares are not available. YouTube gives us a lot, but not everything.
Raw Analytics - Demographics & Audience Data
YouTube raw analytics include demographics data when enabled for your organization. We query the YouTube Analytics API for each video and return age/gender breakdowns and country-level view counts.Video-Level Raw Data
Empty demographics data is normal. YouTube has undocumented thresholds for when demographics become available. Unlike Instagram (~1,000 followers), nobody knows YouTube’s minimum. If
demographics comes back empty or null for your videos, it likely means the account or video hasn’t hit the threshold yet. If you do see data, let us know your account stats - we’re trying to figure out the threshold too.Raw YouTube data includes viewer percentage by age group and gender and views by country (sorted by view count, descending). This is useful for audience analysis and content strategy - especially if you’re targeting specific demographics or regions.