YouTube (Analytics API) - Custom App

Connect to the YouTube Analytics API with a custom OAuth client

Go to site
Explore
/
Apps
/
YouTube (Analytics API) - Custom App

YouTube (Analytics API) - Custom App API Integrations

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

Overview

The YouTube Analytics API is an incredibly powerful tool for developers and businesses. This API allows developers to access rich statistics about their YouTube channel and videos, allowing them to create custom applications and tools to better understand their viewers, customers, and markets. With the YouTube Analytics API, you can build:

  • Analytics dashboards that display insights from various YouTube data sources
  • Custom reports with data from specific YouTube searches or channels
  • Interactive data visualizations to better understand critical trends
  • Automated tools for monitoring and measuring success
  • Alerts for tracking changes in channel engagement
  • Applications to identify and track influencers in the market
  • Machine learning models to detect trends based on user data
  • And much more.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    youtube_analytics_api_custom_app: {
      type: "app",
      app: "youtube_analytics_api_custom_app",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://www.googleapis.com/oauth2/v1/userinfo`,
      headers: {
        Authorization: `Bearer ${this.youtube_analytics_api_custom_app.$auth.oauth_access_token}`,
      },
    })
  },
})

Choose an API to Connect with YouTube (Analytics API) - Custom App API

1
-
12
of
1400+
apps by most popular

HTTP / Webhook
HTTP / Webhook
Get a unique URL where you can send HTTP or webhook requests
Node
Node
Anything you can do with Node.js, you can do in a Pipedream workflow. This includes using most of npm's 400,000+ packages.
Schedule
Schedule
Trigger workflows on an interval or cron schedule.
Beta
Python
Python
Anything you can do in Python can be done in a Pipedream Workflow. This includes using any of the 350,000+ PyPi packages available in your Python powered workflows.
Beta
Data Stores
Data Stores
Use Pipedream Data Stores to manage state throughout your workflows.
Telegram Bot
Telegram Bot
Telegram is a cloud-based instant messaging and voice over IP service
OpenAI (ChatGPT)
OpenAI (ChatGPT)
OpenAI is an AI research and deployment company with the mission to ensure that artificial general intelligence benefits all of humanity. They are the makers of popular apps like ChatGPT and DALL·E 2.
Google Sheets
Google Sheets
With Google Sheets, you can create, edit, and collaborate wherever you are
Discord
Discord
Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
GitHub
GitHub
Where the world builds software. Millions of developers and companies build, ship, and maintain their software on GitHub—the largest and most advanced development platform in the world.
Formatting
Formatting
Pre-built actions to make formatting and manipulating data within your workflows easier.
Slack
Slack
Slack is a channel-based messaging platform. With Slack, people can work together more effectively, connect all their software tools and services, and find the information they need to do their best work — all within a secure, enterprise-grade environment.

Authentication

YouTube (Analytics API) - Custom App uses OAuth authentication. When you connect your YouTube (Analytics API) - Custom App account, Pipedream will open a popup window where you can sign into YouTube (Analytics API) - Custom App 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) - Custom App API.

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

emailprofilehttps://www.googleapis.com/auth/yt-analytics-monetary.readonlyhttps://www.googleapis.com/auth/yt-analytics.readonly
OAuth Request Configurations:
  1. authorization
    GEThttps://accounts.google.com/o/oauth2/v2/auth?client_id={{custom_fields.client_id}}&redirect_uri={{oauth.redirect_uri}}&state={{oauth.state}}&response_type=code&scope={{oauth.space_separated_scopes}}&prompt=consent&access_type=offline
  2. accessToken
    POSThttps://oauth2.googleapis.com/tokencontent-type: application/x-www-form-urlencodedaccept: application/json
    client_id={{custom_fields.client_id}}&client_secret={{custom_fields.client_secret}}&redirect_uri={{oauth.redirect_uri}}&grant_type=authorization_code&code={{oauth.code}}
  3. refreshToken
    POSThttps://oauth2.googleapis.com/tokencontent-type: application/x-www-form-urlencodedaccept: application/json
    client_id={{custom_fields.client_id}}&client_secret={{custom_fields.client_secret}}&grant_type=refresh_token&refresh_token={{oauth.refresh_token}}