YouTube integration

YouTube Data API: videos, channels, playlists, comments, search, analytics

Help CentreConnectors

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).

  1. Google Cloud Console → Enable YouTube Data API v3.
  2. OAuth client credentials.
  3. 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 ─── Comments

Available operations

9 operations available. Click any row to jump to its detail.

OperationCategoryWhat it does
Add CommentGeneralPost a new top-level comment
List ChannelsGeneralList channel details
List Comment ThreadsGeneralList top-level comment threads
List Playlist ItemsGeneralList videos in a playlist
List PlaylistsGeneralList playlists for a channel
List SubscriptionsGeneralList channel subscriptions
List VideosGeneralList video details by ID
SearchGeneralSearch for videos, channels, playlists
Update VideoGeneralUpdate video metadata

Operations

Add Comment

Post a new top-level comment

ParameterRequiredTypeDescription
Snippet snippetYestext

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 for videos, channels, playlists

No input parameters.

Tips

  • Most expensive endpoint (100 units/call). Cache aggressively.

Update Video

Update video metadata

ParameterRequiredTypeDescription
Id idYestext
Snippet snippetYestext
Status statusYestext

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.

Related connectors

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.