YouTube data

YouTube Shorts Scraper (per channel, lightweight)

Every Short of a YouTube channel: title, video id, view count and thumbnail, with the channel name on each row. Paste channel URLs, @handles or channel ids. Only delivered Shorts are charged.

$0.40per 1,000 · Short listed

One Short delivered to the dataset. Channels that fail or have no Shorts are never charged.

Call it from your code

curl
ACTOR=steadydata~youtube-shorts
URL="https://api.apify.com/v2/acts/$ACTOR/run-sync-get-dataset-items"

curl -X POST "$URL?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"channels": ["@mkbhd"], "maxShortsPerChannel": 100, "language": "en"}'
python
import os, requests

ACTOR = "steadydata~youtube-shorts"
URL = f"https://api.apify.com/v2/acts/{ACTOR}/run-sync-get-dataset-items"

rows = requests.post(
    URL,
    params={"token": os.environ["APIFY_TOKEN"]},
    json={'channels': ['@mkbhd'], 'maxShortsPerChannel': 100, 'language': 'en'},
    timeout=900,
).json()

# every row carries a status; failures are records, not exceptions
ok = [r for r in rows if r.get("status") == "ok"]
print(len(ok), "rows delivered")
javascript
const ACTOR = "steadydata~youtube-shorts";
const url =
  `https://api.apify.com/v2/acts/${ACTOR}/run-sync-get-dataset-items` +
  `?token=${process.env.APIFY_TOKEN}`;

const rows = await fetch(url, {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({"channels": ["@mkbhd"], "maxShortsPerChannel": 100, "language": "en"}),
}).then((r) => r.json());

// one object per delivered row, same shape every time
console.log(rows.filter((r) => r.status === "ok").length, "rows");

Use it in an agent

Point an MCP client at Apify's hosted server with this dataset in the tools list, or run our own server locally. The field explanations in the table below travel with the schema, so your agent reads them straight from the platform instead of from this page.

mcp url
https://mcp.apify.com?tools=steadydata/youtube-shorts

# the tool arrives in your agent as steadydata--youtube-shorts

Input

FieldTypeNameWhat it does
channels
required
array of stringChannelsChannel URLs, @handles or channel ids. All of these work: https://www.youtube.com/@mkbhd, @mkbhd, UCBJycsmduvYEL83R_U4JriQ.
maxShortsPerChannelintegerMax Shorts per channelStop after this many Shorts per channel, newest first. This is your cost ceiling: one delivered Short is one charged event.
languagestringLanguageInterface language for the texts YouTube returns, e.g. en, nl, de.
countrystringCountryISO country code used for the request, e.g. US, NL, DE.

What you get back

output schema, one object per delivered row
{
  "channelId": string | null,
  "channelName": string | null,
  "channelUrl": string | null,
  "position": integer | null,
  "videoId": string | null,
  "url": string | null,
  "title": string | null,
  "viewCount": integer | null,
  "thumbnailUrl": string | null,
  "status": string | null,
  "input": string | null,
  "errorCode": string | null,
  "error": string | null
}
FieldTypeWhen it is filled
channelIdstring, null
channelNamestring, null
channelUrlstring, null
positioninteger, null
videoIdstring, null
urlstring, null
titlestring, null
viewCountinteger, null
thumbnailUrlstring, null
statusstring, nullEither 'ok' or 'error'. An error row carries errorCode and error, and leaves the data fields empty; it is never charged.
inputstring, nullThe input this row was built from, so a row can always be traced back.
errorCodestring, nullFilled on an error row only; a delivered row leaves it empty.
errorstring, nullFilled on an error row only; a delivered row leaves it empty.

Related datasets

Already using this one? Ratings are the first thing other buyers look at, and this dataset has none yet. If it does a job for you, a rating on its Apify page is the one thing that helps. It takes a minute and it is the only thing we ask for.

Open the Apify page