{
  "openapi": "3.0.3",
  "info": {
    "title": "新闻热搜",
    "description": "综合全网热搜，一次调用轻松获取，无需逐站抓取，省时省力，助您快速洞察全网热点。仅供内部数据分析、统计及机器学习使用，不得用于终端展示。版权问题请联系新闻发布者。",
    "termsOfService": "https://www.showapi.com/helpcenter/view#/4019/2",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://route.showapi.com"
    }
  ],
  "paths": {
    "/3628-1": {
      "x-pointCode": 1,
      "x-mode": "mapping",
      "x-read-timeout": 5,
      "x-connect-timeout": 5,
      "post": {
        "summary": "获取热搜",
        "responses": {
          "200": {
            "description": "成功响应",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    {
                      "$ref": "#/components/schemas/ShowapiResEnvelope"
                    },
                    {
                      "type": "object",
                      "properties": {
                        "showapi_res_body": {
                          "type": "object",
                          "properties": {
                            "list": {
                              "type": "array",
                              "items": {
                                "type": "object",
                                "properties": {
                                  "url": {
                                    "type": "string",
                                    "description": "热搜新闻链接"
                                  },
                                  "title": {
                                    "type": "string",
                                    "description": "热搜"
                                  },
                                  "summary": {
                                    "type": "string",
                                    "description": "热搜简要说明"
                                  },
                                  "rank": {
                                    "type": "number",
                                    "description": "热搜排名，热度越高，排名越靠前"
                                  }
                                }
                              },
                              "description": "热搜列表"
                            },
                            "remark": {
                              "type": "string",
                              "description": "错误信息"
                            },
                            "ret_code": {
                              "type": "number",
                              "description": "0表示调用成功，-1 表示调用失败"
                            }
                          },
                          "description": "业务返回体"
                        }
                      }
                    }
                  ]
                }
              }
            }
          }
        },
        "operationId": "3628_1_POST",
        "parameters": []
      }
    }
  },
  "components": {
    "securitySchemes": {
      "AppKeyAuth": {
        "type": "apiKey",
        "in": "query",
        "name": "appKey",
        "description": "从 ShowAPI 控制台获取的 appKey，管理地址：https://www.showapi.com/console#/myApp"
      }
    },
    "schemas": {
      "ShowapiResEnvelope": {
        "type": "object",
        "description": "ShowAPI 统一返回包裹（业务数据位于 showapi_res_body）",
        "properties": {
          "showapi_res_code": {
            "type": "integer",
            "description": "API 返回的状态码"
          },
          "showapi_res_error": {
            "type": "string",
            "description": "API 返回的错误信息"
          },
          "showapi_res_id": {
            "type": "string",
            "description": "API 请求的唯一标识"
          },
          "showapi_fee_num": {
            "type": "integer",
            "description": "API 调用计费次数"
          }
        }
      }
    }
  },
  "security": [
    {
      "AppKeyAuth": []
    }
  ],
  "externalDocs": {
    "url": "https://www.showapi.com/apis/3628?tab=book"
  },
  "x-apiCode": "3628",
  "x-is-own": false,
  "x-is-op": false
}