Skip to content

YouTube: Get Channel Info

Plugin ID: eca_youtube_get_channel

Available since: 1.0.0

Retrieves comprehensive channel metadata from YouTube including subscriber count, video count, description, and thumbnails. Accepts channel ID or username.

Fields

Authentication Type — config key: auth_type

Choose between API Client (OAuth2) or Service Account authentication.

Type: select · Required: yes · Default: api_client

Allowed values: api_client, service_account

Authentication Source — config key: auth_from

Choose whether to select authentication directly or use a token for dynamic selection.

Type: select · Required: yes · Default: direct

Allowed values: direct, token

API Client — config key: api_client_id

Search and select an API Client for OAuth2 authentication.

Type: textfield · Required: no · Default: empty string

Service Account — config key: service_account_id

Search and select a Service Account for server-to-server authentication.

Type: textfield · Required: no · Default: empty string

Client ID from Token — config key: auth_client_from_token

Token that resolves to a client ID (e.g., [user:field_google_client_id]). The token should contain just the client ID, not the auth type prefix.
This field supports tokens.

Type: textfield · Required: no · Default: empty string

Channel ID or Username — config key: channel_input

Enter a YouTube channel ID (e.g., UCBa659QWEk1AI4Tg--mrJ2A) or username (e.g., GoogleDevelopers). Supports token replacement.
This field supports tokens.

Type: textfield · Required: yes · Default: empty string

Include Basic Info — config key: include_snippet

Include title, description, thumbnails, and country. Set to "1", "true", or "yes" to include.
This field supports tokens.

Type: textfield · Required: no · Default: 1

Include Statistics — config key: include_statistics

Include subscriber count, video count, and view count. Set to "1", "true", or "yes" to include.
This field supports tokens.

Type: textfield · Required: no · Default: 1

Include Content Details — config key: include_content_details

Include uploads playlist ID. Set to "1", "true", or "yes" to include.
This field supports tokens.

Type: textfield · Required: no · Default: 1

Include Branding Settings — config key: include_branding_settings

Include banner and keywords. Set to "1", "true", or "yes" to include.
This field supports tokens.

Type: textfield · Required: no · Default: empty string

Channel Token Name — config key: channel_token_name

Optional token name to store channel data. Accessible as [token_name:title], [token_name:subscriber_count], [token_name:video_count], etc.
This field supports tokens.

Type: textfield · Required: no · Default: empty string