---
title: "VK API: public community pages, community walls as JSON"
description: "VK API for public community pages, community walls, single posts and public profiles as JSON. Four endpoints, 1 credit per successful call."
url: https://perceptlayer.com/apis/vk
---

[APIs](https://perceptlayer.com/apis) / [Social media](https://perceptlayer.com/verticals/social) / VK

1 credit per call 4 endpoints 

# VK API

VK API for public community pages, community walls, single posts and public profiles as JSON. Four endpoints, 1 credit per successful call.

[Get a free API key](https://perceptlayer.com/signup) Run it below

VK

GET /v1/vk/community?group\_id=22822305 

```
curl "https://api.perceptlayer.com/v1/vk/community?group_id=22822305" \
  -H "X-API-Key: $API_KEY"
```

cURL 1 credit per successful call

Run this call below or from your dashboard to see a live response.

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/vk/community?group_id=22822305" \
  -H "X-API-Key: $API_KEY"
```

VK · 4 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

Note 

Endpoints marked “Needs terms” return personal or social data. They work once you accept the [restricted-endpoint terms](https://perceptlayer.com/legal/restricted-endpoints) in your dashboard.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/vk/community`](https://perceptlayer.com/apis/vk/community) | `group_id` +1 optional Needs terms | `id` `name` `screen_name` `description` `members_count` `is_closed` +1 more | 1 credit |
| [GET `/v1/vk/post`](https://perceptlayer.com/apis/vk/post) | `post_id` +1 optional Needs terms | `position` `id` `from_id` `owner_id` `date` `attachments` +4 more | 1 credit |
| [GET `/v1/vk/profile`](https://perceptlayer.com/apis/vk/profile) | `user_id` +1 optional Needs terms | `id` `first_name` `last_name` `screen_name` `photo_200` `verified` +1 more | 1 credit |
| [GET `/v1/vk/wall`](https://perceptlayer.com/apis/vk/wall) | `domain` +3 optional Needs terms | `position` `id` `from_id` `owner_id` `date` `text` +5 more | 1 credit |

Overview

## About the VK API

## What you can get

The VK API returns public VK data as JSON through 4 endpoints. All of them are restricted endpoints: the [restricted-endpoint terms](https://perceptlayer.com/legal/restricted-endpoints) apply, and they don't permit collecting personal data without a lawful basis or using it to contact people.

-   **Communities:** `community` takes a `group_id`, with `fields`.
-   **Walls:** `wall` takes a `domain`, with `offset`, `count` and `extended` (0 or 1).
-   **Posts:** `post` takes a `post_id`, with `extended`.
-   **Profiles:** `profile` takes a `user_id`, with `fields`.

## How a call works

Read a community: `GET /v1/vk/community?group_id=22822305` with your key in the `X-API-Key` header, or its wall with `wall` by `domain`. Every successful call costs 1 credit; failed calls cost nothing.

Social media JSON REST MCP Some endpoints need terms

### More social media APIs

[Behance](https://perceptlayer.com/apis/behance) [Bilibili](https://perceptlayer.com/apis/bilibili) [Bluesky](https://perceptlayer.com/apis/bluesky) [Dailymotion](https://perceptlayer.com/apis/dailymotion) [DeviantArt](https://perceptlayer.com/apis/deviantart) [DISBOARD](https://perceptlayer.com/apis/disboard) [Dribbble](https://perceptlayer.com/apis/dribbble) [Facebook](https://perceptlayer.com/apis/facebook) [Facebook Ad Library](https://perceptlayer.com/apis/facebook-ad-library) [Flickr](https://perceptlayer.com/apis/flickr) [Hacker News](https://perceptlayer.com/apis/hacker-news) [Imgur](https://perceptlayer.com/apis/imgur)

Use cases

### Follow what a public community posts

`Use the VK API to follow what a public community posts` 

### Track public posts about a brand or topic in aggregate

`Use the VK API to track public posts about a brand or topic in aggregate` 

### Read a single public post and its details

`Use the VK API to read a single public post and its details` 

### Research how communities in a field present themselves

`Use the VK API to research how communities in a field present themselves` 

FAQ

## Questions

**Do I need a VK developer app?**

No. You call this VK API with your Perceptlayer key in the \`X-API-Key\` header, so there's no VK app to register. You do need to accept the restricted-endpoint terms first.

**How much does the VK API cost?**

Each successful call costs one credit. New accounts get free credits to start, and credit packs bring the price down as you scale.

**What format are responses in?**

Every endpoint returns JSON, with no HTML parsing on your side.

**Is this the official VK API?**

No. Perceptlayer is an independent service and is not affiliated with VK. It returns VK data as JSON with a Perceptlayer key, so there is no VK developer account, app review or partner approval to get first. It only reads data: if VK has an official API and you need to act on your own VK account, such as posting, managing orders or reading private data, use that one.

**Should I build a VK scraper instead?**

You can, but a VK scraper is code you maintain: page changes break it, requests get blocked, and VK's terms govern how you collect data. The VK API gives you 4 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first. Some of these endpoints return social or personal data and need the restricted-endpoint terms; collect only what you have a lawful basis for.

## Try the VK API with 100 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
