# VK Scraper (All-in-one) 👥🌐🎬 (`scrapestorm/vk-scraper-all-in-one`)

Scrape VK (вконтакте) profiles, communities, & videos (All-in-one) in a single scraper based on a specific keyword 🔑 and a maximum number of items. Filter by scraper type and retrieve key data such as names, links 🌍, & descriptions 🎓. Enhance your marketing research by analyzing VK audience data

- **URL**: https://beta-securitybyobscurity.apify.com/scrapestorm/vk-scraper-all-in-one.md
- **Developed by:** [Storm\_Scraper](https://beta-securitybyobscurity.apify.com/scrapestorm) (community)
- **Categories:** Social media, Videos, Lead generation
- **Stats:** 16 total users, 6 monthly users, 62.5% runs succeeded, 2 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

$24.99/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period.
You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#rental-actors

# README

### VK Scraper (All-in-one) 👥🌐🎬 (вконтакте)

The VK Scraper (All-in-one) is a versatile tool designed to scrape a variety of content from VKontakte based on a specified keyword.

You can scrape profiles, communities, or videos with this powerful tool.

Simply enter a keyword and configure the tool to extract the type of data you need.

### What You Can Scrape 🔍

Profiles 🧑‍🤝‍🧑: Extract detailed information about VK profiles, including names, link, and more.

Communities 🌍: Extract information about VK communities related to your keyword.

Videos 📺: Scrape videos from VK that match your keyword.

If you want to fetch the maximum number of attributes with more details on profiles 👤, communities 🌍, and videos 📺, given that the data structure for these categories is unified, we recommend using these specific actors:

- [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)

### 🛠️ How to Use the VK Scraper (All-in-one) / Как использовать VK Scraper (All-in-one)

- Enter Data:

  Keyword: Provide the keyword you wish to search for across profiles, communities, or videos.
  Maximum Items: Specify how many items you want to scrape (profiles, communities, or videos).
  Scraper Type: Choose between scraping people, communities, or videos.

- Start Scraping: Click the "Start" button to begin the scraping process. The tool will retrieve the data based on your criteria.

- Download Your Data: Once the scraping is complete, you can download the results in multiple formats like JSON, CSV, XML, RSS, or HTML Table.

### Why Scrape VK Content by Keyword? ✨🚀 / Почему извлекать контент VK по ключевому слову?

Scraping VK content by keyword is perfect for:

```
Target Audience Research 📊 / Исследование целевой аудитории
Competitive Analysis 🏁 / Анализ конкурентов
Marketing Insights 💡 / Маркетинговая аналитика
Content Discovery 🔍 / Открытие контента
```

### 💸 Pricing / Цены

This scraper operates on a subscription basis at a cost of $24.99/month.
/ Этот инструмент работает на основе подписки стоимостью $24,99 в месяц.

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

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

- [VK Community Scraper 🔍 (вконтакте)](https://apify.com/scrapestorm/vk-community-scraper-vkontakte)
- [VK People Scraper 🔍 (вконтакте)](https://apify.com/scrapestorm/vk-people-scraper-vkontakte)
- [VK Video Scraper 🎬 (вконтакте)](https://apify.com/scrapestorm/vk-video-scraper-vkontakte)
- [Facebook Friends Scraper 📊👥](https://apify.com/scrapestorm/facebook-friends-scraper)
- [Facebook Profiles - People Scraper 📘🕵️‍♂️](https://apify.com/scrapestorm/facebook-profiles---people-scraper)
- [💬 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 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)

***

### 🔑 VK Scraper Input Format / Формат ввода VK Scraper

To use the VK Scraper, provide the following JSON object:

```
{
    "keyword": "fashion",
    "maxitems": 60,
    "scraper": "people"
}

```

### 📊 VK Scraper Data Output / Данные, извлеченные VK Scraper

The VK Scraper will output different data depending on the scraper type chosen (people, communities, or videos).

### 🔑 VK People Scraper Input Fields / 🔑 Параметры ввода VK People Scraper

1. Keyword to scrape VK profiles with #️⃣ / Ключевое слово для извлечения профилей VK с #️⃣

   Description: Specify the keyword to search for VK profiles.
   / Описание: Укажите ключевое слово для поиска профилей VK.
   Type: String
   Default: "fashion"
   Prefill: "fashion"

2. Maximum number of profiles to scrape from VK 📊 / Максимальное количество профилей для извлечения из VK 📊

   Description: Specify how many VK profiles you want to scrape.
   / Описание: Укажите, сколько профилей VK вы хотите извлечь.
   Type: Integer
   Default: 60
   Prefill: 60

3. Gender of profiles to scrape from VK 👩🧑 / Пол профилей для извлечения из VK 👩🧑

   Description: Optionally filter profiles based on gender.
   / Описание: По желанию фильтровать профили по полу.
   Type: String (Select from "Any", "Male", "Female")
   Default: "Any"
   Prefill: "Any"

### 📫 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

## `keyword` (type: `string`):

keyword to scrape VK profiles/communities/videos with #️⃣

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

Maximum number to scrape from VK  📊

## `scraper` (type: `string`):

Type of VK scraper (people 👩🧑/communities 🌍/videos 📺)

## Actor input object example

```json
{
  "keyword": "fashion",
  "maxitems": 60,
  "scraper": "people"
}
```

# 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 = {
    "keyword": "fashion",
    "maxitems": 60,
    "scraper": "people"
};

// Run the Actor and wait for it to finish
const run = await client.actor("scrapestorm/vk-scraper-all-in-one").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 = {
    "keyword": "fashion",
    "maxitems": 60,
    "scraper": "people",
}

# Run the Actor and wait for it to finish
run = client.actor("scrapestorm/vk-scraper-all-in-one").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 '{
  "keyword": "fashion",
  "maxitems": 60,
  "scraper": "people"
}' |
apify call scrapestorm/vk-scraper-all-in-one --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=scrapestorm/vk-scraper-all-in-one",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "VK Scraper (All-in-one) 👥🌐🎬",
        "description": "Scrape VK (вконтакте) profiles, communities, & videos (All-in-one) in a single scraper based on a specific keyword 🔑 and a maximum number of items. Filter by scraper type and retrieve key data such as names, links 🌍, & descriptions 🎓. Enhance your marketing research by analyzing VK audience data",
        "version": "0.0",
        "x-build-id": "1xrnzHar0avvI43NZ"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/scrapestorm~vk-scraper-all-in-one/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-scrapestorm-vk-scraper-all-in-one",
                "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/scrapestorm~vk-scraper-all-in-one/runs": {
            "post": {
                "operationId": "runs-sync-scrapestorm-vk-scraper-all-in-one",
                "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/scrapestorm~vk-scraper-all-in-one/run-sync": {
            "post": {
                "operationId": "run-sync-scrapestorm-vk-scraper-all-in-one",
                "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",
                "required": [
                    "keyword"
                ],
                "properties": {
                    "keyword": {
                        "title": "keyword to scrape VK profiles/communities/videos with #️⃣",
                        "type": "string",
                        "description": "keyword to scrape VK profiles/communities/videos with #️⃣",
                        "default": "fashion"
                    },
                    "maxitems": {
                        "title": "Maximum number to scrape from VK 📊",
                        "type": "integer",
                        "description": "Maximum number to scrape from VK  📊",
                        "default": 60
                    },
                    "scraper": {
                        "title": "Type of VK scraper (people 👩🧑/communities 🌍/videos 📺) ",
                        "enum": [
                            "people",
                            "community",
                            "videos"
                        ],
                        "type": "string",
                        "description": "Type of VK scraper (people 👩🧑/communities 🌍/videos 📺)",
                        "default": "people"
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
