{
  "id": 23681291,
  "title": "YouTube upload alerts without API quota",
  "url": "https://urgent.news/2026/12/05/youtube-upload-alerts-without-api-quota",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-12-05T19:17:26.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/1322monitors/youtube-upload-alerts-without-api-quota-3f67"
  },
  "original_language": null,
  "account": "To monitor YouTube channels for new uploads without using the Data API, follow these steps. First, add a channel using a single REST call, which costs one API unit. Then, obtain your stream URL from the dashboard and save it along with the key. Install the websockets library in Python and connect to the WebSocket URL using the key. The server sends three types of messages: upload for new videos, upgrade for better thumbnails, and deletion for unavailable videos. Track the newest upload per channel using a dictionary, and handle each message type appropriately. There is no backfill for previously published videos, and the connection may drop if offline, reconnecting with a limited backoff. Live streams and premieres are also supported.",
  "summary": "Disclosure: I work on 1322 Monitors (1322.io), the service used in this post. The usual way to watch a YouTube channel for new videos is to call the YouTube Data API on a timer. That works for a few channels. It gets harder as the list grows: the Data API gives a project 10,000 quota units a day by default, and a search costs 100 of them. YouTube's push option, WebSub (also called PubSubHubbub),…",
  "summary_source": "publisher",
  "key_points": [
    "Add channel via single REST call costing one API unit",
    "Connect to WebSocket URL using key in Python",
    "Track newest upload per channel using dictionary"
  ],
  "editors_take": null,
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "outlets_capped": false,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}