YouTube
App · Video & Audio · 13 actions
Search and explore videos, channels and their uploads, playlists, and comments and replies on YouTube.
Actions
| Action | What it does |
|---|---|
| Get a playlist item | Get one entry of a public YouTube playlist: which video it is, its place in the playlist and when it was added. |
| Get channel details | Look up a channel's name, description, subscriber count, and view count. |
| Get playlist details | Get a public YouTube playlist: its title, description, owner and how many videos it has. |
| Get video details | Look up a video's title, description, view count, likes, and length. |
| List a channel's videos | List the videos a YouTube channel has uploaded, newest first, with links and thumbnails. |
| List channel playlists | List playlists for a YouTube channel. |
| List replies to a comment | List the replies to a comment on a YouTube video, oldest first. |
| List trending videos | List the trending videos in a country. |
| List video categories | List the categories YouTube files videos under in a country, such as Music or Education, with each one's ID (a video's details give its category ID). |
| List video comments | List the main comments on a video, not the replies. |
| List videos in a playlist | List the videos in a YouTube playlist. |
| Search for channels | Find YouTube channels by name or topic, best match first. |
| Search for videos | Search YouTube for videos that match your keywords. |
Get a playlist item
Get one entry of a public YouTube playlist: which video it is, its place in the playlist and when it was added.
Inputs
- Playlist item
playlist_item_idtextRequired - The entry's ID: the playlist_item_id from List videos in a playlist or the New video in a playlist trigger. It is not the video's ID.
Outputs
added_attext- When it was added to the playlist (ISO 8601).
channel_idtext- The ID of the channel that uploaded the video.
channel_titletext- The name of the channel that uploaded the video.
descriptiontext- The video's description.
notetext- The playlist owner's note on it, if any.
playlist_idtext- The playlist's ID.
playlist_item_idtext- The entry's ID.
positionnumber- Where it sits in the playlist, counting from 0.
privacy_statustext- public, unlisted or private.
statustext- Action execution status
thumbnail_urltext- A link to the video's thumbnail picture.
titletext- The video's title.
urltext- The video's address, played in the playlist.
video_idtext- The video's ID.
video_published_attext- When the video went public (ISO 8601).
Example output
{
"added_at": "2026-11-03T09:00:00Z",
"channel_id": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
"channel_title": "Google for Developers",
"description": "A look at what's new this season.",
"note": "",
"playlist_id": "PLOU2XLYxmsIIuiBfYad6rFYQU_jL2ryal",
"playlist_item_id": "UExPVTJYTFl4bXNJSXVpQmZZYWQ2cmZZUVVfakwycnlhbC41NkI0NEY2RDEwNTU3Q0M2",
"position": 0,
"privacy_status": "public",
"status": "success",
"thumbnail_url": "https://i.ytimg.com/vi/dQw4w9WgXcQ/hqdefault.jpg",
"title": "Our new spring menu",
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ&list=PLOU2XLYxmsIIuiBfYad6rFYQU_jL2ryal",
"video_id": "dQw4w9WgXcQ",
"video_published_at": "2026-11-02T15:04:05Z"
}Get channel details
Look up a channel's name, description, subscriber count, and view count.
Inputs
- Channel
channel_idtextRequired - The ID of the channel to look up.
Outputs
channel_idtext- YouTube channel ID (24-character string starting with 'UC')
descriptiontext- Channel description/about text
related_playlistsobject- Object containing special playlist IDs like 'uploads' (all channel videos). Use uploads playlist ID with youtube_playlist_items action
statustext- Action execution status
subscriber_countnumber- Number of subscribers to this channel. Use for popularity metrics or filtering
titletext- Channel name/title as displayed on YouTube
video_countnumber- Total number of public videos uploaded by this channel
view_countnumber- Total view count across all videos on this channel
Example output
{
"channel_id": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
"description": "Sample text content",
"related_playlists": {
"uploads": "UU_x5XG1OV2P6uZZ5FSM9Ttw"
},
"status": "success",
"subscriber_count": 1,
"title": "Sample Item",
"video_count": 1,
"view_count": 1
}Get playlist details
Get a public YouTube playlist: its title, description, owner and how many videos it has.
Inputs
- Playlist
playlist_idtextRequired - The playlist: its ID, or a link to it with list= in it.
Outputs
channel_idtext- The ID of the channel that owns it.
channel_titletext- The name of the channel that owns it.
descriptiontext- The playlist's description.
item_countnumber- How many videos it holds.
playlist_idtext- The playlist's ID.
published_attext- When it was made (ISO 8601).
statustext- Action execution status
thumbnail_urltext- A link to the playlist's picture.
titletext- The playlist's title.
urltext- The playlist's address on YouTube.
Example output
{
"channel_id": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
"channel_title": "Google for Developers",
"description": "The best moments.",
"item_count": 24,
"playlist_id": "PLOU2XLYxmsIIuiBfYad6rFYQU_jL2ryal",
"published_at": "2023-05-10T17:00:00Z",
"status": "success",
"thumbnail_url": "https://i.ytimg.com/vi/abc/hqdefault.jpg",
"title": "Google I/O highlights",
"url": "https://www.youtube.com/playlist?list=PLOU2XLYxmsIIuiBfYad6rFYQU_jL2ryal"
}Get video details
Look up a video's title, description, view count, likes, and length.
Inputs
- Video
video_idtextRequired - The ID of the YouTube video to look up.
Outputs
comment_countnumber- Total number of comments on the video
descriptiontext- Full video description text (may contain links and formatting)
durationtext- Video duration in ISO 8601 format
like_countnumber- Number of likes on the video. Use for engagement metrics
statustext- Action execution status
titletext- Video title as displayed on YouTube
video_idtext- YouTube video ID (11-character string, e.g., 'dQw4w9WgXcQ')
view_countnumber- Total number of views this video has received. Use for popularity metrics or sorting
Example output
{
"comment_count": 1,
"description": "Sample text content",
"duration": "PT4M33S",
"like_count": 1,
"status": "success",
"title": "Sample Item",
"video_id": "dQw4w9WgXcQ",
"view_count": 1
}List a channel's videos
List the videos a YouTube channel has uploaded, newest first, with links and thumbnails.
Inputs
- Channel
channeltextRequired - The channel: its link (youtube.com/@name), its handle (@name) or its channel ID (UC...).
- How many
max_resultsnumber - How many videos to return, from 1 to 50.From 1 to 50. Default:
10. - Next page
page_tokentext - To get the next page, the next_page_token an earlier run of this step returned. Leave blank for the first page.
Outputs
channel_idtext- The channel's ID.
channel_titletext- The channel's name.
itemslist- The channel's videos, newest first.
next_page_tokentext- Give this to the Next page field to get the next page; empty on the last page.
statustext- Action execution status
Example output
{
"channel_id": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
"channel_title": "Google for Developers",
"items": [
{
"channel_id": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
"channel_title": "Google for Developers",
"description": "A look at what's new this season.",
"published_at": "2026-11-02T15:04:05Z",
"thumbnail_url": "https://i.ytimg.com/vi/dQw4w9WgXcQ/maxresdefault.jpg",
"title": "Our new spring menu",
"url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"video_id": "dQw4w9WgXcQ"
}
],
"next_page_token": "",
"status": "success"
}List channel playlists
List playlists for a YouTube channel.
Inputs
- Channel
channel_idtextRequired - Channel ID to list playlists for
- Max results
max_resultsnumber - Maximum number of playlists to return
Outputs
itemslist- Array of playlists for the specified channel. Each playlist contains playlist_id (use with youtube_playlist_items), title, description, and item_count (video count)
next_page_tokentext- Pagination token for fetching the next page of playlists. Null if no more results
statustext- Action execution status
Example output
{
"items": [
{
"description": "Sample text content",
"item_count": 1,
"playlist_id": "PLabc123xyz456",
"title": "Sample Item"
}
],
"next_page_token": "example_value",
"status": "success"
}List replies to a comment
List the replies to a comment on a YouTube video, oldest first.
Inputs
- Comment
comment_idtextRequired - The comment's ID, such as the one the New comment trigger hands over.
- How many
max_resultsnumber - How many replies to return, from 1 to 100.From 1 to 100. Default:
20. - Next page
page_tokentext - To get the next page, the next_page_token an earlier run of this step returned. Leave blank for the first page.
Outputs
itemslist- The replies, oldest first.
next_page_tokentext- Give this to the Next page field to get the next page; empty on the last page.
statustext- Action execution status
Example output
{
"items": [
{
"author": "Google for Developers",
"author_channel_url": "http://www.youtube.com/@GoogleDevelopers",
"comment_id": "UgzDE2tasfmrYLyNkGt4AaABAg.9qX1",
"like_count": 3,
"published_at": "2026-11-02T15:04:05Z",
"text": "Thanks, glad it helped!"
}
],
"next_page_token": "",
"status": "success"
}List trending videos
List the trending videos in a country.
Inputs
- Country code
region_codetext - Two-letter country code for the trending list, for example US or GB.
- Max results
max_resultsnumber - Maximum number of trending videos to return
Outputs
itemslist- Array of trending videos for the specified region. Each video contains video_id (use for details), title, channel info (id/title), view_count, and published_at timestamp. Use for discovering popular content
next_page_tokentext- Pagination token for fetching the next page of trending videos. Null if no more results
statustext- Action execution status
Example output
{
"items": [
{
"channel_id": "UCaBc123XyZ456",
"channel_title": "Sample Item",
"published_at": "2024-01-15T10:30:00Z",
"title": "Sample Item",
"video_id": "dQw4w9WgXcQ",
"view_count": 1
}
],
"next_page_token": "example_value",
"status": "success"
}List video categories
List the categories YouTube files videos under in a country, such as Music or Education, with each one's ID (a video's details give its category ID).
Inputs
- Country code
region_codetext - Two-letter country code, such as US or GB. US if left blank.Default:
US. - Language
languagetext - Optional. The language to name the categories in, such as en, fr or es_MX. English if left blank.
Outputs
categorieslist- The country's video categories.
countnumber- How many categories were found.
statustext- Action execution status
Example output
{
"categories": [
{
"assignable": true,
"category_id": "10",
"title": "Music"
}
],
"count": 1,
"status": "success"
}List video comments
List the main comments on a video, not the replies.
Inputs
- Video
video_idtextRequired - The ID of the video to read comments from.
- Max results
max_resultsnumber - Maximum number of comments to return
Outputs
itemslist- Array of top-level comment threads for the video. Each thread contains comment_id, author name, text content, like_count, published_at timestamp, and reply_count. Use for sentiment analysis or displaying user feedback
next_page_tokentext- Pagination token for fetching the next page of comments. Null if no more results
statustext- Action execution status
Example output
{
"items": [
{
"author": "John Doe",
"comment_id": "Ugxabc123xyz",
"like_count": 1,
"published_at": "2024-01-15T10:30:00Z",
"reply_count": 0,
"text": "Sample text content"
}
],
"next_page_token": "example_value",
"status": "success"
}List videos in a playlist
List the videos in a YouTube playlist.
Inputs
- Playlist
playlist_idtextRequired - The ID of the playlist to list videos from.
- Max results
max_resultsnumber - Maximum number of videos to return
Outputs
itemslist- Array of videos in the playlist. Each item contains video_id (use for details/comments), title, description, channel_title, and position (order in playlist)
next_page_tokentext- Pagination token for fetching the next page of playlist items. Null if no more results
statustext- Action execution status
Example output
{
"items": [
{
"channel_title": "Sample Item",
"description": "Sample text content",
"playlist_item_id": "UExPVTJYTFl4bXNJSXVpQmZZYWQ2cmZZUVVfakwycnlhbC41NkI0NEY2RDEwNTU3Q0M2",
"position": 0,
"title": "Sample Item",
"video_id": "dQw4w9WgXcQ"
}
],
"next_page_token": "example_value",
"status": "success"
}Search for channels
Find YouTube channels by name or topic, best match first.
Inputs
- Search terms
querytextRequired - Words to look for, such as a business name or a topic.
- How many
max_resultsnumber - How many channels to return, from 1 to 50.From 1 to 50. Default:
5.
Outputs
itemslist- Matching channels, best match first.
statustext- Action execution status
Example output
{
"items": [
{
"channel_id": "UC_x5XG1OV2P6uZZ5FSM9Ttw",
"description": "Subscribe to join a community of developers.",
"published_at": "2007-08-23T00:34:43Z",
"thumbnail_url": "https://yt3.ggpht.com/abc=s800-c-k",
"title": "Google for Developers",
"url": "https://www.youtube.com/channel/UC_x5XG1OV2P6uZZ5FSM9Ttw"
}
],
"status": "success"
}Search for videos
Search YouTube for videos that match your keywords.
Inputs
- Search terms
querytextRequired - Keywords to search for on YouTube.
- Max results
max_resultsnumber - Maximum number of videos to return
- Sort order
ordertext - How to sort the results, for example by relevance or date.
Outputs
itemslist- Array of video search results. Each item contains video_id (use for details/comments), title, description snippet, channel info (id/title), and published_at timestamp. Use video_id with youtube_video_details for full metadata
next_page_tokentext- Pagination token for fetching the next page of results. Pass this as pageToken parameter to continue listing. Null if no more results
statustext- Action execution status
Example output
{
"items": [
{
"channel_id": "UCaBc123XyZ456",
"channel_title": "Sample Item",
"description": "Sample text content",
"published_at": "2024-01-15T10:30:00Z",
"title": "Sample Item",
"video_id": "dQw4w9WgXcQ"
}
],
"next_page_token": "example_value",
"status": "success"
}