# Youtube Rank Checker (`maximedupre/youtube-rank-checker`) Actor

Find where your YouTube video ranks in search for each keyword, country, and language. Get its position and the videos ranked above it, with channel, views, upload date, and length.

- **URL**: https://apify.com/maximedupre/youtube-rank-checker.md
- **Developed by:** [Maxime Dupré](https://apify.com/maximedupre) (community)
- **Categories:** SEO tools, Videos, Social media
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$10.00 / 1,000 keyword checks

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

### 📈 See where your YouTube video ranks for each keyword

This YouTube video rank checker is for creators, marketers, and SEO teams who want to know where a video shows up in YouTube search. Give it one video link and a list of keywords. For each keyword, you get the video's position and the videos ranked above it, with channel, views, upload date, and length. You can pick the country, the language, how deep to look, and whether Shorts count.

- Check where your new upload ranks for its main keywords a few days after you publish it.
- Track a video's YouTube video ranking over time by running the same keywords on a schedule.
- Compare your rank for one keyword across countries, such as the US, the UK, and Germany.
- Study the videos that beat yours for a keyword, with their channels, views, and upload dates.
- Test which title or tag words your video already ranks for before you change its metadata.

#### 🎯 What data you get for each keyword

Each keyword gives one row in your dataset. The row has:

- The keyword that was searched on YouTube.
- Your video's rank, a position that starts at 1. It is left out when your video is not in the checked results.
- Every video ranked above yours, in search order, with its title, link, channel name, channel link, view count, upload date, and length in seconds.

When your video is not found, the row lists all the checked results instead. This shows you who holds the top spots for that keyword.

#### 🚀 How to check your video's YouTube rank

1. Paste the link of your YouTube video. Links like `youtube.com/watch?v=...`, `youtu.be/...`, and `youtube.com/shorts/...` work.
2. Add one or more keywords. Each keyword is searched as one full phrase.
3. Pick a country and a language, or keep the defaults (US and English).
4. Set how many search results to check. The default is 100.
5. Start the run. Open the dataset to see one row for each keyword.

#### ⚙️ Input

**Input fields**

| Field | Type | What it does |
| --- | --- | --- |
| `videoUrl` | string | Required. The link of the YouTube video to find. Watch, youtu.be, Shorts, embed, and live links work. A link that is not a video link, such as a channel link, stops the run with a message and no charge. |
| `keywords` | array of strings | Required. The YouTube search terms to check. Each keyword is searched as one full phrase. Blank and repeated keywords are skipped. |
| `country` | string | The country whose YouTube search results are checked. Pick one from the list or type any two-letter country code, such as US or DE. The default is `US`. |
| `language` | string | The language of the YouTube search results, such as `en` or `de`. It also changes the language of the upload date text. The default is `en`. |
| `maxResults` | integer | How many search results to check for each keyword. It must be 1 or more. The default is `100`. If your video is not in these results, the row reports it as not found. |
| `includeShorts` | boolean | When on, Shorts in the search results count toward positions. When off, Shorts are skipped and not counted. The default is `true`. |

The form is prefilled with a sample video and the keyword `me at the zoo` so you can try it fast. These prefills are only examples. If you call the Actor by API, you must send `videoUrl` and `keywords` yourself.

**Example input**

```json
{
  "videoUrl": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
  "keywords": [
    "me at the zoo"
  ],
  "country": "US",
  "language": "en",
  "maxResults": 100,
  "includeShorts": true
}
```

#### 🧾 Output

**Output fields**

| Field | Type | What it does |
| --- | --- | --- |
| `keyword` | string | The keyword you gave that was searched on YouTube. |
| `rank` | integer | The position of your video in the YouTube search results for this keyword. It is left out when your video is not in the checked results. |
| `videosAbove` | array of objects | The videos ranked above your video, in search order. When your video is not found, this lists all checked results. |
| `videosAbove.title` | string | The title of the video. |
| `videosAbove.url` | string | The link to the video on YouTube. |
| `videosAbove.channelName` | string | The name of the channel that posted the video. |
| `videosAbove.channelUrl` | string | The link to the channel on YouTube. |
| `videosAbove.viewCount` | integer | The number of views the video has. It is left out for live streams and upcoming premieres. |
| `videosAbove.uploadDate` | string | When the video was uploaded, as YouTube shows it, such as `2y ago`. It is left out for live streams. |
| `videosAbove.durationSeconds` | integer | How long the video is, in seconds. It is left out for live streams. |

**Example row**

This is a real row for the keyword `python tutorial` in the US, where the video ranked 18th.

```json
{
  "keyword": "python tutorial",
  "rank": 18,
  "videosAbove": [
    {
      "title": "Python Full Course for free 🐍",
      "url": "https://www.youtube.com/watch?v=ix9cRaBkVe0",
      "channelName": "Bro Code",
      "channelUrl": "https://www.youtube.com/@BroCodez",
      "viewCount": 13448010,
      "uploadDate": "2y ago",
      "durationSeconds": 43200
    },
    {
      "title": "Python for Beginners - Learn Coding with Python in 1 Hour",
      "url": "https://www.youtube.com/watch?v=kqtD5dpn9C8",
      "channelName": "Programming with Mosh",
      "channelUrl": "https://www.youtube.com/@programmingwithmosh",
      "viewCount": 25896625,
      "uploadDate": "6y ago",
      "durationSeconds": 3606
    },
    {
      "title": "Python Full Course for Beginners",
      "url": "https://www.youtube.com/watch?v=_uQrJ0TkZlc",
      "channelName": "Programming with Mosh",
      "channelUrl": "https://www.youtube.com/@programmingwithmosh",
      "viewCount": 49588727,
      "uploadDate": "7y ago",
      "durationSeconds": 22447
    },
    {
      "title": "Learn Python in Less than 10 Minutes for Beginners (Fast & Easy)",
      "url": "https://www.youtube.com/watch?v=fWjsdhR3z3c",
      "channelName": "Indently",
      "channelUrl": "https://www.youtube.com/@Indently",
      "viewCount": 1926607,
      "uploadDate": "5y ago",
      "durationSeconds": 630
    },
    {
      "title": "Python Tutorial for Beginners - Learn the basics in 20 Min",
      "url": "https://www.youtube.com/watch?v=Js05B8Z1ivE",
      "channelName": "Tech With Tim",
      "channelUrl": "https://www.youtube.com/@TechWithTim",
      "viewCount": 103277,
      "uploadDate": "3mo ago",
      "durationSeconds": 1179
    },
    {
      "title": "Python Full Course for Beginners",
      "url": "https://www.youtube.com/watch?v=K5KVEU3aaeQ",
      "channelName": "Programming with Mosh",
      "channelUrl": "https://www.youtube.com/@programmingwithmosh",
      "viewCount": 8124680,
      "uploadDate": "1y ago",
      "durationSeconds": 7341
    },
    {
      "title": "Python Tutorial for Beginners - Learn Python in 5 Hours [FULL COURSE]",
      "url": "https://www.youtube.com/watch?v=t8pPdKYpowI",
      "channelName": "TechWorld with Nana",
      "channelUrl": "https://www.youtube.com/@TechWorldwithNana",
      "viewCount": 6933100,
      "uploadDate": "5y ago",
      "durationSeconds": 19890
    },
    {
      "title": "👩‍💻 Python for Beginners Tutorial",
      "url": "https://www.youtube.com/watch?v=b093aqAZiPU",
      "channelName": "Kevin Stratvert",
      "channelUrl": "https://www.youtube.com/@KevinStratvert",
      "viewCount": 4675757,
      "uploadDate": "5y ago",
      "durationSeconds": 3801
    },
    {
      "title": "Learn Python - Full Course for Beginners [Tutorial]",
      "url": "https://www.youtube.com/watch?v=rfscVS0vtbw",
      "channelName": "freeCodeCamp.org",
      "channelUrl": "https://www.youtube.com/@freecodecamp",
      "viewCount": 49576579,
      "uploadDate": "8y ago",
      "durationSeconds": 16012
    },
    {
      "title": "Learn Python in Only 30 Minutes (Beginner Tutorial)",
      "url": "https://www.youtube.com/watch?v=Ro_MScTDfU4",
      "channelName": "Indently",
      "channelUrl": "https://www.youtube.com/@Indently",
      "viewCount": 1417641,
      "uploadDate": "1y ago",
      "durationSeconds": 1842
    },
    {
      "title": "Python Tutorial for AI: Everything You Need in 2 Hours",
      "url": "https://www.youtube.com/watch?v=6GuyMZ-cSzE",
      "channelName": "codebasics",
      "channelUrl": "https://www.youtube.com/@codebasics",
      "viewCount": 340168,
      "uploadDate": "4mo ago",
      "durationSeconds": 7373
    },
    {
      "title": "Learn Python for Beginners - Visually Explained",
      "url": "https://www.youtube.com/watch?v=VKMMqojw9OY",
      "channelName": "Visually Explained",
      "channelUrl": "https://www.youtube.com/@VisuallyExplainedEducation",
      "viewCount": 216178,
      "uploadDate": "2mo ago",
      "durationSeconds": 14073
    },
    {
      "title": "Python Full Course for Beginners (13 Hours) – From Zero to Hero",
      "url": "https://www.youtube.com/watch?v=Rq5gJVxz55Q",
      "channelName": "Data with Baraa",
      "channelUrl": "https://www.youtube.com/@DataWithBaraa",
      "viewCount": 1661794,
      "uploadDate": "8 months ago",
      "durationSeconds": 46973
    },
    {
      "title": "Python Tutorial for Beginners (with mini-projects)",
      "url": "https://www.youtube.com/watch?v=qwAFL1597eM",
      "channelName": "freeCodeCamp.org",
      "channelUrl": "https://www.youtube.com/@freecodecamp",
      "viewCount": 1130204,
      "uploadDate": "3 years ago",
      "durationSeconds": 31314
    },
    {
      "title": "Python Basics: Your FIRST Program in Under a Minute! 🚀",
      "url": "https://www.youtube.com/watch?v=nluUYtejoIE",
      "channelName": "The Programmers Realm",
      "channelUrl": "https://www.youtube.com/@ProgrammersRealm",
      "viewCount": 1811014,
      "uploadDate": "2 years ago",
      "durationSeconds": 25
    },
    {
      "title": "I learned python so I can do this...",
      "url": "https://www.youtube.com/watch?v=l5MlhRSpfSI",
      "channelName": "Code with Vincent",
      "channelUrl": "https://www.youtube.com/@CodewithVincent",
      "viewCount": 4340656,
      "uploadDate": "3 years ago",
      "durationSeconds": 13
    },
    {
      "title": "Python OOP Tutorial 1: Classes and Instances",
      "url": "https://www.youtube.com/watch?v=ZDa-Z5JzLYM",
      "channelName": "Corey Schafer",
      "channelUrl": "https://www.youtube.com/@coreyms",
      "viewCount": 5115759,
      "uploadDate": "10 years ago",
      "durationSeconds": 924
    }
  ]
}
```

#### 💳 Pricing

This Actor uses pay-per-event pricing. You pay **$0.01 for each keyword checked**. A keyword is charged when its row is saved to your dataset. This includes a row where your video was not found in the checked results, because you still get the list of videos that hold those spots.

You are not charged when:

- The input is not valid, such as a missing keyword or a link that is not a video. The run stops with a message.
- A keyword could not be checked on YouTube and no row was saved for it.

If you set a spending limit for the run, the Actor stops checking new keywords when the limit is reached.

#### 🔌 Integrations

You can use this Actor with the Apify API, webhooks, schedules, and integrations such as Make, Zapier, Google Sheets, and Slack. A schedule is a simple way to build a video rank tracker: run the same keywords every day or week and compare the ranks.

https://www.youtube.com/watch?v=bNACk1_S_6w\&list=PLObrtcm1Kw6MUrlLNDbK9QRg8VDJg0gOW\&index=4

#### ❓ FAQ

##### Why can my rank differ from what I see on YouTube?

YouTube search order can change between visitors. Each check uses a fresh visitor with no login and no watch history, in the country and language you pick. Positions near the top are usually stable. Lower positions can move between runs, and your own logged-in results can be different.

##### What happens when my video is not in the results?

The row has no `rank` field. The `videosAbove` list holds all the checked results, up to your `maxResults` value. You can raise `maxResults` to look deeper.

##### Can a search have fewer results than my maxResults value?

Yes. Some keywords have only a few results. The Actor stops when YouTube has no more results to show, and the row lists what was found.

##### Do Shorts count toward my rank?

By default, yes. Turn off `includeShorts` to skip Shorts and count only regular videos. Shorts shelves in the search page are never counted as positions.

##### Can I check several keywords in one run?

Yes. Add as many keywords as you want to `keywords`. Each one gives its own row and its own charge.

##### Can I check the rank of a Short?

Yes. Paste the Shorts link as `videoUrl` and keep `includeShorts` on, so Shorts count as positions.

##### Can I check more than one video at a time?

No. Each run checks one video. Start another run, or use a schedule, for each other video.

##### Is this YouTube keyword rank checker free?

No. Each keyword checked costs $0.01, as shown in Pricing. You do not need a YouTube account, a login, or an API key.

##### Does it check Google search ranks too?

No. It checks YouTube search only. For Google search ranks, see Google Rank Tracking in the related Actors below.

### 📝 Changelog

**v0.0** (12-11-2026)

- Initial release.

### 🆘 Support

For issues, questions, or feature requests, [file a ticket](https://console.apify.com/actors/maximedupre~youtube-rank-checker/issues) and I'll fix or implement it in less than 24h 🫡

### 🔗 Related Actors

- [Youtube Keywords Discovery Tool](https://apify.com/maximedupre/youtube-keywords-discovery-tool): find new YouTube keywords to check your video's rank for.
- [YouTube Tags Extractor](https://apify.com/maximedupre/youtube-tags-extractor): see the tags that the videos ranked above yours use.
- [YouTube Channel Search Scraper](https://apify.com/maximedupre/youtube-channel-search-scraper): find the channels that show up in YouTube search for a keyword.
- [YouTube Trending Videos Scraper](https://apify.com/maximedupre/youtube-trending-videos-scraper): see which videos trend on YouTube in each country.
- [Google Rank Tracking](https://apify.com/maximedupre/google-rank-tracking): track where your pages rank in Google search for your keywords.

**Made with ❤️ by Maxime Dupré**

# Actor input Schema

## `videoUrl` (type: `string`):

The link of the YouTube video to find, such as https://www.youtube.com/watch?v=... or https://youtu.be/...

## `keywords` (type: `array`):

The YouTube search terms to check. Each keyword is searched as one full phrase.

## `country` (type: `string`):

The country whose YouTube search results are checked. Pick one from the list or type a two-letter country code, such as US or DE.

## `language` (type: `string`):

The language of the YouTube search results. Pick one from the list or type a language code, such as en or de.

## `maxResults` (type: `integer`):

How many YouTube search results to check for the video for each keyword. If the video is not in these results, it is reported as not found.

## `includeShorts` (type: `boolean`):

When on, YouTube Shorts in the search results count toward positions. When off, Shorts are skipped.

## Actor input object example

```json
{
  "videoUrl": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
  "keywords": [
    "me at the zoo"
  ],
  "country": "US",
  "language": "en",
  "maxResults": 100,
  "includeShorts": true
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "videoUrl": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
    "keywords": [
        "me at the zoo"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("maximedupre/youtube-rank-checker").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "videoUrl": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
    "keywords": ["me at the zoo"],
}

# Run the Actor and wait for it to finish
run = client.actor("maximedupre/youtube-rank-checker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "videoUrl": "https://www.youtube.com/watch?v=jNQXAC9IVRw",
  "keywords": [
    "me at the zoo"
  ]
}' |
apify call maximedupre/youtube-rank-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,maximedupre/youtube-rank-checker"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/2zAfjRiPLIE8Fvnkh/builds/ezMqYcTz2URNFzpic/openapi.json
