接口地址:http://api.muxiuge.cn/API/wbrs.php
返回格式:json
请求方式:get
请求示例:http://api.muxiuge.cn/API/wbrs.php

请求参数说明:

名称 必填 类型 说明

返回参数说明:

名称 类型 说明
  code string 返回的状态码
  msg string 返回状态信息
  data string 返回热搜信息

返回示例:


{
    "code": 200,
    "msg": "success",
    "data": [
        {
            "text": "赵露思",
            "url": "https:\/\/s.weibo.com\/weibo?q=%E8%B5%B5%E9%9C%B2%E6%80%9D&Refer=top"
        },
        {
            "text": "美国新冠肺炎超901万例",
            "url": "https:\/\/s.weibo.com\/weibo?q=%23%E7%BE%8E%E5%9B%BD%E6%96%B0%E5%86%A0%E8%82%BA%E7%82%8E%E8%B6%85901%E4%B8%87%E4%BE%8B%23&Refer=top"
        },
        {
            "text": "张雨绮没有一个音在调上",
            "url": "https:\/\/s.weibo.com\/weibo?q=%E5%BC%A0%E9%9B%A8%E7%BB%AE%E6%B2%A1%E6%9C%89%E4%B8%80%E4%B8%AA%E9%9F%B3%E5%9C%A8%E8%B0%83%E4%B8%8A&Refer=top"
        },
        {
            "text": "赵露思工作室发声明辟谣",
            "url": "https:\/\/s.weibo.com\/weibo?q=%23%E8%B5%B5%E9%9C%B2%E6%80%9D%E5%B7%A5%E4%BD%9C%E5%AE%A4%E5%8F%91%E5%A3%B0%E6%98%8E%E8%BE%9F%E8%B0%A3%23&Refer=top"
        },
        {
            "text": "爱琴海地震",
            "url": "https:\/\/s.weibo.com\/weibo?q=%E7%88%B1%E7%90%B4%E6%B5%B7%E5%9C%B0%E9%9C%87&Refer=top"
        },
        {
            "text": "海大鱼",
            "url": "https:\/\/s.weibo.com\/weibo?q=%E6%B5%B7%E5%A4%A7%E9%B1%BC&Refer=top"
        },
        {
            "text": "教育部回应增设大中小学春秋假期建议",
            "url": "https:\/\/s.weibo.com\/weibo?q=%23%E6%95%99%E8%82%B2%E9%83%A8%E5%9B%9E%E5%BA%94%E5%A2%9E%E8%AE%BE%E5%A4%A7%E4%B8%AD%E5%B0%8F%E5%AD%A6%E6%98%A5%E7%A7%8B%E5%81%87%E6%9C%9F%E5%BB%BA%E8%AE%AE%23&Refer=top"
        },
        {
            "text": "华为余承东回应美国三轮制裁",
            "url": "https:\/\/s.weibo.com\/weibo?q=%23%E5%8D%8E%E4%B8%BA%E4%BD%99%E6%89%BF%E4%B8%9C%E5%9B%9E%E5%BA%94%E7%BE%8E%E5%9B%BD%E4%B8%89%E8%BD%AE%E5%88%B6%E8%A3%81%23&Refer=top"
        },
        {
            "text": "钟南山称中国暴发第二波疫情可能性很低",
            "url": "https:\/\/s.weibo.com\/weibo?q=%23%E9%92%9F%E5%8D%97%E5%B1%B1%E7%A7%B0%E4%B8%AD%E5%9B%BD%E6%9A%B4%E5%8F%91%E7%AC%AC%E4%BA%8C%E6%B3%A2%E7%96%AB%E6%83%85%E5%8F%AF%E8%83%BD%E6%80%A7%E5%BE%88%E4%BD%8E%23&Refer=top"
        },
        {
            "text": "月半爱丽丝",
            "url": "https:\/\/s.weibo.com\/weibo?q=%E6%9C%88%E5%8D%8A%E7%88%B1%E4%B8%BD%E4%B8%9D&Refer=top"
        }
    ]
}

错误码参照:

  错误码 说明
  200 success!
  500 error!

PHP演示:


<?php
暂无示例代码,努力添加中!
?>