# Find the most viewed Python tutorials on YouTube this month

**Use case:** 

Search YouTube for Python tutorials uploaded this month and rank them by views. Each row has the title, channel, views, upload date, duration and link. Use it to see what topics are working before you plan a video. Change the search term to research any niche.

## Input

```json
{
  "searchTerms": [
    "python tutorial"
  ],
  "maxResults": 30,
  "videoDetails": true,
  "searchType": "videos",
  "sortBy": "popularity",
  "uploadDate": "thisMonth",
  "duration": "any",
  "deepSearch": true,
  "channelTabs": [
    "videos"
  ],
  "channelSortBy": "newest",
  "includeChannelInfo": true,
  "uniqueVideos": true,
  "country": "US",
  "maxConcurrency": 16,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

## Output

```json
{
  "input": {
    "label": "Input",
    "format": "string"
  },
  "searchTerm": {
    "label": "Search term",
    "format": "string"
  },
  "rank": {
    "label": "Rank in list",
    "format": "integer"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "viewCount": {
    "label": "Views",
    "format": "integer"
  },
  "publishedTimeText": {
    "label": "Published (as shown)",
    "format": "string"
  },
  "channelName": {
    "label": "Channel",
    "format": "string"
  },
  "channelTab": {
    "label": "Channel tab",
    "format": "string"
  },
  "playlistTitle": {
    "label": "Playlist",
    "format": "string"
  },
  "url": {
    "label": "Link",
    "format": "string"
  }
}
```

## How it works

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

The YouTube Scraper: Search, Channels, Shorts & Video Details Actor is ready to run with the inputs already set for "Find the most viewed Python tutorials on YouTube this month". [Sign up or log in](https://console.apify.com/create-task-from-example/ws9ntqdsOojhmMU74) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Find the most viewed Python tutorials on YouTube this month" task

The YouTube Scraper: Search, Channels, Shorts & Video Details Actor will start running based on the input automatically. You can also change all the input fields, like search terms, max results per input, and more, to match your specific use case.

### 3. Receive the "Find the most viewed Python tutorials on YouTube this month" 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 input, search term, rank in list, 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 "Find the most viewed Python tutorials on YouTube this month" task via API](https://apify.com/panix/youtube-scraper.md).

## FAQ

### What does this task return?

It returns one row per video with title, channel, views, upload date, duration and link.

### Do I need an account or API key?

No. It reads public YouTube pages, with no account, cookies or API key.

### How do I change the example?

Edit the input fields and save the task, or call the Actor with your own input. Every field is explained in the input form.

### How much does a run cost?

You pay per result and a small start fee, with no subscription. The example run costs a few cents at most. See the Actor's pricing tab for exact prices.

## About this Actor

This example demonstrates how to use [YouTube Scraper: Search, Channels, Shorts & Video Details](https://apify.com/panix/youtube-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/panix/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/panix/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`).
