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

# /iqiyi/videos/comments

> Get the viewer comments on an iQIYI video, newest first, with each comment's replies following it. Every comment carries its text, the language it was written in, the author with their avatar, the user it replies to, the reply count and the time it was posted.

**Price:** 1 credit

**⚠️ Common errors:** 412: No video with this id



## OpenAPI

````yaml /openapi/movies-tv.json post /api/iqiyi/videos/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/iqiyi/videos/comments:
    post:
      tags:
        - /iqiyi
      summary: /iqiyi/videos/comments
      description: >-
        Get the viewer comments on an iQIYI video, newest first, with each
        comment's replies following it. Every comment carries its text, the
        language it was written in, the author with their avatar, the user it
        replies to, the reply count and the time it was posted.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: No video with this id
      operationId: __api_iqiyi_videos_comments_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IqiyiVideoCommentsPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IqiyiComment'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    IqiyiVideoCommentsPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        lang:
          $ref: '#/components/schemas/IqiyiLang'
          default: en_us
        market:
          $ref: '#/components/schemas/IqiyiMarket'
          default: us
        video:
          type: string
          minLength: 1
        count:
          type: integer
          minimum: 1
      type: object
      required:
        - video
        - count
    IqiyiComment:
      properties:
        '@type':
          type: string
          default: IqiyiComment
        id:
          type: string
        text:
          anyOf:
            - type: string
            - type: 'null'
        language:
          anyOf:
            - type: string
            - type: 'null'
        user:
          anyOf:
            - $ref: '#/components/schemas/IqiyiCommentUser'
            - type: 'null'
        reply_to_user:
          anyOf:
            - $ref: '#/components/schemas/IqiyiCommentUser'
            - type: 'null'
        reply_count:
          anyOf:
            - type: integer
            - type: 'null'
        like_count:
          anyOf:
            - type: integer
            - type: 'null'
        created_at:
          anyOf:
            - type: integer
            - type: 'null'
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      type: object
    IqiyiLang:
      type: string
      enum:
        - en_us
        - zh_cn
        - zh_tw
        - ar_ae
        - vi_vn
        - th_th
        - pt_br
        - ms_my
        - id_id
        - es_mx
    IqiyiMarket:
      type: string
      enum:
        - ae
        - ar
        - au
        - bh
        - bn
        - br
        - ca
        - cl
        - co
        - de
        - eg
        - es
        - fr
        - gb
        - hk
        - id
        - in
        - jp
        - kh
        - kr
        - kw
        - kz
        - la
        - mm
        - mo
        - mx
        - my
        - nz
        - om
        - pe
        - ph
        - pt
        - qa
        - sa
        - sg
        - th
        - ua
        - us
        - vn
    IqiyiCommentUser:
      properties:
        '@type':
          type: string
          default: IqiyiCommentUser
        id:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
    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

````