{
    "openapi": "3.0.0",
    "info": {
        "title": "影视资讯 - API文档",
        "version": "1.0.0",
        "description": "影视新闻接口、电影预告、点评、周边资讯等。此为单一新闻类型新用户推荐使用：混合全频道数据使用<a href=\"\/apiview\/87\" target=\"_blank\">综合新闻<\/a>接口、按频道分类查询可使用<a href=\"\/apiview\/51\" target=\"_blank\">分类新闻<\/a>接口。本接口仅限用于内部数据分析和机器学习，不得用于终端展示。版权问题请联系发布方获取。（MCP 服务由 分类新闻 接口统一提供）"
    },
    "servers": [
        {
            "url": "https:\/\/apis.tianapi.com"
        }
    ],
    "paths": {
        "\/film\/index": {
            "get": {
                "summary": "查询新闻列表",
                "tags": [
                    "影视资讯"
                ],
                "description": "默认返回10条最新资讯支持翻页和关键词搜索",
                "parameters": [
                    {
                        "name": "key",
                        "in": "query",
                        "description": "API密钥",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "description": "API密钥"
                        }
                    },
                    {
                        "name": "num",
                        "in": "query",
                        "description": "返回数量",
                        "required": true,
                        "schema": {
                            "type": "int",
                            "example": 10,
                            "description": "返回数量"
                        }
                    },
                    {
                        "name": "form",
                        "in": "query",
                        "description": "兼容历史问题，建议传1",
                        "required": false,
                        "schema": {
                            "type": "int",
                            "example": 0,
                            "description": "兼容历史问题，建议传1"
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "description": "翻页",
                        "required": false,
                        "schema": {
                            "type": "int",
                            "example": 1,
                            "description": "翻页"
                        }
                    },
                    {
                        "name": "rand",
                        "in": "query",
                        "description": "随机获取",
                        "required": false,
                        "schema": {
                            "type": "int",
                            "example": 1,
                            "description": "随机获取"
                        }
                    },
                    {
                        "name": "word",
                        "in": "query",
                        "description": "检索关键词",
                        "required": false,
                        "schema": {
                            "type": "string",
                            "example": "天行数据",
                            "description": "检索关键词"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功响应",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "id": {
                                            "type": "string",
                                            "example": "62ac899e8fcf654a74479b4239b4651f",
                                            "description": "新闻唯一ID"
                                        },
                                        "url": {
                                            "type": "string",
                                            "example": "https:\/\/www.tianapi.com\/article\/154",
                                            "description": "文章地址"
                                        },
                                        "ctime": {
                                            "type": "Date",
                                            "example": "2015-07-17",
                                            "description": "发布时间"
                                        },
                                        "title": {
                                            "type": "string",
                                            "example": "文章的标题",
                                            "description": "文章标题"
                                        },
                                        "allnum": {
                                            "type": "int",
                                            "example": 625,
                                            "description": "结果数"
                                        },
                                        "picUrl": {
                                            "type": "string",
                                            "example": "https:\/\/www.tianapi.com\/static\/img\/logo.png",
                                            "description": "封面图片"
                                        },
                                        "source": {
                                            "type": "string",
                                            "example": "文章来源",
                                            "description": "文章来源"
                                        },
                                        "curpage": {
                                            "type": "int",
                                            "example": 1,
                                            "description": "当前页"
                                        },
                                        "description": {
                                            "type": "string",
                                            "example": "文章的描述",
                                            "description": "文章描述"
                                        }
                                    }
                                },
                                "example": {
                                    "msg": "success",
                                    "code": 200,
                                    "result": {
                                        "list": [
                                            {
                                                "id": "96e6522b0c1d72b54545d71951ff1c1c",
                                                "url": "\/\/hot.cnbeta.com\/articles\/movie\/1086827.htm",
                                                "ctime": "2021-02-04 15:33",
                                                "title": "未按期披露季度报告深交所对暴风集团及冯鑫给予纪律处分",
                                                "picUrl": "https:\/\/static.cnbetacdn.com\/thumb\/mini\/article\/2021\/0204\/ce88483d9e7bae8.jpg",
                                                "source": "cnbeta影视",
                                                "description": "日前，深交所对外发布关于对暴风集团股份有限公司及相关当事人给予纪律处分的决定。经查明，暴风集团未在2020年10月31日前披露2020年第三季度报告。暴风集团上述行为违反了本所《创业板股票上市规则（2020年修订）》第1.4条、第5.1.1条、第6.1.1条、第6.1.2条的规定。"
                                            },
                                            {
                                                "id": "824cad76140ab88ada0b0e55605d7b1a",
                                                "url": "\/\/hot.cnbeta.com\/articles\/movie\/1086721.htm",
                                                "ctime": "2021-02-04 13:08",
                                                "title": "赵婷《无依之地》入围金球奖最佳影片和最佳导演",
                                                "picUrl": "https:\/\/static.cnbetacdn.com\/thumb\/mini\/article\/2021\/0204\/987ee30cd41584d.jpg",
                                                "source": "cnbeta影视",
                                                "description": "2021年78届金球奖今晚公布提名，《芝加哥七君子审判》《曼克》《前程似锦的年轻女人》等颁奖季热门片入围多个主要奖项。已故的“黑豹”查德维克·博斯曼凭借《蓝调天后》入围最佳男主角，中国导演赵婷和她的《无依之地》入围最佳导演和最佳影片，相当受瞩目，她是史上首位提名金球奖最佳导演的亚裔女性。"
                                            },
                                            {
                                                "id": "d3a4d1c7dd3f2d80426d5e2ef73eff1b",
                                                "url": "\/\/hot.cnbeta.com\/articles\/movie\/1086707.htm",
                                                "ctime": "2021-02-04 11:20",
                                                "title": "央视网络春晚节目单公开蔡徐坤王冰冰等登场",
                                                "picUrl": "https:\/\/static.cnbetacdn.com\/thumb\/mini\/article\/2021\/0204\/264333e25c7b96f.jpg",
                                                "source": "cnbeta影视",
                                                "description": "近日CCTV网络春晚官方公布了央视网络春晚节目单，央视网络春晚将于今晚(2月4日)黄金时段在CCTV-1综合频道、央视网多终端、央视频客户端、央视新闻客户端等渠道同步播出，敬请期待。"
                                            }
                                        ],
                                        "allnum": 500,
                                        "curpage": 1
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "summary": "查询新闻列表",
                "tags": [
                    "影视资讯"
                ],
                "description": "默认返回10条最新资讯支持翻页和关键词搜索",
                "requestBody": {
                    "content": {
                        "application\/x-www-form-urlencoded": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "key": {
                                        "type": "string",
                                        "description": "API密钥"
                                    },
                                    "num": {
                                        "type": "int",
                                        "example": 10,
                                        "description": "返回数量"
                                    },
                                    "form": {
                                        "type": "int",
                                        "example": 0,
                                        "description": "兼容历史问题，建议传1"
                                    },
                                    "page": {
                                        "type": "int",
                                        "example": 1,
                                        "description": "翻页"
                                    },
                                    "rand": {
                                        "type": "int",
                                        "example": 1,
                                        "description": "随机获取"
                                    },
                                    "word": {
                                        "type": "string",
                                        "example": "天行数据",
                                        "description": "检索关键词"
                                    }
                                },
                                "required": [
                                    "key",
                                    "num"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "成功响应",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "id": {
                                            "type": "string",
                                            "example": "62ac899e8fcf654a74479b4239b4651f",
                                            "description": "新闻唯一ID"
                                        },
                                        "url": {
                                            "type": "string",
                                            "example": "https:\/\/www.tianapi.com\/article\/154",
                                            "description": "文章地址"
                                        },
                                        "ctime": {
                                            "type": "Date",
                                            "example": "2015-07-17",
                                            "description": "发布时间"
                                        },
                                        "title": {
                                            "type": "string",
                                            "example": "文章的标题",
                                            "description": "文章标题"
                                        },
                                        "allnum": {
                                            "type": "int",
                                            "example": 625,
                                            "description": "结果数"
                                        },
                                        "picUrl": {
                                            "type": "string",
                                            "example": "https:\/\/www.tianapi.com\/static\/img\/logo.png",
                                            "description": "封面图片"
                                        },
                                        "source": {
                                            "type": "string",
                                            "example": "文章来源",
                                            "description": "文章来源"
                                        },
                                        "curpage": {
                                            "type": "int",
                                            "example": 1,
                                            "description": "当前页"
                                        },
                                        "description": {
                                            "type": "string",
                                            "example": "文章的描述",
                                            "description": "文章描述"
                                        }
                                    }
                                },
                                "example": {
                                    "msg": "success",
                                    "code": 200,
                                    "result": {
                                        "list": [
                                            {
                                                "id": "96e6522b0c1d72b54545d71951ff1c1c",
                                                "url": "\/\/hot.cnbeta.com\/articles\/movie\/1086827.htm",
                                                "ctime": "2021-02-04 15:33",
                                                "title": "未按期披露季度报告深交所对暴风集团及冯鑫给予纪律处分",
                                                "picUrl": "https:\/\/static.cnbetacdn.com\/thumb\/mini\/article\/2021\/0204\/ce88483d9e7bae8.jpg",
                                                "source": "cnbeta影视",
                                                "description": "日前，深交所对外发布关于对暴风集团股份有限公司及相关当事人给予纪律处分的决定。经查明，暴风集团未在2020年10月31日前披露2020年第三季度报告。暴风集团上述行为违反了本所《创业板股票上市规则（2020年修订）》第1.4条、第5.1.1条、第6.1.1条、第6.1.2条的规定。"
                                            },
                                            {
                                                "id": "824cad76140ab88ada0b0e55605d7b1a",
                                                "url": "\/\/hot.cnbeta.com\/articles\/movie\/1086721.htm",
                                                "ctime": "2021-02-04 13:08",
                                                "title": "赵婷《无依之地》入围金球奖最佳影片和最佳导演",
                                                "picUrl": "https:\/\/static.cnbetacdn.com\/thumb\/mini\/article\/2021\/0204\/987ee30cd41584d.jpg",
                                                "source": "cnbeta影视",
                                                "description": "2021年78届金球奖今晚公布提名，《芝加哥七君子审判》《曼克》《前程似锦的年轻女人》等颁奖季热门片入围多个主要奖项。已故的“黑豹”查德维克·博斯曼凭借《蓝调天后》入围最佳男主角，中国导演赵婷和她的《无依之地》入围最佳导演和最佳影片，相当受瞩目，她是史上首位提名金球奖最佳导演的亚裔女性。"
                                            },
                                            {
                                                "id": "d3a4d1c7dd3f2d80426d5e2ef73eff1b",
                                                "url": "\/\/hot.cnbeta.com\/articles\/movie\/1086707.htm",
                                                "ctime": "2021-02-04 11:20",
                                                "title": "央视网络春晚节目单公开蔡徐坤王冰冰等登场",
                                                "picUrl": "https:\/\/static.cnbetacdn.com\/thumb\/mini\/article\/2021\/0204\/264333e25c7b96f.jpg",
                                                "source": "cnbeta影视",
                                                "description": "近日CCTV网络春晚官方公布了央视网络春晚节目单，央视网络春晚将于今晚(2月4日)黄金时段在CCTV-1综合频道、央视网多终端、央视频客户端、央视新闻客户端等渠道同步播出，敬请期待。"
                                            }
                                        ],
                                        "allnum": 500,
                                        "curpage": 1
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}