# Export YouTube Channel Videos to CSV

**Use case:** 

Scrape public YouTube channel videos and export structured video data to CSV for Excel, Google Sheets, and analytics workflows. Collect video titles, URLs, channel information, and available metadata without a YouTube API key. Start with a ready-made example, customize the channel and result limit, and download a spreadsheet-friendly CSV file.

## Input

```json
{
  "channelUrls": [
    "https://www.youtube.com/@MKBHD"
  ],
  "searchQueries": [
    "Rick Astley official music video"
  ],
  "channelTabs": [
    "VIDEOS"
  ],
  "maxVideosPerChannel": 8,
  "maxPlaylistItems": 100,
  "maxResultsPerSearchQuery": 3,
  "videoDetails": false,
  "searchSort": "RELEVANCE",
  "searchUploadDate": "ANY",
  "searchDuration": "ANY",
  "keepUnknownDates": true,
  "resultsLimit": 8,
  "outputFormat": "FLAT",
  "writeCsv": true,
  "saveDiagnostics": false,
  "maxTotalRequests": 12,
  "maxConcurrency": 1,
  "minDelayMs": 250,
  "maxDelayMs": 650,
  "proxyStrategy": "NONE"
}
```

## Output

```json
{
  "recordType": {
    "label": "Record type",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "channelTitle": {
    "label": "Channel title",
    "format": "string"
  },
  "canonicalUrl": {
    "label": "Canonical URL",
    "format": "string"
  },
  "mediaKind": {
    "label": "Media kind",
    "format": "string"
  },
  "state": {
    "label": "Acquisition state",
    "format": "string"
  },
  "detailLevel": {
    "label": "Detail level",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The YouTube Scraper - Videos, Shorts & Channels Actor is ready to run with the inputs already set for "Export YouTube Channel Videos to CSV". [Sign up or log in](https://console.apify.com/create-task-from-example/D9EMYJjGId7wiQRQ4) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Export YouTube Channel Videos to CSV" task

The YouTube Scraper - Videos, Shorts & Channels Actor will start running based on the input automatically. You can also change all the input fields, like youtube channel links or handles, youtube search queries, and more, to match your specific use case.

### 3. Receive the "Export YouTube Channel Videos to CSV" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as record type, title, channel title, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Export YouTube Channel Videos to CSV" task via API](https://apify.com/overbifrost/youtube-scraper.md).

## FAQ

### How do I export YouTube videos to CSV?

Enter a public YouTube channel URL or @handle, choose your video limit, and run the scraper with CSV export enabled. The Actor saves a videos.csv file in the run's Key-value store. You can also download structured records directly from the Apify Data

### Can I open the exported YouTube data in Excel or Google Sheets?

Yes. The generated CSV file is designed for spreadsheet use and can be opened in Microsoft Excel or imported into Google Sheets. Available fields can include video titles, URLs, channel details, durations, dates, and public statistics. Missing source

### Do I need a YouTube API key to export channel videos?

No. This scraper collects available metadata from public YouTube pages without requiring a YouTube API key or account login. Some information may be unavailable, and YouTube can restrict or block automated access.

## About this Actor

This example demonstrates how to use [YouTube Scraper - Videos, Shorts & Channels](https://apify.com/overbifrost/youtube-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/overbifrost/youtube-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/overbifrost/youtube-scraper.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
