Live streaming session with streamer, title, viewer count, status, and start time. Used for live streaming platforms, gaming streams, and video broadcasting services.
https://api.mockly.codes/streams?page=1&limit=10&count=10Configure your request and click Send Request to see the response here.
/streamsGet a collection of streams
/media/streams/streams/:idGet a single stream by ID
/media/streams/:id/streams/metaGet resource metadata and schema
/media/streams/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/streams?q=laptopGET https://api.mockly.codes/streams?q=laptop&search_fields=name,descriptionsearch_fields, all text fields are searched// Get 10 streams
fetch('https://api.mockly.codes/streams?count=10')
.then(res => res.json())
.then(data => console.log(data));import requests
response = requests.get(
'https://api.mockly.codes/streams?count=10'
)
data = response.json()curl "https://api.mockly.codes/streams?count=10"fetch('https://api.mockly.codes/streams?nocache=true')idintegerUnique identifier for the stream
random_inttitlestringTitle or name of the stream
sentencestreamerstringFull name or username of the person streaming
nameurlstringURL to watch or access the live stream
urluriviewersintegerCurrent number of viewers watching the stream
random_intstatusstringStream status (e.g., live, offline, scheduled, ended)
statusstarted_atstringTimestamp when the stream started
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