YTAPI.devDocs

List channel videos

listChannelVideos(id, query?, options?): ChannelVideosPage

GET
https://api.ytapi.dev/v1/channels/{id}/videos
1 Credit

Lists public uploads. Pass continuation or cursor from the previous page to keep paging.

API Key

All requests require a valid API key from the developer dashboard.

Headers: Authorization: Bearer YOUR_API_KEYorX-API-Key: YOUR_API_KEY

See Authentication for headers and rate limits.

Path Parameters

ParameterTypeRequiredDescription
idpath
stringYes

Channel handle or canonical channel ID (UC...).

Query Parameters

ParameterTypeRequiredDescription
sort_byquery
stringNo

Sort order: newest (default), popular, or oldest.

tabquery
stringNo

Which tab to list: videos (default, 30 per page) or shorts (48 per page). Shorts come without published_text and length_text, and sort_by doesn't apply to them (always newest first).

continuationquery
stringNo

Continuation token from the previous response.

cursorquery
stringNo

Alias for continuation.

Response (HTTP 200)

{
  "channel_id": string,          // Canonical 24-character channel ID (UC...)
  "channel_title": string,       // Channel display name
  "has_more": boolean,            // Whether another page is available
  "next_cursor": string | null,   // Cursor token for the next page
  "continuation": string | null,  // Alias of next_cursor
  "videos": [                     // Uploaded video items for this page
    {
      "video_id": string,         // 11-character video ID
      "title": string,            // Video title
      "length_text": string,      // Duration string (e.g. "25:42")
      "thumbnails": [             // Thumbnail variants
        {
          "url": string,
          "width": number,
          "height": number
        }
      ]
    }
  ]
}