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

# /youku/videos

> Get one Youku video — an episode, a trailer, a clip or a standalone film — by its id or play URL. Returns the title, runtime in seconds, publication timestamp, content type, artwork, the show it belongs to, its comment and like counts, the VIP flag and whether commenting, sharing and downloading are allowed.

**Price:** 1 credit

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



## OpenAPI

````yaml /openapi/movies-tv.json post /api/youku/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/youku/videos:
    post:
      tags:
        - /youku
      summary: /youku/videos
      description: >-
        Get one Youku video — an episode, a trailer, a clip or a standalone film
        — by its id or play URL. Returns the title, runtime in seconds,
        publication timestamp, content type, artwork, the show it belongs to,
        its comment and like counts, the VIP flag and whether commenting,
        sharing and downloading are allowed.


        **Price:** 1 credit


        **⚠️ Common errors:** 412: No video with this id
      operationId: __api_youku_videos_post
      parameters:
        - name: access-token
          in: header
          required: true
          schema:
            anyOf:
              - type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/YoukuVideoPayload'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/YoukuVideo'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    YoukuVideoPayload:
      properties:
        timeout:
          type: integer
          maximum: 1500
          minimum: 20
          default: 300
        video:
          type: string
          minLength: 1
      type: object
      required:
        - video
    YoukuVideo:
      properties:
        '@type':
          type: string
          default: YoukuVideo
        id:
          type: string
        numeric_id:
          anyOf:
            - type: string
            - type: 'null'
        name:
          anyOf:
            - type: string
            - type: 'null'
        url:
          anyOf:
            - type: string
            - type: 'null'
        show_id:
          anyOf:
            - type: string
            - type: 'null'
        show_name:
          anyOf:
            - type: string
            - type: 'null'
        show_url:
          anyOf:
            - type: string
            - type: 'null'
        creator_id:
          anyOf:
            - type: string
            - type: 'null'
        creator_name:
          anyOf:
            - type: string
            - type: 'null'
        creator_url:
          anyOf:
            - type: string
            - type: 'null'
        category:
          anyOf:
            - type: string
            - type: 'null'
        video_type:
          anyOf:
            - type: string
            - type: 'null'
        episode_order:
          anyOf:
            - type: integer
            - type: 'null'
        stage:
          anyOf:
            - type: string
            - type: 'null'
        stage_label:
          anyOf:
            - type: string
            - type: 'null'
        duration:
          anyOf:
            - type: integer
            - type: 'null'
        image:
          anyOf:
            - type: string
            - type: 'null'
        publish_date:
          anyOf:
            - type: string
            - type: 'null'
        comment_count:
          anyOf:
            - type: integer
            - type: 'null'
        like_count:
          anyOf:
            - type: integer
            - type: 'null'
        is_vip:
          type: boolean
          default: false
        is_pinned:
          type: boolean
          default: false
        allow_comment:
          type: boolean
          default: false
        allow_download:
          type: boolean
          default: false
        allow_share:
          type: boolean
          default: false
        allow_like:
          type: boolean
          default: false
        audio_languages:
          items:
            type: string
          type: array
          default: []
      type: object
      required:
        - id
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
      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
  securitySchemes:
    AccessToken:
      type: apiKey
      in: header
      name: access-token
      description: API token from the dashboard

````