# YouTube API

> 7 public methods for YouTube (youtube.com), each 1 credit per completed run.

Unofficial. Not affiliated with or endorsed by YouTube.

- Page: https://fous.com/methods/youtube.com

## Methods

### [Get video transcript](https://fous.com/methods/youtube.com/get-video-transcript.md)

`youtube.com/get_video_transcript`, read. Returns the spoken captions and timed segments of a YouTube video, given a video link or a title (top search match). Only captions the video has are returned.

Returns: video title, link, caption language, auto-generated flag, transcript text, timed segments, available caption languages

### [Get video](https://fous.com/methods/youtube.com/get-video.md)

`youtube.com/get_video`, read. Gets public details and statistics for one YouTube video by link, ID or title. A title selects the top search match.

Returns: title, channel, views, likes, comments, publish date, length, description, chapters, tags, captions

### [Get video comments](https://fous.com/methods/youtube.com/get-video-comments.md)

`youtube.com/get_video_comments`, read. Gets public top-level comments on a YouTube video, found by link, video ID or title. Reply text is not included.

Returns: video title, link, total comment count, comments with author, text, likes, posted time, replies, pinned and creator flags

### [List channel videos](https://fous.com/methods/youtube.com/list-channel-videos.md)

`youtube.com/list_channel_videos`, read. Lists a YouTube channel's public videos, Shorts, or live uploads, newest first or most popular first, along with channel details. Counts and dates taken from displayed text may be approximate.

Returns: channel name, subscribers, video count, channel link and id, videos (title, views, date, length, thumbnail, link)

### [List top songs chart](https://fous.com/methods/youtube.com/list-top-songs.md)

`youtube.com/list_top_songs`, read. Lists the latest weekly YouTube Music Top Songs chart for a country or globally, with ranks, weekly views and video links.

Returns: week dates, ranked songs with artists, weekly views, weeks on chart, video link

### [Get channel](https://fous.com/methods/youtube.com/get-channel.md)

`youtube.com/get_channel`, read. Gets a public YouTube channel's profile, links and statistics from its name, @handle or link. Subscriber totals may be rounded as YouTube displays them.

Returns: name, handle, description, subscribers, views, videos, join date, country, verified, links, images, channel link and id

### [Find a company's channel](https://fous.com/methods/youtube.com/find-company-channel.md)

`youtube.com/find_company_channel`, read. Finds a company's verified YouTube channel by name and returns its name, link, subscriber count, description, country and official website when identifiable.

Returns: channel name, channel URL, subscriber count, description, country, official website URL
