> ## 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.

# /polymarket/events/comments

> Get the comments under a Polymarket event by its id or slug

**Price:** 5 credits per 100 results

**⚠️ Common errors:** 412: Event not found



## OpenAPI

````yaml /openapi/finance-markets.json post /api/polymarket/events/comments
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/polymarket/events/comments:
    post:
      tags:
        - /polymarket
      summary: /polymarket/events/comments
      description: |-
        Get the comments under a Polymarket event by its id or slug

        **Price:** 5 credits per 100 results

        **⚠️ Common errors:** 412: Event not found
      operationId: __api_polymarket_events_comments_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PolymarketEventCommentsPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/PolymarketComment'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    PolymarketEventCommentsPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        event:
          type: string
          minLength: 1
        count:
          type: integer
          minimum: 1
      type: object
      required:
        - event
        - count
    PolymarketComment:
      properties:
        '@type':
          type: string
          default: PolymarketComment
        id:
          type: string
        text:
          type: string
        parent_comment_id:
          anyOf:
            - type: string
            - type: 'null'
        user_address:
          anyOf:
            - type: string
            - type: 'null'
        reply_address:
          anyOf:
            - type: string
            - type: 'null'
        profile:
          anyOf:
            - $ref: '#/components/schemas/PolymarketCommentProfile'
            - type: 'null'
        reactions:
          items:
            $ref: '#/components/schemas/PolymarketCommentReaction'
          type: array
          default: []
        reaction_count:
          anyOf:
            - type: integer
            - type: 'null'
        report_count:
          anyOf:
            - type: integer
            - type: 'null'
        created_at:
          anyOf:
            - type: string
            - type: 'null'
        updated_at:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
        - text
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    PolymarketCommentProfile:
      properties:
        '@type':
          type: string
          default: PolymarketCommentProfile
        name:
          anyOf:
            - type: string
            - type: 'null'
        pseudonym:
          anyOf:
            - type: string
            - type: 'null'
        bio:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        proxy_wallet:
          anyOf:
            - type: string
            - type: 'null'
        base_address:
          anyOf:
            - type: string
            - type: 'null'
        display_username_public:
          anyOf:
            - type: boolean
            - type: 'null'
      type: object
    PolymarketCommentReaction:
      properties:
        '@type':
          type: string
          default: PolymarketCommentReaction
        reaction_type:
          type: string
        proxy_wallet:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - reaction_type
    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
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````