今日头条热搜榜
equalizer 累计使用:3930
请求地址 https://free.wqwlkj.cn/wqwlapi/jrtt_hot.php
请求示例 https://free.wqwlkj.cn/wqwlapi/jrtt_hot.php?type=json
请求方式 GET/POST
返回格式 JSON
{
"code": 1,
"msg": "获取成功",
"data": [
{
"rank": 1,
"name": "前民航机长:飞机拉起就坠毁太罕见",
"hot": 59855812
},
{
"rank": 2,
"name": "那尔那茜妨碍高考公平引质疑",
"hot": 54159780
},
{
"rank": 3,
"name": "解码海洋经济三大支点",
"hot": 49005792
},
{
"rank": 4,
"name": "印度客机失事 系波音787首次致命事故",
"hot": 44342276
},
{
"rank": 5,
"name": "印度坠机事故中发现一名幸存者",
"hot": 40122552
},
{
"rank": 6,
"name": "网警:高考结束考生家长仍需警惕",
"hot": 36304384
},
{
"rank": 7,
"name": "莫迪就印度航空客机坠毁事件发声",
"hot": 32849566
},
{
"rank": 8,
"name": "印度失事客机上242人全部遇难",
"hot": 29723516
},
{
"rank": 9,
"name": "“蝴蝶”变光头台风意味着什么",
"hot": 26894950
},
{
"rank": 10,
"name": "深理工辟谣“内部指标可降分录取”",
"hot": 24335556
},
{
"rank": 11,
"name": "卫健部门回应湖南坠亡实习医生案件",
"hot": 22019722
},
{
"rank": 12,
"name": "国家铁路局局长费东斌被查",
"hot": 19924268
},
{
"rank": 13,
"name": "媒体评“挑扁担”女孩婉拒资助",
"hot": 18028224
},
{
"rank": 14,
"name": "印度客机坠毁居民区:飞机残骸挂楼顶",
"hot": 16312612
},
{
"rank": 15,
"name": "美对华关税不准备再降了?博主解读",
"hot": 14760261
},
{
"rank": 16,
"name": "美主持人称加州州长为“总统纽森”",
"hot": 13355637
},
{
"rank": 17,
"name": "印度客机坠毁的原因可能是什么",
"hot": 12084680
},
{
"rank": 18,
"name": "台网红馆长喊话绿媒:被你们骗好苦",
"hot": 10934671
},
{
"rank": 19,
"name": "上戏:从未聘那尔那茜为助教",
"hot": 9894099
},
{
"rank": 20,
"name": "“扁担挑行李”高考女孩为何“刷屏”",
"hot": 8952551
},
{
"rank": 21,
"name": "肝纤维化是什么病",
"hot": 8100603
},
{
"rank": 22,
"name": "Labubu爆火 泡泡玛特做对了什么",
"hot": 7329729
},
{
"rank": 23,
"name": "实探哪吒汽车总部",
"hot": 6632213
},
{
"rank": 24,
"name": "美企高调向中国稀土宣战有何目的",
"hot": 6001074
},
{
"rank": 25,
"name": "高考结束挑行李回家的女生婉拒资助",
"hot": 5429996
},
{
"rank": 26,
"name": "歼15“贴身拦截”日本军机意味什么",
"hot": 4913264
},
{
"rank": 27,
"name": "印度客机坠毁为何尾部相对完整",
"hot": 4445705
},
{
"rank": 28,
"name": "美媒称31%的美国人掏不起500美元",
"hot": 4022640
},
{
"rank": 29,
"name": "台网红馆长被大陆外卖机器人秀到了",
"hot": 3639835
},
{
"rank": 30,
"name": "波音飞机为何越来越不安全了",
"hot": 3293459
},
{
"rank": 31,
"name": "央视记者直击纽约抗议现场",
"hot": 2980045
},
{
"rank": 32,
"name": "小车轮胎压到铝片瞬间弹起砸到后车",
"hot": 2696456
},
{
"rank": 33,
"name": "波音6年巨亏360亿美元后再遭重创",
"hot": 2439854
},
{
"rank": 34,
"name": "如何看待印尼花重金买土耳其五代机",
"hot": 2207672
},
{
"rank": 35,
"name": "美特使:特朗普可同时担任美以领导人",
"hot": 1997584
},
{
"rank": 36,
"name": "36岁梁洛施被曝新恋情",
"hot": 1807488
},
{
"rank": 37,
"name": "澳门将关闭11家赌场",
"hot": 1635483
},
{
"rank": 38,
"name": "抗议活动在美国蔓延趋势如何",
"hot": 1479846
},
{
"rank": 39,
"name": "台网红“馆长”:南浦大桥超级无敌霹雳长",
"hot": 1339020
},
{
"rank": 40,
"name": "媒体评阿里离职员工万字长文",
"hot": 1211596
},
{
"rank": 41,
"name": "波音787-8被曝曾因故障多次取消航班",
"hot": 1096297
},
{
"rank": 42,
"name": "小车318川藏线上逆行被大货车逼退",
"hot": 991970
},
{
"rank": 43,
"name": "专家:特朗普给自己培养了个强敌",
"hot": 897572
},
{
"rank": 44,
"name": "俄罗斯这一轮对乌报复到底有多猛",
"hot": 812157
},
{
"rank": 45,
"name": "印度空军若不犯错能打赢巴基斯坦吗",
"hot": 734870
},
{
"rank": 46,
"name": "以色列与伊朗真的要开打吗",
"hot": 664938
},
{
"rank": 47,
"name": "Pura 80能帮华为抢下多少苹果用户",
"hot": 601660
},
{
"rank": 48,
"name": "专家:特朗普调兵进洛杉矶另有所图",
"hot": 544405
},
{
"rank": 49,
"name": "印度失事客机乘客名单无中国公民",
"hot": 492598
},
{
"rank": 50,
"name": "李在明数罪缠身是否能逃过审判",
"hot": 445721
}
],
"Tips": "本接口由问情网络科技提供"
}
参数名称 | 是否必需 | 参数说明 |
---|---|---|
type |
否 | 可选text json 默认text |
参数名称 | 参数类型 | 参数说明 |
---|---|---|
rank |
string |
排行 |
name |
string |
热搜名字 |
hot |
string |
热度 |
更新时间 2023-01-23 00:39:21
状态码 | 状态说明 |
---|---|
400 | 请求错误 |
403 | 请求被服务器拒绝 |
404 | 请求服务器失败 |
500 | 服务器错误 |
503 | 服务器维护 |
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 {
//失败
}
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 {
//失败
}
};
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();
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操作:发送数据失败(响应码 为 文本型)
//失败
结束 事件
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 |
---|