# Find YouTube Shorts for a keyword

**Use case:** 

See which YouTube Shorts rank for a topic with this ready-made YouTube Shorts Scraper task: Shorts matching your keyword with views, likes, channel, duration and date. Change the keyword or scrape a channel's Shorts tab instead. No YouTube API key or login. You pay $1.13 per 1,000 Shorts.

## Input

```json
{
  "startUrls": [
    "https://www.youtube.com/@NASA"
  ],
  "maxShortsPerChannel": 5,
  "channelSortBy": "newest",
  "searchQueries": [
    "pasta recipe"
  ],
  "maxResultsPerQuery": 50,
  "uploadDate": "any",
  "sortBy": "relevance",
  "searchType": "shorts",
  "maxVideosPerChannel": 0,
  "maxStreamsPerChannel": 0,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "maxConcurrency": 20
}
```

## Output

```json
{
  "thumbnail": {
    "label": "Thumbnail",
    "format": "string"
  },
  "title": {
    "label": "Title",
    "format": "string"
  },
  "url": {
    "label": "URL",
    "format": "string"
  },
  "viewCount": {
    "label": "Views",
    "format": "integer"
  },
  "likeCount": {
    "label": "Likes",
    "format": "integer"
  },
  "commentCount": {
    "label": "Comments",
    "format": "integer"
  },
  "publishedAt": {
    "label": "Published",
    "format": "string"
  },
  "duration": {
    "label": "Duration",
    "format": "string"
  },
  "videoType": {
    "label": "Video type",
    "format": "string"
  },
  "channelName": {
    "label": "Channel",
    "format": "string"
  },
  "channelUrl": {
    "label": "Channel URL",
    "format": "string"
  },
  "channelSubscriberCount": {
    "label": "Subscribers",
    "format": "integer"
  },
  "category": {
    "label": "Category",
    "format": "string"
  },
  "tags": {
    "label": "Tags",
    "format": "array"
  },
  "dataType": {
    "label": "Type",
    "format": "string"
  },
  "id": {
    "label": "ID",
    "format": "string"
  },
  "searchQuery": {
    "label": "Search term",
    "format": "string"
  },
  "position": {
    "label": "Rank",
    "format": "integer"
  }
}
```

## How it works

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

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

### 2. Start the "Find YouTube Shorts for a keyword" task

The YouTube Shorts Scraper - Shorts, Views, Likes & Search Actor will start running based on the input automatically. You can also change all the input fields, like channels, max shorts per channel, and more, to match your specific use case.

### 3. Receive the "Find YouTube Shorts for a keyword" 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 thumbnail, title, URL, 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 YouTube Shorts for a keyword" task via API](https://apify.com/socialscrapers/youtube-shorts-scraper.md).

## FAQ

### What does the YouTube Shorts search task return?

The YouTube Shorts search task returns up to 50 Shorts for the keyword with views, likes, channel, duration and date.

### Do I need a YouTube account for the YouTube Shorts search task?

No. The YouTube Shorts search task reads public YouTube pages without a login, cookies or an API key.

### How much does the YouTube Shorts search task cost?

The YouTube Shorts search task costs $1.13 per 1,000 Shorts, and only for results saved. Apify Silver and Gold plans pay 10% and 20% less.

## About this Actor

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