# YouTube Channel Scraper (Free)

Scrape public data from YouTube channels by URL. Extract channel info, video lists, views, subscribers, and publish dates for research or analysis — no coding required.

- Template page: [https://www.octoparse.com/template/youtube-channel-scraper-free](https://www.octoparse.com/template/youtube-channel-scraper-free)
- Categories: Social Media
- Status: `PUBLISHED`
- Run mode: `BOTH`

## Pricing

Free.

## What is an Octoparse template?

An Octoparse template is a ready-to-use scraping workflow with predefined inputs and structured outputs. Use the exact parameter keys below; do not invent parameters.

## Overview

This ready-to-use template collects structured data from detail pages, listing pages.

## Output

The current workflow extracts 10 fields, including `Channel_Handle`, `Channel_name`, `Cover_URL`, `Date`, `Duration`, `Subscriber_count`, `Title`, `Video_URL`, `Video_count`, `View_count`.

## Use Cases

- Use structured results for research, comparison, and monitoring.
- Collect rows without building the extraction workflow from scratch.
- Combine results with other templates for downstream enrichment.
- Review a representative result before starting a large batch.

## Why Octoparse

- **No coding required:** complete YouTube Account URLs (up to 10,000) and start the template in local or cloud mode.
- **Flexible export:** review and export results as CSV, Excel, or JSON.

## Input

### YouTube Account URLs (up to 10,000)

Required. Enter one or multiple YouTube channel Videos page URLs to scrape. Supports up to 10,000 URLs per run (one per line). Constraints: minItems=1; maxItems=10000; items.minLength=1; items.maxLength=50000.

## How to Use

### YouTube Channel Scraper – Usage Guide

Extracts channel metadata and video info from YouTube channel Videos pages.

#### Input Parameters

| Parameter | Required? | Description | Example |
|-----------|-----------|-------------|---------|
| YouTube Account URLs (up to 10,000) | Yes | One or more YouTube channel Videos page URLs. Enter one per line. | `https://www.youtube.com/@FoxNews/videos`  
`https://www.youtube.com/@CDPROJEKTRED/videos` |

- Use the channel’s **Videos page URL** (must end with `/videos`).
- Subscriber counts may be rounded per YouTube’s display.
- Only publicly available data can be scraped.

#### How to Use

1. **Start the template** – Click **Try it!** or **Start** to load the template.
2. **Enter URLs** – Paste up to 10,000 channel Videos page URLs (one per line) in the input field.
3. **Run the scraper** – Click **Start** and select a supported run mode. Octoparse automatically navigates, loads videos, and extracts data.
4. **Monitor and handle interruptions** – If a CAPTCHA appears, pause the task, solve it manually, then resume.
5. **Export your data** – After scraping completes, go to **Data Preview** or the output section. Export as CSV, Excel, or JSON for further analysis.

## Limitations

Results depend on what the source site exposes at run time. Fields may be empty when a source page does not provide a value. The template enforces the input limits shown above.

## Tips

Use specific, valid inputs and review a representative result before starting a large batch. Remove duplicate inputs when repeated records are not needed.

## FAQ

### What do I need to enter?

Use the exact inputs and limits listed above.

### What data does this template return?

See Output Schema below; availability can vary by source record.

### How is usage billed?

See the Pricing section above for current pricing and billing details.

## Related Templates

- [YouTube Channel Scraper](https://www.octoparse.com/template/youtube-channel-scraper)
- [YouTube Details & Comments Scraper (Free)](https://www.octoparse.com/template/youtube-details-comments-scraper-free)
- [Google Search Scraper (Free)](https://www.octoparse.com/template/google-advanced-search)
- [Reddit Post & Comments Scraper (Free)](https://www.octoparse.com/template/reddit-scraper)
- [Reddit Subreddit Scraper (Free)](https://www.octoparse.com/template/reddit-subreddit-scraper)

## Input Schema

```json
{
  "title": "YouTube Channel Scraper (Free) input",
  "description": "Input parameters configured for the current published template version.",
  "type": "object",
  "schemaVersion": 1,
  "additionalProperties": false,
  "properties": {
    "youTube_Account_URLs": {
      "title": "YouTube Account URLs (up to 10,000)",
      "description": "Enter one or multiple YouTube channel Videos page URLs to scrape. Supports up to 10,000 URLs per run (one per line).",
      "type": "array",
      "items": {
        "type": "string",
        "minLength": 1,
        "maxLength": 50000
      },
      "minItems": 1,
      "maxItems": 10000,
      "x-octoparse": {
        "apiEnabled": true
      }
    }
  },
  "required": [
    "youTube_Account_URLs"
  ]
}
```

## Input JSON Example

Example 1

```json
{
  "youTube_Account_URLs": [
    "https://www.youtube.com/@FoxNews/videos"
  ]
}
```

Example 2

```json
{
  "youTube_Account_URLs": [
    "https://www.youtube.com/@FoxNews/videos"
  ]
}
```

Example 3

```json
{
  "youTube_Account_URLs": [
    "https://www.youtube.com/@KyleHandy/videos",
    "https://www.youtube.com/@JonathanCorbett/videos",
    "https://www.youtube.com/@CarysCachero/videos",
    "https://www.youtube.com/@BrandonMulrenin/videos",
    "https://www.youtube.com/@Mike_Sherrard/videos"
  ]
}
```

Example 4

```json
{
  "youTube_Account_URLs": [
    "https://www.youtube.com/@FoxNews/videos"
  ]
}
```

Example 5

```json
{
  "youTube_Account_URLs": [
    "https://www.youtube.com/@FoxNews/videos"
  ]
}
```


## Output Schema

```json
{
  "schemaVersion": 1,
  "type": "object",
  "properties": {
    "Channel_Handle": {
      "type": "string",
      "description": ""
    },
    "Channel_name": {
      "type": "string",
      "description": ""
    },
    "Cover_URL": {
      "type": "string",
      "description": ""
    },
    "Date": {
      "type": "string",
      "description": ""
    },
    "Duration": {
      "type": "string",
      "description": ""
    },
    "Subscriber_count": {
      "type": "string",
      "description": ""
    },
    "Title": {
      "type": "string",
      "description": ""
    },
    "Video_URL": {
      "type": "string",
      "description": ""
    },
    "Video_count": {
      "type": "string",
      "description": ""
    },
    "View_count": {
      "type": "string",
      "description": ""
    }
  },
  "title": "YouTube Channel Scraper (Free) output",
  "description": "Initial output fields derived from the current published implementation. Field descriptions are maintained by Data Center; production field names and types should be refreshed from recent successful runs.",
  "additionalProperties": false
}
```

## Output Example

Example 1

```json
{
  "Channel_Handle": "@FoxNews",
  "Channel_name": "Fox News",
  "Cover_URL": "https://i.ytimg.com/vi/xSgyPneN5q4/hq720.jpg?sqp=-oaymwEnCNAFEJQDSFryq4qpAxkIARUAAIhCGAHYAQHiAQoIGBACGAY4AUAB&rs=AOn4CLCUH6NDs8hcR40qcSGsbFfxVJcdZw",
  "Date": "18 min ago",
  "Duration": "5:39",
  "Subscriber_count": "15.6M subscribers",
  "Title": "DEATH ROW OUTRAGE: Newsom faces FURIOUS victims' families",
  "Video_URL": "https://www.youtube.com/watch?v=xSgyPneN5q4",
  "Video_count": "147K videos",
  "View_count": "1.1K"
}
```

Example 2

```json
{
  "Channel_Handle": "@FoxNews",
  "Channel_name": "Fox News",
  "Cover_URL": "https://i.ytimg.com/vi/ozOu1SK4bOA/hq720.jpg?sqp=-oaymwEnCNAFEJQDSFryq4qpAxkIARUAAIhCGAHYAQHiAQoIGBACGAY4AUAB&rs=AOn4CLCyv-F6phVBt6QhNEfmj9GrdGxAPA",
  "Date": "52 min ago",
  "Duration": "4:33",
  "Subscriber_count": "15.6M subscribers",
  "Title": "RESET: Former Miami mayor addresses GOP leadership shake-up",
  "Video_URL": "https://www.youtube.com/watch?v=ozOu1SK4bOA",
  "Video_count": "147K videos",
  "View_count": "2.3K"
}
```

Example 3

```json
{
  "Channel_Handle": "@BrandonMulrenin",
  "Channel_name": "Brandon Mulrenin",
  "Cover_URL": "https://i.ytimg.com/vi/zmvN13syB6g/hq720.jpg?sqp=-oaymwEnCNAFEJQDSFryq4qpAxkIARUAAIhCGAHYAQHiAQoIGBACGAY4AUAB&rs=AOn4CLASoKVgSxQE-KluLiGwzDh7pLnW1w",
  "Date": "4h ago",
  "Duration": "28:32",
  "Subscriber_count": "178K subscribers",
  "Title": "I coached 6,000 realtors, here’s what I learned",
  "Video_URL": "https://www.youtube.com/watch?v=zmvN13syB6g",
  "Video_count": "2.3K videos",
  "View_count": "488"
}
```

Example 4

```json
{
  "Channel_Handle": "@FoxNews",
  "Channel_name": "Fox News",
  "Cover_URL": "https://i.ytimg.com/vi/rTah9Xx_iU8/hq720.jpg?sqp=-oaymwEnCNAFEJQDSFryq4qpAxkIARUAAIhCGAHYAQHiAQoIGBACGAY4AUAB&rs=AOn4CLAHkcHEvTMuu9wZc3iGUcb8hCSHUw",
  "Date": "2026/11/03",
  "Duration": "Upcoming",
  "Subscriber_count": "15.5M subscribers",
  "Title": "Trump says going after Iran’s Pickaxe Mountain ‘not a big deal’: Can do it in 1 hour",
  "Video_URL": "https://www.youtube.com/watch?v=rTah9Xx_iU8",
  "Video_count": "146K videos",
  "View_count": "25 waiting"
}
```

Example 5

```json
{
  "Channel_Handle": "@FoxNews",
  "Channel_name": "Fox News",
  "Cover_URL": "https://i.ytimg.com/vi/VXorRlao3Wg/hq720.jpg?sqp=-oaymwEnCNAFEJQDSFryq4qpAxkIARUAAIhCGAHYAQHiAQoIGBACGAY4AUAB&rs=AOn4CLBfTOM0tl29nHmWBauF48JJzgx74Q",
  "Date": "43s ago",
  "Duration": "17:16",
  "Subscriber_count": "15.5M subscribers",
  "Title": "Kayleigh McEnany: This could be a TIPPING point",
  "Video_URL": "https://www.youtube.com/watch?v=VXorRlao3Wg",
  "Video_count": "146K videos",
  "View_count": "0"
}
```

## API

`POST https://openapi.octoparse.com/api/agentTools/executeTask`

This is the OpenAPI Agent Tools `executeTask` endpoint. Authenticate with a Bearer token.

Request body:

`templateName` is the template slug; `parameters` is a JSON object string whose keys match Input Schema; `taskName`, `idempotencyKey`, and `maxCollectedRows` are optional.

Obtain a token:

```http
POST https://openapi.octoparse.com/token
Content-Type: application/json

{
  "username": "YOUR_USERNAME",
  "password": "YOUR_PASSWORD",
  "grant_type": "password"
}
```

Use `data.access_token` as `Authorization: Bearer <token>`. After starting, poll `getTaskStatus` and export with `exportData`.

```json
{
  "templateName": "youtube-channel-scraper-free",
  "taskName": "YouTube Channel Scraper (Free)",
  "parameters": "{\"youTube_Account_URLs\":[\"https://www.youtube.com/@FoxNews/videos\"]}"
}
```

## Python Example

```python
import json
import requests

OPENAPI_BASE = "https://openapi.octoparse.com"
ACCESS_TOKEN = "YOUR_ACCESS_TOKEN"

parameters = json.loads("{\"youTube_Account_URLs\":[\"https://www.youtube.com/@FoxNews/videos\"]}")

response = requests.post(
    f"{OPENAPI_BASE}/api/agentTools/executeTask",
    headers={
        "Authorization": f"Bearer {ACCESS_TOKEN}",
        "Content-Type": "application/json",
    },
    json={
        "templateName": "youtube-channel-scraper-free",
        "taskName": "YouTube Channel Scraper (Free)",
        "parameters": json.dumps(parameters, ensure_ascii=False),
    },
    timeout=60,
)
print(response.status_code)
print(response.json())
```

## HTTP/cURL Example

```bash
curl -X POST "https://openapi.octoparse.com/api/agentTools/executeTask" \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'JSON'
{
  "templateName": "youtube-channel-scraper-free",
  "taskName": "YouTube Channel Scraper (Free)",
  "parameters": "{\"youTube_Account_URLs\":[\"https://www.youtube.com/@FoxNews/videos\"]}"
}
JSON
```

## MCP Setup

Connect an MCP-compatible AI client to `https://mcp.octoparse.com` using browser OAuth or an Octoparse API key. Find `youtube-channel-scraper-free`, inspect its inputs, create a cloud task with the exact Input Schema keys, and export JSON results.

## Machine-readable Resources

- [Template contract](https://www.octoparse.com/templates/youtube-channel-scraper-free.json)
- [Manifest](https://www.octoparse.com/templates/youtube-channel-scraper-free-manifest.json)
