# iQIYI Album API (iqiyi.album)

- Canonical page: [https://everyinfra.com/en/iqiyi-api/album](https://everyinfra.com/en/iqiyi-api/album?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "iqiyi", "action": "album", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, default 10, max 50 per call
- Mode: sync; add "mode": "async" for slow tasks

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=iqiyi&action=album

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| keyword | not declared | yes | not declared | 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 | enum: arsa / enus / eses / idid / jajp / kokr / msmy / thth / vivn / zhcn / zhtw | no | not declared | 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. |
| language | enum: ar_sa / en_us / es_es / id_id / ja_jp / ko_kr / ms_my / th_th / vi_vn / zh_cn / zh_tw | no | not declared | 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. |
| region | enum: id / intl / jp / kr / my / ph / sg / th / tw / vn | no | not declared | 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. |
| limit | integer (1–50) | no | 10 | The most rows to return in this call, an integer from 1 to 50. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | The record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms. |
| url | Link to the record on the platform. |
| play_url | platform-native meaning |
| title | Title. null when the platform has no titles (for example text-only posts). |
| subtitle | platform-native meaning |
| type | Record type; values depend on the capability (for example video / image / text). |
| is_series | platform-native meaning |
| year | platform-native meaning |
| release_date | platform-native meaning |
| duration_seconds | Duration in seconds. null for content that is not video or audio. |
| duration_sec | platform-native meaning |
| rating | Rating. **The scale varies by platform**: rating_scale on the same row gives the maximum (usually 5; Booking, Douban, iQIYI and NAVER use 10). Convert with rating_scale before comparing across platforms, or the comparison can come out backwards. |
| rating_scale | Maximum of rating in the same row: 5 for five-star scales, 10 for ten-point scales. Present only when the row has a rating. |
| content_rating | platform-native meaning |
| episode_count | platform-native meaning |
| episode_available_count | platform-native meaning |
| image_url | Image link. Capabilities with several images may return an image_urls array. |
| episodes | platform-native meaning |
| cast | platform-native meaning |
| platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "iqiyi",
  "action": "album",
  "params": {
    "keyword": "电影"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "iqiyi",
        "action": "album",
        "params": {
            "keyword": "电影",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-09-26T08:56:04Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2 of 10. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "iqiyi",
  "action": "album",
  "results": [
    {
      "id": "•••",
      "play_url": "https://www.iq.com/play/%E5%B0%8F%E7%BE%8A%E8%82%96%E6%81%A9%E5%A4%A7%E7%94%B5%E5%BD%B1-2015-19rro5fml8?lang=zh_cn",
      "title": "小羊肖恩大电影",
      "type": "Movie",
      "is_series": false,
      "year": 2015,
      "release_date": "2015-07-17",
      "duration_seconds": 5103,
      "rating": 8.2,
      "content_rating": "13+",
      "image_url": "http://pic2.iqiyipic.com/image/20251202/cf/44/v_109440751_m_601_m11.jpg",
      "cast": [
        {
          "name": "贾斯汀·弗莱彻",
          "role": "mainActor",
          "url": "https://www.iq.com/star/%E8%B4%BE%E6%96%AF%E6%B1%80-%E5%BC%97%E8%8E%B1%E5%BD%BB-justin-fletcher-216368005?lang=zh_cn",
          "image_url": "http://pic4.iqiyipic.com/image/20250606/5c/6c/p_216368005_m_601.jpg"
        },
        {
          "name": "约翰·斯帕克斯",
          "role": "mainActor",
          "url": "https://www.iq.com/star/%E7%BA%A6%E7%BF%B0-%E6%96%AF%E5%B8%95%E5%85%8B%E6%96%AF-john-sparkes-216368105?lang=zh_cn",
          "image_url": "http://pic9.iqiyipic.com/image/20250606/a8/94/p_216368105_m_601.jpg"
        },
        {
          "name": "欧米德·吉亚李利",
          "role": "mainActor",
          "url": "https://www.iq.com/star/%E6%AC%A7%E7%B1%B3%E5%BE%B7-%E5%90%89%E4%BA%9A%E6%9D%8E%E5%88%A9-omid-djalili-214853005?lang=zh_cn",
          "image_url": "http://pic1.iqiyipic.com/image/20250613/a1/97/p_214853005_m_601_m1.jpg"
        }
      ],
      "platform": "iqiyi",
      "rating_scale": 10
    },
    {
      "id": "•••",
      "play_url": "https://www.iq.com/play/%E8%BF%98%E6%98%9F%E7%88%B7%E4%B8%80%E9%83%A8%E7%94%B5%E5%BD%B1-2017-19rr986tjo?lang=zh_cn",
      "title": "还星爷一部电影",
      "type": "Movie",
      "is_series": false,
      "year": 2017,
      "release_date": "2017-06-27",
      "duration_seconds": 3720,
      "rating": 4.5,
      "content_rating": "13+",
      "image_url": "http://pic5.iqiyipic.com/image/20220819/d4/9d/v_111181663_m_601_m7.jpg",
      "cast": [
        {
          "name": "闫志鹏",
          "role": "mainActor",
          "url": "https://www.iq.com/star/%E9%97%AB%E5%BF%97%E9%B9%8F-yan-zhi-peng-208619205?lang=zh_cn",
          "image_url": "http://pic6.iqiyipic.com/image/20250606/5e/02/p_208619205_m_601.jpg"
        },
        {
          "name": "杨能",
          "role": "actor",
          "url": "https://www.iq.com/star/%E6%9D%A8%E8%83%BD-yang-neng-232678205?lang=zh_cn",
          "image_url": "http://pic0.iqiyipic.com/image/20250605/ad/ba/p_232678205_m_601.jpg"
        },
        {
          "name": "张美娥",
          "role": "actor",
          "url": "https://www.iq.com/star/%E5%BC%A0%E7%BE%8E%E5%A8%A5-zhang-mei-e-231928105?lang=zh_cn",
          "image_url": "http://pic6.iqiyipic.com/image/20250605/6f/3b/p_231928105_m_601.jpg"
        }
      ],
      "platform": "iqiyi",
      "rating_scale": 10
    }
  ],
  "count": 10,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=iqiyi
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
