Skip to content

YouTube list channels API: GET /youtube/v3/channels

When PubNio calls YouTube's list channels request, GET /youtube/v3/channels: the scopes it needs, the errors PubNio handles for it, and its pinned spec revision.

PubNio calls YouTube’s GET /youtube/v3/channels (youtube.channels.list) to identify the signed-in channel and read its subscriber count.

How PubNio calls it

Scopes

  • The pinned spec accepts any one of 5 scopes: https://www.googleapis.com/auth/youtube, https://www.googleapis.com/auth/youtube.force-ssl, https://www.googleapis.com/auth/youtube.readonly, https://www.googleapis.com/auth/youtubepartner, and https://www.googleapis.com/auth/youtubepartner-channel-audit.
  • PubNio’s Google sign-in requests https://www.googleapis.com/auth/youtube.force-ssl and https://www.googleapis.com/auth/youtube.readonly, which satisfies it.
  • Before the account analytics sync makes this call, PubNio checks that the account granted https://www.googleapis.com/auth/youtube.readonly and https://www.googleapis.com/auth/yt-analytics.readonly.

Errors

PubNio has no YouTube error code pages yet. Provider error codes covers the providers that have them.

Spec and changes

youtube.channels.list in the pinned spec, revision 20261124. YouTube reference: youtube.channels.list reference.

Checked weekly; no change to GET /youtube/v3/channels recorded since this revision. Change tracker.

Limits

  • A Google account with several channels connects only the one mine=true returns first.

Sources

Type to search…

↑↓ navigate↵ selectEsc close