Home
avatar

如果不存在过

院线热播

院线正在热映的电影,数据来源猫眼电影

接口信息

项目内容
接口地址https://api.code410.com/api/cinema/hot
返回格式application/json
请求方式HTTP GET POST/JSON
更新日期2023-11-13
调用权限免费开放
每日限制无限制
请求频率限制1秒5次

请求示例

https://api.code410.com/api/cinema/hot

请求 HEADER

名称
Content-Typeapplication/x-www-form-urlencoded;charset;

返回参数说明

名称类型说明
codeint状态码
msgstring状态信息
datastring请求结果数据集
debugstring/array调试数据
exec_timefloat执行耗时
user_ipstring客户端IP

错误码参照

错误码类型说明
403int没有权限
400int参数传递不正确
500int服务器内部错误

在线调试 / 完整文档

本接口为 信息查找 分类下的开放接口。完整文档、在线调试与示例代码请前往 https://api.code410.com/doc/206

返回示例

{
  "code": 200,
  "msg": "请求成功",
  "data": {
    "movieList": [
      {
        "id": 1516982,
        "haspromotionTag": false,
        "img": "https://p0.pipi.cn/mediaplus/friday_image_fe/e429583d4948d34a18374ccd8eb7e933d55b9.jpg?imageMogr2/quality/80",
        "version": "v2d imax",
        "nm": "给阿嬷的情书",
        "preShow": false,
        "sc": 9.7,
        "globalReleased": true,
        "wish": 154098,
        "star": "李思潼,王彦桐,吴少卿",
        "rt": "2026-04-30",
        "showInfo": "今天281家影院放映4981场",
        "showst": 3,
        "wishst": 0,
        "comingTitle": "4月30日 周四"
      },
      {
        "id": 1528954,
        "haspromotionTag": false,
        "img": "https://p0.pipi.cn/mediaplus/friday_image_fe/e429585b9a14a19fd149480fe71def82fcf7a.jpg?imageMogr2/quality/80",
        "version": "",
        "nm": "消失的人",
        "preShow": false,
        "sc": 9.5,
        "globalReleased": true,
        "wish": 135648,
        "star": "郑恺,刘浩存,邱泽",
        "rt": "2026-05-01",
        "showInfo": "今天199家影院放映581场",
        "showst": 3,
        "wishst": 0,
        "comingTitle": "5月1日 周五"
      },
      {
        "id": 1518418,
        "haspromotionTag": false,
        "img": "https://p0.pipi.cn/mediaplus/friday_image_fe/e429583d1fa05119bf6cb4a2dc31cea9b2cbc.jpg?imageMogr2/quality/80",
        "version": "v2d imax",
        "nm": "星球大战:曼达洛人与古古",
        "preShow": false,
        "sc": 9.1,
        "globalReleased": true,
        "wish": 56715,
        "star": "佩德罗·帕斯卡,西格妮·韦弗,杰瑞米·艾伦·怀特",
        "rt": "2026-05-22",
        "showInfo": "今天222家影院放映696场",
        "showst": 3,
        "wishst": 0,
        "comingTitle": "5月22日 周五"
      },
      {
        "id": 1594038,
        "haspromotionTag": false,
        "img": "https://p0.pipi.cn/mediaplus/friday_image_fe/e429585b8b077e160dd8a1d5520e8918cbf46.jpeg?imageMogr2/quality/80",
        "version": null,
        "nm": "诺曼底72小时",
        "preShow": false,
        "sc": 0,
        "globalReleased": true,
        "wish": 15236,
        "star": "安德鲁·斯科特,布兰登·费舍,凯瑞·康顿",
        "rt": "2026-06-06",
        "showInfo": "今天270家影院放映1278场",
        "showst": 3,
        "wishst": 0,
        "comingTitle": "6月6日 周六"
      },
      {
        "id": 1491803,
        "haspromotionTag": false,
        "img": "https://p0.pipi.cn/mediaplus/friday_image_fe/e42958254eae3293b6d8185d08f2a0c653635.jpg?imageMogr2/quality/80",
        "version": null,
        "nm": "极限逃生",
        "preShow": false,
        "sc": 0,
        "globalReleased": true,
        "wish": 3818,
        "star": "吴昱翰,徐璐,张海宇",
        "rt": "2026-06-05",
        "showInfo": "今天217家影院放映580场",
        "showst": 3,
        "wishst": 0,
        "comingTitle": "6月5日 周五"
      },
      {
        "id": 1321671,
        "haspromotionTag": false,
        "img": "https://p0.pipi.cn/mediaplus/bigdata_mmdb_mmdbtask/e429585b49477ec8be8b0767e915e5b606bd6.jpg?imageMogr2/thumbnail/2500x2500%3E",
        "version": null,
        "nm": "小马宝莉:新世代",
        "preShow": false,
        "sc": 9.2,
        "globalReleased": true,
        "wish": 43325,
        "star": "凡妮莎·哈金斯,金可·格伦,虞书欣",
        "rt": "2026-05-30",
        "showInfo": "今天67家影院放映137场",
        "showst": 3,
        "wishst": 0,
        "comingTitle": "5月30日 周六"
      },
      {
        "id": 1285798,
        "haspromotionTag": false,
        "img": "https://p0.pipi.cn/mediaplus/friday_image_fe/e429585bea45c25c29ce63e6af64afaa89f1c.jpg?imageMogr2/quality/80",
        "version": null,
        "nm": "加菲猫家族",
        "preShow": false,
        "sc": 9,
        "globalReleased": true,
        "wish": 97816,
        "star": "克里斯·帕拉特,塞缪尔·L·杰克逊,汉娜·沃丁厄姆",
        "rt": "2026-06-05",
        "showInfo": "今天114家影院放映276场",
        "showst": 3,
        "wishst": 0,
        "comingTitle": "6月5日 周五"
      },
      {
        "id": 25056,
        "haspromotionTag": false,
        "img": "https://p0.pipi.cn/mediaplus/friday_image_fe/e429585b3e777e19bf5c296eacbdcf237bc61.jpg?imageMogr2/quality/80",
        "version": "v2d imax",
        "nm": "宇宙巨人:希曼崛起",
        "preShow": false,
        "sc": 0,
        "globalReleased": true,
        "wish": 11579,
        "star": "尼古拉斯·加利齐纳,卡米拉·门德斯,伊德瑞斯·艾尔巴",
        "rt": "2026-06-05",
        "showInfo": "今天264家影院放映987场",
        "showst": 3,
        "wishst": 0,
        "comingTitle": "6月5日 周五"
      },
      {
        "id": 10433,
        "haspromotionTag": false,
        "img": "https://p0.pipi.cn/mediaplus/friday_image_fe/e429582525c15dc8be3f67c759e488105fbf8.jpg?imageMogr2/quality/80",
        "version": "v2d imax",
        "nm": "记忆碎片",
        "preShow": false,
        "sc": 0,
        "globalReleased": true,
        "wish": 27819,
        "star": "盖·皮尔斯,凯瑞-安·莫斯,乔·潘托里亚诺",
        "rt": "2026-05-29",
        "showInfo": "今天201家影院放映522场",
        "showst": 3,
        "wishst": 0,
        "comingTitle": "5月29日 周五"
      },
      {
        "id": 1547920,
        "haspromotionTag": false,
        "img": "https://p0.pipi.cn/mediaplus/friday_image_fe/e4295825fcf14d25cbf87bb99ff6e0c0665f6.jpg?imageMogr2/quality/80",
        "version": null,
        "nm": "家弑服务",
        "preShow": false,
        "sc": 9.5,
        "globalReleased": true,
        "wish": 18779,
        "star": "西德尼·斯维尼,阿曼达·塞弗里德,布兰登·斯克莱纳",
        "rt": "2026-05-29",
        "showInfo": "今天100家影院放映176场",
        "showst": 3,
        "wishst": 0,
        "comingTitle": "5月29日 周五"
      },
      {
        "id": 1486947,
        "haspromotionTag": false,
        "img": "https://p0.pipi.cn/mediaplus/friday_image_fe/e429585b4946e39a134ea91d577014533629f.jpg?imageMogr2/quality/80",
        "version": null,
        "nm": "钟馗",
        "preShow": false,
        "sc": 0,
        "globalReleased": true,
        "wish": 11456,
        "star": "段艺璇,余昊威,胡良伟",
        "rt": "2026-05-30",
        "showInfo": "今天215家影院放映436场",
        "showst": 3,
        "wishst": 0,
        "comingTitle": "5月30日 周六"
      },
      {
        "id": 1522280,
        "haspromotionTag": false,
        "img": "https://p0.pipi.cn/mediaplus/friday_image_fe/e429583d25c5c215d501e896d219bbe8d7532.jpg?imageMogr2/quality/80",
        "version": "v2d imax",
        "nm": "超级马力欧银河大电影",
        "preShow": false,
        "sc": 9.3,
        "globalReleased": true,
        "wish": 152424,
        "star": "克里斯·帕拉特,安雅·泰勒-乔伊,杰克·布莱克",
        "rt": "2026-04-03",
        "showInfo": "今天52家影院放映94场",
        "showst": 3,
        "wishst": 0,
        "comingTitle": "4月3日 周五"
      }
    ]
  },
  "exec_time": 1.678,
  "ip": "197.149.235.178"
}

示例代码

// jQuery-Ajax
$.ajax({
	url: 'https://api.code410.com/api/cinema/hot',
	data: {
		// 该接口无需参数
	},
	type: 'GET',
	dataType: 'json',
	success: function (data) {
		console.log(data); // 请求成功,输出结果
	},
	error: function () {
		console.log('请求失败');
	}
});
import requests

url = "https://api.code410.com/api/cinema/hot"
params = {
    # 该接口无需参数
}
res = requests.get(url, params=params)
print(res.json())
const https = require('https');
const url = 'https://api.code410.com/api/cinema/hot';

https.get(url, res => {
  let data = '';
  res.on('data', chunk => data += chunk);
  res.on('end', () => console.log(JSON.parse(data)));
}).on('error', err => console.error(err));
package main

import (
	"fmt"
	"io/ioutil"
	"net/http"
)

func main() {
	resp, err := http.Get("https://api.code410.com/api/cinema/hot")
	if err != nil {
		fmt.Println("http get error", err)
		return
	}
	defer resp.Body.Close()

	result, _ := ioutil.ReadAll(resp.Body)
	fmt.Println(string(result))
}
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;

public class Test {
    public static void main(String[] args) {
        try {
            URL url = new URL("https://api.code410.com/api/cinema/hot");
            HttpURLConnection conn = (HttpURLConnection) url.openConnection();
            conn.setRequestMethod("GET");
            conn.connect();

            BufferedReader reader = new BufferedReader(new InputStreamReader(conn.getInputStream(), "UTF-8"));
            String line;
            StringBuilder sb = new StringBuilder();
            while ((line = reader.readLine()) != null) sb.append(line);
            reader.close();
            System.out.println(sb.toString());
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
using System;
using System.Net.Http;
using System.Threading.Tasks;

class Program {
    static async Task Main() {
        HttpClient client = new HttpClient();
        string url = "https://api.code410.com/api/cinema/hot";
        HttpResponseMessage response = await client.GetAsync(url);
        string body = await response.Content.ReadAsStringAsync();
        Console.WriteLine(body);
    }
}
<?php
$url = "https://api.code410.com/api/cinema/hot";
$response = file_get_contents($url);
$data = json_decode($response, true);
print_r($data);
curl "https://api.code410.com/api/cinema/hot"

在线调试

该接口无需参数,直接点击下方按钮发起请求。

填写参数后点击「发起请求」查看实时返回结果。

免费