{"operation":"videos/get","version":"1.0.1","status":"pilot","title":"Get a video","summary":"One YouTube video whole: its title, description and links, views, likes, comments count, dates, channel, chapters, the moments viewers replay most, its storyboards, captions, audio tracks and renditions.","use_when":"You need everything YouTube's page says of a video, from its id or any of its links: its title, full description and the links in it, tags and hashtags, category, duration, exact views, likes, the number of comments, when it was published, its channel and subscribers (and every channel of a collaboration), its chapters, YouTube's AI summary, the music it uses, the products and cards it shows, its end screen. For looking at the video without its stream: the moments viewers replay most (YouTube's \"Most replayed\" heat map, a hundred slices with their intensity), its storyboards (the frames the player shows when you hover the timeline, every few seconds), its loudness, the captions and audio tracks it has, and the renditions YouTube encoded (resolution, codec, bitrate, size), never the stream. For its transcript, use youtube/transcripts/get; its comments, youtube/comments/list; for videos by words, youtube/videos/search; a channel's videos, youtube/videos/list.","categories":["Social media"],"icon":"video","source":"youtube","input":{"type":"object","required":["video"],"additionalProperties":false,"properties":{"video":{"type":"string","minLength":11,"maxLength":500,"description":"The video: its id (11 letters, digits, - or _) or any of its links (youtube.com/watch?v=..., youtu.be/..., /shorts/..., /live/..., /embed/..., m.youtube.com, music.youtube.com).","examples":["dQw4w9WgXcQ","https://youtu.be/dQw4w9WgXcQ","https://www.youtube.com/shorts/gEElEzKazYA"]}}},"record":{"type":"object","additionalProperties":false,"required":["object","id","ids","url","title","description","description_links","hashtags","keywords","category","duration_seconds","views","likes","comments_count","comments_turned_off","published_at","uploaded_at","date_text","is_short","is_live_content","live","is_unlisted","is_family_safe","is_private","is_embeddable","allow_ratings","is_crawlable","has_paid_promotion","playability","available_countries","channel","collaborators","thumbnails","chapters","chapters_auto_generated","ai_summary","how_this_was_made","music","products","cards","endscreen","most_replayed","most_replayed_peaks","storyboards","has_transcript","captions","audio_tracks","formats","loudness_db","perceptual_loudness_db","source_url","observed_at"],"$defs":{"image":{"type":"object","additionalProperties":false,"required":["url","width","height"],"properties":{"url":{"type":"string"},"width":{"type":["integer","null"]},"height":{"type":["integer","null"]}}},"channel":{"type":"object","additionalProperties":false,"required":["id","title","handle","url","subscribers","subscribers_text","is_verified","thumbnails"],"properties":{"id":{"type":["string","null"],"description":"The channel's id (UC...)."},"title":{"type":["string","null"]},"handle":{"type":["string","null"],"description":"Its @handle."},"url":{"type":["string","null"],"description":"Its page."},"subscribers":{"type":["integer","null"],"description":"Its subscribers, rounded as YouTube shows them (776K is 776000)."},"subscribers_text":{"type":["string","null"],"description":"As shown (776K subscribers)."},"is_verified":{"type":"boolean","description":"YouTube's verified badge."},"is_artist":{"type":"boolean","description":"An official artist channel's badge."},"thumbnails":{"type":"array","items":{"$ref":"#/$defs/image"},"description":"Its avatar."}}}},"properties":{"object":{"const":"video"},"id":{"type":"string","description":"The video's id on YouTube, 11 characters, as in its address."},"ids":{"type":"object","additionalProperties":false,"required":["video_id","channel_id"],"properties":{"video_id":{"type":"string"},"channel_id":{"type":["string","null"],"description":"Its channel's id (UC...)."}}},"url":{"type":"string","description":"The video's page, as YouTube names it."},"title":{"type":["string","null"]},"description":{"type":["string","null"],"description":"The whole description, as its author wrote it, its lines apart."},"description_links":{"type":"array","description":"The links of the description, in order: a web page (`link`, its address itself, not YouTube's redirect), a moment of the video (`timestamp`, with its `seconds`), another video, a playlist, a hashtag or a channel (an @mention).","items":{"type":"object","additionalProperties":false,"required":["type","text","url","seconds"],"properties":{"type":{"enum":["link","timestamp","video","playlist","hashtag","channel"]},"text":{"type":["string","null"],"description":"The words linked, as written."},"url":{"type":["string","null"]},"seconds":{"type":["integer","null"],"description":"Where a timestamp starts the video."}}}},"hashtags":{"type":"array","items":{"type":"string"},"description":"The hashtags YouTube shows above the title (#n8n)."},"keywords":{"type":"array","items":{"type":"string"},"description":"The video's tags, as its author set them (hidden on its page)."},"category":{"type":["string","null"],"description":"YouTube's category (Science & Technology, Music...)."},"duration_seconds":{"type":["integer","null"],"description":"Its length; 0 for a live in progress."},"views":{"type":["integer","null"],"description":"Its views, exact."},"likes":{"type":["integer","null"],"description":"Its likes, exact; null when its author hides them."},"comments_count":{"type":["integer","null"],"description":"Its comments, as the page counts them: exact below 1,000, rounded above (2.4M is 2400000); null when the page says none (comments turned off, a live recording)."},"comments_turned_off":{"type":"boolean","description":"Its author turned its comments off (videos made for kids)."},"published_at":{"type":["string","null"],"format":"date-time","description":"When it was published, UTC."},"uploaded_at":{"type":["string","null"],"format":"date-time","description":"When it was uploaded, UTC (before it was published, for a premiere)."},"date_text":{"type":["string","null"],"description":"Its date as the page shows it (Aug 31, 2025; Streamed live on...)."},"is_short":{"type":"boolean","description":"A YouTube Short."},"is_live_content":{"type":"boolean","description":"A live stream, live now or recorded."},"live":{"type":["object","null"],"description":"A live stream: when it started and ended; null for a video.","additionalProperties":false,"required":["is_live_now","started_at","ended_at"],"properties":{"is_live_now":{"type":"boolean"},"started_at":{"type":["string","null"],"format":"date-time"},"ended_at":{"type":["string","null"],"format":"date-time"}}},"is_unlisted":{"type":"boolean","description":"Unlisted: only those with its link find it."},"is_family_safe":{"type":"boolean"},"is_private":{"type":"boolean"},"is_embeddable":{"type":"boolean","description":"Other sites may embed it."},"allow_ratings":{"type":"boolean","description":"Viewers may like it."},"is_crawlable":{"type":"boolean","description":"Search engines may index it."},"has_paid_promotion":{"type":"boolean","description":"Its author says it includes paid promotion."},"playability":{"type":"object","additionalProperties":false,"required":["status","reason"],"description":"Whether YouTube plays it to a visitor in the US: OK, or why not (UNPLAYABLE \"This live stream recording is not available.\", LOGIN_REQUIRED for a video for adults...).","properties":{"status":{"type":["string","null"]},"reason":{"type":["string","null"]}}},"available_countries":{"type":"array","items":{"type":"string"},"description":"The countries where it plays, two letters each (249 when everywhere)."},"channel":{"anyOf":[{"$ref":"#/$defs/channel"},{"type":"null"}],"description":"The channel that published it, with its subscribers."},"collaborators":{"type":"array","items":{"$ref":"#/$defs/channel"},"description":"Every channel of a collaboration (the publisher among them), when YouTube says there are several; empty otherwise."},"thumbnails":{"type":"array","items":{"$ref":"#/$defs/image"},"description":"Its thumbnail in its sizes, the largest last."},"chapters":{"type":"array","description":"Its chapters, from its description or made by YouTube's AI (`chapters_auto_generated`); empty without.","items":{"type":"object","additionalProperties":false,"required":["title","start_seconds","time_text","thumbnails"],"properties":{"title":{"type":["string","null"]},"start_seconds":{"type":["number","null"],"description":"Where it starts, in seconds."},"time_text":{"type":["string","null"],"description":"As shown (4:50)."},"thumbnails":{"type":"array","items":{"$ref":"#/$defs/image"}}}}},"chapters_auto_generated":{"type":["boolean","null"],"description":"Chapters made by YouTube's AI, not by the author; null without chapters."},"ai_summary":{"type":["string","null"],"description":"YouTube's own AI-generated summary of the video, as its description panel shows it (YouTube says its AI can be wrong); null when it shows none."},"how_this_was_made":{"type":"array","description":"What the page says of how the video was made: altered or synthetic content, auto-dubbed audio, the camera that took it.","items":{"type":"object","additionalProperties":false,"required":["label","text","url"],"properties":{"label":{"type":["string","null"],"description":"Auto-dubbed, Altered or synthetic content..."},"text":{"type":["string","null"]},"url":{"type":["string","null"],"description":"YouTube's page about it."}}}},"music":{"type":"array","description":"The songs the video uses, as its description lists them.","items":{"type":"object","additionalProperties":false,"required":["title","artist","album","thumbnails"],"properties":{"title":{"type":["string","null"]},"artist":{"type":["string","null"]},"album":{"type":["string","null"]},"thumbnails":{"type":"array","items":{"$ref":"#/$defs/image"}}}}},"products":{"type":"array","description":"The products the video shows (\"View products\", YouTube Shopping), as its page lists them.","items":{"type":"object","additionalProperties":false,"required":["title","price","availability","merchant","url","thumbnails"],"properties":{"title":{"type":["string","null"]},"price":{"type":["string","null"],"description":"As shown, in the currency of the visitor's country ($39.99)."},"availability":{"type":["string","null"],"description":"In stock, Unavailable..."},"merchant":{"type":["string","null"]},"url":{"type":["string","null"],"description":"The product's page, at its store."},"thumbnails":{"type":"array","items":{"$ref":"#/$defs/image"}}}}},"cards":{"type":"array","description":"The cards the description lists (the \"i\" of the player): a web page or another video.","items":{"type":"object","additionalProperties":false,"required":["type","title","subtitle","url","video_id","duration_text","thumbnails"],"properties":{"type":{"enum":["link","video"]},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"],"description":"A link's call to action; a video's channel, views and date."},"url":{"type":["string","null"]},"video_id":{"type":["string","null"]},"duration_text":{"type":["string","null"]},"thumbnails":{"type":"array","items":{"$ref":"#/$defs/image"}}}}},"endscreen":{"type":"array","description":"What the last seconds of the video show to click: videos, playlists, the channel (to subscribe), a web page.","items":{"type":"object","additionalProperties":false,"required":["type","title","subtitle","url","video_id","playlist_id","channel_id","is_subscribe","start_ms","end_ms","thumbnails"],"properties":{"type":{"enum":["video","playlist","channel","link"]},"title":{"type":["string","null"]},"subtitle":{"type":["string","null"]},"url":{"type":["string","null"]},"video_id":{"type":["string","null"]},"playlist_id":{"type":["string","null"]},"channel_id":{"type":["string","null"]},"is_subscribe":{"type":"boolean","description":"The channel's own subscribe element."},"start_ms":{"type":["integer","null"],"description":"When it shows, from the start of the video."},"end_ms":{"type":["integer","null"]},"thumbnails":{"type":"array","items":{"$ref":"#/$defs/image"}}}}},"most_replayed":{"type":"array","description":"YouTube's \"Most replayed\" heat map, the curve above the player's timeline: the video cut in a hundred slices, each with how much its viewers replay it, from 0 to 1 (1, the most replayed); empty when YouTube shows none (a video with few views).","items":{"type":"object","additionalProperties":false,"required":["start_ms","duration_ms","intensity"],"properties":{"start_ms":{"type":"integer"},"duration_ms":{"type":"integer"},"intensity":{"type":"number","minimum":0,"maximum":1}}}},"most_replayed_peaks":{"type":"array","description":"The moments the timeline labels \"Most replayed\", each with the stretch around it.","items":{"type":"object","additionalProperties":false,"required":["at_ms","start_ms","end_ms","label"],"properties":{"at_ms":{"type":"integer"},"start_ms":{"type":["integer","null"]},"end_ms":{"type":["integer","null"]},"label":{"type":["string","null"]}}}},"storyboards":{"type":"array","description":"The video's storyboards, the frames the player shows when the timeline is hovered, by level of size: each sheet is an image of `columns` x `rows` frames of `width` x `height`, the frames in order, one every `interval_ms` (0: spread evenly over the video). Public images, as the player loads them.","items":{"type":"object","additionalProperties":false,"required":["level","width","height","frame_count","columns","rows","interval_ms","sheets"],"properties":{"level":{"type":"integer"},"width":{"type":"integer"},"height":{"type":"integer"},"frame_count":{"type":"integer"},"columns":{"type":"integer"},"rows":{"type":"integer"},"interval_ms":{"type":"integer"},"sheets":{"type":"array","items":{"type":"string"},"description":"The addresses of its sheets, in order."}}}},"has_transcript":{"type":"boolean","description":"The page offers its transcript (youtube/transcripts/get)."},"captions":{"type":"array","description":"The captions it has, by language: its own, or made by YouTube from its speech.","items":{"type":"object","additionalProperties":false,"required":["language","name","is_auto_generated","is_translatable"],"properties":{"language":{"type":["string","null"],"description":"Its language code (en, de...)."},"name":{"type":["string","null"],"description":"As the player names it: English (auto-generated)."},"is_auto_generated":{"type":"boolean"},"is_translatable":{"type":"boolean","description":"YouTube translates it into other languages."}}}},"audio_tracks":{"type":"array","description":"Its audio tracks when it has several: its own language and the dubbed ones; empty with one.","items":{"type":"object","additionalProperties":false,"required":["id","language","name","is_default","is_auto_dubbed"],"properties":{"id":{"type":["string","null"]},"language":{"type":["string","null"]},"name":{"type":["string","null"],"description":"German (DE), English (US) original..."},"is_default":{"type":"boolean","description":"The video's own audio."},"is_auto_dubbed":{"type":"boolean","description":"Dubbed by YouTube's AI."}}}},"formats":{"type":"array","description":"The renditions YouTube encoded, as the player lists them: video alone, audio alone, or both; their resolution, codec, bitrate and size. Never their stream: no address to download is given.","items":{"type":"object","additionalProperties":false,"required":["itag","mime_type","codecs","has_video","has_audio","width","height","fps","quality","quality_label","bitrate","average_bitrate","size_bytes","duration_ms","projection","color","audio_quality","audio_sample_rate","audio_channels","loudness_db","audio_track_id","is_drc"],"properties":{"itag":{"type":"integer","description":"YouTube's number for the rendition."},"mime_type":{"type":["string","null"],"description":"video/mp4, audio/webm..."},"codecs":{"type":["string","null"],"description":"avc1.640028, vp9, av01..., opus, mp4a.40.2."},"has_video":{"type":"boolean"},"has_audio":{"type":"boolean"},"width":{"type":["integer","null"]},"height":{"type":["integer","null"]},"fps":{"type":["integer","null"]},"quality":{"type":["string","null"],"description":"hd1080, medium, tiny (audio)..."},"quality_label":{"type":["string","null"],"description":"1080p, 720p60, 2160p HDR..."},"bitrate":{"type":["integer","null"],"description":"Its highest, in bits a second."},"average_bitrate":{"type":["integer","null"]},"size_bytes":{"type":["integer","null"]},"duration_ms":{"type":["integer","null"]},"projection":{"type":["string","null"],"description":"RECTANGULAR, or a 360° video."},"color":{"type":["object","null"],"description":"Its colors (BT709, BT2020 for HDR), when the player says them.","additionalProperties":false,"required":["primaries","transfer","matrix"],"properties":{"primaries":{"type":["string","null"]},"transfer":{"type":["string","null"]},"matrix":{"type":["string","null"]}}},"audio_quality":{"type":["string","null"]},"audio_sample_rate":{"type":["integer","null"]},"audio_channels":{"type":["integer","null"]},"loudness_db":{"type":["number","null"],"description":"The audio's loudness, against YouTube's target."},"audio_track_id":{"type":["string","null"],"description":"The audio track it carries (audio_tracks[].id)."},"is_drc":{"type":"boolean","description":"Audio with its dynamic range compressed (stable volume)."}}}},"loudness_db":{"type":["number","null"],"description":"How much louder than YouTube's target the video is, in dB (YouTube lowers it as much)."},"perceptual_loudness_db":{"type":["number","null"],"description":"Its loudness as heard, in dB."},"source_url":{"type":"string","description":"The video's page on youtube.com."},"observed_at":{"type":"string","format":"date-time"}}},"price":{"credits_per_call":1,"description":"1 credit a call, one video whole. A link costs no more than an id. A video that does not exist and a failed call are free.","free":["failed"]},"deadline":{"default_s":30,"max_s":60},"errors":[{"code":"ip_blocked","status":503,"retryable":true,"retry_after":60,"message":"YouTube slowed down the IPs the call tried (429), or asked them to sign in to prove they are not a bot. Retry in a minute; failed calls are free."},{"code":"invalid_video","status":422,"detail":true,"message":"`video` is a YouTube video: its id (dQw4w9WgXcQ) or one of its links (https://www.youtube.com/watch?v=dQw4w9WgXcQ, https://youtu.be/dQw4w9WgXcQ, a /shorts/ link)."},{"code":"video_unavailable","status":404,"detail":true,"message":"YouTube has no such video (removed, private, or never one). Not charged."},{"code":"site_unavailable","status":503,"retryable":true,"message":"YouTube did not answer properly; retry later (not charged)."},{"code":"unexpected_answer","status":424,"retryable":false,"message":"YouTube answered in a shape we do not read yet; we are told and fix it (not charged)."}],"examples":[{"request":{"video":"https://youtu.be/k7Rt2mVxQ4s"},"records":[{"object":"video","id":"k7Rt2mVxQ4s","ids":{"video_id":"k7Rt2mVxQ4s","channel_id":"UCa1B2c3D4e5F6g7H8i9J0kL"},"url":"https://www.youtube.com/watch?v=k7Rt2mVxQ4s","title":"Sourdough for Beginners, Step by Step","description":"Everything you need for your first loaf.\n0:00 Intro\n2:15 The starter\nGet the recipe: https://acmekitchen.com/sourdough","description_links":[{"type":"timestamp","text":"0:00","url":"https://www.youtube.com/watch?v=k7Rt2mVxQ4s","seconds":0},{"type":"timestamp","text":"2:15","url":"https://www.youtube.com/watch?v=k7Rt2mVxQ4s&t=135s","seconds":135},{"type":"link","text":"https://acmekitchen.com/sourdough","url":"https://acmekitchen.com/sourdough","seconds":null}],"hashtags":["#sourdough"],"keywords":["sourdough","bread","baking"],"category":"Howto & Style","duration_seconds":754,"views":184213,"likes":6120,"comments_count":412,"comments_turned_off":false,"published_at":"2025-10-14T15:00:06Z","uploaded_at":"2025-10-14T15:00:06Z","date_text":"Oct 14, 2025","is_short":false,"is_live_content":false,"live":null,"is_unlisted":false,"is_family_safe":true,"is_private":false,"is_embeddable":true,"allow_ratings":true,"is_crawlable":true,"has_paid_promotion":false,"playability":{"status":"OK","reason":null},"available_countries":["US","CA","GB"],"channel":{"id":"UCa1B2c3D4e5F6g7H8i9J0kL","title":"Acme Kitchen","handle":"@acmekitchen","url":"https://www.youtube.com/@acmekitchen","subscribers":248000,"subscribers_text":"248K subscribers","is_verified":true,"is_artist":false,"thumbnails":[{"url":"https://yt3.ggpht.com/acme-kitchen=s48-c-k-c0x00ffffff-no-rj","width":48,"height":48}]},"collaborators":[],"thumbnails":[{"url":"https://i.ytimg.com/vi/k7Rt2mVxQ4s/maxresdefault.jpg","width":1920,"height":1080}],"chapters":[{"title":"Intro","start_seconds":0,"time_text":"0:00","thumbnails":[]},{"title":"The starter","start_seconds":135,"time_text":"2:15","thumbnails":[]}],"chapters_auto_generated":false,"ai_summary":null,"how_this_was_made":[],"music":[],"products":[],"cards":[],"endscreen":[{"type":"video","title":"Focaccia in One Bowl","subtitle":"92K views","url":"https://www.youtube.com/watch?v=Fq3nB8pLz1A","video_id":"Fq3nB8pLz1A","playlist_id":null,"channel_id":null,"is_subscribe":false,"start_ms":734000,"end_ms":754000,"thumbnails":[]}],"most_replayed":[{"start_ms":0,"duration_ms":7540,"intensity":1},{"start_ms":7540,"duration_ms":7540,"intensity":0.42}],"most_replayed_peaks":[{"at_ms":135000,"start_ms":120000,"end_ms":150000,"label":"Most replayed"}],"storyboards":[{"level":1,"width":80,"height":45,"frame_count":76,"columns":10,"rows":10,"interval_ms":10000,"sheets":["https://i.ytimg.com/sb/k7Rt2mVxQ4s/storyboard3_L1/M0.jpg?sqp=example&sigh=example"]}],"has_transcript":true,"captions":[{"language":"en","name":"English (auto-generated)","is_auto_generated":true,"is_translatable":true}],"audio_tracks":[],"formats":[{"itag":137,"mime_type":"video/mp4","codecs":"avc1.640028","has_video":true,"has_audio":false,"width":1920,"height":1080,"fps":30,"quality":"hd1080","quality_label":"1080p","bitrate":2549290,"average_bitrate":1498885,"size_bytes":141273820,"duration_ms":754020,"projection":"RECTANGULAR","color":null,"audio_quality":null,"audio_sample_rate":null,"audio_channels":null,"loudness_db":null,"audio_track_id":null,"is_drc":false}],"loudness_db":-3.5,"perceptual_loudness_db":-17.5,"source_url":"https://www.youtube.com/watch?v=k7Rt2mVxQ4s","observed_at":"2026-12-03T12:00:00Z"}]}],"health":{"canaries":[{"from":"youtube/videos/search","into":"video","min_records":1},{"video":"https://youtu.be/dQw4w9WgXcQ","min_records":1}],"required_fields":["id","url","title","description","duration_seconds","views","published_at","channel.id","thumbnails","available_countries"],"sparse":{"hashtags":"Videos whose author set some: 3 of 5 (03/12).","keywords":"Videos whose author set some.","comments_count":"None for a video whose comments are off, or a live recording.","live":"Live streams only.","collaborators":"Collaborations only.","chapters":"Videos with chapters: 3 of 5 (03/12).","chapters_auto_generated":"Videos with chapters.","ai_summary":"Shown for some videos only: 2 of 5 (03/12).","how_this_was_made":"Auto-dubbed, altered or filmed with a known camera: 2 of 5.","music":"Videos that use listed songs.","products":"Videos that show products.","cards":"Videos with cards.","endscreen":"Videos with an end screen.","most_replayed":"Videos with enough views.","most_replayed_peaks":"Videos with enough views.","storyboards":"Not for a live recording YouTube does not play.","captions":"Videos with captions.","audio_tracks":"Videos with several audio tracks (auto-dubbed).","formats":"Not for a live recording YouTube does not play.","loudness_db":"Not for a live recording YouTube does not play.","perceptual_loudness_db":"Not for a live recording YouTube does not play."}},"changelog":[{"version":"1.0.1","date":"2026-12-03","notes":"A call YouTube's player refused with its bot check (\"Sign in to confirm you're not a bot\", one IP's, not the video's) gave a record without its views, likes, duration and dates, and was charged: it now goes on from another IP, and fails free (`ip_blocked`) when none passes. An age-restricted video still gives its record."},{"version":"1.0.0","date":"2026-12-03","notes":"First version: a video by its id or any of its links, signed out, whole: title, description and its links, hashtags, tags, category, duration, exact views and likes, comments count, dates, live times, flags, channel and collaborators with their subscribers, chapters, YouTube's AI summary, how it was made, music, products, cards, end screen, the \"Most replayed\" heat map and its peaks, storyboards, captions, audio tracks, renditions and loudness."}],"object":"operation","id":"youtube/videos/get","site":{"title":"YouTube","domain":"youtube.com","color":"#FF5A4E"}}