YouTube whoami (signed-in account)
Report which Google/YouTube account this browser is signed in as: the account email from YouTube's Account settings page. Being signed out is reported as a normal answer (loggedIn false), not an error — including when YouTube shows its EU cookie-consent page to a visitor with no signed-in account, which is flagged in `note`.
Input
None
Output
loggedIn requirednote optionalemail optionalFAQ
Get YouTube video transcript
Fetch a YouTube video's caption transcript (auto-generated or uploaded) with per-segment timestamps. Returns available:false when the video has no captions in any language. Some runs fail when YouTube plays an ad before the video, roughly 1 in 3; the script already retries, so if it still fails, call it again later. The paired-extension browser is more reliable than the managed browser, where YouTube often shows a sign-in check and no transcript is returned.
Search YouTube videos
Search YouTube videos by query, or list a channel's or playlist's videos from its URL. Returns a list of videos with id, title, url, duration, channelName, channelUrl, viewCount, date, thumbnailUrl, and description.
Get YouTube comments
List a YouTube video's top-level comments from a watch URL or video id. Per comment: id, text, author, channelId, authorAvatar, publishedTime, likeCount, replyCount, isVerified, isCreator, pinned. Sort by 'top' (default) or 'newest' and paginate with the returned nextCursor. likeCount and replyCount are YouTube's abbreviated strings (e.g. "255k", "960"), and comments come back empty when they are disabled.
