# Export a YouTube channel's oldest videos

**Use case:** 

List the oldest videos from a channel using YouTube's own Oldest tab chip, where available. Includes exact dates and views.

## Input

```json
{
  "urls": [
    "@mkbhd"
  ],
  "contentTypes": [
    "videos"
  ],
  "proxy": {
    "useApifyProxy": true
  },
  "searchQueries": [
    "ai agents",
    "n8n tutorial"
  ],
  "features": [],
  "searchSort": "relevance",
  "searchCountry": "US",
  "searchLanguage": "en",
  "sortBy": "oldest",
  "publishedAfter": "2026-01-01",
  "publishedBefore": "2026-01-01",
  "newerThan": "7 days",
  "exactDetails": true,
  "includeVideoDetails": false,
  "includeChannelInfo": false,
  "includeTranscript": false,
  "transcriptLanguage": "en",
  "commentsSort": "top",
  "includeReplies": false,
  "maxResults": 50,
  "maxComments": 0,
  "onlyNewVideos": false
}
```

## Output

```json
{
  "type": {
    "label": "Type",
    "format": "string"
  },
  "thumbnailUrl": {
    "label": "Thumbnail",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "url": {
    "label": "Video",
    "format": "string"
  },
  "channelName": {
    "label": "Channel",
    "format": "string"
  },
  "viewCount": {
    "label": "Views",
    "format": "integer"
  },
  "publishedAt": {
    "label": "Published",
    "format": "string"
  },
  "durationSeconds": {
    "label": "Seconds",
    "format": "integer"
  },
  "likeCount": {
    "label": "Likes",
    "format": "integer"
  },
  "commentCount": {
    "label": "Comments",
    "format": "integer"
  },
  "input": {
    "label": "Source",
    "format": "string"
  }
}
```

## How it works

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

The YouTube Channel & Video Scraper · $0.30/1K Actor is ready to run with the inputs already set for "Export a YouTube channel's oldest videos". [Sign up or log in](https://console.apify.com/create-task-from-example/MUEYmnAHn0lDrSeCd) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Export a YouTube channel's oldest videos" task

The YouTube Channel & Video Scraper · $0.30/1K Actor will start running based on the input automatically. You can also change all the input fields, like channels, playlists or videos, channel content, and more, to match your specific use case.

### 3. Receive the "Export a YouTube channel's oldest videos" 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 type, thumbnail, 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 a YouTube channel's oldest videos" task via API](https://apify.com/sones/youtube-scraper-lowcost.md).

## FAQ

### How do I use this saved input?

Duplicate the task, replace its example channel, video or search query, and run it. You can schedule it or call it through the Apify API.

### What does this task cost?

Each exported row uses the Actor's base item price. Requested successful add-ons use their listed prices after the launch period. This task has a $0.50 spending limit.

### What happens when a video is unavailable?

Private, removed and missing videos produce no dataset item or add-on charge. The run summary explains the outcome. The run start fee still applies.

## About this Actor

This example demonstrates how to use [YouTube Channel & Video Scraper · $0.30/1K](https://apify.com/sones/youtube-scraper-lowcost.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/sones/youtube-scraper-lowcost.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/sones/youtube-scraper-lowcost.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`).
