# OK.ru Video Scraper 🟠🎥 (`scrapestorm/ok-ru-video-scraper`) Actor

Scrape OK.ru videos using a keyword 🔑 to discover relevant content. Collect valuable data like video titles 🎥 views 👀 likes 👍 duration ⏱️ & upload time 📅 Improve your content research with real OK video data 🚀 Great for trend analysis, marketing insights, and reaching the OK.ru video audience

- **URL**: https://apify.com/scrapestorm/ok-ru-video-scraper.md
- **Developed by:** [Storm_Scraper](https://apify.com/scrapestorm) (community)
- **Categories:** Videos, Social media, Automation
- **Stats:** 8 total users, 0 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.00005 / actor start

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

### 🟠 OK.ru Video Scraper - Extract Videos by Keyword 🎬 / OK.ru Видео Скрейпер - Извлечение видео по ключевому слову 🎯

The OK.ru Video Scraper is a powerful tool designed to extract public video data from Odnoklassniki (OK.ru) based on a specific keyword. Just enter your keyword, and the scraper will retrieve:

| 🏷️ **Field**                | 🇬🇧 **English**          | 🇷🇺 **Русский**                             |
| ---------------------------- | ------------------------- | -------------------------------------------- |
| 🎥 `title`                   | Video Title               | Название видео                               |
| 🌐 `url`                     | Video URL                 | Ссылка на видео                              |
| 📝 `description`             | Description               | Описание                                     |
| 🖼️ `poster`                 | Poster Image              | Постер                                       |
| ⏱️ `duration`, `duration_ms` | Duration (min/sec and ms) | Длительность (в мин/сек и мс)                |
| 👀 `views`, `daily_views`    | Views & Daily Views       | Количество просмотров и ежедневные просмотры |
| 👍 `likes`                   | Likes                     | Лайки                                        |
| 📅 `created_timestamp`       | Upload Timestamp          | Дата публикации                              |
| 📡 `provider`                | Provider                  | Источник                                     |
| 📏 `width`, `height`         | Width & Height            | Размер видео                                 |
| ⛔ `blocked`                  | Blocked                   | Заблокировано ли видео                       |

This tool is perfect for collecting video insights based on topics, creators, trends, or brand mentions.

### 🛠️ How to Use the OK.ru Video Scraper / Как использовать OK.ru Video Scraper

- Enter Data: Provide the keyword and the maximum number of videos you want to scrape.
  / Введите ключевое слово и максимальное количество видео для извлечения.

- Start Scraping: Click the Start button. The scraper will fetch all relevant videos based on your keyword.
  / Нажмите кнопку «Начать», чтобы запустить процесс извлечения.

- Download Your Data: Once the process is done, download the dataset in JSON, CSV, XML, RSS, or HTML Table format.
  / После завершения скачайте результаты в нужном формате: JSON, CSV, XML, RSS или HTML-таблица.

### ✨ Why Scrape OK.ru Videos by Keyword? / Зачем извлекать видео с OK.ru по ключевому слову?

Scraping videos by keyword is useful for:

- 📈 Trend Analysis / Анализ трендов

- 📊 Competitor Monitoring / Мониторинг конкурентов

- 🔍 Content Research / Исследование контента

- 💡 Marketing Intelligence / Маркетинговая аналитика

- 📹 Video Discovery / Поиск видеоконтента

### 💸 Pricing / Цены

The scraper is available as a subscription service for $18.99/month.
/ Инструмент доступен по подписке за $18.99 в месяц.

### Related Actors / Связанные инструменты

If you're interested in other Vk, YouTube or Facebook scraping solutions, check out these related tools:

- [VK People Scraper 🔍 (вконтакте)](https://apify.com/scrapestorm/vk-people-scraper-vkontakte)
- [VK Video Scraper 🎬 (вконтакте)](https://apify.com/scrapestorm/vk-video-scraper-vkontakte)
- [VK Community Scraper 🌐 (вконтакте)](https://apify.com/scrapestorm/vk-community-scraper-vkontakte)
- [HeadHunter Russia Job Scraper 💼 hh.ru 🇷🇺 - Cheap](https://apify.com/scrapestorm/headhunter-russia-job-scraper-hh-ru---cheap)
- [💬 YouTube Comments Scraper](https://apify.com/scrapestorm/youtube-comments-scraper---rental-fast-and-cheap)
- [🏎 YouTube Scraper (By Keyword) ](https://apify.com/scrapestorm/youtube)
- [🔴 Youtube Channel Scraper (Rental)](https://apify.com/scrapestorm/youtube-channel-scraper)
- [🌐 Youtube Shorts Scraper 📺 (Rental)](https://apify.com/scrapestorm/youtube-shorts-scraper-rental---fast-cheap)
- [Facebook Ads Library Scraper 🎯📈](https://apify.com/scrapestorm/facebook-ads-library-scraper)
- [Facebook Profiles Scraper 📘🕵️‍♂️](https://apify.com/scrapestorm/facebook-profiles-scraper)
- [Facebook Friends Scraper 📊👥](https://apify.com/scrapestorm/facebook-friends-scraper)
- [Facebook Group Members Scraper 📊👥 - Fast & cheap 💬⭐](https://apify.com/scrapestorm/my-actor-1)
- [Facebook Likes Scraper (Fast & Cheap) 👍 🌟](https://apify.com/scrapestorm/facebook-likes-scraper-fast-cheap)
- [Facebook Followers & Following Scraper 📊👥](https://apify.com/scrapestorm/facebook-followers-following-scraper)
- [Facebook Comments Scraper (All-in-One) 💬](https://apify.com/scrapestorm/facebook-comments-scraper-all-in-one)
- [YouTube Transcript Video Scraper 📝 (⚡ Fast & 💸 Cheap)](https://apify.com/scrapestorm/youtube-transcript-videos)
- [Youtube Playlist Scraper 🎵 - Rental (Fast & cheap)](https://apify.com/scrapestorm/youtube-playlist-scraper---rental-fast-cheap)

***

### 🔑 OK.ru Videos Scraper Input Format / 🔑 Формат ввода OK.ru Videos Scraper

To start scraping, provide a JSON object like this:

```
{
  "keyword": "fitness",
  "maxitems": 50
}




```

### 📤 OK.ru Video Scraper Data Output / 📊 Выходные данные OK.ru Video Scraper

Here’s an example of the video data you will receive for each item:

```
{
  "id": "9378072025",
  "url": "https://ok.ru/video/9378072025",
  "title": "Fitness für Anfänger: Bauch, Beine und Po Training mit Nora Lobjandize",
  "description": "Fitness für Anfänger...",
  "poster": "https://i.okcdn.ru/...",
  "duration": "15:00",
  "duration_ms": 900000,
  "views": 336,
  "daily_views": 0,
  "created_timestamp": "1442838898043",
  "likes": 3,
  "provider": "YoutubeUser",
  "width": 0,
  "height": 0,
  "blocked": false
}


```

### 📥 OK.ru Video Scraper Input Fields / 📥 Поля ввода OK.ru Video Scraper

1. Keyword to search for videos #️⃣

   ```
    Description: The keyword used to find relevant videos on OK.ru.

    Type: string

    Default: "fitness"

    / Описание: Ключевое слово для поиска видео на OK.ru.
   ```

2. Maximum number of videos to scrape 🎥

   ```
    Description: Set the number of video results to extract.

    Type: integer

    Default: 50

    / Описание: Максимальное количество видео для извлечения.
   ```

### 📫 Support

😊 Leave us a star ⭐⭐⭐⭐⭐ if you are satisfied with the product!
🌍 For any questions, specific needs, or issues, please reach out through Apify's platform or via email
/ 😊 Оставьте нам звезду ⭐⭐⭐⭐⭐, если вы довольны продуктом!
🌍 Если у вас есть вопросы, специфические потребности или проблемы, свяжитесь с нами через платформу Apify или по электронной почте
[Storm_Scraper 🌪️🌩️](https://apify.com/scrapestorm)

# Actor input Schema

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

One or more keywords to search for videos on OK.ru. Each keyword is scraped separately.

## `maxitems` (type: `integer`):

Maximum number of videos to scrape from OK.ru per keyword.

## Actor input object example

```json
{
  "keywords": [
    "Fitness"
  ],
  "maxitems": 80
}
```

# 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 = {
    "keywords": [
        "Fitness"
    ],
    "maxitems": 80
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapestorm/ok-ru-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 = {
    "keywords": ["Fitness"],
    "maxitems": 80,
}

# Run the Actor and wait for it to finish
run = client.actor("scrapestorm/ok-ru-video-scraper").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": [
    "Fitness"
  ],
  "maxitems": 80
}' |
apify call scrapestorm/ok-ru-video-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapestorm/ok-ru-video-scraper"
        }
    }
}
```

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/00u1yAusgKoxfE8Aq/builds/ezSLuNW3IwjiRF5ly/openapi.json
