{
    "openapi": "3.0.0",
    "info": {
        "title": "微信热文榜 - API文档",
        "version": "1.0.0",
        "description": "微信公众平台热门爆文数据，返回字段包含文章来源、阅读、在看数，系统每六小时更新一次。"
    },
    "servers": [
        {
            "url": "https:\/\/apis.tianapi.com"
        }
    ],
    "paths": {
        "\/wxhotarticle\/index": {
            "get": {
                "summary": "微信热文榜查询",
                "tags": [
                    "微信热文榜"
                ],
                "description": "",
                "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": "page",
                        "in": "query",
                        "description": "翻页",
                        "required": false,
                        "schema": {
                            "type": "int",
                            "example": 1,
                            "description": "翻页"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "成功响应",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "url": {
                                            "type": "string",
                                            "example": "https:\/\/mp.weixin.qq.com\/s?__biz=MjM5MjAxNDM4MA==&mid=2666342344&idx=1&sn=f012593e4dc63b78005154ffea27c383",
                                            "description": "原文链接"
                                        },
                                        "ctime": {
                                            "type": "string",
                                            "example": "2020-08-18",
                                            "description": "时间"
                                        },
                                        "title": {
                                            "type": "string",
                                            "example": "全员抵京！三等功！",
                                            "description": "标题"
                                        },
                                        "views": {
                                            "type": "string",
                                            "example": "10W 阅读,31832在看",
                                            "description": "阅读和再看"
                                        },
                                        "source": {
                                            "type": "string",
                                            "example": "人民日报",
                                            "description": "来源"
                                        }
                                    }
                                },
                                "example": {
                                    "msg": "success",
                                    "code": 200,
                                    "result": {
                                        "list": [
                                            {
                                                "url": "https:\/\/mp.weixin.qq.com\/s?__biz=MjM5MjAxNDM4MA==&mid=2666342344&idx=1&sn=f012593e4dc63b78005154ffea27c383&scene=0",
                                                "ctime": "2020-08-18",
                                                "title": "全员抵京！三等功！",
                                                "views": "10W 阅读,31832在看",
                                                "source": "人民日报"
                                            },
                                            {
                                                "url": "https:\/\/mp.weixin.qq.com\/s?__biz=MjM5MjAxNDM4MA==&mid=2666342367&idx=1&sn=71a4a830acc098e319e99bd074bd14d5&scene=0",
                                                "ctime": "2020-08-18",
                                                "title": "【夜读】相处舒服的人，都懂得换位思考",
                                                "views": "10W 阅读,12644在看",
                                                "source": "人民日报"
                                            },
                                            {
                                                "url": "https:\/\/mp.weixin.qq.com\/s?__biz=MjM5MjAxNDM4MA==&mid=2666342418&idx=1&sn=97eeff510b98954d80f746bca478cdc4&scene=0",
                                                "ctime": "2020-08-18",
                                                "title": "年仅36岁的他走了，唯一一条朋友圈让人泪崩……",
                                                "views": "10W 阅读,12296在看",
                                                "source": "人民日报"
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    }
                }
            },
            "post": {
                "summary": "微信热文榜查询",
                "tags": [
                    "微信热文榜"
                ],
                "description": "",
                "requestBody": {
                    "content": {
                        "application\/x-www-form-urlencoded": {
                            "schema": {
                                "type": "object",
                                "properties": {
                                    "key": {
                                        "type": "string",
                                        "description": "API密钥"
                                    },
                                    "num": {
                                        "type": "int",
                                        "example": 10,
                                        "description": "返回数量"
                                    },
                                    "page": {
                                        "type": "int",
                                        "example": 1,
                                        "description": "翻页"
                                    }
                                },
                                "required": [
                                    "key",
                                    "num"
                                ]
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "成功响应",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "url": {
                                            "type": "string",
                                            "example": "https:\/\/mp.weixin.qq.com\/s?__biz=MjM5MjAxNDM4MA==&mid=2666342344&idx=1&sn=f012593e4dc63b78005154ffea27c383",
                                            "description": "原文链接"
                                        },
                                        "ctime": {
                                            "type": "string",
                                            "example": "2020-08-18",
                                            "description": "时间"
                                        },
                                        "title": {
                                            "type": "string",
                                            "example": "全员抵京！三等功！",
                                            "description": "标题"
                                        },
                                        "views": {
                                            "type": "string",
                                            "example": "10W 阅读,31832在看",
                                            "description": "阅读和再看"
                                        },
                                        "source": {
                                            "type": "string",
                                            "example": "人民日报",
                                            "description": "来源"
                                        }
                                    }
                                },
                                "example": {
                                    "msg": "success",
                                    "code": 200,
                                    "result": {
                                        "list": [
                                            {
                                                "url": "https:\/\/mp.weixin.qq.com\/s?__biz=MjM5MjAxNDM4MA==&mid=2666342344&idx=1&sn=f012593e4dc63b78005154ffea27c383&scene=0",
                                                "ctime": "2020-08-18",
                                                "title": "全员抵京！三等功！",
                                                "views": "10W 阅读,31832在看",
                                                "source": "人民日报"
                                            },
                                            {
                                                "url": "https:\/\/mp.weixin.qq.com\/s?__biz=MjM5MjAxNDM4MA==&mid=2666342367&idx=1&sn=71a4a830acc098e319e99bd074bd14d5&scene=0",
                                                "ctime": "2020-08-18",
                                                "title": "【夜读】相处舒服的人，都懂得换位思考",
                                                "views": "10W 阅读,12644在看",
                                                "source": "人民日报"
                                            },
                                            {
                                                "url": "https:\/\/mp.weixin.qq.com\/s?__biz=MjM5MjAxNDM4MA==&mid=2666342418&idx=1&sn=97eeff510b98954d80f746bca478cdc4&scene=0",
                                                "ctime": "2020-08-18",
                                                "title": "年仅36岁的他走了，唯一一条朋友圈让人泪崩……",
                                                "views": "10W 阅读,12296在看",
                                                "source": "人民日报"
                                            }
                                        ]
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}