This page lets you explore common use cases for the YouTube Live Streaming API and YouTube Data API.

When you select a resource and method, the table below updates to display a list of common use cases, including a description of each use case, for that method. In addition:

Resource

Method

Use cases
list (by ID)
Code symbol that, when clicked, opens the fullscreen APIs Explorer widget and populates it with values for the 'list (by ID)' example for the liveBroadcasts.list method.
This example retrieves information about a specified live broadcast. It uses the id request parameter to identify the broadcast.
list (by broadcast status)
Code symbol that, when clicked, opens the fullscreen APIs Explorer widget and populates it with values for the 'list (by broadcast status)' example for the liveBroadcasts.list method.
This example retrieves information about active live broadcasts. The broadcastStatus request parameter can be used to retrieve information about about all, active, completed, or upcoming live broadcasts. Note that the broadcastStatus parameter is also set to all to ensure that all matching broadcasts are included in the response.
list (my broadcasts)
Code symbol that, when clicked, opens the fullscreen APIs Explorer widget and populates it with values for the 'list (my broadcasts)' example for the liveBroadcasts.list method.
This example retrieves information about the authenticated user's live broadcasts. Note that the broadcastStatus parameter is also set to all to ensure that all matching broadcasts are included in the response.