Music playlist collection with creator, track count, followers, visibility settings, and creation date. Used for music streaming platforms, radio stations, and music curation services.
https://api.mockly.codes/playlists?page=1&limit=10&count=10Configure your request and click Send Request to see the response here.
/playlistsGet a collection of playlists
/media/playlists/playlists/:idGet a single playlist by ID
/media/playlists/:id/playlists/metaGet resource metadata and schema
/media/playlists/metaThe search feature allows you to filter results by searching for text across all or specific fields. Choose between ?q= or ?search= parameter names.
Search across all text fields:
GET https://api.mockly.codes/playlists?q=laptopGET https://api.mockly.codes/playlists?q=laptop&search_fields=name,descriptionsearch_fields, all text fields are searched// Get 10 playlists
fetch('https://api.mockly.codes/playlists?count=10')
.then(res => res.json())
.then(data => console.log(data));import requests
response = requests.get(
'https://api.mockly.codes/playlists?count=10'
)
data = response.json()curl "https://api.mockly.codes/playlists?count=10"fetch('https://api.mockly.codes/playlists?nocache=true')idintegerUnique identifier for the playlist
random_intnamestringName or title of the playlist
sentencedescriptionstringDescription of the playlist's theme, mood, or purpose
paragraphcreatorstringFull name of the user who created the playlist
nametracks_countintegerTotal number of tracks or songs in the playlist
random_intfollowersintegerNumber of users following or subscribed to this playlist
random_intis_publicbooleanWhether the playlist is publicly visible and shareable, or private
booleancreated_atstringTimestamp when the playlist was created
past_datedate-timecountintegerNumber of items to return (default: 10, max: 100)
seedintegerSeed for reproducible data generation
nocachebooleanBypass cache and generate fresh data on every request