Skip to content
//YouTube Scraper example\\

NASA channel videos, 5 videos

Latest regular videos from a channel.

Updated December 5, 2026

What this example returns

This example returns up to 5 videos.

The dataset’s “Overview” view shows 9 columns: Video Title, Channel, Views, Likes, Published, Duration, Type, Video URL, and Comments. See every output field.

What each setting does

The input this example runs YouTube Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Direct URLs startUrls

https://www.youtube.com/@NASAJPL

YouTube video, channel, playlist, hashtag or search results URLs. Search terms are ignored when URLs are set. To get only shorts or streams, set Maximum videos per search term to 0.

Maximum videos per search term maxResults

5

Limit the number of videos you want to crawl. If you scrape a channel, acts as a limit for regular videos. No upper limit: listings are read until YouTube has no more (a search typically ends after several hundred videos).

Default: 10 → this example uses 5

Maximum shorts per search term maxResultsShorts

0

Limit the number of Shorts videos you want to crawl.

Maximum streams per search term maxResultStreams

0

Limit the number of Stream videos you want to crawl.

.json
{
  "startUrls": [
    {
      "url": "https://www.youtube.com/@NASAJPL"
    }
  ],
  "maxResults": 5,
  "maxResultsShorts": 0,
  "maxResultStreams": 0,
  "searchQueries": []
}

What it costs

You pay for the events the actor reports, such as each result or page it produces. Platform usage is included in the event prices: compute, proxies, browser and storage cost nothing extra.

  • Resultfrom $0.00102One saved YouTube video, Short or stream row
  • Date filterfrom $0.00033Per result when dateFilter (search) or oldestPostDate (channels) is set and applied

Full pricing

Other ways to run YouTube Scraper

All examples of YouTube Scraper

About YouTube Scraper

Scrape public YouTube videos, channels, playlists, hashtags, and search results. Get titles, views, likes, durations, upload dates, descriptions, and channel details.

Price:
From $1.02 / 1,000 results
Developer:
Echofield
Categories:
Videos, Social media

YouTube Scraper pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.