{
    "openapi": "3.0.0",
    "info": {
        "title": "百度热搜榜 - API文档",
        "version": "1.0.0",
        "description": "互联网实时热点事件，舆情分析。类似接口：<a target=\"_blank\" href=\"https:\/\/www.tianapi.com\/apiview\/100\">微博热搜榜<\/a>、<a href=\"https:\/\/www.tianapi.com\/apiview\/155\" target=\"_blank\">抖音话题榜<\/a>、<a href=\"https:\/\/www.tianapi.com\/apiview\/196\" target=\"_blank\">微信话题榜<\/a>、<a href=\"https:\/\/www.tianapi.com\/apiview\/223\" target=\"_blank\">全网热搜榜<\/a>"
    },
    "servers": [
        {
            "url": "https:\/\/apis.tianapi.com"
        }
    ],
    "paths": {
        "\/nethot\/index": {
            "get": {
                "summary": "百度热搜榜列表",
                "tags": [
                    "百度热搜榜"
                ],
                "description": "返回百度热门搜索词榜单列表",
                "parameters": [
                    {
                        "name": "key",
                        "in": "query",
                        "description": "API密钥",
                        "required": true,
                        "schema": {
                            "type": "string",
                            "description": "API密钥"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功响应",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "brief": {
                                            "type": "string",
                                            "example": "赵宝刚新剧在上海举办发布会...",
                                            "description": "简介描述"
                                        },
                                        "index": {
                                            "type": "string",
                                            "example": "2902308",
                                            "description": "热搜指数"
                                        },
                                        "trend": {
                                            "type": "string",
                                            "example": "fall",
                                            "description": "发展趋势"
                                        },
                                        "keyword": {
                                            "type": "string",
                                            "example": "郑爽大赞男友张恒",
                                            "description": "热搜话题"
                                        }
                                    }
                                },
                                "example": {
                                    "msg": "success",
                                    "code": 200,
                                    "result": {
                                        "list": [
                                            {
                                                "brief": "3月19日下午,云南昭通镇雄县公安局发布关于悬赏通缉百名在逃犯罪嫌疑人的公告。不过因部分嫌疑人的照片与实际年龄相差较大,引起网友关注。",
                                                "index": "4654715",
                                                "trend": "fall",
                                                "keyword": "通缉照片年龄太小"
                                            },
                                            {
                                                "brief": "据台湾“中时电子报”报道，当地时间19日,韩国法务部长官朴相基在新闻发布会上表示，“张紫妍案”的调查期限将延长2个月。",
                                                "index": "3895199",
                                                "trend": "fall",
                                                "keyword": "张紫妍案延长2月"
                                            },
                                            {
                                                "brief": "赵宝刚新剧在上海举办发布会,郑爽作为女主角现身某媒体采访,在谈到与男朋友恋爱细节时,郑爽大赞男友张恒,称和他在一起很简单,自己因此性格变好。",
                                                "index": "3758867",
                                                "trend": "fall",
                                                "keyword": "郑爽大赞男友张恒"
                                            },
                                            {
                                                "brief": "近日，英雄联盟发布微博的曝光了前英雄联盟职业选手PDD(刘谋)所捐款建造的希望小学已经完工投入使用。",
                                                "index": "2902308",
                                                "trend": "fall",
                                                "keyword": "PDD希望小学完工"
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "summary": "百度热搜榜列表",
                "tags": [
                    "百度热搜榜"
                ],
                "description": "返回百度热门搜索词榜单列表",
                "requestBody": {
                    "content": {
                        "application\/x-www-form-urlencoded": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "key": {
                                        "type": "string",
                                        "description": "API密钥"
                                    }
                                },
                                "required": [
                                    "key"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "成功响应",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "brief": {
                                            "type": "string",
                                            "example": "赵宝刚新剧在上海举办发布会...",
                                            "description": "简介描述"
                                        },
                                        "index": {
                                            "type": "string",
                                            "example": "2902308",
                                            "description": "热搜指数"
                                        },
                                        "trend": {
                                            "type": "string",
                                            "example": "fall",
                                            "description": "发展趋势"
                                        },
                                        "keyword": {
                                            "type": "string",
                                            "example": "郑爽大赞男友张恒",
                                            "description": "热搜话题"
                                        }
                                    }
                                },
                                "example": {
                                    "msg": "success",
                                    "code": 200,
                                    "result": {
                                        "list": [
                                            {
                                                "brief": "3月19日下午,云南昭通镇雄县公安局发布关于悬赏通缉百名在逃犯罪嫌疑人的公告。不过因部分嫌疑人的照片与实际年龄相差较大,引起网友关注。",
                                                "index": "4654715",
                                                "trend": "fall",
                                                "keyword": "通缉照片年龄太小"
                                            },
                                            {
                                                "brief": "据台湾“中时电子报”报道，当地时间19日,韩国法务部长官朴相基在新闻发布会上表示，“张紫妍案”的调查期限将延长2个月。",
                                                "index": "3895199",
                                                "trend": "fall",
                                                "keyword": "张紫妍案延长2月"
                                            },
                                            {
                                                "brief": "赵宝刚新剧在上海举办发布会,郑爽作为女主角现身某媒体采访,在谈到与男朋友恋爱细节时,郑爽大赞男友张恒,称和他在一起很简单,自己因此性格变好。",
                                                "index": "3758867",
                                                "trend": "fall",
                                                "keyword": "郑爽大赞男友张恒"
                                            },
                                            {
                                                "brief": "近日，英雄联盟发布微博的曝光了前英雄联盟职业选手PDD(刘谋)所捐款建造的希望小学已经完工投入使用。",
                                                "index": "2902308",
                                                "trend": "fall",
                                                "keyword": "PDD希望小学完工"
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}