Redux概览
使用所选语言和国家/地区偏好检索指定标题ID的IMDb Redux概览。用于获取整合的标题概览,以进行目录审查或内容研究。
参数
| 参数 | 必填 | 类型 | 说明 | 示例 | 可选值 |
|---|---|---|---|---|---|
id |
必填 | string | IMDb标题标识符,格式为tt<数字>。 | tt0111161 |
— |
language_country |
可选 | string | 语言与国家/地区偏好。 可用值: - `en_US`: 英语(美国) - `fr_CA`: 法语(加拿大) - `fr_FR`: 法语(法国) - `de_DE`: 德语(德国) - `hi_IN`: 印地语(印度) - `it_IT`: 意大利语(意大利) - `pt_BR`: 葡萄牙语(巴西) - `es_ES`: 西班牙语(西班牙) - `es_US`: 西班牙语(美国) - `es_MX`: 西班牙语(墨西哥) | en_US |
en_USfr_CAfr_FRde_DEhi_INit_ITpt_BRes_ESes_USes_MX |
代码示例
curl -G "https://api.mofa-ai.com/v1/imdb/title_redux_overview_query_v1" \
-H "Authorization: Bearer $MOFA_API_KEY" \
--data-urlencode 'id=tt0111161' \
--data-urlencode 'language_country=en_US'
import os
import requests
resp = requests.get(
"https://api.mofa-ai.com/v1/imdb/title_redux_overview_query_v1",
headers={"Authorization": f"Bearer {os.environ['MOFA_API_KEY']}"},
params={
"id": "tt0111161",
"language_country": "en_US",
},
timeout=60,
)
body = resp.json()
if body["success"]:
print(body["cost_usd"], body["data"])
else:
print(body["error"], body["message"])
const url = new URL("https://api.mofa-ai.com/v1/imdb/title_redux_overview_query_v1");
url.search = new URLSearchParams({
id: "tt0111161",
language_country: "en_US",
});
const resp = await fetch(url, {
headers: { Authorization: `Bearer ${process.env.MOFA_API_KEY}` },
});
const body = await resp.json();
if (body.success) console.log(body.cost_usd, body.data);
else console.error(body.error, body.message);
在线试用
登录后可以在这里直接调用此接口,按价格从余额扣费,失败不收费。新账户赠送 $0.50 试用额度。
响应示例
采集于 2026-11-08,耗时 6916 ms · 请求参数 {"id": "tt0111161", "language_country": "en_US"}
JSON
{
"success": true,
"code": 0,
"message": "success",
"request_id": "req_5f1c2a9be04d7c3a81f6e2d0",
"endpoint": "imdb.title_redux_overview_query_v1",
"cost_usd": 0.01,
"data": {
"code": 0,
"data": {
"title": {
"id": "tt0111161",
"meta": {
"id": "tt0111161",
"restrictions": null
},
"plot": {
"plotText": {
"plainText": "After a banker is sentenced to life in Shawshank Prison, he forms an unlikely friendship with a seasoned inmate and clin…"
}
},
"series": null,
"canRate": {
"isRatable": true
},
"reviews": {
"total": 12079
},
"runtime": {
"seconds": 8520
},
"episodes": null,
"interests": {
"edges": [
{
"node": {
"id": "in0000077",
"__typename": "Interest",
"description": {
"value": {
"plainText": "The epic subgenre features grand and sweeping stories often set against significant historical, cultural, or societal ba…"
}
},
"primaryText": {
"id": "Epic",
"text": "Epic",
"__typename": "InterestText"
},
"primaryImage": {
"id": "rm3123641601",
"url": "https://m.media-amazon.com/images/M/MV5BZmZkMzI4YWEtMmIxMi00ZDA2LTk3MDMtNzVmOGQ1NzI5OTU2XkEyXkFqcGc@._V1_.jpg",
"type": "still_frame",
"names": [
{
"id": "nm0000080",
"akas": {
"edges": [
{
"node": "…"
},
"… +4"
]
},
"nameText": {
"text": "Orson Welles"
},
"__typename": "Name",
"primaryImage": {
"id": "rm3635232257",
"url": "https://m.media-amazon.com/images/M/MV5BNTZmNzM4YTItMzMzMC00NjgwLTkyYTgtNTNiOTFiNWEyMzIyXkEyXkFqcGc@._V1_.jpg",
"width": 2400,
"height": 3000,
"__typename": "Image"
}
}
],
"width": 1200,
"height": 900,
"source": {
"text": null,
"banner": null,
"attributionUrl": null
},
"titles": [
{
"id": "tt0033467",
"titleText": {
"text": "Citizen Kane",
"isOriginalTitle": true
},
"titleType": {
"id": "movie",
"text": "Movie",
"isSeries": false,
"isEpisode": false,
"__typename": "TitleType",
"categories": [
{
"id": "…",
"text": "…",
"value": "…"
}
],
"canHaveEpisodes": false,
"displayableProperty": {
"value": {
"plainText": "…"
}
}
},
"__typename": "Title",
"releaseDate": {
"day": 5,
"year": 1941,
"month": 9,
"country": {
"id": "US"
},
"__typename": "ReleaseDate",
"attributes": [],
"restriction": null,
"displayableProperty": {
"qualifiersInMarkdownList": null
}
},
"releaseYear": {
"year": 1941,
"endYear": null,
"__typename": "YearRange"
},
"primaryImage": {
"id": "rm684416000",
"url": "https://m.media-amazon.com/images/M/MV5BYjk1ZDJlMmUtOWQ0Zi00MDM5LTk1OGYtODczNjFmMGYwZGVkXkEyXkFqcGc@._V1_.jpg",
"width": 1100,
"height": 1649,
"__typename": "Image"
},
"originalTitleText": {
"text": "Citizen Kane",
"isOriginalTitle": true
}
}
],
"caption": {
"plainText": "Orson Welles in Citizen Kane (1941)"
},
"copyright": null,
"countries": [],
"createdBy": null,
"languages": [],
"__typename": "Image"
},
"secondaryText": {
"id": "Subgenre",
"text": "Subgenre",
"__typename": "InterestText"
}
}
},
"… +4"
]
},
"titleText": {
"text": "The Shawshank Redemption",
"isOriginalTitle": true
},
"titleType": {
"id": "movie",
"text": "Movie",
"isSeries": false,
"isEpisode": false,
"__typename": "TitleType",
"categories": [
{
"id": "movie",
"text": "Movie",
"value": "movie"
}
],
"canHaveEpisodes": false,
"displayableProperty": {
"value": {
"plainText": ""
}
}
},
"__typename": "Title",
"metacritic": {
"url": "https://www.metacritic.com/movie/the-shawshank-redemption?ftag=MCD-06-10aaa1c",
"metascore": {
"score": 82,
"reviewCount": 22
}
},
"certificate": {
"id": "ce0067765",
"rating": "R",
"country": {
"id": "US"
},
"__typename": "Certificate",
"ratingsBody": {
"id": "MPAA",
"text": "MPAA"
},
"ratingReason": "Rated R for language and prison violence"
},
"releaseDate": {
"day": 14,
…
示例较长,此处截断显示。