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

> Get one iQIYI video — an episode, film cut, trailer or clip — by its id or iq.com play URL. Returns the video title and episode order, its parent album, runtime in seconds, synopsis, cast with their credits, genre and region tags, VIP and exclusivity flags, publication dates, artwork and the country codes it may be played in.

**Price:** 1 credit

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



## OpenAPI

````yaml /openapi/movies-tv.json post /api/iqiyi/videos
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:
    post:
      tags:
        - /iqiyi
      summary: /iqiyi/videos
      description: >-
        Get one iQIYI video — an episode, film cut, trailer or clip — by its id
        or iq.com play URL. Returns the video title and episode order, its
        parent album, runtime in seconds, synopsis, cast with their credits,
        genre and region tags, VIP and exclusivity flags, publication dates,
        artwork and the country codes it may be played in.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: No video with this id
      operationId: __api_iqiyi_videos_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IqiyiVideoPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/IqiyiVideo'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    IqiyiVideoPayload:
      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
      type: object
      required:
        - video
    IqiyiVideo:
      properties:
        '@type':
          type: string
          default: IqiyiVideo
        id:
          type: string
        alias:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        short_name:
          anyOf:
            - type: string
            - type: 'null'
        subtitle:
          anyOf:
            - type: string
            - type: 'null'
        tagline:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        album_id:
          anyOf:
            - type: string
            - type: 'null'
        album_alias:
          anyOf:
            - type: string
            - type: 'null'
        album_name:
          anyOf:
            - type: string
            - type: 'null'
        album_description:
          anyOf:
            - type: string
            - type: 'null'
        album_url:
          anyOf:
            - type: string
            - type: 'null'
        channel:
          anyOf:
            - type: string
            - type: 'null'
        channel_id:
          anyOf:
            - type: string
            - type: 'null'
        episode_order:
          anyOf:
            - type: integer
            - type: 'null'
        season:
          anyOf:
            - type: integer
            - type: 'null'
        duration:
          anyOf:
            - type: integer
            - type: 'null'
        is_series:
          type: boolean
          default: false
        is_short:
          type: boolean
          default: false
        is_exclusive:
          type: boolean
          default: false
        is_iqiyi_produced:
          type: boolean
          default: false
        is_dolby:
          type: boolean
          default: false
        is_1080p:
          type: boolean
          default: false
        is_3d:
          type: boolean
          default: false
        is_vip:
          type: boolean
          default: false
        is_tvod:
          type: boolean
          default: false
        is_coupon:
          type: boolean
          default: false
        is_package:
          type: boolean
          default: false
        pay_mark:
          anyOf:
            - type: string
            - type: 'null'
        content_rating:
          anyOf:
            - type: string
            - type: 'null'
        content_warning:
          anyOf:
            - type: string
            - type: 'null'
        publish_date:
          anyOf:
            - type: string
            - type: 'null'
        published_at:
          anyOf:
            - type: integer
            - type: 'null'
        issued_at:
          anyOf:
            - type: integer
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        cover:
          anyOf:
            - type: string
            - type: 'null'
        cast:
          items:
            $ref: '#/components/schemas/IqiyiCastMember'
          type: array
          default: []
        tags:
          items:
            $ref: '#/components/schemas/IqiyiTag'
          type: array
          default: []
        hdr_formats:
          items:
            type: string
          type: array
          default: []
        collection_ids:
          items:
            type: string
          type: array
          default: []
        allowed_regions:
          items:
            type: string
          type: array
          default: []
      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
    IqiyiCastMember:
      properties:
        '@type':
          type: string
          default: IqiyiCastMember
        id:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        credit:
          anyOf:
            - type: string
            - type: 'null'
        role:
          anyOf:
            - type: string
            - type: 'null'
        character:
          anyOf:
            - type: string
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        profile_url:
          anyOf:
            - type: string
            - type: 'null'
      type: object
      required:
        - id
    IqiyiTag:
      properties:
        '@type':
          type: string
          default: IqiyiTag
        id:
          type: string
        name:
          anyOf:
            - type: string
            - type: 'null'
        group:
          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

````