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);| Field | Description |
|---|---|
id | Channel identifier. |
title | Channel title. |
description | Extracted channel description when available. |
subscriberCount | Subscriber-count text normalized by the package. |
verified | Whether the result carries a verified badge. |
isArtist | Whether the result carries the artist badge. |
thumbnail | Channel thumbnail information. |