Skip to main content

YouTube

Base URL: https://drain.lat/api/v1/youtube
Fetch a YouTube channel profile. Handle can be with or without @.
string
required
YouTube channel handle. Both MrBeast and @MrBeast are valid.
string
YouTube channel ID.
string
Channel handle (with @).
string
Channel display name.
string
Channel description.
string
Channel avatar URL.
string
Country code.
string
Channel creation date (ISO 8601).
number
Subscriber count.
number
Total view count.
number
Total number of videos.
string
Link to the YouTube channel.
Response
Get the last 10 uploaded videos from a YouTube channel.
string
required
YouTube channel handle.
string
Channel handle.
array
number
Number of videos returned.
Response
Fetch a YouTube channel by raw channel ID.
string
required
The YouTube channel ID (starts with UC).
string
Channel ID.
string
Channel handle (with @).
string
Channel display name.
string
Channel description.
string
Channel avatar URL.
string
Channel banner image URL.
string
Country code.
string
Channel creation date (ISO 8601).
number
Subscriber count.
number
Total view count.
number
Total number of videos.
string
Link to the YouTube channel.
Response
Get stats and metadata for a single YouTube video.
string
required
The YouTube video ID (e.g. dQw4w9WgXcQ).
string
Video ID.
string
Video title.
string
Video description.
string
Channel ID.
string
Channel name.
string
Publish date (ISO 8601).
string
Thumbnail image URL.
string[]
List of tags.
string
Duration in ISO 8601 format (e.g. PT3M33S).
number
View count.
number
Like count.
number
Comment count.
string
Link to the video.
Response
Search YouTube videos.
string
required
Search query.
number
Number of results. Max 25. Default 10.
string
The search query used.
array
number
Number of results returned.
Response