# YouTube Programming Video Rankings

**Use case:** 

Find ranked YouTube videos and Shorts tagged with programming for developer educators and technical content teams. Results include each video's position, title, channel name, view count, and Shorts status. Set the hashtag, result limit, and content type to shape the results.

## Input

```json
{
  "hashtags": [
    "programming"
  ],
  "maxResultsPerHashtag": 50,
  "contentType": "videos",
  "market": "US",
  "language": "auto",
  "includeVideoDetails": false,
  "sortBy": "default"
}
```

## Output

```json
{
  "hashtag": {
    "label": "Hashtag",
    "format": "text"
  },
  "position": {
    "label": "Position",
    "format": "number"
  },
  "type": {
    "label": "Type",
    "format": "text"
  },
  "videoId": {
    "label": "Video ID",
    "format": "text"
  },
  "title": {
    "label": "Title",
    "format": "text"
  },
  "url": {
    "label": "URL",
    "format": "link"
  },
  "channelName": {
    "label": "Channel",
    "format": "text"
  },
  "viewCount": {
    "label": "Views",
    "format": "number"
  },
  "publishedAt": {
    "label": "Published",
    "format": "text"
  }
}
```

## How it works

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

The YouTube Hashtag Video & Shorts Ranking Scraper Actor is ready to run with the inputs already set for "YouTube Programming Video Rankings". [Sign up or log in](https://console.apify.com/create-task-from-example/KadF2B3bWObYO4DVE) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "YouTube Programming Video Rankings" task

The YouTube Hashtag Video & Shorts Ranking Scraper Actor will start running based on the input automatically. You can also change all the input fields, like hashtags, max results per hashtag, and more, to match your specific use case.

### 3. Receive the "YouTube Programming Video Rankings" 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 hashtag, position, type, 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 "YouTube Programming Video Rankings" task via API](https://apify.com/dataspryva/youtube-hashtag-video-and-shorts-ranking-scraper.md).

## FAQ

### How do I find YouTube programming videos ranked by views?

The YouTube programming videos task returns ranked videos and Shorts tagged programming, with each result’s position, title, channel, view count, and Short status.

### What does YouTube programming video data include?

Each result in the YouTube programming videos task includes a video URL and its position, title, channel name, displayed view count, and whether it is a Short.

### How many programming videos can I get from YouTube in one run?

One run of the YouTube programming videos task is set to return up to 50 results for programming, limited by how many videos the hashtag page ranks.

### Can I choose whether YouTube programming results include Shorts?

The YouTube programming videos task is set to include both regular videos and Shorts; the content type can be changed when running it from your account.

### What hashtag does the YouTube programming video search use?

Results come from the programming hashtag in the YouTube programming videos task; hashtags can be entered with or without the # prefix.

### How much does it cost to get 50 YouTube programming results?

For the YouTube programming videos task, the Free plan charges $0.10 per start event and $0.99 per 1,000 results, plus Apify compute usage.

### Do I need a YouTube login or API key to see programming hashtag rankings?

Public YouTube hashtag pages need no login or cookies for the YouTube programming videos task, and it does not require a YouTube API key.

### Can I download the YouTube programming hashtag results?

Results from the YouTube programming videos task land in a dataset that can be downloaded as JSON, CSV, Excel, XML, RSS, or an HTML table.

### Can I monitor YouTube programming hashtag rankings every week?

You can schedule the YouTube programming videos task with Apify Schedules to check programming hashtag rankings on a recurring basis.

### Can I run YouTube programming hashtag rankings through an API?

The YouTube programming videos task can be run through the Apify API, and its results can be read through that API.

## About this Actor

This example demonstrates how to use [YouTube Hashtag Video & Shorts Ranking Scraper](https://apify.com/dataspryva/youtube-hashtag-video-and-shorts-ranking-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/dataspryva/youtube-hashtag-video-and-shorts-ranking-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/dataspryva/youtube-hashtag-video-and-shorts-ranking-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`).
