menu 今日头条热搜榜

新首页

brightness_4 more_vert

今日头条热搜榜

equalizer 累计使用:11599

short_text 接口文档 http 状态码 code 示例代码
编辑接口
接口信息
名称不能为空
请填写接口名称
介绍不能为空
请填写接口介绍
地址不能为空
请填写完整路径,包含http协议头
参数不能为空
格式:参数名=参数值&参数名=参数值(用于在接口文档展示)
请求方式

请求参数
不能为空
请填写参数的介绍


返回参数
不能为空
请填写参数的介绍
不能为空
请填写参数的介绍
不能为空
请填写参数的介绍


状态代码




short_text 请求说明

请求地址  https://free.wqwlkj.cn/wqwlapi/jrtt_hot.php

请求示例  https://free.wqwlkj.cn/wqwlapi/jrtt_hot.php?type=json

请求方式   GET/POST

返回格式  JSON

short_text 返回示例
{
    "code": 1,
    "msg": "获取成功",
    "data": [
        {
            "rank": 1,
            "name": "创历史!2名中国籍数学家获菲尔兹奖",
            "hot": 15596251
        },
        {
            "rank": 2,
            "name": "日本外相带头对中国发难有何居心",
            "hot": 14112071
        },
        {
            "rank": 3,
            "name": "我国服务消费延续向新向好的发展态势",
            "hot": 12769130
        },
        {
            "rank": 4,
            "name": "重庆山体崩塌已致11死50失联",
            "hot": 11553987
        },
        {
            "rank": 5,
            "name": "韩国对朝鲜政策变了",
            "hot": 10454480
        },
        {
            "rank": 6,
            "name": "三伏天是养阳减重的黄金时段",
            "hot": 9459604
        },
        {
            "rank": 7,
            "name": "中纪委连打三虎",
            "hot": 8559404
        },
        {
            "rank": 8,
            "name": "中方回应王毅缺席东盟与中日韩外长会",
            "hot": 7744869
        },
        {
            "rank": 9,
            "name": "大爷摸知了猴3个小时赚近400元",
            "hot": 7007847
        },
        {
            "rank": 10,
            "name": "70岁保洁母亲被判替女还债百万",
            "hot": 6340962
        },
        {
            "rank": 11,
            "name": "台玻总裁夫人呛谢霆锋王菲伤害张柏芝",
            "hot": 5737540
        },
        {
            "rank": 12,
            "name": "潜山、绵阳这些涉灾视频是谣言",
            "hot": 5191541
        },
        {
            "rank": 13,
            "name": "任正非:韬定律是华为唯一突围道路",
            "hot": 4697500
        },
        {
            "rank": 14,
            "name": "外交部:中国外长没有与日方会见安排",
            "hot": 4250474
        },
        {
            "rank": 15,
            "name": "马斯克第三次喊“奇点已至”",
            "hot": 3845988
        },
        {
            "rank": 16,
            "name": "稻城亚丁景区一游客抢救无效去世",
            "hot": 3479994
        },
        {
            "rank": 17,
            "name": "中国“芯片刻刀”终于出鞘",
            "hot": 3148828
        },
        {
            "rank": 18,
            "name": "许昌胖东来宣布暂停销售中央空调",
            "hot": 2849178
        },
        {
            "rank": 19,
            "name": "长征三号乙发射时闪电掠过",
            "hot": 2578043
        },
        {
            "rank": 20,
            "name": "女子试衣间排便被曝光后威胁砸店",
            "hot": 2332709
        },
        {
            "rank": 21,
            "name": "中国女排3-2逆转美国",
            "hot": 2110723
        },
        {
            "rank": 22,
            "name": "女子搬运150斤黄鸡蛋瞬间全碎",
            "hot": 1909861
        },
        {
            "rank": 23,
            "name": "吴宗宪:给我爸妈吃问题油一定拼命",
            "hot": 1728113
        },
        {
            "rank": 24,
            "name": "美国6艘巡逻舰“现身”南海",
            "hot": 1563662
        },
        {
            "rank": 25,
            "name": "水果店只卖苹果 其中1款399元1颗",
            "hot": 1414860
        },
        {
            "rank": 26,
            "name": "龙凤胎弟弟弄醒姐姐后立马装睡",
            "hot": 1280218
        },
        {
            "rank": 27,
            "name": "人社部亮出社保“家底”",
            "hot": 1158389
        },
        {
            "rank": 28,
            "name": "重庆一显示屏显示气温47.1℃",
            "hot": 1048154
        },
        {
            "rank": 29,
            "name": "日媒播出专题片揭露731部队罪行",
            "hot": 948409
        },
        {
            "rank": 30,
            "name": "耐克“自砍一刀”背后",
            "hot": 858155
        },
        {
            "rank": 31,
            "name": "云南耿马惊现54.7公斤巨大口蘑",
            "hot": 776491
        },
        {
            "rank": 32,
            "name": "广西一公园大树倾倒致3死3伤 官方回应",
            "hot": 702598
        },
        {
            "rank": 33,
            "name": "丘成桐谈王虹邓煜获菲尔兹奖",
            "hot": 635737
        },
        {
            "rank": 34,
            "name": "王毅一天内会见美菲外长释放何种信号",
            "hot": 575239
        },
        {
            "rank": 35,
            "name": "郑丽文:马英九将缺席国民党全代会",
            "hot": 520497
        },
        {
            "rank": 36,
            "name": "广东男篮总经理朱芳雨将离任",
            "hot": 470965
        },
        {
            "rank": 37,
            "name": "女子嗓子像被刀片割 一查险窒息",
            "hot": 426147
        },
        {
            "rank": 38,
            "name": "俄外长当面“警告”鲁比奥",
            "hot": 385594
        },
        {
            "rank": 39,
            "name": "上海常务副市长吴伟调任中投公司",
            "hot": 348900
        },
        {
            "rank": 40,
            "name": "美国男子打死父亲被警方连开18枪击毙",
            "hot": 315697
        },
        {
            "rank": 41,
            "name": "中国警方向美方遣返一名美籍逃犯",
            "hot": 285655
        },
        {
            "rank": 42,
            "name": "机场回应373名乘客被困机舱10小时",
            "hot": 258471
        },
        {
            "rank": 43,
            "name": "博主:茅台涨价实则适配全新市场格局",
            "hot": 233874
        },
        {
            "rank": 44,
            "name": "王菲前经纪人怒怼传闻",
            "hot": 211618
        },
        {
            "rank": 45,
            "name": "摩根大通:接下来几周是美股命运关键",
            "hot": 191480
        },
        {
            "rank": 46,
            "name": "土耳其女排晋级世界女排联赛四强",
            "hot": 173258
        },
        {
            "rank": 47,
            "name": "王虹、邓煜均系北大校友",
            "hot": 156770
        },
        {
            "rank": 48,
            "name": "陈妍希姐姐追星张凌赫",
            "hot": 141852
        },
        {
            "rank": 49,
            "name": "为何美国正失去中国AI人才",
            "hot": 128353
        },
        {
            "rank": 50,
            "name": "博主:印度保密防线失守",
            "hot": 116138
        }
    ],
    "Tips": "本接口由问情网络科技提供"
}

short_text 请求参数
参数名称 是否必需 参数说明
type 可选text json 默认text
short_text 返回参数
参数名称 参数类型 参数说明
rank string 排行
name string 热搜名字
hot string 热度

short_text 更新时间

更新时间  2023-01-23 00:39:21

系统状态

状态码 状态说明
400 请求错误
403 请求被服务器拒绝
404 请求服务器失败
500 服务器错误
503 服务器维护






PHP


GET方法

$url = 'https://free.wqwlkj.cn/wqwlapi/jrtt_hot.php';
$data = '?type=json';
$get = $url.$data;
$result = file_get_contents($get);
if ($result) {
  //成功
  echo $result;
} else {
  //失败
}

POST方法

$url = 'https://free.wqwlkj.cn/wqwlapi/jrtt_hot.php';
$data = array(
  'type' => 'json',
);
$data = http_build_query($data); $option = array('http'=>array('method'=>'POST','content'=>$data)); $context = stream_context_create($option); $result = file_get_contents($url,false,$context); if ($result) { //成功 echo $result; } else { //失败 }

JavaScript


GET方法

var url = "https://free.wqwlkj.cn/wqwlapi/jrtt_hot.php"
var data = "?type=json"
var xhrGet = new XMLHttpRequest();
xhrGet.open('GET', url + data, true);
xhrGet.send();
xhrGet.onreadystatechange = function() {
    if (xhrGet.readyState == 4 && xhrGet.status == 200) {
        //成功
        var result = xhrGet.responseText;
        console.log(result);
    } else {
        //失败
    }
};

POST方法

var url = "https://free.wqwlkj.cn/wqwlapi/jrtt_hot.php"
var data = "type=json"
var xhrPost = new XMLHttpRequest();
xhrPost.open('POST', url, true);
xhrPost.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
xhrPost.send(data);
xhrPost.onreadystatechange = function() {
    if (xhrPost.readyState == 4 && xhrPost.status == 200) {
        //成功
        var result = xhrPost.responseText;
        console.log(result);
    } else {
        //失败
    }
};

JAVA


GET方法

new Thread(){
  public void run() {
    String path = "https://free.wqwlkj.cn/wqwlapi/jrtt_hot.php";
    String data = "?type=json";      
     try {
        URL url = new URL(path + data);
        HttpURLConnection connection = (HttpURLConnection)url.openConnection();
        connection.setRequestMethod("GET");
        int code = connection.getResponseCode();
        if (code == 200) {
          //成功
          InputStreamReader isr = new InputStreamReader(connection.getInputStream());
          BufferedReader bufferedreader = new BufferedReader(isr);
          String string;
          StringBuilder stringbuilder = new StringBuilder();
            while ((string = bufferedreader.readLine()) != null) {
              stringbuilder.append(string);
            }
          final String result = stringbuilder.toString();
          System.out.println(result);
        } else {
          //失败
        }
	} catch (MalformedURLException e) {
        e.printStackTrace();
	} catch (IOException e) {
        e.printStackTrace();
	}
}}.start();

POST方法

new Thread(){
  public void run() {
    String path = "https://free.wqwlkj.cn/wqwlapi/jrtt_hot.php";
    String data = "type=json";
      try {
        URL url = new URL(path);
        HttpURLConnection connection = (HttpURLConnection)url.openConnection();
        connection.setRequestMethod("POST");          
        connection.setDoOutput(true);
        connection.getOutputStream().write(data.getBytes());
        int code = connection.getResponseCode();
        if (code == 200) {
          //成功
          InputStreamReader isr = new InputStreamReader(connection.getInputStream());
          BufferedReader bufferedreader = new BufferedReader(isr);
          String string;
          StringBuilder stringbuilder = new StringBuilder();
            while ((string = bufferedreader.readLine()) != null) {
            stringbuilder.append(string);
            }
          final String result = stringbuilder.toString();
          System.out.println(result);
        } else {
          //失败
        }
	} catch (MalformedURLException e) {
        e.printStackTrace();
	} catch (IOException e) {
        e.printStackTrace();
	}
}}.start();

Lua


GET方法

url="https://free.wqwlkj.cn/wqwlapi/jrtt_hot.php"
data=url.."?type=json"
Http.get(data,function(code,content,data)
  if code==200 then
    --成功
    print(content)
   else
    --失败
  end
end)

POST方法

url="https://free.wqwlkj.cn/wqwlapi/jrtt_hot.php"
data="type=json"
Http.post(url,data,function(code,content,data)
  if code==200 then
    --成功
    print(content)
   else
    --失败
  end
end)

结绳


GET方法

变量 网络GET操作 为 网络操作 = 创建 网络操作()
   变量 GET数据 为 文本型 = "?type=json"   
   网络GET操作.取网页源码("https://free.wqwlkj.cn/wqwlapi/jrtt_hot.php" + GET数据)
   事件 网络GET操作:取网页源码结束(结果 为 文本型,cookie 为 文本型)
      //成功
      调试输出(结果)
   结束 事件
   事件 网络GET操作:取网页源码失败(响应码 为 文本型)
      //失败
   结束 事件

POST方法

变量 网络POST操作 为 网络操作 = 创建 网络操作()
   变量 POST数据 为 文本型 = "type=json"
   网络POST操作.发送数据("https://free.wqwlkj.cn/wqwlapi/jrtt_hot.php",POST数据)
   事件 网络POST操作:发送数据结束(结果 为 文本型,cookie 为 文本型)
      //成功
      调试输出(结果)
   结束 事件
   事件 网络POST操作:发送数据失败(响应码 为 文本型)
      //失败
   结束 事件

iAPP


GET方法

s url="https://free.wqwlkj.cn/wqwlapi/jrtt_hot.php"
s data="?type=json"
ss(url+data,get)
t(){
  hs(get,result)
  f(result!=null){
    //成功
    syso(result)
  }else{
    //失败
  }
}

POST方法

s url="https://free.wqwlkj.cn/wqwlapi/jrtt_hot.php"
s data="type=json"
t(){
  hs(url,data,"utf-8",result)
  f(result!=null){
    //成功
    syso(result)
  }else{
    //失败
  }
}



接口反馈
反馈时间 反馈接口 反馈内容 反馈者IP

网站通知

通知3:近期不少人说免费api速度挺慢的,因为寻找免费api是使用别人的主机很正常,凑合用吧。 打个小广告,如果实在是不满,可以让我移至付费接口,一个月几块钱吧,但是速度还行咯。服务器一直空闲着。 付费地址:点击进入使用

通知2:由于各种原因,原域名已经更换为free.wqwlkj.cn,请各位站长注意更换。(接口不变,只是域名换了)

通知1:疯狂星期四文案由于被恶意请求,已经取消使用,需要接口源码点击进入如果实在想使用,只能付费,地址:点击付费使用
我知道了