# iQIYI API

Search iQIYI videos and retrieve international site album episodes and cast details using keywords and URLs.

Search videos by keyword. Heat scores and play counts are tracked apart from the content.

- Request: POST https://api.everyinfra.com/api/v1/social with `{"platform": "iqiyi", "action": "<action>", "params": {...}}`
- Canonical page: [https://everyinfra.com/en/iqiyi-api](https://everyinfra.com/en/iqiyi-api?utm_medium=ai_doc&utm_campaign=page_md)
- Each capability uses the price recorded in the public catalog. The response includes the amount charged. Authentication failures, invalid parameters, failed calls, and empty results are not charged.

## Actions

### search — Search
Search iQIYI shows and videos by keyword, filtered by category, publish window, quality, source site or sort, with duration, heat value, rating, series and cast. `heat_count` is iQIYI's own popularity score, not a play count, and cannot be compared across platforms.
- Sync delivery · Price: $1.39 per 1,000 requests (every 20 rows count as one call)
- Catalog values: defaultLimit=20, maxLimit=50. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `keyword` (required): Specifies search terms for the search action, or series, album, and cast-member names for the international album action. The album action does not fetch details directly from album URLs, and available libraries vary by region.
  - `category` (optional): Filters video content by category, accepting allowed values such as movie, tv_series, variety_shows, animation, documentary, advertisement, beauty, car, comedy, entertainment, fashion, finance, game, health, life, military, mother_baby, music, news_info, originals, short_films, sports, square_dance, talk_shows, technology, trailers, travel, trending, or all (unrestricted). This parameter filters broad categories rather than cast-member or series tags. One of: advertisement, all, animation, beauty, car, comedy, documentary, entertainment, fashion, finance, game, health, life, military, mother_baby, movie, music, news_info, originals, short_films, sports, square_dance, talk_shows, technology, trailers, travel, trending, tv_series, variety_shows.
  - `publish_date` (optional): Filters search action results by publication timeframe, accepting all, last_24_hours, last_7_days, or last_30_days. This field does not accept YYYY-MM-DD dates, and when both this field and published are present, published takes precedence.
  - `published` (optional): Overrides publish_date in the search action, accepting all, last_24_hours, last_7_days, or last_30_days. This field is a string filter and does not accept boolean true/false values.
  - `quality` (optional): Filters iQIYI search results by the requested video quality. Common values include all, hd, ultra_hd, 720p, and 1080p. It is not a download or transcoding option, and unlisted values may have no effect.
  - `scrape_additional_info` (optional): Controls whether iQIYI search results include additional uploader and engagement information. Pass a JSON boolean; the default is true. Setting it to false disables that extra lookup but does not change the EveryInfra API price.
  - `site` (optional): Provides a source-site condition for search. Common values include all, iqiyi, tencent_video, sohu, youku, tudou, acfun, bilibili, ifeng, cntv, and m1905. It narrows search results to those sites and does not mean each site has a detail action.
  - `sort` (optional): Controls sorting order for video search results, accepting relevance, newest, or popular. It does not sort by user ratings or episode release sequences, and has no effect when requesting a single video. One of: newest, popular, relevance.
- Returns fields: id, url, title, text, category, category_id, duration_seconds, duration_sec, heat_count, rating, rating_scale, rating_count, like_count, comment_count, collect_count, album_id, album_title, album_url, album_episode_count, image_url, wide_image_url, author_name, author_id, author_avatar_url, author_follower_count, author_video_count, author_location, author_org, posted_at, platform, cast
- Capability page: [https://everyinfra.com/en/iqiyi-api/search](https://everyinfra.com/en/iqiyi-api/search?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/iqiyi-api/search.md)

### video — Video details
Get iQIYI video details as JSON from one playback `url`. The record has title, category, duration, publish date, heat value, rating, series details, cast and uploader. Pass a single-video playback link. Series pages and creator profiles are not supported. Use `album` to find a series.
- Sync delivery · Price: $1.39 per 1,000 requests
- Parameters:
  - `url` (required): Accepts a full iQIYI video playback URL (v_*.html format) for the video action. Series/album pages (a_*.html) and creator profile links are not supported; use the album action with keyword for series discovery.
  - `scrape_additional_info` (optional): Controls whether iQIYI search results include additional uploader and engagement information. Pass a JSON boolean; the default is true. Setting it to false disables that extra lookup but does not change the EveryInfra API price.
- Returns fields: id, url, title, text, category, category_id, duration_seconds, duration_sec, heat_count, rating, rating_scale, rating_count, like_count, comment_count, collect_count, album_id, album_title, album_url, album_episode_count, image_url, wide_image_url, author_name, author_id, author_avatar_url, author_follower_count, author_video_count, author_location, author_org, posted_at, platform, cast
- Capability page: [https://everyinfra.com/en/iqiyi-api/video](https://everyinfra.com/en/iqiyi-api/video?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/iqiyi-api/video.md)

### album — Album
Find a series or film in iQIYI's international catalog by title or cast name. Get episode list, total and available episodes, year, release date, rating and content rating. Catalogs differ by the library you choose in `region`. Playback access is not guaranteed.
- Sync delivery · Price: $1.39 per 1,000 requests (every 10 rows count as one call)
- Catalog values: defaultLimit=10, maxLimit=50. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `keyword` (required): Specifies search terms for the search action, or series, album, and cast-member names for the international album action. The album action does not fetch details directly from album URLs, and available libraries vary by region.
  - `lang` (optional): Sets title display language for the album action using compact codes: zhcn, zhtw, enus, jajp, arsa, eses, idid, kokr, msmy, thth, or vivn. This parameter modifies localized metadata labels without requesting video subtitles or altering content library regions. One of: arsa, enus, eses, idid, jajp, kokr, msmy, thth, vivn, zhcn, zhtw.
  - `language` (optional): Accepts a compatibility language code for title localization in the album action: zh_cn (default), zh_tw, en_us, id_id, ms_my, th_th, vi_vn, ko_kr, ja_jp, es_es, or ar_sa. When both this parameter and lang are supplied, lang takes precedence; do not mix code formats across the two parameters. One of: ar_sa, en_us, es_es, id_id, ja_jp, ko_kr, ms_my, th_th, vi_vn, zh_cn, zh_tw.
  - `region` (optional): Selects the content library region for the album action: intl (default), vn, th, id, my, tw, ph, sg, kr, or jp. Any other value returns 422. This parameter changes the regional media catalog rather than the interface language. One of: id, intl, jp, kr, my, ph, sg, th, tw, vn.
- Returns fields: id, url, play_url, title, subtitle, type, is_series, year, release_date, duration_seconds, duration_sec, rating, rating_scale, content_rating, episode_count, episode_available_count, image_url, episodes, cast, platform
- Capability page: [https://everyinfra.com/en/iqiyi-api/album](https://everyinfra.com/en/iqiyi-api/album?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/iqiyi-api/album.md)

## iQIYI API questions

### What can I retrieve with the iQIYI API?

Set `platform` to `iqiyi`. The current catalog lists search, video details, and album. These action names identify different iQIYI objects or views; they are not interchangeable search modes.

### Which input starts the iQIYI `search` request?

Specifies search terms for the search action, or series, album, and cast-member names for the international album action. The album action does not fetch details directly from album URLs, and available libraries vary by region. Send it as `keyword` inside `params`.

### Which fields can iQIYI `search` return?

Its declared schema includes `title`, `text`, `category`, and `category_id`. A declared field can still be absent from an individual record, and every other action has its own field list.

### Does every iQIYI action return immediately?

Actions labeled asynchronous return a job ID you poll. Every other action can also run asynchronously: add `"mode": "async"` to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery.

## Also

- Machine catalog (no key): https://everyinfra.com/openapi.json · GET /api/v1/social/catalog?platform=iqiyi
- API guide for AI clients: https://everyinfra.com/llms.txt · agents guide: https://everyinfra.com/agents.md
