Activities
Learn about the activity resource and how to use it to get a response from an API call.
What is an activity
resource?
Users and channels can perform several actions on YouTube, such as commenting on a video, posting a video, adding a video to a playlist, subscribing to a channel, and more. The details regarding these actions are stored in the activity
resource. A single activity
resource defines the action type, the channel that performed the action, and the resource associated with the action. For example, for a channel uploading a video, the activity
resource would include upload
as the type of action, the channel’s name, and the video uploaded.
Supported methods
The API only supports the list
method for the activity
resource. Using the list
method, we can fetch the details of the activities associated with any channel, regardless of the channel owner.
Let’s use the list
method to ...