• 42
  • 16940
  • 57

影讯API合集

聚合数据 支持HTTPS

影片信息、评分、影视票房榜,电影院上映信息等API

  • 首次申请送100
  • 5000
  • 20000

¥0 (约元/次)首次申请送100次

  • 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
}

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

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

系统级错误码参照:

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

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

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

完整教学代码示例:

  语言 标题 提供者 时间

常见问题:

  内容 详细
  常见问题: http://www.juhe.cn/qa/index/1534270538

联系我们

  内容 详细
  接口测试: API测试工具
  技术支持: info@juhe.cn
  联系电话: 400-8827-715
  在线客服QQ: 800076065

猜你喜欢

现在注册,百款接口免费测试

免费注册