> ## Documentation Index
> Fetch the complete documentation index at: https://docs.anysite.io/llms.txt
> Use this file to discover all available pages before exploring further.

# /vk/users/posts

> Get wall posts from a VK user by id, screen name (alias) or URL: text, attachments (photos, videos, links, polls), reactions/likes, reposts, views, date, and repost chain.

**Price:** 5 credits per 100 results

**⚠️ Common errors:** 412: User not found, deleted or private.



## OpenAPI

````yaml /openapi/social-media.json post /api/vk/users/posts
openapi: 3.1.0
info:
  title: Any Site API
  description: >+
    Any Site API provides programmatic access to data from LinkedIn, Instagram,
    Twitter, and other platforms.


    ## Authentication


    All API endpoints require an `access-token` header with a valid API token.
    Tokens can be created in the [dashboard](https://app.anysite.io/).


    ## Pricing


    Each endpoint has a credit cost listed in its description. Credits are
    deducted from your token balance per request.

  version: 0.0.1
servers: []
security:
  - AccessToken: []
paths:
  /api/vk/users/posts:
    post:
      tags:
        - /vk
      summary: /vk/users/posts
      description: >-
        Get wall posts from a VK user by id, screen name (alias) or URL: text,
        attachments (photos, videos, links, polls), reactions/likes, reposts,
        views, date, and repost chain.


        **Price:** 5 credits per 100 results


        **⚠️ Common errors:** 412: User not found, deleted or private.
      operationId: __api_vk_users_posts_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VkUsersPostsPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/VkPost'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    VkUsersPostsPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        user:
          type: string
          minLength: 1
        count:
          type: integer
          minimum: 1
        offset:
          type: integer
          minimum: 0
          default: 0
        filter:
          $ref: '#/components/schemas/VkWallFilter'
          default: all
      type: object
      required:
        - user
        - count
    VkPost:
      properties:
        '@type':
          type: string
          default: VkPost
        id:
          type: integer
        owner_id:
          anyOf:
            - type: integer
            - type: 'null'
        from_id:
          anyOf:
            - type: integer
            - type: 'null'
        author:
          anyOf:
            - $ref: '#/components/schemas/VkAuthor'
            - type: 'null'
        created_at:
          anyOf:
            - type: integer
            - type: 'null'
        edited_at:
          anyOf:
            - type: integer
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
        comment_count:
          anyOf:
            - type: integer
            - type: 'null'
        like_count:
          anyOf:
            - type: integer
            - type: 'null'
        reaction_count:
          anyOf:
            - type: integer
            - type: 'null'
        repost_count:
          anyOf:
            - type: integer
            - type: 'null'
        view_count:
          anyOf:
            - type: integer
            - type: 'null'
        is_pinned:
          type: boolean
          default: false
        is_ad:
          type: boolean
          default: false
        signer_id:
          anyOf:
            - type: integer
            - type: 'null'
        post_url:
          anyOf:
            - type: string
            - type: 'null'
        images:
          items:
            type: string
          type: array
          default: []
        attachments:
          items:
            $ref: '#/components/schemas/VkAttachment'
          type: array
          default: []
        poll:
          anyOf:
            - $ref: '#/components/schemas/VkPoll'
            - type: 'null'
        reposted:
          items:
            $ref: '#/components/schemas/VkPost'
          type: array
          default: []
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    VkWallFilter:
      type: string
      enum:
        - owner
        - others
        - all
    VkAuthor:
      properties:
        '@type':
          type: string
          default: VkAuthor
        id:
          type: integer
        name:
          anyOf:
            - type: string
            - type: 'null'
        alias:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        is_group:
          type: boolean
          default: false
        is_verified:
          type: boolean
          default: false
      type: object
      required:
        - id
    VkAttachment:
      properties:
        '@type':
          type: string
          default: VkAttachment
        attachment_type:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        link_url:
          anyOf:
            - type: string
            - type: 'null'
        attachment_title:
          anyOf:
            - type: string
            - type: 'null'
        duration:
          anyOf:
            - type: integer
            - type: 'null'
        view_count:
          anyOf:
            - type: integer
            - type: 'null'
        platform:
          anyOf:
            - type: string
            - type: 'null'
      type: object
    VkPoll:
      properties:
        '@type':
          type: string
          default: VkPoll
        id:
          anyOf:
            - type: integer
            - type: 'null'
        question:
          anyOf:
            - type: string
            - type: 'null'
        vote_count:
          anyOf:
            - type: integer
            - type: 'null'
        is_anonymous:
          type: boolean
          default: false
        is_multiple:
          type: boolean
          default: false
        end_at:
          anyOf:
            - type: integer
            - type: 'null'
        answers:
          items:
            $ref: '#/components/schemas/VkPollAnswer'
          type: array
          default: []
      type: object
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
        msg:
          type: string
        type:
          type: string
        input: {}
        ctx:
          type: object
      type: object
      required:
        - loc
        - msg
        - type
    VkPollAnswer:
      properties:
        '@type':
          type: string
          default: VkPollAnswer
        id:
          anyOf:
            - type: integer
            - type: 'null'
        text:
          anyOf:
            - type: string
            - type: 'null'
        vote_count:
          anyOf:
            - type: integer
            - type: 'null'
        rate:
          anyOf:
            - type: number
            - type: 'null'
      type: object
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````