Use this API endpoint to fetch a list of video IDs from a YouTube channel.
GET https://api.supadata.ai/v1/youtube/channel/videos
Each request requires an x-api-key
header with your API key available after signing up. Get your API key here.
Parameter | Type | Required | Description |
---|---|---|---|
id | string | Yes | YouTube channel URL, handle or ID. See Supported YouTube URL Formats. |
limit | number | No | Maximum number of video IDs to return. If type = all , vertical videos are prioritized. (Default: 30, Max: 5000) |
type | enum | No | all , video , short , live (Default: all ) |
type: all
, the limit parameter applies to vertical videos
first, then Shorts and live videos. For example, if the channel has 100
vertical videos and 100 Shorts, and limit
is 150, then 100 vertical videos
and 50 Shorts will be returned.id
parameter supports various YouTube URL and ID formats. See this page for more details.