YouTube
YouTube channel search API
Search one channel’s videos, like the search box on its YouTube page. Call the YouTube channel search API for JSON. 1 credit per call.
POST
Search one channel's videos, like the search box on its YouTube page
Searches one channel’s videos, equivalent to the search box on its YouTube page. The channel is identified by its URL or ID.
Request
query is required. Exactly one of channelUrl or channelId is required. A request that sets both, or none, fails with invalidRequest.
Response
If successful, the response body contains the standard envelope.data.results[] contains the channel’s videos that match the query.
The following example is a real response, truncated: each list shows one item and long strings are cut.
For every field, see the response schema on this page.
Optional parameters
Billing
Each successful request consumes 1 credit, regardless of the number of items returned. Requests that fail, or that return no items, are not billed.Pagination
Results are paginated. To retrieve the next page, pass the value ofdata.cursor as cursor in a subsequent request. A response that omits cursor is the last page.
Related methods
- YouTube channel: Accepts
channelUrl. Returns a channel’s profile and one tab of videos, shorts, live, playlists, podcasts or posts. - YouTube transcript: Accepts
videoUrl. Returns what a YouTube video says, from its captions. - YouTube video: Accepts
videoUrl. Returns a video’s stats, description, chapters and most replayed moments. - YouTube comments: Accepts
videoUrl. Returns a video’s comments, or the replies to one comment.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Required string length:
1 - 200Link to the YouTube channel, like https://www.youtube.com/@mkbhd. Send this or channelId.
YouTube channel handle or id, like @mkbhd. Send this or channelUrl.
The cursor from the previous response. Send it as is.
Minimum string length:
1