List Super Chat events from a channel's live streams in the previous 30 days.
Common use cases
Request
HTTP request
GET https://www.googleapis.com/youtube/v3/superChatEvents
Authorization
This request requires authorization with at least one of the following scopes. To read more about authentication and authorization, see Implementing OAuth 2.0 authentication.
| Scope | 
|---|
| https://www.googleapis.com/auth/youtube | 
| https://www.googleapis.com/auth/youtube.force-ssl | 
| https://www.googleapis.com/auth/youtube.readonly | 
Parameters
The following table lists the parameters that this query supports. All of the parameters listed are query parameters.
| Parameters | ||
|---|---|---|
| Required parameters | ||
| part | stringThe partparameter specifies thesuperChatEventresource parts that the API response will include. Supported values areidandsnippet. | |
| Optional parameters | ||
| hl | stringThe hlparameter instructs the API server to format thesnippet.displayStringproperty value, which shows the purchase amount and currency of a Super Chat, according to the conventions of a particular language. The parameter value must be a language code included in the list returned by thei18nLanguages.listmethod. The default value isen, which means that the default behavior is to format display strings as they would be used in English. For example, by default, a string is formatted as$1.00rather than$1,00. | |
| maxResults | unsigned integerThe maxResultsparameter specifies the maximum number of items that should be returned in the result set. Acceptable values are1to50, inclusive. The default value is5. | |
| pageToken | stringThe pageTokenparameter identifies a specific page in the result set that should be returned. In an API response, thenextPageTokenandprevPageTokenproperties identify other pages that could be retrieved. | |
Request body
Do not provide a request body when calling this method.
Response
If successful, this method returns a response body with the following structure:
{
  "kind": "youtube#superChatEventListResponse",
  "etag": etag,
  "nextPageToken": string,
  "pageInfo": {
    "totalResults": integer,
    "resultsPerPage": integer
  },
  "items": [
    superChatEvent resource
  ]
}Properties
The following table defines the properties that appear in this resource:
| Properties | |
|---|---|
| kind | stringIdentifies the API resource's type. The value will be youtube#superChatEventListResponse. | 
| etag | etagThe Etag of this resource. | 
| nextPageToken | stringThe token that can be used as the value of the pageTokenparameter to retrieve the next page in the result set. | 
| pageInfo | objectThe pageInfoobject encapsulates paging information for the result set. | 
| pageInfo.totalResults | integerThe total number of results in the result set. | 
| pageInfo.resultsPerPage | integerThe number of results included in the API response. | 
| items[] | listA list of Super Chat purchases that match the request criteria. | 
Errors
The following table identifies error messages that the API could return in response to a call to this method. Please see the error message documentation for more detail.
| Error type | Error detail | Description | 
|---|---|---|
| forbidden (403) | insufficientPermissions | The request is not properly authorized to retrieve Super Chat events. | 
Try it!
Use the APIs Explorer to call this API and see the API request and response.