# Example: latest videos of the TED channel

**Use case:** 

Runs the YouTube Channel Scraper on the TED channel: its 50 newest videos with titles, views, durations and dates, plus a free channel row with subscribers.

## Input

```json
{
  "urls": [
    "https://www.youtube.com/@TED"
  ],
  "tabs": [
    "videos"
  ],
  "sortBy": "newest",
  "maxVideosPerSource": 50,
  "onlyNew": false,
  "includeDetails": false,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "type": {
    "label": "Row type",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "channelName": {
    "label": "Channel name",
    "format": "string"
  },
  "url": {
    "label": "URL",
    "format": "string"
  },
  "tab": {
    "label": "Channel tab",
    "format": "string"
  },
  "viewCount": {
    "label": "Views",
    "format": "number"
  },
  "durationText": {
    "label": "Duration as shown",
    "format": "string"
  },
  "publishedTimeText": {
    "label": "Published as shown",
    "format": "string"
  },
  "publishedAt": {
    "label": "Published at",
    "format": "string"
  },
  "subscriberCount": {
    "label": "Subscribers",
    "format": "number"
  },
  "videoCount": {
    "label": "Videos on the channel",
    "format": "number"
  },
  "error": {
    "label": "Error",
    "format": "string"
  }
}
```

## How it works

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

The YouTube Channel Scraper: Videos, Shorts, Live, $1.15/1K Videos Actor is ready to run with the inputs already set for "Example: latest videos of the TED channel". [Sign up or log in](https://console.apify.com/create-task-from-example/JG7HczSykeWBPMbRY) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Example: latest videos of the TED channel" task

The YouTube Channel Scraper: Videos, Shorts, Live, $1.15/1K Videos Actor will start running based on the input automatically. You can also change all the input fields, like youtube channel, handle or playlist urls, channel tabs, and more, to match your specific use case.

### 3. Receive the "Example: latest videos of the TED channel" 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 row type, title, channel name, 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 "Example: latest videos of the TED channel" task via API](https://apify.com/actorforgehq/youtube-channel-scraper.md).

## FAQ

### What does one output row of the TED channel videos example task contain?

The TED channel videos example task returns one row per video with title, url, viewCount, durationSeconds, publishedAt, thumbnailUrl and the channel, plus one free channel row with subscribers, video count and total views.

### What input does the TED channel videos example task use and how do I change it?

The TED channel videos example task takes the TED channel link, the Videos tab, newest first and 50 videos. Replace urls with other channels or playlists, add the shorts or live tabs, set sortBy to popular or oldest, change the limit.

### Does the TED channel videos example task need a YouTube account or API key?

The TED channel videos example task needs no YouTube account, cookies or API key. The YouTube Channel Scraper reads only what YouTube shows publicly to any visitor and never signs in.

### Are views and dates exact in the TED channel videos example task?

The channel list shows rounded views (34K views) and relative dates (17 hours ago), so the TED channel videos example task marks publishedAt as approximate. Turn on includeDetails for exact views and dates.

### Can the TED channel videos example task get Shorts and live streams?

Yes. Add shorts and live to tabs in the TED channel videos example task. Shorts show no date or duration in the list, so for those two fields turn on includeDetails.

### How do I run the TED channel videos example task on a schedule to get only new videos?

Run the TED channel videos example task on Apify Schedules with Only new since last run on. Each run reads the Videos tab only until the first video you already have. The Apify API and the Apify MCP server can start it too.

### How many videos can the TED channel videos example task get from one channel?

The TED channel videos example task can take up to 10,000 videos per channel tab or playlist. In our tests one tab gave 6,000 videos without reaching the end.

## About this Actor

This example demonstrates how to use [YouTube Channel Scraper: Videos, Shorts, Live, $1.15/1K Videos](https://apify.com/actorforgehq/youtube-channel-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/actorforgehq/youtube-channel-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/actorforgehq/youtube-channel-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`).
