What is it?
The SRG-SSR Video REST API allows you to get video metadata (including subtitles) from various business units (RSI, RTS, RTS, SRF, SWI).
The API delivers a list of video objects filtered by search parameters that you provided. The API response contains a JSON definition of a playable asset, for example a list of video by tag, all the episodes of a show, or videos that expire soon.
To play videos, you can use our player. It needs only the ID of the video you get by using the APIs. For more details on how to integrate and use the player in your HTML page, please visit the SRG Player API Documentation page.
Why use it?
Do you want to play video files by using the built-in SRG Player on your site or in your app? Do you want to stream live Tv shows or full-length episodes of Tv shows? SRG-SSR Video API can help!
Quick search in the video database
Access to Tv channels and episodes of radio shows
Get live streams and play it on your website or in your app
How it works?
This API consists of a bunch of GET methods that you can request for metadata of video objects, livestreams, and Tv channels. The API returns the ID of the requested object that can be passed over to a media player to play the video.
How to use