{
  "openapi": "3.0.1",
  "info": {
    "title": "iQIYI Scraper (爱奇艺): Videos, Series, Episodes & Cast",
    "description": "iQIYI (爱奇艺) scraper with no login: search videos with category, date, quality and sort filters (heat, likes, comments, favorites, rating, uploader followers), look up video pages, and get iQIYI International series and movies with episodes and cast. $1.50 per 1,000 videos.",
    "version": "0.1",
    "x-build-id": "362HcPAV6uMvu51pd"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~iqiyi-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-iqiyi-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/memo23~iqiyi-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-iqiyi-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/memo23~iqiyi-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-iqiyi-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "searchKeywords": {
            "title": "Search keywords",
            "type": "array",
            "description": "Search iQIYI videos (Chinese works best, e.g. 狂飙). Each keyword returns up to 50 videos with heat score, likes, comments, favorites, duration, posting time and the uploader's followers. One keyword with one set of filters cannot return more than 50: add more keywords or change the sort to get more.",
            "items": {
              "type": "string"
            }
          },
          "category": {
            "title": "Category",
            "enum": [
              "all",
              "movie",
              "tv_series",
              "variety_shows",
              "animation",
              "documentary",
              "originals",
              "short_films",
              "trailers",
              "entertainment",
              "music",
              "game",
              "sports",
              "news_info",
              "finance",
              "technology",
              "car",
              "beauty",
              "fashion",
              "health",
              "life",
              "travel",
              "military",
              "mother_baby",
              "comedy",
              "talk_shows",
              "square_dance",
              "advertisement",
              "trending"
            ],
            "type": "string",
            "description": "Only videos of this iQIYI channel.",
            "default": "all"
          },
          "publishedWithin": {
            "title": "Posted within",
            "enum": [
              "all",
              "last_24_hours",
              "last_7_days",
              "last_30_days"
            ],
            "type": "string",
            "description": "Only videos posted in this window.",
            "default": "all"
          },
          "quality": {
            "title": "Picture quality",
            "enum": [
              "all",
              "hd",
              "ultra_hd",
              "720p",
              "1080p"
            ],
            "type": "string",
            "description": "Only videos available in this quality.",
            "default": "all"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "newest",
              "popular"
            ],
            "type": "string",
            "description": "Order of the search results.",
            "default": "relevance"
          },
          "maxResultsPerKeyword": {
            "title": "Max videos per keyword",
            "minimum": 5,
            "maximum": 50,
            "type": "integer",
            "description": "5 to 50.",
            "default": 50
          },
          "videoUrls": {
            "title": "Video links",
            "type": "array",
            "description": "iQIYI video pages like https://www.iqiyi.com/v_19rrok4nt0.html. Returns the video's heat score, rating and rating count (for official episodes), description, series, likes, comments and uploader. Short qy.net share links and iq.com links are not supported: open a share link in a browser and paste the v_….html address it lands on.",
            "items": {
              "type": "string"
            }
          },
          "titleKeywords": {
            "title": "Series and movie names",
            "type": "array",
            "description": "Search the iQIYI International (iq.com) catalogue of series, movies, variety shows and anime by name. Each title comes with year, release date, rating, age rating, episode count, the full episode list with links, and the cast with roles and photos.",
            "items": {
              "type": "string"
            }
          },
          "titleLanguage": {
            "title": "Title language",
            "enum": [
              "zhcn",
              "zhtw",
              "enus",
              "jajp",
              "kokr",
              "thth",
              "vivn",
              "idid",
              "msmy",
              "eses",
              "arsa"
            ],
            "type": "string",
            "description": "Language of the titles, cast names and links. English keywords such as \"Story of Yanxi Palace\" work best with English.",
            "default": "zhcn"
          },
          "titleRegion": {
            "title": "Catalogue region",
            "enum": [
              "intl",
              "th",
              "vn",
              "id",
              "my",
              "ph",
              "sg",
              "kr",
              "jp",
              "tw"
            ],
            "type": "string",
            "description": "Which country's iQIYI catalogue to search. International has the most titles; in our tests the Taiwan catalogue returned nothing.",
            "default": "intl"
          },
          "maxTitlesPerKeyword": {
            "title": "Max titles per name",
            "minimum": 3,
            "maximum": 50,
            "type": "integer",
            "description": "3 to 50.",
            "default": 20
          },
          "uploaderDetails": {
            "title": "Include engagement and uploader details",
            "type": "boolean",
            "description": "Likes, comments, favorites, uploader followers and location for search results and video links. Turning it off makes searches faster but leaves those fields empty; the price is the same.",
            "default": true
          },
          "maxItems": {
            "title": "Max rows",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Cap on all rows together. Free-plan runs return up to 100.",
            "default": 1000
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}