Skip to main content

Discover Live and Upcoming Streams

Use the List Streams API endpoint to get the list of live and upcoming streams on Bayes Video. The endpoint returns a list of objects like this:

[
{
"streamName": "stream1_bitrate1",
"displayName": "Esports Tournament 2023 Spring | Team 1 vs Team 2",
"start": "2019-08-24T14:15:22.000000+00:00",
"status": "stream_active",
"matchPerid": "esports:match:54f8aa04-f4e3-5d90-0456-12a8fd3379aa",
"tournamentPerid": "esports:tournament:06426311-38ff-5cd2-9bc7-0fc82d07d1f5",
"seriesPerid": "esports:series:d3138a09-44c9-519d-c3a6-2868e397297e",
"gameTitle": "CSGO"
},
{
"streamName": null,
"displayName": "Esports Tournament 2023 Spring | Team 3 vs Team 4",
"start": "2019-08-25T15:15:22.000000+00:00",
"status": "match_not_started",
"matchPerid": "esports:match:54f8aa04-f4e3-5d90-0456-12a8fd3379vv",
"tournamentPerid": "esports:tournament:06426311-38ff-5cd2-9bc7-0fc82d07d1f5",
"seriesPerid": "esports:series:d3138a09-44c9-519d-c3a6-2868e397297e",
"gameTitle": "CSGO"
},
...
]

In the response, the most important field for you is matchPerid. You will need it to get the HLS playlist for the Web Player.