{
  "id": 21856628,
  "title": "3 YouTube Data API traps I hit deleting liked videos in bulk",
  "url": "https://urgent.news/2026/11/25/3-youtube-data-api-traps-i-hit-deleting-liked-videos-in-bulk",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-25T21:10:10.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/samwootton/3-youtube-data-api-traps-i-hit-deleting-liked-videos-in-bulk-1a9n"
  },
  "original_language": "en",
  "account": "YouTube's data API presents challenges when attempting to delete a large number of liked videos. The writer, who manages thousands of likes, discovered three main issues while building TidyList, a web application for cleaning up big YouTube playlists.\n\nFirstly, the playlist id for liked videos is not derivable, unlike other playlists. Unlike playlists obtained through playlists.list?mine=true, liked videos are not included in this list. To obtain the id of the liked videos playlist, one must retrieve their channel details via GET https://www.googleapis.com/youtube/v3/channels?part=contentDetails&mine=true, where the relevant id is found in contentDetails.relatedPlaylists. This id must be obtained manually and inserted into the API requests each time, as it cannot be derived from other data.\n\nSecondly, the API provides a limit of 5,000 most recent liked videos, creating a window of access rather than a complete list. Older liked videos are inaccessible through this method. This limitation must be communicated to users, as they may believe their list is incomplete. The writer notes that videos.list?myRating=like only allows a maximum of 1,000 items, and this should be displayed to the user when the full list is reached.\n\nFinally, deleting a liked video removes it from the list and impacts the user's YouTube recommendations, as the like and entry are equivalent in this context. Deleting a video from the liked list is achieved via DELETE requests targeting the playlistItems endpoint, using the playlist item's id. However, adding a video to the liked list cannot be done through playlistItems.insert, as likes are created by videos.rate. With an average of 50 quota units consumed per delete, unliking 200 videos will exhaust a new project's default daily quota of 10,000 units. Alternatively, TidyList offers a simple solution for bulk deletion, with the option to remove private, deleted, or specific category of liked videos.",
  "summary": "Years of likes add up. My own Liked videos list holds thousands, a couple of hundred of them now private or deleted, hidden behind \"Unavailable videos are hidden\" . YouTube lets you unlike them one at a time, and that's it. I built TidyList, a web app for cleaning up big YouTube playlists, on the YouTube Data API v3. Liked videos looked like the easy case, since it is just a playlist. It nearly…",
  "key_points": [
    "Playlist ID for liked videos is not derivable",
    "API limits to 5,000 most recent liked videos",
    "Deleting a liked video exhausts daily quota"
  ],
  "editors_take": null,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}