YouTube
Interact with YouTube videos, channels, and playlists
Configuration
Search Videos
Operation
Search Videos
YouTube API Key*
••••••••
Search Query*
Enter search query
Max Results
1
Search Videos (
youtube_search)Search for videos on YouTube using the YouTube Data API.
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Search query for YouTube videos |
maxResults | number | No | Maximum number of videos to return |
apiKey | string | Yes | YouTube API Key |
Output
| Parameter | Type | Description |
|---|---|---|
items | array | Array of YouTube videos matching the search query |
totalResults | number | Total number of search results available |
nextPageToken | string | Token for accessing the next page of results |
Get Video Details
Operation
Get Video Details
YouTube API Key*
••••••••
Video ID*
Enter YouTube video ID (e.g., dQw4w9WgXcQ)
Get Video Details (
youtube_video_details)Get detailed information about a specific YouTube video.
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
videoId | string | Yes | YouTube video ID |
apiKey | string | Yes | YouTube API Key |
Output
| Parameter | Type | Description |
|---|---|---|
videoId | string | YouTube video ID |
title | string | Video title |
description | string | Video description |
channelId | string | Channel ID |
channelTitle | string | Channel name |
publishedAt | string | Published date and time |
duration | string | Video duration in ISO 8601 format |
viewCount | number | Number of views |
likeCount | number | Number of likes |
commentCount | number | Number of comments |
thumbnail | string | Video thumbnail URL |
tags | array | Video tags |
Get Channel Info
Operation
Get Channel Info
YouTube API Key*
••••••••
Channel ID
Enter channel ID (or leave blank to use username)
Channel Username
Enter channel username (if not using channel ID)
Get Channel Info (
youtube_channel_info)Get detailed information about a YouTube channel.
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
channelId | string | No | YouTube channel ID (use either channelId or username) |
username | string | No | YouTube channel username (use either channelId or username) |
apiKey | string | Yes | YouTube API Key |
Output
| Parameter | Type | Description |
|---|---|---|
channelId | string | YouTube channel ID |
title | string | Channel name |
description | string | Channel description |
subscriberCount | number | Number of subscribers |
videoCount | number | Number of videos |
viewCount | number | Total channel views |
publishedAt | string | Channel creation date |
thumbnail | string | Channel thumbnail URL |
customUrl | string | Channel custom URL |
Get Playlist Items
Operation
Get Playlist Items
YouTube API Key*
••••••••
Playlist ID*
Enter YouTube playlist ID
Max Results
1
Get Playlist Items (
youtube_playlist_items)Get videos from a YouTube playlist.
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
playlistId | string | Yes | YouTube playlist ID |
maxResults | number | No | Maximum number of videos to return |
pageToken | string | No | Page token for pagination |
apiKey | string | Yes | YouTube API Key |
Output
| Parameter | Type | Description |
|---|---|---|
items | array | Array of videos in the playlist |
totalResults | number | Total number of items in playlist |
nextPageToken | string | Token for accessing the next page of results |
Get Video Comments
Operation
Get Video Comments
YouTube API Key*
••••••••
Video ID*
Enter YouTube video ID
Max Results
1
Sort Order
Most Relevant
Get Video Comments (
youtube_comments)Get comments from a YouTube video.
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
videoId | string | Yes | YouTube video ID |
maxResults | number | No | Maximum number of comments to return |
order | string | No | Order of comments: time or relevance |
pageToken | string | No | Page token for pagination |
apiKey | string | Yes | YouTube API Key |
Output
| Parameter | Type | Description |
|---|---|---|
items | array | Array of comments from the video |
totalResults | number | Total number of comments |
nextPageToken | string | Token for accessing the next page of results |
Usage Instructions
Integrate YouTube into the workflow. Can search for videos, get video details, get channel information, get playlist items, and get video comments.
Notes
- Category:
tools - Type:
youtube