---
title: "YouTube Channel Scraper | ScrapeCrate"
description: "All the videos of a YouTube channel, newest first. $0.01 per 1,000 videos, free monthly credit to try it. Run it from the web, the API or MCP."
url: https://scrapecrate.com/apps/youtube-channel-videos
markdown: https://scrapecrate.com/apps/youtube-channel-videos.md
---

# YouTube Channel Scraper

All the videos of a YouTube channel, newest first.

**Price:** $0.01 per 1,000 videos.

List every video of a channel (handle, URL or ID), with views, duration and date; shorts optional.

## Input

- `channel_id` (string, required): Channel ID (UC...) or @handle
- `include_shorts` (boolean, optional, default false): Include Shorts

## Use it from your code

```bash
curl -X POST "https://api.scrapecrate.com/v1/apps/youtube-channel-videos/runs?wait=60" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"channel_id":"@RickAstleyYT","include_shorts":false},"max_items":100}'
```

```javascript
const res = await fetch("https://api.scrapecrate.com/v1/apps/youtube-channel-videos/runs?wait=60", {
  method: "POST",
  headers: { "X-API-Key": process.env.API_KEY, "Content-Type": "application/json" },
  body: JSON.stringify({
    "input": {
      "channel_id": "@RickAstleyYT",
      "include_shorts": false
    },
    "max_items": 100
  }),
});
const { run } = await res.json();
console.log(run.status, run.result_count);

// The results
const items = await fetch(`https://api.scrapecrate.com/v1/runs/${run.id}/items?format=json`, {
  headers: { "X-API-Key": process.env.API_KEY },
}).then((r) => r.json());
```

```python
import os, requests

res = requests.post(
    "https://api.scrapecrate.com/v1/apps/youtube-channel-videos/runs?wait=60",
    headers={"X-API-Key": os.environ["API_KEY"]},
    json={
      "input": {
        "channel_id": "@RickAstleyYT",
        "include_shorts": False
      },
      "max_items": 100
    },
)
run = res.json()["run"]
print(run["status"], run["result_count"])

items = requests.get(
    f"https://api.scrapecrate.com/v1/runs/{run['id']}/items?format=json",
    headers={"X-API-Key": os.environ["API_KEY"]},
).json()["items"]
```

```bash
# Claude Code
claude mcp add --transport http scrapecrate https://api.scrapecrate.com/mcp

# Then ask, in Claude, ChatGPT or Cursor:
All videos of @veritasium from this year
```

## Output example

```json
{
  "video_id": "dQw4w9WgXcQ",
  "title": "Never Gonna Give You Up",
  "duration": 213,
  "view_count": 1600000000,
  "published_at": "2009-10-25",
  "thumbnail_url": "https://i.ytimg.com/vi/dQw4w9WgXcQ/hqdefault.jpg"
}
```

[API reference](https://scrapecrate.com/youtube-api.md)

You pay only for the results you get. Results are kept 30 days.
