今日头条热搜榜
equalizer 累计使用:5635
请求地址 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": "消费贷有望跌至2字头比房贷便宜",
"hot": 12516710
},
{
"rank": 2,
"name": "德总理称中国凭战略远见成世界大国",
"hot": 11325588
},
{
"rank": 3,
"name": "读懂140万亿元的含金量",
"hot": 10247816
},
{
"rank": 4,
"name": "深圳挖出埋了20年垃圾去焚烧背后",
"hot": 9272607
},
{
"rank": 5,
"name": "李昊采访时用西班牙语调侃主帅",
"hot": 8390202
},
{
"rank": 6,
"name": "于东来跳入冰水施救被困车辆",
"hot": 7591768
},
{
"rank": 7,
"name": "“这样骂人”最高可判3年",
"hot": 6869316
},
{
"rank": 8,
"name": "男子卖500克金条:六七百一克买的",
"hot": 6215614
},
{
"rank": 9,
"name": "CBA:新疆送四川18连败",
"hot": 5624120
},
{
"rank": 10,
"name": "2026高考招生严控大类招生数量",
"hot": 5088914
},
{
"rank": 11,
"name": "特大地磁暴给人体带来影响?假的",
"hot": 4604640
},
{
"rank": 12,
"name": "交警回应女子违停竖中指被撞",
"hot": 4166451
},
{
"rank": 13,
"name": "黄景瑜将成为太空游客",
"hot": 3769960
},
{
"rank": 14,
"name": "仓库管理员3年偷3.5万斤废旧纸箱获刑",
"hot": 3411201
},
{
"rank": 15,
"name": "演员表为啥越来越让人看不懂",
"hot": 3086582
},
{
"rank": 16,
"name": "你见过哪些天才民间发明",
"hot": 2792855
},
{
"rank": 17,
"name": "男子瘫痪后妻子出轨有孕想离婚",
"hot": 2527080
},
{
"rank": 18,
"name": "已有4部影片定档春节",
"hot": 2286596
},
{
"rank": 19,
"name": "茅台确认“马茅”包装少写一撇",
"hot": 2068998
},
{
"rank": 20,
"name": "女子用开水浇他人小车玻璃引热议",
"hot": 1872107
},
{
"rank": 21,
"name": "银行回应尾号88888888马钞被领走",
"hot": 1693952
},
{
"rank": 22,
"name": "84岁爷爷每天变着花样给孙女做饭",
"hot": 1532751
},
{
"rank": 23,
"name": "王欣瑜生涯首进澳网女单32强",
"hot": 1386891
},
{
"rank": 24,
"name": "献血车进中学开展无偿献血?血站回应",
"hot": 1254910
},
{
"rank": 25,
"name": "清华大学两名博士生拟被退学",
"hot": 1135490
},
{
"rank": 26,
"name": "美财长将美国债问题甩锅日本",
"hot": 1027434
},
{
"rank": 27,
"name": "村支书雪天用无人机喊话服务独居老人",
"hot": 929660
},
{
"rank": 28,
"name": "博主请吃杀猪宴被索要1200元场地费",
"hot": 841191
},
{
"rank": 29,
"name": "农业农村部:加强农村宅基地规范管理",
"hot": 761141
},
{
"rank": 30,
"name": "法国用特朗普表情包回怼特朗普",
"hot": 688709
},
{
"rank": 31,
"name": "李嘉诚大宅外传异味警方发现野猪尸体",
"hot": 623170
},
{
"rank": 32,
"name": "英国14岁少女被囚禁25年掉光牙齿",
"hot": 563867
},
{
"rank": 33,
"name": "妈妈晕倒5岁娃掐人中扎针施救",
"hot": 510208
},
{
"rank": 34,
"name": "再过236年一年可过两次春节",
"hot": 461655
},
{
"rank": 35,
"name": "为何说美控制格陵兰岛是大概率事件",
"hot": 417723
},
{
"rank": 36,
"name": "打虎!副部级张建龙被查",
"hot": 377971
},
{
"rank": 37,
"name": "韩国最大在野党党首张东赫绝食8天",
"hot": 342003
},
{
"rank": 38,
"name": "“和平委员会”能否获国际社会认可",
"hot": 309457
},
{
"rank": 39,
"name": "一天3场高层重磅发布 楼市重大利好",
"hot": 280008
},
{
"rank": 40,
"name": "我国将推进第二轮土地延包整省试点",
"hot": 253362
},
{
"rank": 41,
"name": "专家:普京豪掷10亿美元藏着阳谋",
"hot": 229251
},
{
"rank": 42,
"name": "14亿人挑不出11个能踢球的经济学解释",
"hot": 207435
},
{
"rank": 43,
"name": "俄媒:中国应对美国威胁迎来新机遇",
"hot": 187695
},
{
"rank": 44,
"name": "媒体评女子比不雅手势被后车撞倒",
"hot": 169833
},
{
"rank": 45,
"name": "走进遭美军袭击的委内瑞拉科研机构",
"hot": 153671
},
{
"rank": 46,
"name": "女子宫外孕切除子宫离婚却被索要彩礼",
"hot": 139048
},
{
"rank": 47,
"name": "东北女生首次冬天来南方被冻懵",
"hot": 125815
},
{
"rank": 48,
"name": "羽绒服为什么会钻绒",
"hot": 113842
},
{
"rank": 49,
"name": "贵州石阡县县长说自己也是百姓",
"hot": 103009
},
{
"rank": 50,
"name": "解放军演练实弹打爆“高价值目标”",
"hot": 93206
}
],
"Tips": "本接口由问情网络科技提供"
}
| 参数名称 | 是否必需 | 参数说明 |
|---|---|---|
type |
否 | 可选text json 默认text |
| 参数名称 | 参数类型 | 参数说明 |
|---|---|---|
rank |
string |
排行 |
name |
string |
热搜名字 |
hot |
string |
热度 |
更新时间 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 |
|---|