Skip to content
//VK Scraper example\\

Oil posts on RBC, last 60 days, 15 posts

Community wall posts matching a keyword.

Updated November 17, 2026

What this example returns

This example returns up to 15 posts.

The dataset’s “Posts” view shows 10 columns: Posted, Wall, Text, Likes, Reposts, Views, Comments, Attachments, Repost, and Post. See every output field.

What each setting does

The input this example runs VK Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

VK profiles, communities or post URLs targets

https://vk.ru/rbc/

Handles (durov, kinopoisk), profile or community URLs (https://vk.com/rbc, m.vk.com and vk.ru work too), ids (id1, club1, public123, -1) or single post URLs (https://vk.com/wall-1_400458). Mix them freely.

Max posts maxItems

15

Maximum number of posts to save across the whole run, split evenly across the walls you listed (newest first from each). A wall with fewer posts leaves its share to the others. 0 means no limit.

Default: 20 → this example uses 15

Keyword filter searchQuery

нефть

Only save posts that contain this text (searched inside the walls you listed, using VK's own wall search first, then a scan of up to 20,000 newer posts per wall). Leave empty to save every post.

Published after publishedAfter

60 days

Only posts published on or after this date (YYYY-MM-DD, or relative like '7 days'). Paging stops as soon as older posts are reached.

Whose posts wallFilter

All posts on the wall

Which posts of each wall to keep.

Include pinned post includePinned

Yes

Keep the wall's pinned post (it is marked with isPinned).

Scrape comments includeComments

No

Also save each post's comments (author, text, date, likes, replies up to 10 per thread) inline on the post row. Billed per comment.

Comment order commentsSort

Oldest first

Which comments come first when the per-post cap cuts the list.

Language language

Russian (original names)

Language VK uses for names of people, cities and countries. Post and comment text is never translated.

.json
{
  "targets": [
    "https://vk.ru/rbc/"
  ],
  "searchQuery": "нефть",
  "publishedAfter": "60 days",
  "maxItems": 15,
  "wallFilter": "all",
  "includePinned": true,
  "includeComments": false,
  "commentsSort": "oldest",
  "language": "ru"
}

What it costs

You pay for the events the actor reports, such as each result or page it produces. Platform usage is included in the event prices: compute, proxies, browser and storage cost nothing extra.

  • VK postfrom $0.00108One public VK post saved with text, date, engagement, media, author and wall owner info.
  • VK commentfrom $0.000576One comment saved inline on its post (author, text, date, likes). Only when comment scraping is on.

Full pricing

When to use this example

From the VK Scraper readme:

How many posts can I get?

Whole walls: VK serves the full public history of a wall, page by page. A keyword filter scans the whole wall after VK's own search results.

Can I schedule it or use the API?

Yes. Schedule runs with "Published after: 1 day" to collect only new posts, and fetch results in JSON, CSV or Excel through the Scrape.ly API, CLI, or from AI agents through the Scrape.ly MCP server.

Other ways to run VK Scraper

All examples of VK Scraper

About VK Scraper

Scrape public VK (VKontakte) walls of communities and profiles: post text, date, likes, reposts, views, comment counts, photos, videos, links and polls, plus optional comments and community or profile info. No login needed.

Price:
From $1.08 / 1,000 results
Developer:
Echofield
Categories:
Social media, News

VK Scraper pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.