Back to Search YouTube videos and channels

YouTube Scraper

Apify

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

Use this tool with your AI agent

  1. Copy the prompt
  2. Paste it into your agent
  3. 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.

Already connected
Your agent can use that connection.
New user
Your agent will guide you through setup, sign-in and authorisation.

Provider access is included.

Connect your first agent to receive $1 trial credit.

Current price
$0.0056/result
Availability
Ready to run

Tool details

About this tool

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

Inputs and outputs

Input

inputobject · optional

Provider-specific public source, URL or search criteria.

maxItemsnumber · optional

Maximum number of records to return.

Output

channelNamestring

Returned channel name value.

channelUrlstring

Returned channel url value.

datestring

Returned date value.

durationstring

Returned duration value.

hashtagsarray

Returned hashtags value.

idstring

Returned id value.

inputstring

Provider-specific public source, URL or search criteria.

titlestring

Returned title value.

typestring

Returned type value.

urlstring

Returned url value.

Example request and output

Inspect returns this reviewed example, its estimated cost and the current input schema. Run calculates the estimate for your actual input.

Request

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

Output

{
  "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"
}
Errors and limitations

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