Note: The YouTube Data API (v2) has been officially deprecated as of March 4, 2014. Please refer to our deprecation policy for more information.
A user's recommendations feed contains videos that may appeal to the user. YouTube selects recommendations for a user based on an algorithm that considers signals from a variety of sources that include the user's favorite videos, recently added playlist videos, recently watched videos, ratings and more.
To retrieve a feed containing recommendations for a logged-in user, send an authenticated GET request to the following URL.
Note: An API request to retrieve a user's recommendations feed must specify your developer key. In addition, the request must also specify an authentication token, which enables YouTube to identify the user and ensures that recommendations are tailored to the right user.
The recommendations feed is a video feed as described in the Understanding video feeds and entries section. The feed contains up to eight videos but may include fewer videos if the user has not performed actions that influence the recommendations feed content.
YouTube generates and caches recommendations for a user, and then regenerates recommendations when the cache expires or a threshold fraction of the feed has been viewed.