# RuTube Video Scraper (`sashaebashu/rutube-video-scraper`) Actor

Extract public video stats from RuTube: views, likes, dislikes, comments, author info, subscribers. Works from a list of video URLs.

- **URL**: https://apify.com/sashaebashu/rutube-video-scraper.md
- **Developed by:** [Sasha Ebashu](https://apify.com/sashaebashu) (community)
- **Categories:** Videos, Social media, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $15.00 / 1,000 results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).


# README

## RuTube Video Scraper

**The most complete RuTube stats scraper on Apify** — and the only one that
returns **likes _and_ dislikes** alongside views, comments, author info and
subscriber counts, all without an API key or login.

Give it a list of RuTube video links and get clean, structured data for every
video in seconds.

---

### What does RuTube Video Scraper extract?

For every RuTube video it returns the **full public stats set**:

- ▶️ **Views**
- 👍 **Likes**
- 👎 **Dislikes** — the metric other scrapers skip
- 💬 **Comments**
- 📊 **Engagement rate** (calculated)
- 👤 **Author** — name, ID, profile URL and **subscriber count**
- 🏷️ **Title, category, publish date and duration**

No headless browser is used — RuTube serves everything over plain JSON, so the
scraper is **fast, cheap and reliable**.

---

### Why this scraper?

Most RuTube tools give you a view count and stop there. RuTube Video Scraper is
built to return **everything RuTube exposes publicly in one pass**:

- ✅ Likes **and** dislikes (full reaction breakdown)
- ✅ Comment counts, including correct handling of videos with hidden comments
- ✅ Author identity and subscriber count
- ✅ Engagement rate computed for you
- ✅ Works on regular videos **and** Shorts
- ✅ No login, no token, no browser

Use it to track competitor performance, monitor channel growth, analyze viral
content, or build datasets for trend research and machine learning.

---

### How to use it

1. Click **Try for free** / **Start**
2. Paste one or multiple RuTube video links into the **RuTube Video URLs** field
3. Click **Run**
4. When the run finishes, preview or download your data from the **Output** tab
   (JSON, CSV, Excel)

Supported URL formats (query strings `?…` and anchors `#…` are ignored):

- `https://rutube.ru/video/<hash>/`
- `https://rutube.ru/shorts/<hash>/`
- `https://rutube.ru/play/embed/<id>`

where `<hash>` is a 32-character hex id.

---

### How much does it cost?

Apify gives you **$5 in free usage credits every month** on the
[free plan](https://apify.com/pricing). Because this scraper uses lightweight
HTTP requests (no browser), you can extract a large number of videos within that
free allowance. For regular, large-scale scraping the
[$49/month Starter plan](https://apify.com/pricing) is a good fit.

---

### Input parameters

| Parameter | Type | Description | Default |
| --- | --- | --- | --- |
| videoUrls | array | RuTube video URLs to scrape (plain text list) | — |
| startUrls | array | Alternative request-list of video URLs | — |
| maxItems | integer | Max videos to process in one run (1–5000) | 1000 |
| proxyConfiguration | object | Proxy settings (see note) | no proxy |

> **Proxy note.** RuTube usually works fine with direct requests, so the default
> is **no proxy**. If RuTube starts geo-blocking or rate-limiting your run,
> enable Apify Proxy and choose the **Residential** group with country **RU**.

---

### Results

One JSON object is returned per input video.

Example output:

```json
[
  {
    "inputUrl": "https://rutube.ru/video/f1b49adb6001bb7cf80551284925143b/",
    "platform": "rutube",
    "videoId": "f1b49adb6001bb7cf80551284925143b",
    "videoUrl": "https://rutube.ru/video/f1b49adb6001bb7cf80551284925143b/",
    "title": "Месяц до АДА: STARLINK больше не спасет...",
    "author": "Rogandar NEWs",
    "authorId": 23323865,
    "authorUrl": "https://rutube.ru/video/person/23323865/",
    "authorSubscribers": 152973,
    "views": 10305,
    "likes": 818,
    "dislikes": 13,
    "comments": 40,
    "reposts": null,
    "favorites": null,
    "engagementRate": 8.45,
    "category": "Новости и СМИ",
    "publishedAt": "2026-06-14T10:31:07",
    "duration": 599,
    "scrapedAt": "2026-06-14T11:37:37.157Z",
    "status": "success",
    "error": null
  }
]
````

#### Field description

| Field             | Description                                              |
| ----------------- | -------------------------------------------------------- |
| inputUrl          | Original RuTube video URL provided as input              |
| platform          | Always `"rutube"`                                        |
| videoId           | RuTube video id (32-hex hash)                            |
| videoUrl          | Canonical video page URL                                 |
| title             | Video title                                              |
| author            | Channel / author name                                    |
| authorId          | Author account id                                        |
| authorUrl         | Link to the author page                                  |
| authorSubscribers | Author subscriber count                                  |
| views             | View count                                               |
| likes             | Like count                                               |
| dislikes          | Dislike count                                            |
| comments          | Comment count                                            |
| reposts           | Not exposed publicly by RuTube → always `null`           |
| favorites         | Not exposed publicly by RuTube → always `null`           |
| engagementRate    | (likes + dislikes + comments) / views × 100              |
| category          | Video category name                                      |
| publishedAt       | Publish timestamp                                        |
| duration          | Duration in seconds                                      |
| scrapedAt         | Timestamp of when the data was collected                 |
| status            | `success`, `unavailable` or `failed`                     |
| error             | Reason string when not successful, otherwise `null`      |

#### Special cases

- **Hidden comments** (`hide_comments` / "Комментарии скрыты") → `comments: null`.
- **Hidden likes/dislikes** (`hide_likes` / `hide_dislikes`) → that field is `null`.
- **Deleted / private / unavailable video** → `status: "unavailable"`,
  `error: "likely_deleted"`, metrics `null`.
- **Unrecognised URL** → `status: "failed"`, `error: "invalid_url"`.

> **Billing:** unavailable/failed items go to a separate **ERRORS** dataset
> (Storage → Datasets → ERRORS), not the main output — so you are not charged for
> deleted/private/invalid URLs.

***

### Tips

- Paste many URLs at once for bulk scraping.
- Both regular videos and `/shorts/` links are supported.
- No API keys or authentication are required.
- Engagement rate is calculated automatically from the metrics.
- `reposts` and `favorites` are always `null` because RuTube does not expose
  shares or saves publicly.

***

### Is it legal to scrape RuTube?

Only public data is collected. Personal data is protected by various regulations
worldwide — do not scrape personal data without a legitimate reason. If you are
unsure whether your use case is legitimate, consult your legal advisors.

# Actor input Schema

## `videoUrls` (type: `array`):

List of RuTube video links. Supported formats: https://rutube.ru/video/<hash>/, https://rutube.ru/shorts/<hash>/, https://rutube.ru/play/embed/<id>. Query strings and anchors are ignored.

## `startUrls` (type: `array`):

Alternative way to provide video URLs using the request-list editor. Combined with the field above.

## `maxItems` (type: `integer`):

Maximum number of videos to process in a single run. Helps control cost and run time.

## `proxyConfiguration` (type: `object`):

Proxy settings. RuTube usually works fine with direct requests, so the default is no proxy. If RuTube starts geo-blocking or rate-limiting your run, enable Apify Proxy and pick the Residential group with country RU.

## Actor input object example

```json
{
  "videoUrls": [
    "https://rutube.ru/video/f1b49adb6001bb7cf80551284925143b/"
  ],
  "maxItems": 1000,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

No description

## `details` (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 = {
    "videoUrls": [
        "https://rutube.ru/video/f1b49adb6001bb7cf80551284925143b/"
    ],
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("sashaebashu/rutube-video-scraper").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 = {
    "videoUrls": ["https://rutube.ru/video/f1b49adb6001bb7cf80551284925143b/"],
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("sashaebashu/rutube-video-scraper").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "videoUrls": [
    "https://rutube.ru/video/f1b49adb6001bb7cf80551284925143b/"
  ],
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call sashaebashu/rutube-video-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=sashaebashu/rutube-video-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "RuTube Video Scraper",
        "description": "Extract public video stats from RuTube: views, likes, dislikes, comments, author info, subscribers. Works from a list of video URLs.",
        "version": "1.0",
        "x-build-id": "3KdYGwrdz1JhIJmoB"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/sashaebashu~rutube-video-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-sashaebashu-rutube-video-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/sashaebashu~rutube-video-scraper/runs": {
            "post": {
                "operationId": "runs-sync-sashaebashu-rutube-video-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/sashaebashu~rutube-video-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-sashaebashu-rutube-video-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "properties": {
                    "videoUrls": {
                        "title": "RuTube Video URLs",
                        "type": "array",
                        "description": "List of RuTube video links. Supported formats: https://rutube.ru/video/<hash>/, https://rutube.ru/shorts/<hash>/, https://rutube.ru/play/embed/<id>. Query strings and anchors are ignored.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "startUrls": {
                        "title": "RuTube Video URLs (request list)",
                        "type": "array",
                        "description": "Alternative way to provide video URLs using the request-list editor. Combined with the field above.",
                        "items": {
                            "type": "object",
                            "required": [
                                "url"
                            ],
                            "properties": {
                                "url": {
                                    "type": "string",
                                    "title": "URL of a web page",
                                    "format": "uri"
                                }
                            }
                        }
                    },
                    "maxItems": {
                        "title": "Max Videos",
                        "minimum": 1,
                        "maximum": 5000,
                        "type": "integer",
                        "description": "Maximum number of videos to process in a single run. Helps control cost and run time.",
                        "default": 1000
                    },
                    "proxyConfiguration": {
                        "title": "Proxy Configuration",
                        "type": "object",
                        "description": "Proxy settings. RuTube usually works fine with direct requests, so the default is no proxy. If RuTube starts geo-blocking or rate-limiting your run, enable Apify Proxy and pick the Residential group with country RU.",
                        "default": {
                            "useApifyProxy": false
                        }
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
