Skip to main content

SRGSSR Video 2.0.4

What is it?

The SRG-SSR Video REST API allows you to get video metadata (including subtitles) from various business units (RSI, RTS, RTR, 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 videos by tag, all the episodes of a show, or videos that expire soon.

If you want 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 our official link of the pillarbox:

Web: https://github.com/SRGSSR/pillarbox-web

Android: https://github.com/SRGSSR/pillarbox-android

Apple: https://github.com/SRGSSR/pillarbox-apple

We stay at your disposal should you need more information or help.

See full documentation Get started

Quick search among videos

Get the valid video IDs immediately to feed the media player. Reach full-length videos of Tv channels of your choice or search filtered by topics.

Easy access to livestreams

Video API lets you access all livestream information.

Wide range of usage

Use the received data on websites, in apps, through HbbTv or other platform.

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

srg

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.

 

Read the reference dcumentation

How to use?

If you’d like to use SRG-SSR Video API follow these three steps to get started.

1. Register and login

You need to be a registered user to access to SRG-SSR APIs. Log in after registration.

2. Create an App

On your dashboard, create an application that will use the API.
For standard access and most use-cases you can use the product SRG SSR PUBLIC API V2.

3. Get an API key

Your application has an API key that authorize you to use the API. You can find it on the page of the application.

Next steps

No next development steps are planned. Do you have inputs? Get in touch via api@srgssr.ch

Requirements

 
To access the SRG-SSR Video API, you need to be a registered user with a valid API key.
Some videos might not be available out of Switzerland, because of geo-blocking reasons.

 

Get API key View reference documentation

About us

The SRG SSR API team is proud to share our data for the friends, community, customer and partners.