Logo
Modash API Documentation

Playlist Videos

GET {{baseUrl}}/v1/raw/youtube/playlist-videos?url=<string>&after=<string>

Returns a list of 100 videos from a YouTube playlist.

 

Body PARAM

Key Datatype Required Description 
url
string (Required) YouTube url to playlist's page, i.e. https://www.youtube.com/playlist?list={playlistId}
after
string Use `cursor` from the last page to get the next page



HEADERS

Key Datatype Required Description 
Accept
string




RESPONSES

status OK

{ "videos_list": { "total": "<number>", "videos": [ { "video_id": "<string>", "thumbnail": "<string>", "title": "<string>", "time": "<string>", "published_ago": "<string>", "views": "<number>" }, { "video_id": "<string>", "thumbnail": "<string>", "title": "<string>", "time": "<string>", "published_ago": "<string>", "views": "<number>" } ], "cursor": "<string>" } }



Curl
curl -X GET 'https://api.modash.io/v1/raw/youtube/playlist-videos?url=<string>&after=<string>?url=<string>&after=<string>' -H 'Accept: application/json'

ENDPOINTS