Search YouTube and get matching videos, channels, and playlists
Hashtag to search for
"funny"
Continuation token to get more videos. Get 'continuationToken' from previous response.
"4qmFsgKrCBIYVUNkRkpXVWE0M3NtUm00SXBIQnB"
Search for all types of content or only shorts
all, shorts "all"
Successful response
Key Response Fields:
data.videos[0].id: Video IDdata.videos[0].url: Full YouTube video URLdata.videos[0].title: Video titledata.videos[0].channel.id: Channel ID of the uploaderdata.videos[0].channel.title: Channel display namedata.videos[0].viewCountInt: View count as integerdata.videos[0].publishedTime: ISO timestamp of publicationdata.videos[0].lengthSeconds: Duration in secondsdata.shorts[0]: Short-format videos matching the hashtag (same structure as videos)data.continuationToken: Pagination cursor — pass as continuationToken to get the next page