Overview
YouTube Data API covers videos, channels, playlists, comments, search, analytics. The Automize YouTube connector covers these endpoints.
- Regions: Global.
- Plans: Free quota (10k units/day). Higher via quota application.
Setting up the connection
Auth type: OAuth 2.0 (Authorization Code).
- Google Cloud Console → Enable YouTube Data API v3.
- OAuth client credentials.
- In Automize → Settings → Connectors → YouTube. Paste credentials.
Find your credentials at https://console.cloud.google.com/apis/credentials.
Rate limits
Quota units per day. Different ops cost different units (Search = 100 units, List = 1 unit).
Data model
YouTube primitives:
Channel ─┬─ Videos
├─ Playlists ─── Playlist Items
└─ Subscriptions
Videos ─── CommentsAvailable operations
9 operations available. Click any row to jump to its detail.
| Operation | Category | What it does |
|---|---|---|
| Add Comment | General | Post a new top-level comment |
| List Channels | General | List channel details |
| List Comment Threads | General | List top-level comment threads |
| List Playlist Items | General | List videos in a playlist |
| List Playlists | General | List playlists for a channel |
| List Subscriptions | General | List channel subscriptions |
| List Videos | General | List video details by ID |
| Search | General | Search for videos, channels, playlists |
| Update Video | General | Update video metadata |
Operations
Add Comment
Post a new top-level comment
| Parameter | Required | Type | Description |
|---|---|---|---|
Snippet snippet | Yes | text |
List Channels
List channel details
No input parameters.
List Comment Threads
List top-level comment threads
No input parameters.
List Playlist Items
List videos in a playlist
No input parameters.
List Playlists
List playlists for a channel
No input parameters.
Tips
- Per channel.
List Subscriptions
List channel subscriptions
No input parameters.
List Videos
List video details by ID
No input parameters.
Tips
- By id OR mine=true OR chart=mostPopular. Returns metadata + stats.
Search
Search for videos, channels, playlists
No input parameters.
Tips
- Most expensive endpoint (100 units/call). Cache aggressively.
Update Video
Update video metadata
| Parameter | Required | Type | Description |
|---|---|---|---|
Id id | Yes | text | |
Snippet snippet | Yes | text | |
Status status | Yes | text |
FAQ
- Why is search so expensive?
- Google heavily rate-limits search to discourage scraping. Use channel/playlist endpoints for known content.
- YouTube Analytics?
- Separate YouTube Analytics API. Channel-level views, watch time, demographics.