iQIYI Album API
API health
- 24h health
- Normal
- 24h average time
- —
- Healthy / normal
- Available
- Limited
- Mostly down
Last 24 hours
Last 30 days
Locate a series or film in iQIYI's international catalog by title or cast name, with episode list, total and available episodes, year, release date, rating and content rating. Catalogs differ by the library chosen in region, and playback access is not guaranteed.
Price $1.39 per 1,000 requests ($0.001389 per call). Failed calls and empty results are not charged. Synchronous. For slow jobs add "mode": "async" to the body, take the job_id and poll.
AI prompt
Paste this into your AI assistant. It already holds this endpoint's parameters, response fields and an example request, so the assistant can ask what you need and then write the scraper.
Please help me write a data collection script with the EveryInfra iQIYI Album endpoint (iqiyi/album).
Endpoint contract:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to iqiyi and action to album, and put the parameters inside params.
- Required parameters:
- keyword: Specifies search terms for the search action, or series, album, and cast-member names for the international album action.
- Optional parameters:
- lang: Sets title display language for the album action using compact codes: zhcn, zhtw, enus, jajp, arsa, eses, idid, kokr, msmy, thth, or vivn. (allowed: arsa / enus / eses / idid / jajp / kokr / msmy / thth)
- language: 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. (allowed: ar_sa / en_us / es_es / id_id / ja_jp / ko_kr / ms_my / th_th)
- region: 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. (allowed: id / intl / jp / kr / my / ph / sg / th)
- limit: 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. (default: 10)
- Returns a list of records. Main fields of each record: id, url, play_url, title, subtitle, type, is_series, year, release_date, duration_seconds, duration_sec, rating; 19 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=iqiyi.
- Example request body:
{
"platform": "iqiyi",
"action": "album",
"params": {
"keyword": "电影"
}
}
- Price: $1.39 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.
Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.Request parameters
| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
platform | body | string | Yes | iqiyi | Platform identifier, fixed value. |
action | body | string | Yes | album | Capability identifier, fixed value. |
keyword | body.params | Not declared | Yes | - | 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 | body.params | enum | No | - | 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.Allowed valuesarsaenusesesididjajpkokrmsmyththvivnzhcnzhtw |
language | body.params | enum | No | - | 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.Allowed valuesar_saen_uses_esid_idja_jpko_krms_myth_thvi_vnzh_cnzh_tw |
region | body.params | enum | No | - | 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.Allowed valuesidintljpkrmyphsgthtwvn |
limit | body.params | 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. |
Code samples
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": "电影"
}
}'[OpenAPI definition (JSON)]Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
Response example
Captured September 26, 2026 at 08:56 (UTC) by calling this API with the parameters in the code sample above. results and count are that call's real response with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2. id, billing and quota differ on every call, so only their shape is shown.
{
"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": { … }
}Response fields
Business data is in results. The table lists the fields a record can contain; values the platform does not show are never made up.
| 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 | Keeps the platform's own meaning |
title | Title. null when the platform has no titles (for example text-only posts). |
subtitle | Keeps the platform's own meaning |
type | Record type; values depend on the capability (for example video / image / text). |
is_series | Keeps the platform's own meaning |
year | Keeps the platform's own meaning |
release_date | Keeps the platform's own meaning |
duration_seconds | Duration in seconds. null for content that is not video or audio. |
duration_sec | Keeps the platform's own 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 | Keeps the platform's own meaning |
episode_count | Keeps the platform's own meaning |
episode_available_count | Keeps the platform's own meaning |
image_url | Image link. Capabilities with several images may return an image_urls array. |
episodes | Keeps the platform's own meaning |
cast | Keeps the platform's own meaning |
platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
Errors and billing
- 401
- Missing or invalid key. Authentication runs before parameter checks, so unauthenticated requests never see the parameter schema.
- 422
- Wrong parameter name or value. The error lists the parameters and allowed values this capability accepts and the closest match; it happens before any charge.
- 402
- Insufficient balance. Top up first.
- 429
- The account's per-minute request limit was reached (all of its API keys count together; a key's own lower limit applies first). Wait for Retry-After and try again; a rate package in the console raises the limit.
- 503
- Could not complete right now. Any charge for the call goes back to your balance automatically, and the billing receipt in the response states the actual outcome, including when it is not yet known. Do not resend blindly.
- 200 empty
- The request completed without data and is not charged (billing.reason = empty_result_refunded).
Official references
Used only to check objects and terms. They do not imply authorization or endorsement of EveryInfra by the platform.
- iQIYI International: Regional Copyright Restrictions and Active Library ↗
iQIYI International help FAQs on copyright restrictions explain that regional licensing may prevent content playback and external search results may not reflect the active library. Therefore, album region options and retrieved metadata do not constitute a playback entitlement guarantee, let alone a method to bypass regional restrictions.
Checked 2026-09-04