芒果API接口
  1. 接口列表
芒果API接口
  • 对接必读
  • 回调通知
  • API兼容说明(仅旧版本查看)
  • 接口列表
    • 全国所有城市
      POST
    • 城市的行政区/县
      POST
    • 热映电影&待上映电影
      POST
    • 搜索影片或影院
      POST
    • 影片信息&某城市下的影片排期
      POST
    • 影院列表
      POST
    • 查询某影院所属院线
      POST
    • 影片近期有排期的影院
      POST
    • 影院信息&影院排期的电影数据
      POST
    • 影院的电影场次数据
      POST
    • 影院的电影场次座位数据
      POST
    • 锁座下单
      POST
    • 释放座位
      POST
    • 确认下单
      POST
    • 查询订单详情
      POST
    • 查询账户余额
      POST
    • 获取H5+Token链接
      POST
    • 批量拉取影院数据
      POST
    • 批量拉取场次数据
      POST
  • 其他
    • APP/微信小程序嵌入H5
  1. 接口列表

影院的电影场次数据

POST
/api/622c07d7c7d8f
area_price示例:[{"area":"32","price":{"user_price":54.9,"supplier_price":48.9,"agent_rebate":6,"price":"60.90","limit_price":"48.9"}}]
area_price字段说明:[{"area":"分区ID","price":{"user_price":"用户付款价格","price":"原价","supplier_price":"无需关注该字段","agent_rebate":"无需关注该字段","limit_price":"限价金额"}}]
特殊说明:部分场次的showid中带有特殊符号,C端产品在跳转页面时可能会携带showid的参数,会导致特殊符号丢失。在跳转前对showid进行url编码,跳转后进行url解码。
URL编码示例:pages/index/index?showid=encodeURIComponent(showid)
URL解码示例:decodeURIComponent(showid)

请求参数

Body 参数application/json
cinemaid
integer 
影院ID
必需
film_id
integer 
影片ID
必需
date
string 
查询指定日期
可选
例如:2021-01-01
示例
{
    "cinemaid":26018,
    "film_id":"1429839",
    "date":"2025-01-22",
    "agent_id":"100645",
    "app_id":"",
    "signid":"adsfasd"
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-service.mgmovie.net/api/622c07d7c7d8f' \
--header 'Content-Type: application/json' \
--data-raw '{
    "cinemaid":26018,
    "film_id":"1429839",
    "date":"2025-01-22",
    "agent_id":"100645",
    "app_id":"",
    "signid":"adsfasd"
}'

返回响应

🟢200成功
application/json
Body
success
boolean 
必需
code
integer 
必需
message
string 
必需
data
object 
必需
show_list
array [object {19}] 
场次数据
必需
dates
array [object {2}] 
排期数据
必需
示例
{
    "success": true,
    "code": 1,
    "message": "操作成功",
    "data": {
        "show_list": [
            {
                "show_id": "MTMwNzUwMDEjbWFuZ28jMDAxMDQ0OTIwMjEjbWFuZ28jMjAyMi0wNy0yNSAxNTowNTowMA==",
                "showid": "MTIzMjU2I0BpbWFubUAjMjg5MyNAaW1hbm1AIzE2NTg3MzI3MDAjQGltYW5tQCMxNzUjQGltYW5tQCM1",
                "cinemaid": 123256,
                "cinema_code": "13075001",
                "hall_name": "7号厅PRIME厅儿童需购票",
                "film_id": 2893,
                "film_code": "00104492021",
                "film_name": "神探大战",
                "duration": "101",
                "show_time": "2022-07-25 15:05:00",
                "stop_sell_time": "2022-07-25 14:35:00",
                "show_version_type": "中文 2D",
                "language": "中文",
                "plan_type": "2D",
                "city_id": 175,
                "settle_price": 35.1,
                "price": 38.9,
                "min_price": 38.9,
                "net_price": 38.9,
                "original_price": 38.9,
                "rebate_price": 35.1,
                "tpp_prices": "[]",
                "area_price": "[{\"area\":\"32\",\"price\":{\"user_price\":37.1,\"supplier_price\":34.9,\"agent_rebate\":2.2,\"price\":\"40.90\"}},{\"area\":\"33\",\"price\":{\"user_price\":35.1,\"supplier_price\":32.9,\"agent_rebate\":2.2,\"price\":\"38.90\"}},{\"area\":\"1\",\"price\":{\"user_price\":35.1,\"supplier_price\":32.9,\"agent_rebate\":2.2,\"price\":\"38.90\"}}]",
                "form_company": 0,
                "created_at": "2022-07-23 12:21:35",
                "updated_at": "2022-07-25 13:20:37"
            },
            {
                "show_id": "MTMwNzUwMDEjbWFuZ28jMDAxMDQ0OTIwMjEjbWFuZ28jMjAyMi0wNy0yNSAxNzowNTowMA==",
                "showid": "MTIzMjU2I0BpbWFubUAjMjg5MyNAaW1hbm1AIzE2NTg3Mzk5MDAjQGltYW5tQCMxNzUjQGltYW5tQCM1",
                "cinemaid": 123256,
                "cinema_code": "13075001",
                "hall_name": "7号厅PRIME厅儿童需购票",
                "film_id": 2893,
                "film_code": "00104492021",
                "film_name": "神探大战",
                "duration": "101",
                "show_time": "2022-07-25 17:05:00",
                "stop_sell_time": "2022-07-25 16:35:00",
                "show_version_type": "中文 2D",
                "language": "中文",
                "plan_type": "2D",
                "city_id": 175,
                "settle_price": 35.1,
                "price": 38.9,
                "min_price": 38.9,
                "net_price": 38.9,
                "original_price": 38.9,
                "rebate_price": 35.1,
                "tpp_prices": "[]",
                "area_price": "[{\"area\":\"32\",\"price\":{\"user_price\":37.1,\"supplier_price\":34.9,\"agent_rebate\":2.2,\"price\":\"40.90\"}},{\"area\":\"33\",\"price\":{\"user_price\":35.1,\"supplier_price\":32.9,\"agent_rebate\":2.2,\"price\":\"38.90\"}},{\"area\":\"1\",\"price\":{\"user_price\":35.1,\"supplier_price\":32.9,\"agent_rebate\":2.2,\"price\":\"38.90\"}}]",
                "form_company": 0,
                "created_at": "2022-07-23 12:21:35",
                "updated_at": "2022-07-25 13:20:37"
            },
            {
                "show_id": "MTMwNzUwMDEjbWFuZ28jMDAxMDQ0OTIwMjEjbWFuZ28jMjAyMi0wNy0yNSAxODoxNTowMA==",
                "showid": "MTIzMjU2I0BpbWFubUAjMjg5MyNAaW1hbm1AIzE2NTg3NDQxMDAjQGltYW5tQCMxNzUjQGltYW5tQCM1",
                "cinemaid": 123256,
                "cinema_code": "13075001",
                "hall_name": "6号厅",
                "film_id": 2893,
                "film_code": "00104492021",
                "film_name": "神探大战",
                "duration": "101",
                "show_time": "2022-07-25 18:15:00",
                "stop_sell_time": "2022-07-25 17:45:00",
                "show_version_type": "粤语 2D",
                "language": "原版",
                "plan_type": "2D",
                "city_id": 175,
                "settle_price": 34.7,
                "price": 37.9,
                "min_price": 37.9,
                "net_price": 37.9,
                "original_price": 37.9,
                "rebate_price": 34.7,
                "tpp_prices": "[]",
                "area_price": "[{\"area\":\"32\",\"price\":{\"user_price\":36.1,\"supplier_price\":33.9,\"agent_rebate\":2.2,\"price\":\"39.90\"}},{\"area\":\"33\",\"price\":{\"user_price\":34.7,\"supplier_price\":32.9,\"agent_rebate\":1.8,\"price\":\"37.90\"}},{\"area\":\"1\",\"price\":{\"user_price\":34.7,\"supplier_price\":32.9,\"agent_rebate\":1.8,\"price\":\"37.90\"}}]",
                "form_company": 0,
                "created_at": "2022-07-23 12:21:35",
                "updated_at": "2022-07-25 13:20:37"
            },
            {
                "show_id": "MTMwNzUwMDEjbWFuZ28jMDAxMDQ0OTIwMjEjbWFuZ28jMjAyMi0wNy0yNSAxOTowMDowMA==",
                "showid": "MTIzMjU2I0BpbWFubUAjMjg5MyNAaW1hbm1AIzE2NTg3NDY4MDAjQGltYW5tQCMxNzUjQGltYW5tQCM1",
                "cinemaid": 123256,
                "cinema_code": "13075001",
                "hall_name": "7号厅PRIME厅儿童需购票",
                "film_id": 2893,
                "film_code": "00104492021",
                "film_name": "神探大战",
                "duration": "101",
                "show_time": "2022-07-25 19:00:00",
                "stop_sell_time": "2022-07-25 18:30:00",
                "show_version_type": "中文 2D",
                "language": "中文",
                "plan_type": "2D",
                "city_id": 175,
                "settle_price": 35.1,
                "price": 38.9,
                "min_price": 38.9,
                "net_price": 38.9,
                "original_price": 38.9,
                "rebate_price": 35.1,
                "tpp_prices": "[]",
                "area_price": "[{\"area\":\"32\",\"price\":{\"user_price\":37.1,\"supplier_price\":34.9,\"agent_rebate\":2.2,\"price\":\"40.90\"}},{\"area\":\"33\",\"price\":{\"user_price\":35.1,\"supplier_price\":32.9,\"agent_rebate\":2.2,\"price\":\"38.90\"}},{\"area\":\"1\",\"price\":{\"user_price\":35.1,\"supplier_price\":32.9,\"agent_rebate\":2.2,\"price\":\"38.90\"}}]",
                "form_company": 0,
                "created_at": "2022-07-23 12:21:35",
                "updated_at": "2022-07-25 13:20:37"
            },
            {
                "show_id": "MTMwNzUwMDEjbWFuZ28jMDAxMDQ0OTIwMjEjbWFuZ28jMjAyMi0wNy0yNSAyMDoxMDowMA==",
                "showid": "MTIzMjU2I0BpbWFubUAjMjg5MyNAaW1hbm1AIzE2NTg3NTEwMDAjQGltYW5tQCMxNzUjQGltYW5tQCM1",
                "cinemaid": 123256,
                "cinema_code": "13075001",
                "hall_name": "6号厅",
                "film_id": 2893,
                "film_code": "00104492021",
                "film_name": "神探大战",
                "duration": "101",
                "show_time": "2022-07-25 20:10:00",
                "stop_sell_time": "2022-07-25 19:40:00",
                "show_version_type": "粤语 2D",
                "language": "原版",
                "plan_type": "2D",
                "city_id": 175,
                "settle_price": 34.7,
                "price": 37.9,
                "min_price": 37.9,
                "net_price": 37.9,
                "original_price": 37.9,
                "rebate_price": 34.7,
                "tpp_prices": "[]",
                "area_price": "[{\"area\":\"32\",\"price\":{\"user_price\":36.1,\"supplier_price\":33.9,\"agent_rebate\":2.2,\"price\":\"39.90\"}},{\"area\":\"33\",\"price\":{\"user_price\":34.7,\"supplier_price\":32.9,\"agent_rebate\":1.8,\"price\":\"37.90\"}},{\"area\":\"1\",\"price\":{\"user_price\":34.7,\"supplier_price\":32.9,\"agent_rebate\":1.8,\"price\":\"37.90\"}}]",
                "form_company": 0,
                "created_at": "2022-07-23 12:21:35",
                "updated_at": "2022-07-25 13:20:37"
            },
            {
                "show_id": "MTMwNzUwMDEjbWFuZ28jMDAxMDQ0OTIwMjEjbWFuZ28jMjAyMi0wNy0yNSAyMTowMDowMA==",
                "showid": "MTIzMjU2I0BpbWFubUAjMjg5MyNAaW1hbm1AIzE2NTg3NTQwMDAjQGltYW5tQCMxNzUjQGltYW5tQCM1",
                "cinemaid": 123256,
                "cinema_code": "13075001",
                "hall_name": "7号厅PRIME厅儿童需购票",
                "film_id": 2893,
                "film_code": "00104492021",
                "film_name": "神探大战",
                "duration": "101",
                "show_time": "2022-07-25 21:00:00",
                "stop_sell_time": "2022-07-25 20:30:00",
                "show_version_type": "中文 2D",
                "language": "中文",
                "plan_type": "2D",
                "city_id": 175,
                "settle_price": 35.1,
                "price": 38.9,
                "min_price": 38.9,
                "net_price": 38.9,
                "original_price": 38.9,
                "rebate_price": 35.1,
                "tpp_prices": "[]",
                "area_price": "[{\"area\":\"32\",\"price\":{\"user_price\":37.1,\"supplier_price\":34.9,\"agent_rebate\":2.2,\"price\":\"40.90\"}},{\"area\":\"33\",\"price\":{\"user_price\":35.1,\"supplier_price\":32.9,\"agent_rebate\":2.2,\"price\":\"38.90\"}},{\"area\":\"1\",\"price\":{\"user_price\":35.1,\"supplier_price\":32.9,\"agent_rebate\":2.2,\"price\":\"38.90\"}}]",
                "form_company": 0,
                "created_at": "2022-07-23 12:21:35",
                "updated_at": "2022-07-25 13:20:37"
            },
            {
                "show_id": "MTMwNzUwMDEjbWFuZ28jMDAxMDQ0OTIwMjEjbWFuZ28jMjAyMi0wNy0yNSAyMjowNTowMA==",
                "showid": "MTIzMjU2I0BpbWFubUAjMjg5MyNAaW1hbm1AIzE2NTg3NTc5MDAjQGltYW5tQCMxNzUjQGltYW5tQCM1",
                "cinemaid": 123256,
                "cinema_code": "13075001",
                "hall_name": "6号厅",
                "film_id": 2893,
                "film_code": "00104492021",
                "film_name": "神探大战",
                "duration": "101",
                "show_time": "2022-07-25 22:05:00",
                "stop_sell_time": "2022-07-25 21:35:00",
                "show_version_type": "粤语 2D",
                "language": "原版",
                "plan_type": "2D",
                "city_id": 175,
                "settle_price": 32.7,
                "price": 35.9,
                "min_price": 35.9,
                "net_price": 35.9,
                "original_price": 35.9,
                "rebate_price": 32.7,
                "tpp_prices": "[]",
                "area_price": "[{\"area\":\"32\",\"price\":{\"user_price\":34.7,\"supplier_price\":32.9,\"agent_rebate\":1.8,\"price\":\"37.90\"}},{\"area\":\"33\",\"price\":{\"user_price\":32.7,\"supplier_price\":30.9,\"agent_rebate\":1.8,\"price\":\"35.90\"}},{\"area\":\"1\",\"price\":{\"user_price\":32.7,\"supplier_price\":30.9,\"agent_rebate\":1.8,\"price\":\"35.90\"}}]",
                "form_company": 0,
                "created_at": "2022-07-23 12:21:35",
                "updated_at": "2022-07-25 13:20:37"
            },
            {
                "show_id": "MTMwNzUwMDEjbWFuZ28jMDAxMDQ0OTIwMjEjbWFuZ28jMjAyMi0wNy0yNSAyMzowMDowMA==",
                "showid": "MTIzMjU2I0BpbWFubUAjMjg5MyNAaW1hbm1AIzE2NTg3NjEyMDAjQGltYW5tQCMxNzUjQGltYW5tQCM1",
                "cinemaid": 123256,
                "cinema_code": "13075001",
                "hall_name": "7号厅PRIME厅儿童需购票",
                "film_id": 2893,
                "film_code": "00104492021",
                "film_name": "神探大战",
                "duration": "101",
                "show_time": "2022-07-25 23:00:00",
                "stop_sell_time": "2022-07-25 22:30:00",
                "show_version_type": "中文 2D",
                "language": "中文",
                "plan_type": "2D",
                "city_id": 175,
                "settle_price": 34.7,
                "price": 37.9,
                "min_price": 37.9,
                "net_price": 37.9,
                "original_price": 37.9,
                "rebate_price": 34.7,
                "tpp_prices": "[]",
                "area_price": "[{\"area\":\"32\",\"price\":{\"user_price\":36.1,\"supplier_price\":33.9,\"agent_rebate\":2.2,\"price\":\"39.90\"}},{\"area\":\"33\",\"price\":{\"user_price\":34.7,\"supplier_price\":32.9,\"agent_rebate\":1.8,\"price\":\"37.90\"}},{\"area\":\"1\",\"price\":{\"user_price\":34.7,\"supplier_price\":32.9,\"agent_rebate\":1.8,\"price\":\"37.90\"}}]",
                "form_company": 0,
                "created_at": "2022-07-23 12:21:35",
                "updated_at": "2022-07-25 13:20:37"
            }
        ],
        "dates": [
            {
                "cinemaid": 123256,
                "de_show_time": "2022-07-25"
            },
            {
                "cinemaid": 123256,
                "de_show_time": "2022-07-26"
            }
        ]
    }
}
修改于 2025-04-12 00:55:05
上一页
影院信息&影院排期的电影数据
下一页
影院的电影场次座位数据
Built with