Workspace
Folders, saved channels, alerts, and channel resolution.
Research tool. Needs a plan. Calls count toward your plan's daily limits. See plans
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.
List the authenticated user's folders with channel counts.
Create a new folder. Content-Type application/json.
| Name | Type | Required | Description |
|---|---|---|---|
| name | string | Required | Folder name (1–50 chars, unique per user). |
Rename a folder. Body: {"name": "..."}.
Delete a folder and unsave every channel in it. No Uncategorized fallback — the channels are removed entirely.
List all channels in a folder with live 24h and 48h view/sub deltas. Sorted by save time descending.
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.
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).
| Name | Type | Required | Description |
|---|---|---|---|
| channel_ids | array | Required | Array of YouTube channel IDs (UC...). |
| folder_id | integer | Required | Target folder ID. |
Remove a saved channel from all of the user's folders.
Move a saved channel from one folder to another.
| Name | Type | Required | Description |
|---|---|---|---|
| channel_id | string | Required | YouTube channel ID. |
| from_folder_id | integer | Required | Source folder ID. |
| to_folder_id | integer | Required | Destination folder ID. |
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.
| Name | Type | Required | Description |
|---|---|---|---|
| kind | string | Optional | video, subject or format. Default all three. |
| folder_id | integer | Optional | Only this folder's 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.
| Name | Type | Required | Description |
|---|---|---|---|
| kind | string | Required | video, subject or format. |
| video | object | 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_type | string | Optional | For kind=video. longform (default) or shorts. |
| label | string | Conditional | For kind=subject. The subject's name. |
| template | string | Conditional | For kind=format. The title format, e.g. I Tried [FOOD] For 30 Days. |
| niche | string | Optional | For subjects and formats. Their niche key, when known. |
| folder_id | integer | Optional | Target folder. Default Uncategorized. |
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.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.
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.
| Name | Type | Required | Description |
|---|---|---|---|
| input | string | Required | @handle, https://youtube.com/@handle, https://youtube.com/channel/UC..., or a raw UC... id (returned unchanged). |
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.
Create a new alert. The filter body mirrors the search/trends params (subscribers, views, etc.) plus an alert type.
Update an alert's name, filters, or enabled state. Send any subset of fields.
Delete an alert. Triggered-channel history for the alert is also removed.
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.
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| alert_id | integer | Optional | — | Restrict to one alert. Omit to merge across all alerts. |
| page | integer | Optional | 1 | Page (1–20). |
| per_page | integer | Optional | 50 | Results per page (1–50). |
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.
Algrow
Shorts Channels