← YouTube (Data API)

New Videos by Search from YouTube (Data API) API

Pipedream makes it easy to connect APIs for YouTube (Data API) and 900+ other apps remarkably fast.

Trigger workflow on
New Videos by Search from the YouTube (Data API) API
Next, do this
Connect to 900+ APIs using code and no-code building blocks
No credit card required
Into to Pipedream
Watch us build a workflow
Watch us build a workflow
7 min
Watch now ➜
Trusted by 250,000+ developers from startups to Fortune 500 companies:
Trusted by 250,000+ developers from startups to Fortune 500 companies

Developers Pipedream

Getting Started

Trigger a workflow on New Videos by Search with YouTube (Data API) API. When you configure and deploy the workflow, it will run on Pipedream's servers 24x7 for free.

  1. Configure the New Videos by Search trigger
    1. Connect your YouTube (Data API) account
    2. Configure Polling interval
    3. Configure Search Query
    4. Configure Maximum Results
  2. Add steps to connect to 900+ APIs using code and no-code building blocks
  3. Deploy the workflow
  4. Send a test event to validate your setup
  5. Turn on the trigger

Integrations

Send Message with Discord Webhook API on New Videos by Search from YouTube (Data API) API
YouTube (Data API) + Discord Webhook
 
Try it
Add Multiple Rows with Google Sheets API on New Videos by Search from YouTube (Data API) API
YouTube (Data API) + Google Sheets
 
Try it
Get Film with SWAPI - Star Wars API on New Videos by Search from YouTube (Data API) API
YouTube (Data API) + SWAPI - Star Wars
 
Try it
Create Multiple Records with Airtable API on New Videos by Search from YouTube (Data API) API
YouTube (Data API) + Airtable
 
Try it
Custom Request with HTTP / Webhook API on New Videos by Search from YouTube (Data API) API
YouTube (Data API) + HTTP / Webhook
 
Try it

Details

This is a pre-built, open source component from Pipedream's GitHub repo. The component is developed by Pipedream and the community, and verified and maintained by Pipedream.

To contribute an update to an existing component or create a new component, create a PR on GitHub. If you're new to Pipedream component development, you can start with quickstarts for trigger span and action development, and then review the component API reference.

New Videos by Search on YouTube (Data API)
Description:Emit new event for each new YouTube video matching a search query.
Version:0.0.6
Key:youtube_data_api-new-videos-by-search

Code

import common from "../common.mjs";

export default {
  ...common,
  type: "source",
  key: "youtube_data_api-new-videos-by-search",
  name: "New Videos by Search",
  description:
    "Emit new event for each new YouTube video matching a search query.",
  version: "0.0.6",
  dedupe: "unique",
  props: {
    ...common.props,
    q: {
      type: "string",
      label: "Search Query",
      description: "Search for new videos that match these keywords.",
    },
    maxResults: {
      propDefinition: [
        common.props.youtubeDataApi,
        "maxResults",
      ],
    },
  },
  hooks: {
    ...common.hooks,
    deploy() {},
  },
  methods: {
    ...common.methods,
    getParams() {
      return {
        q: this.q,
        maxResults: this.maxResults,
      };
    },
  },
};

Configuration

This component may be configured based on the props defined in the component code. Pipedream automatically prompts for input values in the UI and CLI.
LabelPropTypeDescription
YouTube (Data API)youtubeDataApiappThis component uses the YouTube (Data API) app.
N/Adb$.service.dbThis component uses $.service.db to maintain state between component invocations.
Polling intervaltimer$.interface.timer

Pipedream will poll the YouTube API on this schedule

Search Queryqstring

Search for new videos that match these keywords.

Maximum ResultsmaxResultsinteger

The maximum number of results in a channel to return. Should be divisible by 5 (ex. 5, 10, 15).

Authentication

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

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

emailprofilehttps://www.googleapis.com/auth/youtube.readonlyhttps://www.googleapis.com/auth/youtube.uploadhttps://www.googleapis.com/auth/youtube

About YouTube (Data API)

Online video platform

More Ways to Use YouTube (Data API)

Triggers

New Liked Videos from the YouTube (Data API) API

Emit new event for each new Youtube video liked by the authenticated user.

 
Try it
New Subscriber from the YouTube (Data API) API

Emit new event for each new Youtube subscriber to user Channel.

 
Try it
New Subscription from the YouTube (Data API) API

Emit new event for each new subscription from authenticated user.

 
Try it
New Videos from the YouTube (Data API) API

Emit new event for each new Youtube video the user posts.

 
Try it
New Videos by Location from the YouTube (Data API) API

Emit new event for each new YouTube video tied to a location.

 
Try it

Actions

Channel Statistics with the YouTube (Data API) API

Returns statistics from my YouTube Channel or by id. See the docs for more information

 
Try it
List Activities with the YouTube (Data API) API

Returns a list of channel activity events that match the request criteria. See the docs for more information

 
Try it
List Playlists with the YouTube (Data API) API

Returns a collection of playlists that match the API request parameters. See the docs for more information

 
Try it
List Videos with the YouTube (Data API) API

Returns a list of videos that match the API request parameters. See the docs for more information

 
Try it
Update Playlist with the YouTube (Data API) API

Modifies a playlist. For example, you could change a playlist's title, description, or privacy status. If you are submitting an update request, and your request does not specify a value for a property that already has a value, the property's existing value will be deleted. See the docs for more information

 
Try it