# Search VK posts by keyword

**Use case:** 

Find public VKontakte posts that mention a keyword or brand across the whole network, with likes, reposts, views and author. Official VK API, no login. Поиск постов ВК по ключевому слову.

## Input

```json
{
  "sources": [],
  "searchQueries": [
    "искусственный интеллект"
  ],
  "maxPostsPerSource": 100,
  "postsFilter": "all",
  "includePinned": true,
  "skipAds": false,
  "minLikes": 0,
  "minViews": 0,
  "onlyNewPosts": false,
  "includeComments": false,
  "maxCommentsPerPost": 50,
  "includeReplies": true,
  "commentsSort": "asc",
  "includeCommunityInfo": false,
  "maxPostsToScan": 5000
}
```

## Output

```json
{
  "type": {
    "label": "Type",
    "format": "string"
  },
  "postUrl": {
    "label": "Post",
    "format": "string"
  },
  "date": {
    "label": "Date",
    "format": "string"
  },
  "text": {
    "label": "Text",
    "format": "string"
  },
  "likes": {
    "label": "Likes",
    "format": "integer"
  },
  "reposts": {
    "label": "Reposts",
    "format": "integer"
  },
  "comments": {
    "label": "Comments",
    "format": "integer"
  },
  "views": {
    "label": "Views",
    "format": "integer"
  },
  "isPinned": {
    "label": "Pinned",
    "format": "boolean"
  },
  "source.name": {
    "label": "Source"
  },
  "authorName": {
    "label": "Comment author",
    "format": "string"
  },
  "name": {
    "label": "Community",
    "format": "string"
  },
  "membersCount": {
    "label": "Members",
    "format": "integer"
  },
  "error": {
    "label": "Error",
    "format": "string"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The VK Posts Scraper | VKontakte Groups & Comments | Official API Actor is ready to run with the inputs already set for "Search VK posts by keyword". [Sign up or log in](https://console.apify.com/create-task-from-example/1Nd1SdjpnbFpApoZR) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Search VK posts by keyword" task

The VK Posts Scraper | VKontakte Groups & Comments | Official API Actor will start running based on the input automatically. You can also change all the input fields, like communities, profiles or post links, search keywords (optional), and more, to match your specific use case.

### 3. Receive the "Search VK posts by keyword" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as type, post, date, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Search VK posts by keyword" task via API](https://apify.com/solidrows/vk-posts-scraper.md).

## FAQ

### What does the output contain?

The "Search VK posts by keyword" task returns post text, likes, reposts, views, attachments, date and author. Export it as JSON, CSV or Excel.

### Do I need to log in or provide an API key?

No. The "Search VK posts by keyword" task uses the official VK API and needs no VK login or token from you.

### How much does it cost?

The "Search VK posts by keyword" task costs $2.50 per 1,000 posts. You pay only for saved results; error rows and filtered results are free.

### Can I run it on a schedule or through the API?

Yes. Save the "Search VK posts by keyword" task to your account, then add a schedule in Apify Console or start it with one API call. Results arrive as a dataset.

## About this Actor

This example demonstrates how to use [VK Posts Scraper | VKontakte Groups & Comments | Official API](https://apify.com/solidrows/vk-posts-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/solidrows/vk-posts-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/solidrows/vk-posts-scraper.md

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