Crawl: the most reliable web crawler APISee what’s new
Zenrows
Talk to sales Start free

YouTube Shorts scraper

The Zenrows YouTube Shorts scraper reads any /shorts/ link and returns JSON with the video ID, title, description, view count, like count, duration, upload date, tags, genre, vertical thumbnail and channel name. Fetch in Adaptive Stealth Mode opens the Short and Extract returns the fields. Call it from the API, the CLI or an AI agent.

Site
youtube.com
Returns
Shorts views, likes, descriptions, tags and channels
Runs on
Fetch, Extract, Batch, Crawl
Updated
{
  "channel": {
    "channel_url": "http://www.youtube.com/@brick_boro",
    "name": "Brick Boro"
  },
  "comments": [],
  "engagement": {
    "like_count": 20579,
    "view_count": 834332
  },
  "video": {
    "video_id": "8Ze4cEEXBWc",
    "title": "los shortshots de LEGO",
    "description": "#legoespañol #lego #afol Conviértete en miembro de este canal para disfrutar de ventajas:…",
    "upload_date": "2026-09-15T05:00:37-07:00",
    "duration_iso": "PT0M10S",
    "genre": "Entertainment",
    "is_family_friendly": true,
    "requires_subscription": null,
    "tags": ["lego star wars", "lego", "star wars", "minifiguras lego", "darth maul"],
    "thumbnail_url": "https://i.ytimg.com/vi/8Ze4cEEXBWc/oar2.jpg?sqp=…",
    "canonical_url": "https://www.youtube.com/shorts/8Ze4cEEXBWc",
    "short_url": "https://www.youtube.com/shorts/8Ze4cEEXBWc?feature=share",
    "embed_url": "https://www.youtube.com/embed/8Ze4cEEXBWc"
  }
}

Request and output of a live call to a YouTube Shorts page on Oct 22, 2026, trimmed for length. A field is returned when the page shows it.

What data can you scrape from YouTube Shorts?

A Shorts page returns three groups: video for the clip itself, engagement for its counters and channel for the creator who posted it.

These are the fields Shorts analysts read most, with the path of each one in the JSON.

FieldWhat it holdsExample
video.video_id The 11-character ID after /shorts/ in the link 8Ze4cEEXBWc
video.title The title the creator gave the Short los shortshots de LEGO
video.description The text posted under the Short, hashtags included #legoespañol #lego #afol…
video.upload_date Publish time with the uploader's UTC offset 2026-09-15T05:00:37-07:00
video.duration_iso Clip length as an ISO 8601 duration PT0M10S
video.genre The category the Short is filed under Entertainment
video.tags[] Keyword tags set by the uploader, which the player never displays ["lego star wars", "darth maul", …]
video.is_family_friendly YouTube's family-friendly flag true
video.thumbnail_url The cover frame image https://i.ytimg.com/vi/8Ze4cEEXBWc/oar2.jpg…
video.canonical_url The URL YouTube lists as the main address of the clip https://www.youtube.com/shorts/8Ze4cEEXBWc
video.short_url The share link YouTube hands out https://www.youtube.com/shorts/8Ze4cEEXBWc?feature=share
video.embed_url The address for an embedded player https://www.youtube.com/embed/8Ze4cEEXBWc
engagement.view_count Total views as an integer 834332
engagement.like_count Total likes as an integer 20579
channel.name The display name of the posting channel Brick Boro
channel.channel_url The channel's handle URL http://www.youtube.com/@brick_boro

How to scrape YouTube Shorts with Zenrows

  1. Create a free Zenrows account and copy the API key shown on your dashboard.
  2. Collect the Shorts links. Each one looks like https://www.youtube.com/shorts/ID. Links copied from the mobile app often end in ?feature=share or ?si=…, and you can drop those parameters.
  3. Send each link with the default configuration. Adaptive Stealth Mode loads the Short and Extract returns the video, engagement and channel groups. View and like totals are global, so you can leave the country unset.
  4. Read parsed from the response. For a lean record, list only the paths you store, such as the view count, like count and upload date.
  5. Move the full list into Batch once a single link returns what you need, and rerun it daily to chart how fast each Short gains views.
# pip install requests
import requests

params = {
    "apikey": "YOUR_ZENROWS_API_KEY",
    "url": "https://www.youtube.com/shorts/8Ze4cEEXBWc",
    "mode": "auto",      # Adaptive Stealth Mode
    "extract": "auto",   # structured JSON
}
response = requests.get("https://api.zenrows.com/v1/", params=params, timeout=180)
response.raise_for_status()

data = response.json()["parsed"]
video = data.get("video") or {}
stats = data.get("engagement") or {}
views = stats.get("view_count") or 0
likes = stats.get("like_count") or 0
rate = round(likes / views * 1000, 1) if views else None
print(video.get("title"), views, likes, f"{rate} likes per 1,000 views")

Input

The scraper takes one Shorts URL per request, plus the options below.

A Batch job applies the same options to every task, so tracking a creator's last hundred Shorts means a list of a hundred links with these settings.

ParameterTypeDefaultDescription
url string required A Shorts page (https://www.youtube.com/shorts/ID).
mode string auto Adaptive Stealth Mode: starts with the lightest setup and adds rendering and protected-site handling only when the page needs them
extract string auto Returns the Short's fields as JSON in parsed, next to the raw html
extract_fields string all fields Comma-separated paths to keep, such as engagement.view_count,video.tags
proxy_country string any Two-letter country code, for Shorts that YouTube shows only in some countries
wait_for string none A CSS selector to wait for before the page is read
session_id integer none Keep the same session across several requests, for up to 10 minutes
Batch input
{
  "type": "regular",
  "status": "closed",
  "zenrows_params": {
    "mode": "auto",
    "extract": "auto"
  },
  "tasks": [
    { "url": "https://www.youtube.com/shorts/8Ze4cEEXBWc", "external_id": "8Ze4cEEXBWc" },
    { "url": "https://www.youtube.com/shorts/tPEE9ZwTmy0", "external_id": "tPEE9ZwTmy0" }
  ]
}

Output

Each response carries two keys: html, the Shorts page as YouTube served it, and parsed, the record with the video, engagement, channel and comments groups. Both samples below are trimmed from live requests made on Oct 22, 2026. The first is a ten-second vertical Short from a LEGO collector channel. The second is a one-second clip from 2011 that YouTube also serves under a Shorts link, and its canonical URL points back to the watch page.

Two fields tell the formats apart. In the vertical Short, canonical_url and short_url both keep the /shorts/ path and the thumbnail file is oar2.jpg. The older clip returns a watch URL, a youtu.be share link and an hqdefault.jpg thumbnail. Counts arrive as plain integers, ready for a database column. To get a spreadsheet, load parsed into pandas with pd.json_normalize(...) and save it as CSV or Excel. For an LLM pipeline, request Markdown instead of JSON.

{
  "channel": {
    "channel_url": "http://www.youtube.com/@brick_boro",
    "name": "Brick Boro"
  },
  "engagement": {
    "like_count": 20579,
    "view_count": 834332
  },
  "video": {
    "canonical_url": "https://www.youtube.com/shorts/8Ze4cEEXBWc",
    "description": "#legoespañol #lego #afol Conviértete en miembro de este canal para disfrutar de ventajas:…",
    "duration_iso": "PT0M10S",
    "embed_url": "https://www.youtube.com/embed/8Ze4cEEXBWc",
    "genre": "Entertainment",
    "is_family_friendly": true,
    "short_url": "https://www.youtube.com/shorts/8Ze4cEEXBWc?feature=share",
    "tags": ["lego star wars", "minifiguras lego star wars", "coleccionista de lego", "lego darth maul"],
    "thumbnail_url": "https://i.ytimg.com/vi/8Ze4cEEXBWc/oar2.jpg?sqp=…",
    "title": "los shortshots de LEGO",
    "upload_date": "2026-09-15T05:00:37-07:00",
    "video_id": "8Ze4cEEXBWc"
  }
}

Connect the MCP server (Claude Code)

claude mcp add zenrows -e ZENROWS_API_KEY=YOUR_ZENROWS_API_KEY -- npx -y @zenrows/mcp

MCP config (Cursor, Claude Desktop, Windsurf)

{
  "mcpServers": {
    "zenrows": {
      "command": "npx",
      "args": ["-y", "@zenrows/mcp"],
      "env": { "ZENROWS_API_KEY": "YOUR_ZENROWS_API_KEY" }
    }
  }
}

Or run the CLI

npx -y @zenrows/cli init
zenrows extract "https://www.youtube.com/shorts/8Ze4cEEXBWc"

Then ask your agent

Use Zenrows to read these YouTube Shorts. For each one, give me the
channel, upload date, length in seconds, views, likes and the hashtags
in its description, then rank them by likes per 1,000 views:
https://www.youtube.com/shorts/8Ze4cEEXBWc
https://www.youtube.com/shorts/tPEE9ZwTmy0

Scrape YouTube Shorts from your coding agent

Claude Code, Cursor, Codex and any MCP client can pull Shorts data from a plain-language prompt.

Your agent sends the same Fetch and Extract request shown in the code above and reads the same JSON. Add the Zenrows MCP server to the agent once, or install the CLI and let the agent call it from the terminal.

Scrape YouTube Shorts at scale with Batch and Crawl

Batch sends a list of Shorts links as one job and runs them in parallel. Put the 11-character video ID in external_id so each result joins back to your sheet of creators or campaigns. Schedule the same job daily and store each run with its date, and the gap between two runs is each Short's view and like growth for that day.

Crawl collects links for you from web pages that link to Shorts, such as a brand's video page or a creator's link page. Start it there, keep only links containing /shorts/, and pass the Shorts URLs it returns to Batch for the full record of each clip.

Scheduled jobs run the same Batch job on a timetable, on Zenrows' side: every few hours, once a day, at set times on chosen days, or once at a future date. Each run keeps its own results, a webhook can tell your app when a run finishes, and you can pause or resume the schedule at any time, with no cron server to keep alive.

curl -X POST "https://async.api.zenrows.com/v1/jobs" \
  -H "X-API-Key: YOUR_ZENROWS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "regular",
    "status": "closed",
    "zenrows_params": { "mode": "auto", "extract": "auto" },
    "tasks": [
      { "url": "https://www.youtube.com/shorts/8Ze4cEEXBWc", "external_id": "8Ze4cEEXBWc" },
      { "url": "https://www.youtube.com/shorts/tPEE9ZwTmy0", "external_id": "tPEE9ZwTmy0" }
    ]
  }'

# Read the results when the job finishes
curl "https://async.api.zenrows.com/v1/jobs/JOB_ID/results?status=successful" \
  -H "X-API-Key: YOUR_ZENROWS_API_KEY"

What teams do with YouTube Shorts data

Use caseData they pullWho runs it
Short-form creator vetting Views and likes on a creator's recent Shorts, upload dates, channel name Influencer agencies and brand partnership teams
Paid Shorts campaign reporting Daily view and like counts on each sponsored Short, posting time Media buyers and creator marketing managers
Hashtag and trend research Hashtags in the description, tags, genre and view counts across many Shorts Social media strategists and trend analysts
Cross-platform short video benchmarks Duration, views and likes per clip, compared with the same content on other apps Content teams publishing to several platforms
Brand mention tracking Titles, descriptions and tags that name a product, with the posting channel Brand protection and PR teams
Video AI datasets Titles, descriptions, tags and genre as clean JSON AI and data teams

Tips for scraping YouTube Shorts

  • Strip the share parameters. Links from the app arrive as /shorts/ID?feature=share or with ?si=…. Keep https://www.youtube.com/shorts/ID so duplicates collapse to one row.
  • Use the video ID as your key. The 11 characters after /shorts/ match the ID in video.video_id, the embed URL and any watch URL for the same clip, so one ID joins every dataset.
  • Read the hashtags from the description. Creators put their hashtags in the description, and video.description returns them. The video.tags[] list is a separate set of keywords that the Short itself never displays.
  • Convert the duration once. PT0M10S is ten seconds. Parse it when loading so you can group clips by length or separate Shorts from longer uploads in a mixed list.
  • Check canonical_url to classify a link. A vertical Short keeps the /shorts/ path there, while an older clip opened through a Shorts link reports its watch URL.
  • Store every run with its date. A single request is a snapshot of the counters. Schedule a Batch run every day for recent uploads, keep engagement.view_count per date, and the series shows how each Short is growing.
  • Normalise the upload time. upload_date carries the uploader's offset (-07:00, -08:00). Convert to UTC before comparing posting hours across channels.

Frequently asked questions

  • Collecting public data from YouTube Shorts, such as titles, view counts, likes and the name of the posting channel, is common practice for marketing analytics and research. Creator and channel information can count as personal data, which laws such as the GDPR and the CCPA protect, so keep only what you have a legitimate reason to use. The clips themselves are protected by copyright. Read YouTube's terms for your use case and ask your lawyer if you are unsure.

  • YouTube has no API dedicated to Shorts. The YouTube Data API v3 treats a Short like any other video, so you can request one by its ID, but it needs a Google Cloud project and an API key and runs on a daily quota. Its responses carry no field that marks a video as a Short, so teams classify clips themselves from the duration and the URL. A scraper reads the public Shorts page and returns the fields shown there.

  • Any public Short at https://www.youtube.com/shorts/ID. Each request returns that Short's video, engagement and channel groups. For a channel's details, such as its permanent ID, About text and avatar, use the YouTube channel scraper. For long-form videos, use the YouTube scraper.

  • Yes, in the sense of the text the creator posted with it. video.description holds the description, hashtags included, and video.title holds the title. The uploader's hidden keyword tags come back in video.tags[].

  • Collect the channel's Shorts URLs first: the YouTube Data API's search endpoint lists a channel's videos by channelId, and Shorts links follow the youtube.com/shorts/VIDEO_ID pattern. Send that list to Batch, and each result carries the full record of one Short.

  • Look at two fields. video.duration_iso gives the length, and video.canonical_url keeps the /shorts/ path for a vertical Short, while an older clip opened through a Shorts link reports a watch URL.

  • Send a GET request to https://api.zenrows.com/v1/ with your API key, the Shorts URL, and Adaptive Stealth Mode and Extract turned on, as in the Python example above. The response's parsed key holds the Short as a Python dictionary. The zenrows package on PyPI wraps the same request.

  • Send one link per request, or the whole list as a Batch job that runs the links in parallel and keeps your own ID on each result. One Batch job accepts more than 10,000 URLs, inline or as a CSV file.

  • Yes. Add the Zenrows MCP server to Claude, Cursor, Codex or any MCP client, or give your agent the Zenrows CLI. Paste the Shorts links, say which numbers you need, and the agent runs Fetch and Extract for each one.

  • Yes. Create a scheduled Batch job with your YouTube URLs and the same settings as a single request, and Zenrows runs it on its side: every few hours, once a day, at set times on chosen days, or once at a future date. Each run keeps its own results, a webhook can notify your app when a run finishes, and the schedule can be paused or resumed at any time.

  • Zenrows works with n8n, Make, Zapier, Clay, Dify, LangChain, LlamaIndex, CrewAI and Mastra, plus the Python, Node.js and Go SDKs and any HTTP client. A typical setup writes each day's Shorts view counts to Google Sheets or a warehouse from a workflow tool. See the integrations page for the full list.

  • JSON by default, with the record in parsed and the original page in html. You can also ask for the page as Markdown or plain text, which suits LLM and RAG pipelines.

Turn the live web into usable data.

Start building free 5,000 credits/month, always