youtube-kit
v0.8.0YouTube CLI and MCP server: search and read public YouTube, and manage your own channels.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_analytics Get Analytics
YouTube Analytics for your channel: totals, or rows broken down by one dimension. Data for the last two or three days is incomplete, so recent rows keep growing. Uses the separate YouTube Analytics API and its quota; enable it in the same Google Cloud project. Quota: no YouTube Data API units.
| Parameter | Type | Description |
|---|---|---|
by | Break the numbers down by this dimension; its column is named as given here. Omit for totals. By month, the range widens to whole months. By elapsed: the audience retention of exactly one video, a row… | |
content_type | Only long-form videos (videoOnDemand), shorts, or live streams (liveStream), as the content-type breakdown names them. Not by elapsed. | |
country | Only viewers in this country, e.g. US. Not by elapsed. | |
limit | Maximum number of rows. Breaking down by video returns at most 200, 25 by default; by traffic-source-detail, at most 25. Other breakdowns return every row by default. | |
metrics | Metric names from https://developers.google.com/youtube/analytics/metrics, e.g. views, estimatedMinutesWatched, subscribersGained. Defaults to views, watch time, average view duration, likes, comments… | |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. | |
since | First day, inclusive: 2026-01-01, or 90d / 4w before until. Defaults to 28 days before until. | |
sort | Metric or dimension to sort by; prefix with - for descending, e.g. -views. Defaults to chronological by day, month or elapsed, and to the first metric, descending, by anything else. | |
traffic_source | The source to break down by traffic-source-detail, as the traffic-source breakdown names it, e.g. YT_SEARCH. Only with that breakdown. | |
until | Last day, inclusive: 2026-01-31, or 7d / 1w ago. Defaults to today. | |
videos | Only these videos (IDs or URLs). |
setup_guide Setup Guide
What is left before the user's channel can be used: a one-time Google Cloud setup, then a Google sign-in. The steps happen in the user's browser, so walk them through one step at a time. Once ready, running the sign-in again connects another channel. Quota: no YouTube Data API units.
| Parameter | Type | Description |
|---|---|---|
project | Google Cloud project ID, once known. The links then open with that project selected. |
get_channel Get Channel
Channel metadata, statistics, and uploads playlist ID. Quota: 1 unit.
| Parameter | Type | Description |
|---|---|---|
channel | UC… channel ID, @handle, or channel URL. Omit for your own channel. | |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. |
list_my_channels List My Channels
Channels the user is logged in to, and which one is the default. Operations on the user's own channel work on the default unless told to use another. Reads stored logins only; makes no API calls. Quota: no YouTube Data API units.
list_activities List Activities
A channel's recent activity feed (uploads, playlist additions, and the like). Quota: 1 unit per page of up to 50 results.
| Parameter | Type | Description |
|---|---|---|
channel | UC… channel ID, @handle, or channel URL. Omit for your own channel. | |
limit | integer | Maximum number of activities. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. | |
page_token | Continue from a previous result's next_page_token. | |
since | Only activity at or after this date or datetime (2026-01-01), or this long ago (90d, 4w). |
list_sections List Sections
The sections on a channel's home page. Quota: 1 unit.
| Parameter | Type | Description |
|---|---|---|
channel | UC… channel ID, @handle, or channel URL. Omit for your own channel. | |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. |
list_captions List Captions
A video's caption tracks: language, name, and whether YouTube generated them from the audio. Works on any public video, though only the owner can download a transcript. Quota: 50 units.
| Parameter | Type | Description |
|---|---|---|
video * | string | Video ID or URL. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. |
get_transcript Get Transcript
What is said in one of your videos, from its captions, including the ones YouTube generates. YouTube lets only a video's owner download its captions. Of several tracks in a language, one YouTube is serving is preferred over one it failed to process, then a published one you wrote over YouTube's. Quota: 252 units.
| Parameter | Type | Description |
|---|---|---|
video * | string | Video ID or URL. |
format | string | text: paragraphs of about 30 seconds, each starting with its [m:ss] time. srt or vtt: the caption file itself. |
language | Caption language, e.g. en or en-US. Omit for the language spoken in the video. | |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. | |
translate_to | Machine-translate the captions into this language, e.g. de. |
list_comments List Comments
Top-level comments on a video, or on all of your channel's videos. Quota: 1 unit per page of up to 50 results.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of comments. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. | |
order | string | Newest first, or most relevant first. |
page_token | Continue from a previous result's next_page_token. | |
search | Only comments containing these words. | |
status | string | Moderation status to list; spam is what YouTube flagged as likely spam. Anything but published is only visible on your own videos. YouTube can't list rejected comments. |
video | Video ID or URL. Omit for every video on your channel. |
list_replies List Replies
Replies to a top-level comment. Quota: 1 unit per page of up to 50 results.
| Parameter | Type | Description |
|---|---|---|
comment * | string | Comment ID or link. A reply's ID or link lists its whole thread. |
limit | integer | Maximum number of replies. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. | |
page_token | Continue from a previous result's next_page_token. |
list_playlists List Playlists
A channel's playlists. Quota: 1 unit per page of up to 50 results.
| Parameter | Type | Description |
|---|---|---|
channel | UC… channel ID, @handle, or channel URL. Omit for your own channel, including private playlists. | |
limit | integer | Maximum number of playlists. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. | |
page_token | Continue from a previous result's next_page_token. |
get_playlists Get Playlists
Metadata of one or more playlists: title, description, privacy, and item count. Quota: 1 unit.
| Parameter | Type | Description |
|---|---|---|
playlists * | array | Playlist IDs or URLs with a list= parameter. Fetched in batches of 50, 1 quota unit per batch. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. |
list_playlist_items List Playlist Items
Videos in a playlist, in playlist order. To list everything a channel has uploaded, pass the channel's uploads_playlist_id. Quota: 1 unit per page of up to 50 results.
| Parameter | Type | Description |
|---|---|---|
playlist * | string | Playlist ID or a URL with a list= parameter. |
limit | integer | Maximum number of entries. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. | |
page_token | Continue from a previous result's next_page_token. |
search Search
Search YouTube for videos, channels, or playlists. Quota: 1 of the project's 100 daily search calls per page of up to 50 results.
| Parameter | Type | Description |
|---|---|---|
query * | string | Search terms. |
channel | Only results from this channel: UC… ID, @handle, or channel URL. | |
kind | string | What to search for. |
limit | integer | Maximum number of results. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. | |
order | string | Sort order. |
page_token | Continue from a previous result's next_page_token. | |
since | Only results published at or after this date or datetime (2026-01-01), or this long ago (90d, 4w). |
list_subscriptions List Subscriptions
Channels the authorized user is subscribed to. Quota: 1 unit per page of up to 50 results.
| Parameter | Type | Description |
|---|---|---|
limit | integer | Maximum number of subscriptions. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. | |
order | string | Alphabetical, by relevance, or by activity (unread first). |
page_token | Continue from a previous result's next_page_token. |
get_videos Get Videos
Full metadata, statistics, and status for one or more videos. Videos that don't exist or aren't visible to you are left out of the result; if none are found, that's a not-found error. Quota: 1 unit.
| Parameter | Type | Description |
|---|---|---|
videos * | array | Video IDs or URLs. Fetched in batches of 50, 1 quota unit per batch. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. |
get_my_ratings Get My Ratings
Whether the authorized user liked or disliked each video. Quota: 1 unit.
| Parameter | Type | Description |
|---|---|---|
videos * | array | Video IDs or URLs. Fetched in batches of 50, 1 quota unit per batch. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. |
list_video_categories List Video Categories
Video categories that can be assigned to uploads in a region, with the IDs to pass as category_id. Quota: 1 unit.
| Parameter | Type | Description |
|---|---|---|
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. | |
region | string | ISO 3166-1 alpha-2 country code. |
get_processing_status Get Processing Status
Whether YouTube has finished processing one of your uploads. Quota: 1 unit.
| Parameter | Type | Description |
|---|---|---|
video * | string | Video ID or URL. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. | |
timeout | integer | Seconds to wait at most. Callers that can't block for long should wait briefly and check again. |
wait | boolean | Keep checking every 10 seconds (1 quota unit each) until processing ends, reporting progress when YouTube gives it. If it hasn't ended within timeout, that's a timeout error, so a script can chain the… |
get_impressions Get Impressions
Thumbnail impressions and click-through rate for your channel, which YouTube Analytics doesn't offer. They come from YouTube's daily bulk reports. The first call asks YouTube to start making them: the first ones arrive within two days and cover the 30 days before. YouTube keeps daily reports for 60 days, those first 30 days for 30. ctr is clicks per impression: 0.05 is 5%. Uses the YouTube Reporting API; enable it in the same Google Cloud project. Quota: no YouTube Data API units.
| Parameter | Type | Description |
|---|---|---|
by | Break the numbers down by day or by video. Omit for totals. | |
limit | Maximum number of rows by video, most impressions first. 25 by default. | |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. | |
since | First day, inclusive: 2026-01-01, or 90d / 4w before until. Defaults to 28 days before until. | |
until | Last day, inclusive: 2026-01-31, or 7d / 1w ago. Defaults to today. | |
videos | Only these videos (IDs or URLs). |
update_channel Update Channel
Change your channel's about info. Only the fields you pass change. The name can only be changed in Studio. Quota: 51 units.
| Parameter | Type | Description |
|---|---|---|
country | ISO 3166-1 alpha-2 country code. | |
description | Channel description. | |
keywords | Channel keywords, replacing the current ones. An empty list removes them all. | |
language | Language of the channel's title and description, e.g. en or de. If the channel has none, YouTube may pick one on any change; pass it to choose. | |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. | |
trailer | Video (ID or URL) shown to visitors who aren't subscribed. |
set_channel_banner Set Channel Banner
Upload and set your channel's banner. Use a 16:9 image of at least 2048x1152, at most 6 MB. Quota: 101 units.
| Parameter | Type | Description |
|---|---|---|
image * | string | Path to a JPEG or PNG. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. |
set_watermark Set Watermark
Set the watermark shown over all your videos, replacing any current one. Viewers click it to subscribe. Quota: 51 units.
| Parameter | Type | Description |
|---|---|---|
image * | string | Path to a square JPEG or PNG, at least 150x150, at most 1 MB. |
corner | string | Where it appears. |
duration | Seconds to show it. Until the end of the video when omitted. | |
from_end | boolean | Count start back from the end of the video. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. | |
start | integer | Seconds from the start of the video when it appears, or from its end when counting from the end. |
remove_watermark Remove Watermark
Remove the watermark from your videos. Succeeds when there is none. Quota: 51 units.
| Parameter | Type | Description |
|---|---|---|
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. |
add_section Add Section
Add a section to your channel's home page. A channel has at most 10. Quota: 52 units.
| Parameter | Type | Description |
|---|---|---|
kind * | string | What the section shows. single-playlist needs one playlist, multiple-playlists several playlists and a title, multiple-channels channels and a title. |
channels | Channels to show: UC… IDs, @handles, or channel URLs. | |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. | |
playlists | Playlist IDs or URLs to show. | |
position | 0-based position on the home page. Added at the end when omitted. | |
title | Section title, for the multiple-playlists and multiple-channels kinds. |
update_section Update Section
Change a section on your channel's home page. Only the fields you pass change. Quota: 51 units.
| Parameter | Type | Description |
|---|---|---|
section * | string | Section ID, as listed for your channel. |
channels | Channels to show instead of the current ones (UC… IDs, @handles, or URLs). | |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. | |
playlists | Playlists to show instead of the current ones (IDs or URLs). | |
position | New 0-based position on the home page. | |
title | New title. |
delete_section Delete Section
Delete a section from your channel's home page. Its playlists and videos are not affected. Quota: 50 units.
| Parameter | Type | Description |
|---|---|---|
section * | string | Section ID, as listed for your channel. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. |
upload_caption Upload Caption
Add a caption track to one of your videos from a caption file, such as SRT or VTT. Quota: 400 units.
| Parameter | Type | Description |
|---|---|---|
file * | string | Path to the caption file, at most 100 MB. |
language * | string | Language of the captions, e.g. en or en-US. |
video * | string | Video ID or URL. |
draft | boolean | Upload it hidden from viewers. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. | |
name | string | Track name viewers see next to the language. Two tracks in one language need different names. |
update_caption Update Caption
Replace the file of a caption track on one of your videos, or show or hide the track. Quota: 502 units.
| Parameter | Type | Description |
|---|---|---|
language * | string | Language of the track, e.g. en or en-US. |
video * | string | Video ID or URL. |
draft | Whether the track is hidden from viewers. | |
file | Path to the new caption file, at most 100 MB. | |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. | |
name | Name of the track, when the video has several in that language. |
delete_caption Delete Caption
Permanently delete a caption track from one of your videos. Without confirm, nothing is deleted and the error describes the track. Quota: 102 units.
| Parameter | Type | Description |
|---|---|---|
language * | string | Language of the track, e.g. en or en-US. |
video * | string | Video ID or URL. |
confirm | The track's ID, passed only after the user has approved deleting this track. | |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. | |
name | Name of the track, when the video has several in that language. |
post_comment Post Comment
Post a top-level comment on a video as the authorized user. Quota: 50 units.
| Parameter | Type | Description |
|---|---|---|
text * | string | The comment. |
video * | string | Video ID or URL. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. |
reply_to_comment Reply To Comment
Reply to a top-level comment as the authorized user. Quota: 50 units.
| Parameter | Type | Description |
|---|---|---|
comment * | string | Comment ID or link. Replying to a reply adds to the same thread. |
text * | string | The reply. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. |
edit_comment Edit Comment
Replace the text of one of your own comments or replies. Quota: 50 units.
| Parameter | Type | Description |
|---|---|---|
comment * | string | Comment ID or link. |
text * | string | The new text. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. |
delete_comment Delete Comment
Permanently delete one of your own comments or replies. Deleting a top-level comment deletes its replies. Others' comments on your videos can't be deleted, only rejected, which hides them. Without confirm, nothing is deleted and the error describes the comment. Quota: 52 units.
| Parameter | Type | Description |
|---|---|---|
comment * | string | Comment ID or link. |
confirm | The comment ID again, passed only after the user has approved deleting this comment. | |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. |
approve_comments Approve Comments
Publish comments on your videos that are held for review or marked as likely spam. Quota: 50 units.
| Parameter | Type | Description |
|---|---|---|
comments * | array | Comment IDs or links. 50 quota units per 50 comments. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. |
hold_comments Hold Comments
Hide comments on your videos until you review them. Quota: 50 units.
| Parameter | Type | Description |
|---|---|---|
comments * | array | Comment IDs or links. 50 quota units per 50 comments. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. |
reject_comments Reject Comments
Reject comments on your videos, hiding them from viewers. They can still be approved later. Quota: 50 units.
| Parameter | Type | Description |
|---|---|---|
comments * | array | Comment IDs or links. 50 quota units per 50 comments. |
ban_author | boolean | Also reject all future comments on your channel by each comment's author. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. |
create_playlist Create Playlist
Create a playlist on the authorized user's channel. Left out, the language is copied from your most recent public upload, as video uploads do. Quota: 57 units.
| Parameter | Type | Description |
|---|---|---|
title * | string | Playlist title. |
description | string | Playlist description. |
language | Language of the title and description, e.g. en-US. | |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. | |
privacy | string | Privacy status. |
update_playlist Update Playlist
Change one of your playlists. Only the fields you pass change. Quota: 51 units.
| Parameter | Type | Description |
|---|---|---|
playlist * | string | Playlist ID or URL. |
description | New description. | |
language | Language of the title and description, e.g. en-US. | |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. | |
podcast | Whether the playlist is a podcast. Needs a playlist image first. The result reports podcast status; YouTube leaves it out when playlists are listed or fetched. | |
privacy | New privacy status. | |
title | New title. |
delete_playlist Delete Playlist
Permanently delete one of your playlists. The videos in it are not affected. Without confirm, nothing is deleted and the error describes the playlist. Quota: 52 units.
| Parameter | Type | Description |
|---|---|---|
playlist * | string | Playlist ID or URL. |
confirm | The playlist ID again, passed only after the user has approved deleting this playlist. | |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. |
add_video_to_playlist Add Video To Playlist
Add a video to a playlist on the authorized user's channel. Quota: 50 units.
| Parameter | Type | Description |
|---|---|---|
playlist * | string | Playlist ID or URL. |
video * | string | Video ID or URL. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. | |
position | 0-based position in the playlist. Appends to the end when omitted. |
remove_from_playlist Remove From Playlist
Remove a video from one of your playlists, every time it appears. The video itself is not affected. YouTube can't look up entries of a deleted video, so for a deleted or unknown video the whole playlist is read: 1 more unit per 50 entries. Quota: 51 units.
| Parameter | Type | Description |
|---|---|---|
playlist * | string | Playlist ID or URL. |
video * | string | Video ID or URL. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. |
move_in_playlist Move In Playlist
Move a video to another position in one of your playlists. Quota: 51 units.
| Parameter | Type | Description |
|---|---|---|
playlist * | string | Playlist ID or URL. |
position * | integer | New 0-based position. |
video * | string | Video ID or URL. Refused if the video appears in the playlist more than once. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. |
set_playlist_thumbnail Set Playlist Thumbnail
Set the custom thumbnail of one of your playlists, replacing any current one. Quota: 101 units.
| Parameter | Type | Description |
|---|---|---|
image * | string | Path to a square JPEG or PNG, at most 50 MB. |
playlist * | string | Playlist ID or URL. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. |
subscribe Subscribe
Subscribe the authorized user to a channel. Already being subscribed is fine. Quota: 51 units.
| Parameter | Type | Description |
|---|---|---|
channel * | string | UC… channel ID, @handle, or channel URL. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. |
unsubscribe Unsubscribe
Unsubscribe the authorized user from a channel. Not being subscribed is fine. Quota: 51 units.
| Parameter | Type | Description |
|---|---|---|
channel * | string | UC… channel ID, @handle, or channel URL. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. |
rate_video Rate Video
Like or dislike a video as the authorized user, or clear the rating with none. Quota: 50 units.
| Parameter | Type | Description |
|---|---|---|
rating * | string | like, dislike, or none. |
video * | string | Video ID or URL. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. |
upload_video Upload Video
Upload a video file from disk (resumable, reports progress). Category and languages left out are copied from your most recent public upload (among your last 150), so the video matches the rest of your channel; with none, the category is 22 (People & Blogs). YouTube keeps processing the video after this returns, and its duration and statistics appear only once that ends. Checking whether processing has finished tells you when, or why it failed. Quota: 1 of the project's 100 daily upload calls, plus up to 7 units.
| Parameter | Type | Description |
|---|---|---|
file * | string | Path to the local video file. |
title * | string | Video title. |
ai_content | boolean | Whether AI made realistic content: a real person saying or doing something they didn't, altered footage of a real event or place, a realistic scene that didn't happen, or music that's the video's focu… |
audio_language | Language spoken in the video, e.g. en-US. | |
category_id | Category ID (see the video categories listing). | |
description | string | Video description. |
language | Language of the title and description, e.g. en-US. | |
made_for_kids | boolean | Whether the video is made for kids (COPPA). |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. | |
paid_promotion | boolean | Whether the video includes paid promotion: a sponsorship, product placement, or endorsement. |
privacy | string | Privacy status. Must be private when publish_at is set. |
publish_at | Schedule publication at this date or datetime; YouTube makes the video public then. | |
tags | Keyword tags. YouTube may store them in a different order. |
update_video Update Video
Change a video's metadata. Only the fields you pass change; the rest keep their values. Quota: 51 units.
| Parameter | Type | Description |
|---|---|---|
video * | string | Video ID or URL. |
ai_content | Whether AI made realistic content: a real person saying or doing something they didn't, altered footage of a real event or place, a realistic scene that didn't happen, or music that's the video's focu… | |
audio_language | Language spoken in the video, e.g. en-US. | |
category_id | New category ID (see the video categories listing). | |
description | New description. | |
language | Language of the title and description, e.g. en-US. | |
made_for_kids | Whether the video is made for kids (COPPA). | |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. | |
paid_promotion | Whether the video includes paid promotion: a sponsorship, product placement, or endorsement. | |
privacy | New privacy status. Making a scheduled video public or unlisted cancels the schedule. | |
publish_at | Schedule publication at this date or datetime. The video must end up private. | |
tags | New tags, replacing the current ones. An empty list removes all tags. YouTube may store them in a different order. | |
title | New title. |
set_thumbnail Set Thumbnail
Set a video's custom thumbnail. The channel must be verified. Quota: 50 units.
| Parameter | Type | Description |
|---|---|---|
image * | string | Path to a JPEG or PNG, at most 50 MB. |
video * | string | Video ID or URL. |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. |
delete_video Delete Video
Permanently delete one of your videos. Only recent, little-watched videos can be deleted here: by default at most 100 views and, if public, uploaded within the last 7 days (the limits are set in the toolkit's config file). Anything else must be deleted in YouTube Studio. Without confirm, nothing is deleted and the error describes the video. Quota: 52 units.
| Parameter | Type | Description |
|---|---|---|
video * | string | Video ID or URL. |
confirm | The video ID again, passed only after the user has approved deleting this video. | |
my_channel | Which of your logged-in channels to work on: UC… ID, @handle or exact title. Omit for the default channel. |