APIs / Social media / VK
1 credit per call4 endpointsChecked working 6 Dec 2026
VK API
VK API for public community pages, community walls, single posts and public profiles as JSON. Four endpoints, 1 credit per successful call.
curl "https://api.perceptlayer.com/v1/vk/community?group_id=22822305" \
-H "X-API-Key: $API_KEY"Playground
Run this API
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.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
GET/v1/vk/community | group_id+1 optionalNeeds terms | idnamescreen_namedescriptionmembers_countis_closed+1 more | 1 credit |
GET/v1/vk/post | post_id+1 optionalNeeds terms | positionidfrom_idowner_iddateattachments+4 more | 1 credit |
GET/v1/vk/profile | user_id+1 optionalNeeds terms | idfirst_namelast_namescreen_namephoto_200verified+1 more | 1 credit |
GET/v1/vk/wall | domain+3 optionalNeeds terms | positionidfrom_idowner_iddatetext+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 apply, and they don't permit collecting personal data without a lawful basis or using it to contact people.
- Communities:
communitytakes agroup_id, withfields. - Walls:
walltakes adomain, withoffset,countandextended(0 or 1). - Posts:
posttakes apost_id, withextended. - Profiles:
profiletakes auser_id, withfields.
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.
More social media APIs
Use cases
Follow what a public community posts
Use the VK API to follow what a public community postsTrack public posts about a brand or topic in aggregate
Use the VK API to track public posts about a brand or topic in aggregateRead a single public post and its details
Use the VK API to read a single public post and its detailsResearch how communities in a field present themselves
Use the VK API to research how communities in a field present themselvesFAQ
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.