今日头条热搜榜
equalizer 累计使用:3723
请求地址 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": 23556950
},
{
"rank": 2,
"name": "大V:印巴不会打大战",
"hot": 21315210
},
{
"rank": 3,
"name": "看中国重器如何丈量浩瀚宇宙",
"hot": 19286798
},
{
"rank": 4,
"name": "女子做流产手术7个月后确诊癌症",
"hot": 17451418
},
{
"rank": 5,
"name": "巴基斯坦部队向克什米尔大规模调动",
"hot": 15790695
},
{
"rank": 6,
"name": "蔡正元回应戴脚镣后是否还会上节目",
"hot": 14288012
},
{
"rank": 7,
"name": "广厦109-90大胜辽宁先下一城",
"hot": 12928328
},
{
"rank": 8,
"name": "伊朗港口爆炸事件已致数百人受伤",
"hot": 11698035
},
{
"rank": 9,
"name": "马斯克不到100天砍掉自己1500亿身家",
"hot": 10584820
},
{
"rank": 10,
"name": "短信提示社保异常需办登记认证?假",
"hot": 9577541
},
{
"rank": 11,
"name": "美以军机飞抵印度意欲何为",
"hot": 8666117
},
{
"rank": 12,
"name": "俄中将遇袭身亡 俄美罕见同时发声",
"hot": 7841427
},
{
"rank": 13,
"name": "女子晒得类风湿16年的手与脚",
"hot": 7095217
},
{
"rank": 14,
"name": "倪妮反差感",
"hot": 6420017
},
{
"rank": 15,
"name": "特朗普拿P图甩锅中国",
"hot": 5809072
},
{
"rank": 16,
"name": "韩红成都演唱会哽咽:想天上的妈妈",
"hot": 5256266
},
{
"rank": 17,
"name": "上海一影院偷瞒哪吒2票房逾25万",
"hot": 4756066
},
{
"rank": 18,
"name": "地铁上睡觉的小男孩“左右摇摆”",
"hot": 4303466
},
{
"rank": 19,
"name": "大V:特朗普被中国逼得开始讲道理",
"hot": 3893937
},
{
"rank": 20,
"name": "男子驾车遇蛇翘头“死亡凝视”",
"hot": 3523380
},
{
"rank": 21,
"name": "印巴局势接下来将如何发展",
"hot": 3188086
},
{
"rank": 22,
"name": "台名嘴自曝被戴电子脚镣不能出境",
"hot": 2884699
},
{
"rank": 23,
"name": "孙俪:中年人没有脆弱的时间",
"hot": 2610184
},
{
"rank": 24,
"name": "印巴局势恶化 中方会出面调停吗",
"hot": 2361792
},
{
"rank": 25,
"name": "男子裸露下体偷进房间藏在女生床下",
"hot": 2137038
},
{
"rank": 26,
"name": "殉情男子离世前将妻子遗物成箱送回",
"hot": 1933672
},
{
"rank": 27,
"name": "卢秀燕喊话赖清德:现在台产业很惨",
"hot": 1749658
},
{
"rank": 28,
"name": "大V:欧洲趁中美关税战从美国获利",
"hot": 1583156
},
{
"rank": 29,
"name": "印巴局势将如何发展?专家解读",
"hot": 1432499
},
{
"rank": 30,
"name": "台民众冒雨走上街头抗议赖清德当局",
"hot": 1296179
},
{
"rank": 31,
"name": "大V谈中国取消1.2万吨美国猪肉订单",
"hot": 1172831
},
{
"rank": 32,
"name": "印男子婚礼当天21岁新娘调包成岳母",
"hot": 1061221
},
{
"rank": 33,
"name": "巴基斯坦防长为何说曾给西方干脏活",
"hot": 960233
},
{
"rank": 34,
"name": "孙俪吐槽邓超五哈斗舞很自信",
"hot": 868854
},
{
"rank": 35,
"name": "媒体评男子因痛爱亡妻殉情",
"hot": 786172
},
{
"rank": 36,
"name": "怀孕蓝猫疑遭虐待被砍断四肢后死亡",
"hot": 711358
},
{
"rank": 37,
"name": "马英九喊话赖清德要“清醒有德”",
"hot": 643663
},
{
"rank": 38,
"name": "美俄握手言和只差一步?大V解读",
"hot": 582410
},
{
"rank": 39,
"name": "官方回应太原“美人鱼”表演时疑溺水",
"hot": 526987
},
{
"rank": 40,
"name": "学者:印巴发动大规模冲突概率极低",
"hot": 476837
},
{
"rank": 41,
"name": "网友坐列车发现玻璃竟是触摸屏",
"hot": 431460
},
{
"rank": 42,
"name": "胡锡进:美方没想到中国这么能打",
"hot": 390401
},
{
"rank": 43,
"name": "解放军仪仗司礼大队亮相越南",
"hot": 353250
},
{
"rank": 44,
"name": "儿子带女同学回家吃饭爸爸热情招待",
"hot": 319633
},
{
"rank": 45,
"name": "小米SU7高速狂飙至230km/h",
"hot": 289216
},
{
"rank": 46,
"name": "俄方称已收复库尔斯克州",
"hot": 261694
},
{
"rank": 47,
"name": "印度巴基斯坦会不会爆发大规模战争",
"hot": 236790
},
{
"rank": 48,
"name": "张柏芝说爱情排在远得看不见的地方",
"hot": 214256
},
{
"rank": 49,
"name": "赵继伟2分2板5助5犯规 正负值-22",
"hot": 193867
},
{
"rank": 50,
"name": "48岁妈妈怀孕7个月才发现",
"hot": 175418
}
],
"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 |
---|