# VK Post Detail API Documentation

Retrieve a single VK post by its full post ID: post ID, text, date, like count, repost count, comment count and view count. The post_id must be the full owner_id_post_id string (e.g. -22822305_1729592 for a group post).

- **Documentation:** [https://scrappa.co/docs/vk-api/vk_post](https://scrappa.co/docs/vk-api/vk_post)
- **API group:** VK API
- **Endpoint:** `GET https://scrappa.co/api/vk/post`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `post_id` | string | Yes | Full post ID in format owner_id_post_id. Example: -22822305_1729592. |
| `extended` | integer | No | Include profiles and groups. Default: 1. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/vk/post?post_id=-22822305_1729592"
```

## Example response

```json
{
    "success": true,
    "data": {
        "position": 1,
        "id": 1729592,
        "from_id": -22822305,
        "owner_id": -22822305,
        "date": 1699999999,
        "text": "Post text...",
        "likes": {
            "count": 87
        },
        "reposts": {
            "count": 9
        },
        "comments": {
            "count": 60
        },
        "views": {
            "count": 10901
        }
    },
    "meta": {
        "endpoint_family": "post_detail"
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | The post_id parameter is missing or not in the required format. This response is not billable. |
| 404 | Post Not Found | The requested VK post was not found or is private. This response is not billable. |
| 503 | Upstream Unavailable | The VK API is temporarily unavailable. This response is not billable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
