ytsearch.js
YouTube Search

Channel Search

Search YouTube channels and work with normalized ChannelResult objects.

js
const result = await searchYouTube("OpenAI", {
  type: "channel",
  limit: 10,
});

console.log(result.channels);
FieldDescription
idChannel identifier.
titleChannel title.
descriptionExtracted channel description when available.
subscriberCountSubscriber-count text normalized by the package.
verifiedWhether the result carries a verified badge.
isArtistWhether the result carries the artist badge.
thumbnailChannel thumbnail information.