menu 今日头条热搜榜

新首页

brightness_4 more_vert

今日头条热搜榜

equalizer 累计使用:4679

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": "马克龙:中国应伸出援手投资欧洲",
            "hot": 44991225
        },
        {
            "rank": 2,
            "name": "辽宁舰调头北上有何深意",
            "hot": 40709744
        },
        {
            "rank": 3,
            "name": "确保我国经济航船乘风破浪行稳致远",
            "hot": 36835700
        },
        {
            "rank": 4,
            "name": "父亲工资打孩子账户致儿子无法考公",
            "hot": 33330319
        },
        {
            "rank": 5,
            "name": "家人刷视频才知13岁孩子救了人",
            "hot": 30158520
        },
        {
            "rank": 6,
            "name": "净网|网警查处编造汽车造成8杀谣言案",
            "hot": 27288557
        },
        {
            "rank": 7,
            "name": "1818名明星网红等人查补税款15.23亿",
            "hot": 24691708
        },
        {
            "rank": 8,
            "name": "护士患癌请病假遭拒?卫健委介入调查",
            "hot": 22341981
        },
        {
            "rank": 9,
            "name": "“雪假”带动冬季出游",
            "hot": 20215860
        },
        {
            "rank": 10,
            "name": "新华社:对全网最忙五人组一查到底",
            "hot": 18292067
        },
        {
            "rank": 11,
            "name": "打HPV疫苗会导致绝育?假的",
            "hot": 16551347
        },
        {
            "rank": 12,
            "name": "1.1万一瓶的茅台酒新品开售首日秒光",
            "hot": 14976278
        },
        {
            "rank": 13,
            "name": "中方不接受日方交涉已当场驳回",
            "hot": 13551096
        },
        {
            "rank": 14,
            "name": "中央政治局开会研究明年经济工作",
            "hot": 12261539
        },
        {
            "rank": 15,
            "name": "朱元璋“鞋拔子脸”教材换图",
            "hot": 11094699
        },
        {
            "rank": 16,
            "name": "特朗普称对泽连斯基感到失望",
            "hot": 10038899
        },
        {
            "rank": 17,
            "name": "罗永浩称不排除重新做手机",
            "hot": 9083571
        },
        {
            "rank": 18,
            "name": "安徽一新能源车突然起火伴有爆炸声",
            "hot": 8219155
        },
        {
            "rank": 19,
            "name": "老戏骨金士杰近60岁生了龙凤胎",
            "hot": 7436999
        },
        {
            "rank": 20,
            "name": "鸠山由纪夫:台湾问题属于中国内政",
            "hot": 6729275
        },
        {
            "rank": 21,
            "name": "工资必须发钱没有“平替”",
            "hot": 6088900
        },
        {
            "rank": 22,
            "name": "国乒战胜日本队夺混团世界杯冠军",
            "hot": 5509464
        },
        {
            "rank": 23,
            "name": "台湾当局被曝妄图与日军事勾连",
            "hot": 4985169
        },
        {
            "rank": 24,
            "name": "聚酯纤维怎么“塌房”了",
            "hot": 4510768
        },
        {
            "rank": 25,
            "name": "旺旺集团市值缩水1100亿",
            "hot": 4081511
        },
        {
            "rank": 26,
            "name": "南京环卫大叔打造银杏落叶打卡点",
            "hot": 3693104
        },
        {
            "rank": 27,
            "name": "断流数十年 郑州“母亲河”源泉喷水",
            "hot": 3341659
        },
        {
            "rank": 28,
            "name": "曝日军二战曾引导美军轰炸平民",
            "hot": 3023658
        },
        {
            "rank": 29,
            "name": "媒体:中国不接受日本搞“舆论战”",
            "hot": 2735919
        },
        {
            "rank": 30,
            "name": "克宫:特朗普国安战略与俄愿景契合",
            "hot": 2475562
        },
        {
            "rank": 31,
            "name": "为何安理会五常近期密集“对表”",
            "hot": 2239981
        },
        {
            "rank": 32,
            "name": "郑丽文参加活动跳《小苹果》",
            "hot": 2026818
        },
        {
            "rank": 33,
            "name": "杨瀚森生涯首次首发",
            "hot": 1833941
        },
        {
            "rank": 34,
            "name": "央行增持黄金如何影响你的钱袋子",
            "hot": 1659418
        },
        {
            "rank": 35,
            "name": "抗日英雄黄骅烈士小女儿替父回乡",
            "hot": 1501504
        },
        {
            "rank": 36,
            "name": "男子在公园搂抱女童被刑拘",
            "hot": 1358617
        },
        {
            "rank": 37,
            "name": "体操王子李小鹏在花滑上也是新手",
            "hot": 1229327
        },
        {
            "rank": 38,
            "name": "特朗普国安战略报告提及台湾8次",
            "hot": 1112341
        },
        {
            "rank": 39,
            "name": "“快女”江映蓉减重40斤",
            "hot": 1006488
        },
        {
            "rank": 40,
            "name": "4500万养牛场立项两年多未见一头牛",
            "hot": 910708
        },
        {
            "rank": 41,
            "name": "美最新报告:不允许任何国家过于强大",
            "hot": 824043
        },
        {
            "rank": 42,
            "name": "美国新版国安战略都讲了什么",
            "hot": 745624
        },
        {
            "rank": 43,
            "name": "解放军反舰导弹首秀“如来神掌”",
            "hot": 674669
        },
        {
            "rank": 44,
            "name": "艾顿谈詹姆斯末节:关键时刻挺身而出",
            "hot": 610466
        },
        {
            "rank": 45,
            "name": "马光远:新安全战略背后是美霸权衰落",
            "hot": 552372
        },
        {
            "rank": 46,
            "name": "商家点出餐故意不打包 骑手干等",
            "hot": 499807
        },
        {
            "rank": 47,
            "name": "杨瀚森的12小时与19分钟",
            "hot": 452244
        },
        {
            "rank": 48,
            "name": "媒体评女乘客用围巾擦奶茶",
            "hot": 409207
        },
        {
            "rank": 49,
            "name": "中学教师被曝当学生面踩死流浪猫",
            "hot": 370266
        },
        {
            "rank": 50,
            "name": "土耳其五代机被美点中“死穴”了吗",
            "hot": 335030
        }
    ],
    "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:疯狂星期四文案由于被恶意请求,已经取消使用,需要接口源码点击进入如果实在想使用,只能付费,地址:点击付费使用
我知道了