Skip to content

Playlist Videos

Request

Returns a list of 100 videos from a YouTube playlist.

Security
accessToken
Query
urlstringrequired

YouTube url to playlist's page, i.e. https://www.youtube.com/playlist?list={playlistId}

Example:url=https://www.youtube.com/playlist?list=PLoSWVnSA9vG9qV0CVCpg5WwEy3LiP7udY
afterstring

Use cursor from the last page to get the next page

curl -i -X GET \
  'https://api.modash.io/v1/raw/youtube/playlist-videos?url=https%3A%2F%2Fwww.youtube.com%2Fplaylist%3Flist%3DPLoSWVnSA9vG9qV0CVCpg5WwEy3LiP7udY&after=string' \
  -H 'Authorization: Bearer <YOUR_token_HERE>'

Responses

Bodyapplication/json
videos_listobjectrequired
successbooleanrequired
Response
{ "videos_list": { "total": 0, "videos": [ … ], "cursor": "string" }, "success": true }