# YouTube Rank Checker & Keyword Rank Tracker (`mastertools/youtube-rank-checker`) Actor

Check where your videos and channels rank in YouTube search for any keyword, country and language. Bulk rank tracking with position changes, top competitors and search suggestions for YouTube SEO and keyword research. Fast, no login.

- **URL**: https://apify.com/mastertools/youtube-rank-checker.md
- **Developed by:** [Master Tools](https://apify.com/mastertools) (community)
- **Categories:** SEO tools, Videos, Social media
- **Features:** Limited permissions, Single-tenant, Server interface
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 rank checks

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## YouTube Rank Checker & Keyword Rank Tracker

**See exactly where your videos and channels rank in YouTube search — for any keyword, in any country and language — and how every position moved since the last check.**

Paste your keywords, paste your videos or channels, press Start. In seconds you get a clean table: the position of each video for each keyword, the change since the previous run, the videos that sit on top, and what YouTube's search box suggests around the keyword. A complete YouTube SEO report from one run, with no login and no API key.

### What you get

- **Know your real position** — the typical place of your video in YouTube search for every keyword you care about, plus the best and the worst place it was seen at. Not in the top? You get a clear "not found in the top N".
- **Track rankings over time** — every run remembers the positions and shows the previous place, the change and the trend: up, down, same, entered, dropped. Put it on a schedule and you have a daily or weekly YouTube rank tracker.
- **Check many keywords and many videos at once** — one run covers every keyword × every video or channel on your list. Hundreds of checks finish in minutes.
- **Track a whole channel** — give a channel link or @handle and see its best-ranked video for the keyword plus every other place the channel holds.
- **Rankings by country and language** — 110 countries and 83 languages: see the results the way viewers in Germany, Brazil, India or Japan see them.
- **Know who you compete with** — the top videos for each keyword with title, channel, views, age and length, so you see what it takes to rank.
- **Keyword research built in** — YouTube search suggestions for every keyword and the number of results YouTube estimates for it: ready ideas for your next titles, tags and videos.
- **Positions you can trust** — YouTube shows a slightly different order to every viewer, so a single search is one viewer's snapshot. The Actor searches each keyword five times at the same moment and reports the middle place: the ranking most viewers actually get.
- **Visibility score** — the share of searches that showed your video at all. 100 means every viewer gets it; 40 means only part of the audience does.
- **Alerts without noise** — a small wobble between searches is not reported as a move. `trend` changes only when the position really shifted.
- **Shorts included when you want them** — rank regular videos among regular videos, or switch Shorts on and track them too.
- **Clean, flat data** — one row per keyword and video, the same columns every time. Ready for Google Sheets, Looker Studio, BI tools and AI agents.

### Who it is for

- **Creators and channel managers** — check whether a new title or thumbnail moved the video up, and find the keywords where you are one step from the top.
- **YouTube SEO and video marketing agencies** — rank reports for every client channel, on a schedule, straight into a spreadsheet or dashboard.
- **Brands** — watch your visibility and your competitors' for product and category searches in every market.
- **Developers and analysts** — a fast YouTube rank API for your own SEO tools, dashboards and AI agents.

### How to use

1. Press **Start** — the example input works as is and shows the result in seconds.
2. Replace the example with your **keywords** and your **videos or channels** (video links, channel links or @handles).
3. Pick the **country** and **language** of your audience.
4. Download the table as JSON, CSV or Excel, or read it through the API.
5. For rank tracking, add a **schedule** (daily or weekly): each run shows what changed since the one before.

Leave the videos and channels empty to use it as a **YouTube keyword research tool**: every keyword comes back with its top results and search suggestions.

### Input

| Field | What it does | Example |
|---|---|---|
| `keywords` | Search phrases to check, one per line | `python tutorial` |
| `targets` | Your videos and channels: video links, channel links or @handles. Empty = keyword research only | `https://www.youtube.com/@freecodecamp` |
| `country` | Country of the search results | `US` |
| `language` | Language of the viewer | `en` |
| `maxPosition` | How deep to look, 1–500 | `50` |
| `includeShorts` | Count Shorts as places in the results | `false` |
| `topResults` | How many top videos to list for each keyword, 0–50 | `5` |
| `includeSuggestions` | Add YouTube search suggestions for each keyword | `true` |
| `trackChanges` | Show the change since the previous run | `true` |
| `onlyChanges` | Keep only the positions that moved — a short list for alerts | `false` |

```json
{
  "keywords": ["python tutorial", "javascript tutorial", "sql tutorial"],
  "targets": ["https://www.youtube.com/@freecodecamp", "https://www.youtube.com/watch?v=kqtD5dpn9C8"],
  "country": "US",
  "language": "en",
  "maxPosition": 50
}
```

### Output

One row for every keyword and every video or channel:

```json
{
  "keyword": "python tutorial",
  "target": "https://www.youtube.com/@freecodecamp",
  "targetType": "channel",
  "status": "found",
  "position": 8,
  "bestPosition": 8,
  "worstPosition": 10,
  "visibility": 100,
  "previousPosition": 8,
  "change": 0,
  "trend": "same",
  "videoId": "rfscVS0vtbw",
  "videoUrl": "https://www.youtube.com/watch?v=rfscVS0vtbw",
  "title": "Learn Python - Full Course for Beginners [Tutorial]",
  "channelName": "freeCodeCamp.org",
  "channelId": "UC8butISFwT-Wl7EV0hUK0BQ",
  "channelUrl": "https://www.youtube.com/channel/UC8butISFwT-Wl7EV0hUK0BQ",
  "views": 49572132,
  "published": "8 years ago",
  "duration": "4:26:52",
  "durationSeconds": 16012,
  "isShort": false,
  "isLive": false,
  "rankedVideos": 3,
  "allPositions": [8, 13, 35],
  "topResults": [
    { "position": 1, "visibility": 100, "videoId": "kqtD5dpn9C8", "title": "Python for Beginners - Learn Coding with Python in 1 Hour", "channelName": "Programming with Mosh", "views": 25886409, "published": "6 years ago", "duration": "1:00:06", "isShort": false },
    { "position": 2, "visibility": 100, "videoId": "Ro_MScTDfU4", "title": "Learn Python in Only 30 Minutes (Beginner Tutorial)", "channelName": "Indently", "views": 1412084, "published": "1 year ago", "duration": "30:42", "isShort": false },
    { "position": 3, "visibility": 100, "videoId": "fWjsdhR3z3c", "title": "Learn Python in Less than 10 Minutes for Beginners (Fast & Easy)", "channelName": "Indently", "views": 1923091, "published": "5 years ago", "duration": "10:30", "isShort": false }
  ],
  "suggestions": ["python tutorial for beginners", "python tutorial for experienced programmers", "python tutorial bro code", "python tutorial 2025", "python tutorial 2026"],
  "estimatedResults": 10083780,
  "checkedResults": 50,
  "searches": 5,
  "country": "US",
  "language": "en",
  "checkedAt": "2026-11-11T00:31:29.954Z",
  "previousCheckedAt": "2026-11-11T00:25:38.554Z"
}
```

| Field | Meaning |
|---|---|
| `position` | Typical place in YouTube search, 1 = the top result: the middle place over five searches. Empty when most searches did not show the video in the checked results |
| `bestPosition`, `worstPosition` | The best and the worst place the video held in a single search |
| `visibility` | Percent of the searches that showed the video: 100 = every viewer gets it |
| `status` | `found`, `not_found` (not in the top N), `keyword` (no target given — top results and suggestions only) |
| `previousPosition`, `change`, `trend` | The place at the previous run, the difference (positive = up) and the trend: `new`, `up`, `down`, `same`, `entered`, `dropped`, `out` |
| `title`, `channelName`, `views`, `published`, `duration` | The video that ranks — for a channel, its best-ranked video |
| `rankedVideos`, `allPositions` | How many videos of the channel rank for the keyword and where |
| `topResults` | The videos on top for this keyword with their typical place and visibility: your competition |
| `suggestions` | What YouTube's search box suggests around the keyword |
| `estimatedResults` | How many results YouTube estimates for the keyword — a quick sign of competition |

Three ready views of the same data: **Rankings**, **Rank tracking** and **Keyword research**.

### Rank tracking on a schedule

1. Save your keywords and videos as a **task**.
2. Add a **schedule** — every day or every week.
3. Each run compares with the one before: `previousPosition`, `change` and `trend` are filled for you. `trend` says `up` or `down` only when the video left the range of places it held last time, so everyday wobble stays `same`.
4. Turn on **Only positions that changed** to get a short list of real moves, and send it to Slack, email or Google Sheets with an integration.

Each country, language and Shorts setting keeps its own history, so you can track the same keyword in several markets side by side.

### Use it with AI agents

Connect the Actor as a tool in Claude, ChatGPT, Cursor or n8n through the Apify MCP server. The input is two short lists — keywords and videos or channels — and the answer is compact, so an agent can ask "where does this video rank for these keywords in Germany?" and act on the result.

For instant answers use **Standby mode**: the Actor stays warm and replies to a plain HTTP request.

```
GET https://mastertools--youtube-rank-checker.apify.actor/?keyword=python+tutorial&target=@freecodecamp&country=US&language=en
```

Repeat `keyword=` and `target=` for several, or send the same JSON as the input with `POST /`.

### Integrations

Google Sheets, Looker Studio, Slack, Make, Zapier, n8n, webhooks and the Apify API. Export every run as JSON, CSV, Excel or HTML.

### FAQ

**How fresh is the data?** Every run checks YouTube search live.

**What exactly is a position?** The place of the video among the videos YouTube shows for the keyword, counted from the top. Playlists, channels and ads between the videos do not take a place.

**Why five searches for one keyword?** YouTube orders results a little differently for every viewer and location. Five searches at once give the place most viewers see, the range around it and a visibility score — and your rank tracking stops jumping for no reason.

**Can I track a competitor?** Yes — add their video or channel next to yours and compare the positions keyword by keyword.

**Can I check Shorts?** Yes — turn on **Include Shorts** and Shorts are ranked together with regular videos.

**How deep can it look?** Up to the top 500; YouTube itself shows about 400 results for a popular keyword. The top 50 covers what most viewers ever scroll.

**Why does my own YouTube show a slightly different order?** YouTube personalises results by your watch history and account. The Actor shows the neutral ranking signed-out viewers get for the chosen country and language — the one that matters for reaching new viewers.

**Do I need a YouTube account or API key?** No. Nothing to connect, nothing to set up.

**Need video stats, comments or transcripts too?** Our YouTube Scraper returns views, likes and subscribers for videos and channels, YouTube Comments Scraper collects comments and replies, and YouTube Transcripts turns videos into text with timestamps.

### Need data at scale?

Daily rank reports for thousands of keywords and channels, share-of-search dashboards for every market, a pipeline into your CRM, data warehouse or BI tool, or a custom scraper for another platform — we build it for you.

# Actor input Schema

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

Search phrases to check, one per line — the words your viewers type into YouTube search. Every keyword is checked for every video and channel below.

## `targets` (type: `array`):

Video links, channel links or @handles whose position you want to know. A channel gets its best-ranked video plus every other place it holds for the keyword. Leave empty to get the top results and search suggestions of each keyword — handy for keyword research.

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

Check the search results the way viewers in this country see them.

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

Interface language of the viewer. It changes which videos YouTube puts on top, so pick the language of your audience.

## `maxPosition` (type: `integer`):

How many search results to look through for each keyword. A video below this place is reported as not found. 50 covers what most viewers ever scroll; YouTube shows up to about 400 results.

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

Count Shorts as places in the results. Turn it on when you track Shorts; leave it off to rank regular videos among regular videos.

## `topResults` (type: `integer`):

How many of the best-ranked videos to list in every row: title, channel, views, age and length. This is who you compete with. 0 turns the list off.

## `includeSuggestions` (type: `boolean`):

Add what YouTube's search box suggests for each keyword — ready-made ideas for your next titles and keywords.

## `trackChanges` (type: `boolean`):

Remember every position and show how it moved since the previous run: previous position, change and trend (up, down, same, entered, dropped). Small wobble between searches does not count as a move. Put the Actor on a schedule to get a daily or weekly rank tracker.

## `onlyChanges` (type: `boolean`):

Keep only the keywords whose position really moved since the previous run — a short list ready for alerts in Slack, email or a spreadsheet. The first run lists everything.

## Actor input object example

```json
{
  "keywords": [
    "python tutorial",
    "how to tie a tie",
    "best budget phone"
  ],
  "targets": [
    "https://www.youtube.com/watch?v=rfscVS0vtbw",
    "https://www.youtube.com/@freecodecamp",
    "@programmingwithmosh"
  ],
  "country": "US",
  "language": "en",
  "maxPosition": 50,
  "includeShorts": false,
  "topResults": 5,
  "includeSuggestions": true,
  "trackChanges": true,
  "onlyChanges": false
}
```

# Actor output Schema

## `rankings` (type: `string`):

Position of every target for every keyword, with the ranked video.

## `tracking` (type: `string`):

Positions against the previous run: previous position, change and trend.

## `research` (type: `string`):

Top results and YouTube search suggestions for every keyword.

# 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 = {
    "keywords": [
        "python tutorial",
        "javascript tutorial",
        "sql tutorial"
    ],
    "targets": [
        "https://www.youtube.com/@freecodecamp",
        "https://www.youtube.com/@programmingwithmosh"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("mastertools/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 = {
    "keywords": [
        "python tutorial",
        "javascript tutorial",
        "sql tutorial",
    ],
    "targets": [
        "https://www.youtube.com/@freecodecamp",
        "https://www.youtube.com/@programmingwithmosh",
    ],
}

# Run the Actor and wait for it to finish
run = client.actor("mastertools/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 '{
  "keywords": [
    "python tutorial",
    "javascript tutorial",
    "sql tutorial"
  ],
  "targets": [
    "https://www.youtube.com/@freecodecamp",
    "https://www.youtube.com/@programmingwithmosh"
  ]
}' |
apify call mastertools/youtube-rank-checker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,mastertools/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/EMTSk5HYgR6FnUNe8/builds/4Auplm0qBzOxpb2sI/openapi.json
