YouTube (Analytics API)

The YouTube Reporting and YouTube Analytics APIs let you retrieve YouTube Analytics data to automate complex reporting tasks, build custom dashboards, and much more.

Go to site
YouTube (Analytics API)

YouTube (Analytics API) API Integrations

Build and run workflows using the YouTube (Analytics API) API. Use 1000s of open source triggers and actions across 800+ apps. Or write custom code to integrate any app or API in seconds.

import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    youtube_analytics_api: {
      type: "app",
      app: "youtube_analytics_api",
  async run({steps, $}) {
    return await axios($, {
      url: ``,
      headers: {
        Authorization: `Bearer ${this.youtube_analytics_api.$auth.oauth_access_token}`,


YouTube (Analytics API) uses OAuth authentication. When you connect your YouTube (Analytics API) account, Pipedream will open a popup window where you can sign into YouTube (Analytics API) and grant Pipedream permission to connect to your account. Pipedream securely stores and automatically refreshes the OAuth tokens so you can easily authenticate any YouTube (Analytics API) API.

Pipedream requests the following authorization scopes when you connect your account:

OAuth Request Configurations:
  1. authorization
  2. accessToken
    POST application/x-www-form-urlencodedaccept: application/json
  3. refreshToken
    POST application/x-www-form-urlencodedaccept: application/json