Use this API endpoint to fetch a list of video IDs from a YouTube playlist.
GET https://api.supadata.ai/v1/youtube/playlist/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 playlist URL or ID. See Supported YouTube URL Formats. |
limit | number | No | Maximum number of video IDs to return. Default: 100. Max: 5000 |
id
parameter supports various YouTube URL and ID formats. See this page for more details.
limit
parameter to control the
number of results returned.