聚合数据

影讯API合集

  • 数据类型: 应用开发
  • 接口状态: 正常
  • 已连接App的数量: 30002
  • 描述: 影片信息、评分、影视票房榜,电影院上映信息等API

接口地址: http://v.juhe.cn/movie/cinemas.movies

支持格式: JSON/XML

请求方式: HTTP GET

请求示例: http://v.juhe.cn/movie/cinemas.movies?key=您申请的key&cinemaid=1188

请求参数:

名称 类型 必填 说明
cinemaid int 影院ID
movieid int 指定电影ID,默认全部电影
dtype string 返回数据的格式,xml/json,默认json

返回字段:

名称 类型 说明
error_code int 返回码
movieId string 电影ID
movieName string 电影名称
pic_url string 电影图片
broadcast array 电影的场次信息

JSON返回示例:

{
    "reason": "success",
    "result": {
        "cinema_info": {
            "id": "1188",
            "name": "橙天嘉禾苏州影城",
            "city": "苏州",
            "telephone": "0512-69566540",
            "address": "苏州工业园区现代大道1699号 印象城三层"
        },
        "lists": [
            {
                "movieId": "151951",
                "movieName": "美国队长2",
                "pic_url": "http://img31.mtime.cn/mt/2014/03/16/154554.36400206_96X128.jpg",
                "broadcast": [
                    {
                        "hall": "7号厅",
                        "price": "63",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709956/",
                        "time": "11:20"
                    },
                    {
                        "hall": "1号厅",
                        "price": "63",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709930/",
                        "time": "12:10"
                    },
                    {
                        "hall": "3号厅",
                        "price": "63",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709938/",
                        "time": "13:00"
                    },
                    {
                        "hall": "5号厅",
                        "price": "63",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709947/",
                        "time": "13:40"
                    },
                    {
                        "hall": "1号厅",
                        "price": "63",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709931/",
                        "time": "14:40"
                    },
                    {
                        "hall": "3号厅",
                        "price": "63",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709939/",
                        "time": "15:30"
                    },
                    {
                        "hall": "5号厅",
                        "price": "63",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709948/",
                        "time": "16:30"
                    },
                    {
                        "hall": "3号厅",
                        "price": "93",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709940/",
                        "time": "18:00"
                    },
                    {
                        "hall": "5号厅",
                        "price": "93",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709949/",
                        "time": "19:10"
                    },
                    {
                        "hall": "1号厅",
                        "price": "93",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709932/",
                        "time": "19:50"
                    },
                    {
                        "hall": "3号厅",
                        "price": "93",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709941/",
                        "time": "20:30"
                    },
                    {
                        "hall": "9号厅",
                        "price": "93",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709966/",
                        "time": "21:10"
                    },
                    {
                        "hall": "1号厅",
                        "price": "93",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709933/",
                        "time": "22:20"
                    }
                ]
            },
            {
                "movieId": "172743",
                "movieName": "魔警",
                "pic_url": "http://img31.mtime.cn/mt/2014/04/09/085413.72005937_96X128.jpg",
                "broadcast": [
                    {
                        "hall": "9号厅",
                        "price": "43",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709967/",
                        "time": "10:50"
                    },
                    {
                        "hall": "8号厅",
                        "price": "43",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709962/",
                        "time": "13:15"
                    },
                    {
                        "hall": "9号厅",
                        "price": "43",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709968/",
                        "time": "14:15"
                    },
                    {
                        "hall": "8号厅",
                        "price": "43",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709963/",
                        "time": "15:20"
                    },
                    {
                        "hall": "9号厅",
                        "price": "43",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709969/",
                        "time": "16:40"
                    },
                    {
                        "hall": "8号厅",
                        "price": "43",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709964/",
                        "time": "17:50"
                    },
                    {
                        "hall": "9号厅",
                        "price": "63",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709970/",
                        "time": "19:00"
                    },
                    {
                        "hall": "2号厅",
                        "price": "63",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709934/",
                        "time": "20:50"
                    },
                    {
                        "hall": "5号厅",
                        "price": "63",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709950/",
                        "time": "21:40"
                    },
                    {
                        "hall": "7号厅",
                        "price": "63",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709957/",
                        "time": "22:30"
                    }
                ]
            },
            {
                "movieId": "177879",
                "movieName": "里约大冒险2",
                "pic_url": "http://img31.mtime.cn/mt/2014/03/20/091804.71943568_96X128.jpg",
                "broadcast": [
                    {
                        "hall": "4号厅",
                        "price": "63",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709942/",
                        "time": "11:10"
                    },
                    {
                        "hall": "4号厅",
                        "price": "63",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709943/",
                        "time": "14:30"
                    },
                    {
                        "hall": "6号厅",
                        "price": "120",
                        "ticket_url": "",
                        "time": "15:00"
                    },
                    {
                        "hall": "4号厅",
                        "price": "63",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709944/",
                        "time": "16:50"
                    },
                    {
                        "hall": "7号厅",
                        "price": "93",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709958/",
                        "time": "18:10"
                    },
                    {
                        "hall": "6号厅",
                        "price": "120",
                        "ticket_url": "",
                        "time": "19:20"
                    },
                    {
                        "hall": "7号厅",
                        "price": "93",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709959/",
                        "time": "20:20"
                    },
                    {
                        "hall": "6号厅",
                        "price": "120",
                        "ticket_url": "",
                        "time": "21:20"
                    }
                ]
            },
            {
                "movieId": "190465",
                "movieName": "超验骇客",
                "pic_url": "http://img31.mtime.cn/mt/2014/03/07/165346.19559684_96X128.jpg",
                "broadcast": [
                    {
                        "hall": "6号厅",
                        "price": "120",
                        "ticket_url": "",
                        "time": "12:10"
                    },
                    {
                        "hall": "2号厅",
                        "price": "43",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709935/",
                        "time": "13:10"
                    },
                    {
                        "hall": "2号厅",
                        "price": "43",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709936/",
                        "time": "15:40"
                    },
                    {
                        "hall": "6号厅",
                        "price": "120",
                        "ticket_url": "",
                        "time": "17:10"
                    },
                    {
                        "hall": "2号厅",
                        "price": "63",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709937/",
                        "time": "18:30"
                    },
                    {
                        "hall": "4号厅",
                        "price": "93",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709945/",
                        "time": "19:30"
                    },
                    {
                        "hall": "8号厅",
                        "price": "63",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709965/",
                        "time": "20:10"
                    },
                    {
                        "hall": "4号厅",
                        "price": "93",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709946/",
                        "time": "21:45"
                    }
                ]
            },
            {
                "movieId": "209220",
                "movieName": "最佳嫌疑人",
                "pic_url": "http://img31.mtime.cn/mt/2014/04/14/142239.57219598_96X128.jpg",
                "broadcast": [
                    {
                        "hall": "7号厅",
                        "price": "43",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709960/",
                        "time": "13:55"
                    },
                    {
                        "hall": "7号厅",
                        "price": "43",
                        "ticket_url": "http://piao.mtime.com/onlineticket/showtime/79709961/",
                        "time": "16:00"
                    }
                ]
            }
        ]
    },
    "error_code": 0
}

XML返回示例:


          

备注:

服务级错误码参照(error_code):

错误码 说明
204201 影片标题不能为空
204202 查询失败
204203 查询不到相关记录
204204 城市ID错误
204205 错误的经纬度
204206 错误的电影院ID
204207 查询的电影院不存在
204208 错误的电影ID

系统级错误码参照:

错误码 说明
10001 错误的请求KEY
10002 该KEY无请求权限
10003 KEY过期
10004 错误的OPENID
10005 应用未审核超时,请提交认证
10007 未知的请求源
10008 被禁止的IP
10009 被禁止的KEY
10011 当前IP请求超过限制
10012 请求超过次数限制
10013 测试KEY超过请求限制
10014 系统内部异常(调用充值类业务时,请务必联系客服或通过订单查询接口检测订单,避免造成损失)
10020 接口维护
10021 接口停用

错误码格式说明(示例:200201):

2 002 01
服务级错误(1为系统级错误) 服务模块代码(即数据ID) 具体错误代码

《影讯API合集》资费说明:

等级 价格(元) 请求次数
发展套餐 1000.00 50000
会员套餐 3000.00 200000
豪华套餐 5000.00 500000

其他相关内容:

内容 详细
接口测试 API测试工具
技术支持 info@juhe.cn
联系电话 0512-62391880
QQ交流群 264591694
在线客服QQ 1794844675
商务合作QQ 603866358