Scraper APIYouTube
youtube.channel_shorts
The Shorts on a YouTube channel's Shorts tab, newest first: title, views and cover image for each.
- Id
youtube.channel_shorts- Version
- 1
- Billed per
- record — 1 unit for each record of a charged run
- Runs
- within one request
Start it with POST /v1/scrapers/youtube.channel_shorts/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.
Inputs
The fields of input. A field that is not listed here is refused.
| Field | Type | Description |
|---|---|---|
channelrequired | string | The channel: its address (youtube.com/@name, /channel/UC…, /c/name, /user/name), its handle (@name) or its id (UC…).Limit: at most 500 characters. |
max_results | integer | The most Shorts to return, newest first. The tab loads 48 at a time, so a larger number takes longer.Limit: 1 to 300. Default: 30. |
- The tab loads its Shorts in batches.
max_resultsis 30 by default and goes up to 300; a larger number takes longer. If a later batch cannot be loaded, the run endspartialwith what it has. - A channel without this tab, or with nothing on it, ends
okwith zero records. A channel that does not exist ends the runfailedwithnot_found, one YouTube shows a notice for — terminated, not available — withchannel_unavailable. - The tab shows a rounded view count and no date for a Short, so
view_countis the rounded figure and no date is returned. - Billed per record: a charged run costs 1 unit for each record it returns.
Record fields
Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.
| Field | Type | Notes |
|---|---|---|
position | integer | Its place among the returned Shorts, from 1, in the tab's order (newest first). |
id | string | The video id. |
url | string | The Short's address: youtube.com/shorts/<id>. |
title | string or null | The title as shown. |
channel_id | string or null | The id (UC…) of the channel whose tab was read. |
channel_name | string or null | That channel's name. |
view_count_text | string or null | The views as shown ("24M views"). |
view_count | integer or null | The views as a number, when the text reads as one: the rounded figure the tab shows. |
view_count_exact | boolean or null | True when YouTube showed the count in full, false when it showed it rounded; null when no count was read. |
thumbnails | array of object | The Short's cover image, in the sizes the page lists, smallest first. |
url (in thumbnails[]) | string | The image's address. |
width (in thumbnails[]) | integer or null | Its width in pixels, when the page states it. |
height (in thumbnails[]) | integer or null | Its height in pixels, when the page states it. |
Example request
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/youtube.channel_shorts/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"channel":"@MrBeast"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("youtube.channel_shorts", {"channel": "@MrBeast"})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("youtube.channel_shorts", { channel: "@MrBeast" });
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "youtube.channel_shorts", map[string]any{"channel": "@MrBeast"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("youtube.channel_shorts", Map.of("channel", "@MrBeast"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run youtube.channel_shorts --input channel=@MrBeastInstall it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.
The body on its own:
{
"input": {
"channel": "@MrBeast"
}
}Example response
The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.
{
"id": "run_841742f37553189ff9c27ba1",
"scraper_id": "youtube.channel_shorts",
"scraper_version": 1,
"status": "ok",
"reason": null,
"input": {
"channel": "@MrBeast"
},
"record_count": 1,
"units": 1,
"units_per_request": null,
"units_per_record": 1,
"units_per_page": null,
"diagnostics": {
"requests": 1,
"bytes": 259214,
"wall_ms": 885,
"facts": {}
},
"created_at": "2026-11-16T22:37:50.170950Z",
"started_at": "2026-11-16T22:37:50.178331Z",
"finished_at": "2026-11-16T22:37:51.066313Z"
}Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.
{
"records": [
{
"position": 1,
"id": "sHpEqeSByPI",
"url": "https://www.youtube.com/shorts/sHpEqeSByPI",
"title": "Unboxing The World’s Largest Toy",
"channel_id": "UCX6OQ3DkcsbYNE6H8uQQuVA",
"channel_name": "MrBeast",
"view_count_text": "24M views",
"view_count": 24000000,
"view_count_exact": false,
"thumbnails": [
{
"url": "https://i.ytimg.com/vi/sHpEqeSByPI/sardefault.jpg?sqp=-oaymwEoCJUDENAFSFqQAgHyq4qpAxcIARUAAIhC2AEB4gEKCBgQAhgGOAFAAQ==&rs=AOn4CLCm4n4NCdI1IgL-uZKda3Cuyy7Rvg",
"width": 405,
"height": 720
},
{
"url": "https://i.ytimg.com/vi/sHpEqeSByPI/sardefault.jpg?sqp=-oaymwErCJUDEOAESFqQAgHyq4qpAxoIARUAAIhCyAEB2AEB4gEKCBgQAhgGOAFAAQ==&rs=AOn4CLCXr2bzIeFkO0JO3QKb-f9K0hX7dw",
"width": 405,
"height": 608
}
]
}
],
"next_cursor": null
}A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the YouTube scrapers are in their own section there.