YouTube Scraper

Collect public YouTube videos, channels and search results with video metadata.

by ApifyReady to run$0.0056 per result · $0.56 per 100 results

Example

You ask your agent

“Find two YouTube videos about Crawlee.”

You get

Title
Crawlee, the web scraping and browser automation library
URL
https://www.youtube.com/watch?v=g1Ll9OlFwEQ
Date
2022-08-22 15:26 UTC
Type
video
Input
Crawlee
Duration
00:03:14
Hashtags
#webscraping, #crawlee
Channel URL
https://www.youtube.com/@Apify
What your agent sends and gets back (JSON)

Your agent works out the exact inputs, such as IDs, dates and settings, from what you ask.

Request

{
  "tool_id": "apify.streamers-youtube-scraper",
  "input": {
    "input": {
      "maxResults": 2,
      "searchQueries": [
        "Crawlee"
      ],
      "maxResultStreams": 0,
      "maxResultsShorts": 0,
      "transcriptionAndSubtitle": "NONE"
    },
    "maxItems": 2
  }
}

Response

{
  "id": "g1Ll9OlFwEQ",
  "url": "https://www.youtube.com/watch?v=g1Ll9OlFwEQ",
  "date": "2022-08-22T15:26:13.000Z",
  "type": "video",
  "input": "Crawlee",
  "title": "Crawlee, the web scraping and browser automation library",
  "duration": "00:03:14",
  "hashtags": [
    "#webscraping",
    "#crawlee"
  ],
  "channelUrl": "https://www.youtube.com/@Apify",
  "channelName": "Apify"
}

Use it with your agent

Copy the prompt and paste it into your agent, then tell it what you need.

Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Help me use YouTube Scraper (tool ID: apify.streamers-youtube-scraper). Ask me for the details you need, then show me the result.

Provider access is included. If your agent isn't connected to Scrollport yet, it will help you set that up.

Other tools for this job

Compare all 11 →

Questions

Is YouTube Scraper by Apify free?

Scrollport has no free tier: it costs $0.0056 per result ($0.56 per 100 results), paid per use from a prepaid wallet with no subscription. Connecting your first agent adds $1 of trial credit, so you can try it before adding funds.

Do I need an API key from Apify?

No. Your agent runs it through your Scrollport connection (MCP, the Scrollport CLI or the HTTP API), and Scrollport handles access to Apify, so you don't sign up with Apify or manage an API key.

Details

About this tool

Search YouTube and return a bounded set of public video metadata.

All inputs and outputs

Input

inputobject · optional

Provider-specific public source, URL or search criteria.

maxItemsnumber · optional

Maximum number of records to return.

Output

channelNamestring
channelUrlstring
datestring

Date of the record.

durationstring
hashtagsarray

Hashtags used in the post.

idstring

Identifier of the record.

inputstring

Provider-specific public source, URL or search criteria.

titlestring

Title of the record.

typestring
urlstring

URL of the record.

Errors and limits

No listing-specific teaching errors are published. Inspect the tool before running to receive the current schema and error guidance.