Add a like or dislike rating to a video or remove a rating from a video.
Quota impact: A call to this method has a quota cost of 50 units.
NOTE: This does not affect the official like/dislike count of the video.
Common use cases
This request requires authorization with at least one of the following scopes (read more about authentication and authorization).
The following table lists the parameters that this query supports. All of the parameters listed are query parameters.
id parameter specifies the YouTube video ID of the video that is being rated or having its rating removed.
Specifies the rating to record.
Acceptable values are:
Do not provide a request body when calling this method.
If successful, this method returns an HTTP
204 response code (
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.
|The user must verify their e-mail address prior to rating.
|The request contained an unexpected value for the
|Rental videos can only be rated by users who rented them.
|The video that you are trying to rate cannot be rated. The request might not be properly authorized.
|The owner of the video that you are trying to rate has disabled ratings for that video.
|The video that you are trying to rate cannot be found. Check the value of the request's
id parameter to ensure that it is correct.
Use the APIs Explorer to call this API and see the API request and response.