# iQIYI Video details API (iqiyi.video)

- Canonical page: [https://everyinfra.com/en/iqiyi-api/video](https://everyinfra.com/en/iqiyi-api/video?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "iqiyi", "action": "video", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: single object
- 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=video

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| url | not declared | yes | not declared | 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 | not declared | no | not declared | 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. |

## 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. |
| title | Title. null when the platform has no titles (for example text-only posts). |
| text | Body text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so). |
| category | Category name in the platform's own taxonomy, not normalized across platforms. |
| category_id | platform-native meaning |
| duration_seconds | Duration in seconds. null for content that is not video or audio. |
| duration_sec | platform-native meaning |
| heat_count | 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. |
| rating_count | Number of people who rated. null means not disclosed, not 0. |
| like_count | Likes. null means the platform or this capability does not disclose it; it is not 0. |
| comment_count | Comments. null means not disclosed, not 0. |
| collect_count | Saves or favorites. null means not disclosed, not 0. |
| album_id | platform-native meaning |
| album_title | platform-native meaning |
| album_url | platform-native meaning |
| album_episode_count | platform-native meaning |
| image_url | Image link. Capabilities with several images may return an image_urls array. |
| wide_image_url | platform-native meaning |
| author_name | Author's display name. |
| author_id | Author's unique ID on the platform. |
| author_avatar_url | platform-native meaning |
| author_follower_count | Author's follower count. null means not disclosed. |
| author_video_count | platform-native meaning |
| author_location | platform-native meaning |
| author_org | platform-native meaning |
| posted_at | Publish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it. |
| platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
| cast | platform-native meaning |

## 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": "video",
  "params": {
    "url": "http://www.iqiyi.com/v_12vxqf0wkkw.html"
  }
}'
```

```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": "video",
        "params": {
            "url": "http://www.iqiyi.com/v_12vxqf0wkkw.html",
        },
    },
    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. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "iqiyi",
  "action": "video",
  "results": {
    "id": "•••",
    "url": "https://www.iqiyi.com/v_12vxqf0wkkw.html",
    "title": "风与潮第1集",
    "text": "《风与潮》首次将镜头聚焦于二战时期“孤岛”澳门波谲云诡的金融、贸易暗战，以爱国商人何贤、马万祺、中共地下党员柯麟兄弟等人物的传奇经历为原型，书写一代青年在颠沛中逆风而战，闯出一片生机的故事，致敬每一个在时代变局中坚守的中国人。",
    "category": "电视剧",
    "category_id": 2,
    "heat_count": 1514,
    "rating": 8.2,
    "rating_count": 59101,
    "like_count": 6044,
    "comment_count": 197613,
    "collect_count": 0,
    "album_id": "•••",
    "album_title": "风与潮",
    "album_url": "https://www.iqiyi.com/a_alcou1by21.html",
    "album_episode_count": 31,
    "image_url": "https://pic2.iqiyipic.com/image/20251204/ef/aa/a_100610350_m_601_m4_579_772.jpg",
    "wide_image_url": "https://pic2.iqiyipic.com/image/20251204/ef/aa/a_100610350_m_601_m4_480_270.jpg",
    "posted_at": "2026-09-14T12:36:00+00:00",
    "platform": "iqiyi",
    "cast": [
      {
        "name": "任嘉伦",
        "role": "何贤"
      },
      {
        "name": "蓝盈莹",
        "role": "乔音婉"
      },
      {
        "name": "李纯",
        "role": "郭绮文"
      }
    ],
    "rating_scale": 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
