前台接口

查询影视信息

接口地址:https://api.iyuu.cn/index.php?s=App.Movie.Movie

接口描述: 调用豆瓣、IMDb查询影片信息(优先豆瓣)

请求协议
HTTP/HTTPS
请求方式
GET/POST
编码格式
UTF-8
返回格式
JSON

接口参数

参数名字类型是否必须默认值其他说明
url字符串必须最小:1查询参数
mode布尔型可选false返回空数据

返回结果

返回字段类型说明
ret整型状态码,200表示成功,4xx表示客户端非法请求,5xx表示服务器错误,详情参见错误列表
data对象/混合类型业务数据,由各自接口指定,通常为对象
msg字符串提示信息,失败时的错误提示

在线测试   

参数是否必填
service 必须
url 必须
mode 可选

接口返回示例

{
    "ret": 200,
    "data": {
        "id": 35087699,
        "@form": "douban",
        "directors": [
            {
                "alt": "https://movie.douban.com/celebrity/1106979/",
                "id": "1106979",
                "name": "刘伟强 Andrew Lau"
            }
        ],
        "writers": [
            {
                "alt": "https://movie.douban.com/celebrity/1419542/",
                "id": "1419542",
                "name": "于勇敢 Yonggan Yu"
            }
        ],
        "casts": [
            {
                "alt": "https://movie.douban.com/celebrity/1274319/",
                "id": "1274319",
                "name": "张涵予 Hanyu Zhang"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1010504/",
                "id": "1010504",
                "name": "袁泉 Quan Yuan"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1312699/",
                "id": "1312699",
                "name": "朱亚文 Yawen Zhu"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1274252/",
                "id": "1274252",
                "name": "李晨 Chen Li"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1340022/",
                "id": "1340022",
                "name": "易烊千玺 Jackson Yee"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1337644/",
                "id": "1337644",
                "name": "欧豪 Oho Ou"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1412762/",
                "id": "1412762",
                "name": "周也 Ye Zhou"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1325753/",
                "id": "1325753",
                "name": "冯文娟 Wenjuan Feng"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1274576/",
                "id": "1274576",
                "name": "耿乐 Le Geng"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1313231/",
                "id": "1313231",
                "name": "梁大维 Dawei Liang"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1339968/",
                "id": "1339968",
                "name": "小爱 Hao Liu"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1328280/",
                "id": "1328280",
                "name": "雅玫 Yamei Zhang"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1413270/",
                "id": "1413270",
                "name": "杨祺如 Qiru Yang"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1369940/",
                "id": "1369940",
                "name": "叶禾 He Ye"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1346433/",
                "id": "1346433",
                "name": "蒋林燕 Linyan Jiang"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1047083/",
                "id": "1047083",
                "name": "梅婷 Ting Mei"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1274844/",
                "id": "1274844",
                "name": "李沁 Qin Li"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1353578/",
                "id": "1353578",
                "name": "张天爱 Tian'ai Zhang"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1042341/",
                "id": "1042341",
                "name": "宋佳 Jia Song"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1014618/",
                "id": "1014618",
                "name": "俞飞鸿 Faye Yu"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1274649/",
                "id": "1274649",
                "name": "倪虹洁 Hongjie Ni"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1275721/",
                "id": "1275721",
                "name": "冯绍峰 Shaofeng Feng"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1274425/",
                "id": "1274425",
                "name": "周笔畅 Bichang Zhou"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1314329/",
                "id": "1314329",
                "name": "张颂文 Songwen Zhang"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1274254/",
                "id": "1274254",
                "name": "张子枫 Zifeng Zhang"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1275756/",
                "id": "1275756",
                "name": "佟丽娅 Liya Tong"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1356456/",
                "id": "1356456",
                "name": "谷嘉诚 Jason Gu"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1313885/",
                "id": "1313885",
                "name": "刘威 Wei Liu"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1312909/",
                "id": "1312909",
                "name": "刘佳 Jia Liu"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1275776/",
                "id": "1275776",
                "name": "赵宁宇 Ningyu Zhao"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1314471/",
                "id": "1314471",
                "name": "王挺 Ting Wang"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1313809/",
                "id": "1313809",
                "name": "余皑磊 Ailei Yu"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1276144/",
                "id": "1276144",
                "name": "黄璐 Lu Huang"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1274888/",
                "id": "1274888",
                "name": "印小天 Xiaotian Yin"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1314636/",
                "id": "1314636",
                "name": "张嘉倪 Jiani Zhang"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1014738/",
                "id": "1014738",
                "name": "释小龙 Siu Lung Sik"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1413271/",
                "id": "1413271",
                "name": "高戈 Ge Gao"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1116446/",
                "id": "1116446",
                "name": "刘琳 Lin Liu"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1321645/",
                "id": "1321645",
                "name": "来喜 Laixi"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1350013/",
                "id": "1350013",
                "name": "万国鹏 Guopeng Wan"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1350000/",
                "id": "1350000",
                "name": "王昭 Zhao Wang"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1352902/",
                "id": "1352902",
                "name": "石昊正 Haozheng Shi"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1459157/",
                "id": "1459157",
                "name": "程涛 Motor Cheng"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1317865/",
                "id": "1317865",
                "name": "于冬 Dong Yu"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1106979/",
                "id": "1106979",
                "name": "刘伟强 Andrew Lau"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1321355/",
                "id": "1321355",
                "name": "李锦文 Peggy Lee Kam-Man"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1423660/",
                "id": "1423660",
                "name": "蒋德富 Defu Jiang"
            },
            {
                "alt": "https://movie.douban.com/celebrity/1423706/",
                "id": "1423706",
                "name": "曲吉小江 Xiaojiang Quji"
            }
        ],
        "title": "中国医生",
        "original_title": "",
        "aka": [
            "中国·医生",
            "Chinese Doctors"
        ],
        "imdb": "tt13696296",
        "alt": "https://movie.douban.com/subject/35087699/",
        "year": "2021",
        "rating": {
            "max": "10",
            "average": "6.9",
            "numRaters": "40137",
            "min": "2"
        },
        "images": {
            "small": "https://img9.doubanio.com/view/photo/s_ratio_poster/public/p2666591984.jpg",
            "large": "https://img9.doubanio.com/view/photo/l_ratio_poster/public/p2666591984.jpg",
            "medium": "https://img9.doubanio.com/view/photo/m_ratio_poster/public/p2666591984.jpg"
        },
        "subtype": "movie",
        "summary": "电影根据新冠肺炎疫情防控斗争的真实事件改编,以武汉市金银潭医院为核心故事背景,同时兼顾武汉同济医院、武汉市肺科医院、武汉协和医院、武汉大学人民医院(湖北省人民医院)、火神山医院、方舱医院等兄弟单位,以武汉医护人员、全国各省市援鄂医疗队为人物原型,全景式记录波澜壮阔、艰苦卓绝的抗疫斗争。",
        "pubdates": [
            "2021-07-09(中国大陆)"
        ],
        "mainland_pubdate": "",
        "durations": [
            "129分钟"
        ],
        "tags": [
            "抗疫",
            "真实事件改编",
            "疫情",
            "温情",
            "中国大陆",
            "人性",
            "2021",
            "社会"
        ],
        "languages": [
            "汉语普通话"
        ],
        "genres": [
            "剧情",
            "灾难"
        ],
        "countries": [
            "中国大陆"
        ],
        "videos": [],
        "photos": [],
        "awards": [],
        "@type": "movie",
        "JsonLD": {
            "@context": "http://schema.org",
            "name": "中国医生",
            "url": "/subject/35087699/",
            "image": "https://img9.doubanio.com/view/photo/s_ratio_poster/public/p2666591984.jpg",
            "director": [
                {
                    "@type": "Person",
                    "url": "/celebrity/1106979/",
                    "name": "刘伟强 Andrew Lau"
                }
            ],
            "author": [
                {
                    "@type": "Person",
                    "url": "/celebrity/1419542/",
                    "name": "于勇敢 Yonggan Yu"
                }
            ],
            "actor": [
                {
                    "@type": "Person",
                    "url": "/celebrity/1274319/",
                    "name": "张涵予 Hanyu Zhang"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1010504/",
                    "name": "袁泉 Quan Yuan"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1312699/",
                    "name": "朱亚文 Yawen Zhu"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1274252/",
                    "name": "李晨 Chen Li"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1340022/",
                    "name": "易烊千玺 Jackson Yee"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1337644/",
                    "name": "欧豪 Oho Ou"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1412762/",
                    "name": "周也 Ye Zhou"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1325753/",
                    "name": "冯文娟 Wenjuan Feng"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1274576/",
                    "name": "耿乐 Le Geng"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1313231/",
                    "name": "梁大维 Dawei Liang"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1339968/",
                    "name": "小爱 Hao Liu"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1328280/",
                    "name": "雅玫 Yamei Zhang"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1413270/",
                    "name": "杨祺如 Qiru Yang"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1369940/",
                    "name": "叶禾 He Ye"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1346433/",
                    "name": "蒋林燕 Linyan Jiang"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1047083/",
                    "name": "梅婷 Ting Mei"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1274844/",
                    "name": "李沁 Qin Li"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1353578/",
                    "name": "张天爱 Tian'ai Zhang"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1042341/",
                    "name": "宋佳 Jia Song"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1014618/",
                    "name": "俞飞鸿 Faye Yu"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1274649/",
                    "name": "倪虹洁 Hongjie Ni"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1275721/",
                    "name": "冯绍峰 Shaofeng Feng"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1274425/",
                    "name": "周笔畅 Bichang Zhou"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1314329/",
                    "name": "张颂文 Songwen Zhang"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1274254/",
                    "name": "张子枫 Zifeng Zhang"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1275756/",
                    "name": "佟丽娅 Liya Tong"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1356456/",
                    "name": "谷嘉诚 Jason Gu"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1313885/",
                    "name": "刘威 Wei Liu"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1312909/",
                    "name": "刘佳 Jia Liu"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1275776/",
                    "name": "赵宁宇 Ningyu Zhao"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1314471/",
                    "name": "王挺 Ting Wang"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1313809/",
                    "name": "余皑磊 Ailei Yu"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1276144/",
                    "name": "黄璐 Lu Huang"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1274888/",
                    "name": "印小天 Xiaotian Yin"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1314636/",
                    "name": "张嘉倪 Jiani Zhang"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1014738/",
                    "name": "释小龙 Siu Lung Sik"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1413271/",
                    "name": "高戈 Ge Gao"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1116446/",
                    "name": "刘琳 Lin Liu"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1321645/",
                    "name": "来喜 Laixi"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1350013/",
                    "name": "万国鹏 Guopeng Wan"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1350000/",
                    "name": "王昭 Zhao Wang"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1352902/",
                    "name": "石昊正 Haozheng Shi"
                },
                {
                    "@type": "Person",
                    "url": "/celebrity/1459157/",
                    "name": "程涛 Motor Cheng"
                }
            ],
            "datePublished": "2021-07-09",
            "genre": [
                "剧情",
                "灾难"
            ],
            "duration": "PT2H9M",
            "description": "电影根据新冠肺炎疫情防控斗争的真实事件改编,以武汉市金银潭医院为核心故事背景,同时兼顾武汉同济医院、武汉市肺科医院、武汉协和医院、武汉大学人民医院(湖北省人民医院)、火神山医院、方舱医院等兄弟单位,以...",
            "@type": "Movie",
            "aggregateRating": {
                "@type": "AggregateRating",
                "ratingCount": "40137",
                "bestRating": "10",
                "worstRating": "2",
                "ratingValue": "6.9"
            }
        }
    },
    "msg": "",
    "version": "2.0.0"
}

错误列表

错误状态码错误描述信息
400表示客户端参数错误
404表示接口服务不存在
500表示服务端内部错误

本文档生成时间:2024-11-23 13:05:47