Workspace
Folders, saved channels, alerts, and channel resolution — the same primitives that power the web app dashboard. Use these to programmatically organize research, monitor channels for outliers, and resolve @handle/URL inputs to channel IDs.
19 endpoints on this page
| GET /api/folders | List the authenticated user's folders with channel counts |
| POST /api/folders | Create a new folder |
| PATCH /api/folders/:id | Rename a folder |
| DELETE /api/folders/:id | Delete a folder and unsave every channel in it |
| GET /api/folders/:id/channels | List all channels in a folder with live 24h and 48h view/sub deltas |
| GET /api/folders/:id/outliers | Recent uploads from every channel in a folder |
| POST /api/saved-channels | Save one or more channels into a folder |
| DELETE /api/saved-channels/:channel_id | Remove a saved channel from all of the user's folders |
| POST /api/saved-channels/move | Move a saved channel from one folder to another |
| GET /api/saved-items | The videos, subjects and title formats you saved |
| POST /api/saved-items | Save a video, subject or title format to the Saved page |
| DELETE /api/saved-items | Remove a saved video |
| POST /api/channels/resolve | Resolve a YouTube @handle or channel URL to a canonical channel ID |
| GET /api/alerts | List the user's saved alerts |
| POST /api/alerts | Create a new alert |
| PATCH /api/alerts/:id | Update an alert's name |
| DELETE /api/alerts/:id | Delete an alert |
| GET /api/alerts/triggered | Channels that matched the user's saved alert filters in the last evaluation cycle |
| GET /api/alerts/outlier-status | Quick poll endpoint |
GET/api/folders
List the authenticated user's folders with channel counts.
| Every call | 400 | 1,000 | 2,000 |
Calls a day on each plan. See every tool’s limits
POST/api/folders
Create a new folder. Content-Type application/json.
| Every call | 400 | 1,000 | 2,000 |
Calls a day on each plan. See every tool’s limits
Body
| namestring · required | Folder name (1–50 chars, unique per user). |
| 201 | Created |
| 400 | Invalid name |
| 409 | Name collision |
PATCH/api/folders/:id
Rename a folder. Body: {"name": "..."}.
| Every call | 400 | 1,000 | 2,000 |
Calls a day on each plan. See every tool’s limits
| 200 | Success |
| 404 | Folder not found |
| 409 | Name collision |
DELETE/api/folders/:id
Delete a folder and unsave every channel in it. No Uncategorized fallback — the channels are removed entirely.
| Every call | 400 | 1,000 | 2,000 |
Calls a day on each plan. See every tool’s limits
GET/api/folders/:id/channels
List all channels in a folder with live 24h and 48h view/sub deltas. Sorted by save time descending.
| Every call | 400 | 1,000 | 2,000 |
Calls a day on each plan. See every tool’s limits
| 200 | Success |
| 404 | Folder not found |
GET/api/folders/:id/outliers
Recent uploads from every channel in a folder, ranked by outlier score. Each video is scored against its own channel only, at the same age, so new uploads are not penalised for being new. Each video carries outlier_score, adjusted_score (steadied for very small channels; used for sorting), typical_views and breaking_out (how fast it is gaining views right now vs its own recent pace). Query params: days (default 7), min_score (adjusted, optional), sort (outlier default, views, recent), limit (default 100, max 500). Long-form only.
| Every call | 400 | 1,000 | 2,000 |
Calls a day on each plan. See every tool’s limits
| 200 | Success |
| 404 | Folder not found |
POST/api/saved-channels
Save one or more channels into a folder. Hard cap of 30 channels per folder on all plans — if the request would exceed the cap, the entire save fails atomically (no partial save).
| Every call | 400 | 1,000 | 2,000 |
Calls a day on each plan. See every tool’s limits
Body
| channel_idsarray · required | Array of YouTube channel IDs (UC...). |
| folder_idinteger · required | Target folder ID. |
| 200 | Success |
| 400 | Invalid IDs / folder |
| 403 | Folder cap exceeded |
DELETE/api/saved-channels/:channel_id
Remove a saved channel from all of the user's folders.
| Every call | 400 | 1,000 | 2,000 |
Calls a day on each plan. See every tool’s limits
POST/api/saved-channels/move
Move a saved channel from one folder to another.
| Every call | 400 | 1,000 | 2,000 |
Calls a day on each plan. See every tool’s limits
Body
| channel_idstring · required | YouTube channel ID. |
| from_folder_idinteger · required | Source folder ID. |
| to_folder_idinteger · required | Destination folder ID. |
GET/api/saved-items
The videos, subjects and title formats you saved (the Saved page in the app), newest first, with counts by kind. Saved channels are listed by /api/folders/:id/channels. Each item carries the payload the Saved page draws, as it was when it was saved.
| Every call | 400 | 1,000 | 2,000 |
Calls a day on each plan. See every tool’s limits
Query Parameters
| kindstring · optional | video, subject or format. Default all three. |
| folder_idinteger · optional | Only this folder's items. |
| 200 | Success |
| 400 | Invalid kind |
POST/api/saved-items
Save a video, subject or title format to the Saved page. If the item is already saved, saving it again moves it to the folder you name. Without folder_id it goes to your Uncategorized folder, as it does in the app.
| Every call | 400 | 1,000 | 2,000 |
Calls a day on each plan. See every tool’s limits
Body
| kindstring · required | video, subject or format. |
| videoobject · Conditional | For kind=video. A row from /api/viral-videos/search. video_id is required; title, url, thumbnail_url, view_count, channel_id, channel_name and the rest are kept for the card. |
| content_typestring · optional | For kind=video. longform (default) or shorts. |
| labelstring · Conditional | For kind=subject. The subject's name. |
| templatestring · Conditional | For kind=format. The title format, e.g. I Tried [FOOD] For 30 Days. |
| nichestring · optional | For subjects and formats. Their niche key, when known. |
| folder_idinteger · optional | Target folder. Default Uncategorized. |
| 200 | Saved |
| 400 | Invalid item |
| 404 | Folder not found |
The response's item.key is what DELETE /api/saved-items takes. A video's key is its video_id. A subject's key is its name in lower case, and a title format's key is its template, both with spaces collapsed.
DELETE/api/saved-items
Remove a saved video, subject or title format. Pass kind and key (as the list returns them) in the query string or a JSON body.
| Every call | 400 | 1,000 | 2,000 |
Calls a day on each plan. See every tool’s limits
| 200 | Removed |
| 400 | Missing kind or key |
| 404 | Not saved |
POST/api/channels/resolve
Resolve a YouTube @handle or channel URL to a canonical channel ID. Useful when you have user input and need to call other endpoints with a stable UC... id.
| Every call (shared by all live lookups) | 3,000 | 6,000 | 12,000 |
Calls a day on each plan. See every tool’s limits
Body
| inputstring · required | @handle, https://youtube.com/@handle, https://youtube.com/channel/UC..., or a raw UC... id (returned unchanged). |
GET/api/alerts
List the user's saved alerts. Alerts watch for channels matching specific criteria (e.g. new outliers, high growth) and surface them in /api/alerts/triggered.
| Every call | 400 | 1,000 | 2,000 |
Calls a day on each plan. See every tool’s limits
POST/api/alerts
Create a new alert. The filter body mirrors the search/trends params (subscribers, views, etc.) plus an alert type.
| Every call | 400 | 1,000 | 2,000 |
Calls a day on each plan. See every tool’s limits
| 201 | Created |
| 400 | Invalid filters |
| 403 | Plan alert cap reached |
PATCH/api/alerts/:id
Update an alert's name, filters, or enabled state. Send any subset of fields.
| Every call | 400 | 1,000 | 2,000 |
Calls a day on each plan. See every tool’s limits
DELETE/api/alerts/:id
Delete an alert. Triggered-channel history for the alert is also removed.
| Every call | 400 | 1,000 | 2,000 |
Calls a day on each plan. See every tool’s limits
GET/api/alerts/triggered
Channels that matched the user's saved alert filters in the last evaluation cycle (typically the last 24h). Use this as your “new matches” feed.
| Every call | 400 | 1,000 | 2,000 |
Calls a day on each plan. See every tool’s limits
Query Parameters
| alert_idinteger · optional | Restrict to one alert. Omit to merge across all alerts. |
| pageinteger · optional · default 1 | Page (1–20). |
| per_pageinteger · optional · default 50 | Results per page (1–50). |
GET/api/alerts/outlier-status
Quick poll endpoint: returns a per-alert summary of how many new channels triggered each alert. Cheap to call repeatedly — use it to drive a notification badge without paginating through /api/alerts/triggered.
| Every call | 400 | 1,000 | 2,000 |
Calls a day on each plan. See every tool’s limits
