今日头条热搜榜
equalizer 累计使用:4274
请求地址 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": 20677135
},
{
"rank": 2,
"name": "女子赴美生子去世后俩孩子生父成谜",
"hot": 18709445
},
{
"rank": 3,
"name": "铭记历史 各地民众感受强军荣光",
"hot": 16929006
},
{
"rank": 4,
"name": "中国两架运-20飞往阿富汗运送物资",
"hot": 15317998
},
{
"rank": 5,
"name": "和平鸽“下班”50多小时才到家",
"hot": 13860298
},
{
"rank": 6,
"name": "美国防部更名战争部:多个门牌被换",
"hot": 12541316
},
{
"rank": 7,
"name": "净网:网警公布3起整治网络谣言案例",
"hot": 11347852
},
{
"rank": 8,
"name": "专家:美随时对委内瑞拉打响第一枪",
"hot": 10267961
},
{
"rank": 9,
"name": "人形机器人未来价格会逐渐下降吗",
"hot": 9290835
},
{
"rank": 10,
"name": "阅兵多个画面首次公开",
"hot": 8406695
},
{
"rank": 11,
"name": "“抓小三怒踩保时捷”系租车公司虚构",
"hot": 7606692
},
{
"rank": 12,
"name": "亚裔女子在泰被沉尸胸部假体印中文",
"hot": 6882820
},
{
"rank": 13,
"name": "辛芷蕾用二十年演绎“野草式生长”",
"hot": 6227833
},
{
"rank": 14,
"name": "中天小姐姐:我也算新北京人了",
"hot": 5635176
},
{
"rank": 15,
"name": "媒体人:普京让特朗普有些“失落”",
"hot": 5098918
},
{
"rank": 16,
"name": "贵州人过中元节的氛围真不是盖的",
"hot": 4613692
},
{
"rank": 17,
"name": "驻日使馆晒东风5C:全时戒备以武止戈",
"hot": 4174641
},
{
"rank": 18,
"name": "萨巴伦卡本赛季抢七战绩21胜1负",
"hot": 3777371
},
{
"rank": 19,
"name": "辛芷蕾曾说想做国际巨星",
"hot": 3417907
},
{
"rank": 20,
"name": "东风系列导弹为什么用“东风”命名",
"hot": 3092650
},
{
"rank": 21,
"name": "张学良长孙:爷爷会为今日中国高兴",
"hot": 2798345
},
{
"rank": 22,
"name": "佩通坦称将全身心投入反对党工作",
"hot": 2532048
},
{
"rank": 23,
"name": "毛新宇一家参加阅兵活动画面公布",
"hot": 2291091
},
{
"rank": 24,
"name": "萧敬腾唱《王妃》时外裤突然崩裂",
"hot": 2073065
},
{
"rank": 25,
"name": "樊振东德甲两连胜 对手夸赞太厉害",
"hot": 1875787
},
{
"rank": 26,
"name": "山西临汾凌晨出现巨响?真相来了",
"hot": 1697282
},
{
"rank": 27,
"name": "易会满曾多次强调反腐倡廉",
"hot": 1535764
},
{
"rank": 28,
"name": "武汉交通事故致7伤 24岁男子被抓获",
"hot": 1389617
},
{
"rank": 29,
"name": "《日掛中天》背后广东元素成国际焦点",
"hot": 1257377
},
{
"rank": 30,
"name": "陕西90后小伙两次天安门受阅",
"hot": 1137722
},
{
"rank": 31,
"name": "牛弹琴:美印又悄悄靠近了",
"hot": 1029453
},
{
"rank": 32,
"name": "媒体:桃李面包营销不能靠爹味玩梗",
"hot": 931488
},
{
"rank": 33,
"name": "郑丽文称参选国民党主席的决心不变",
"hot": 842845
},
{
"rank": 34,
"name": "固态电池能否接力CPO成为A股新霸主",
"hot": 762638
},
{
"rank": 35,
"name": "女子看京剧发现后排坐着洪秀柱",
"hot": 690063
},
{
"rank": 36,
"name": "如何看待美媒曝海豹突击队曾渗透朝鲜",
"hot": 624395
},
{
"rank": 37,
"name": "欧洲杯淘汰赛DAY1:塞尔维亚出局",
"hot": 564976
},
{
"rank": 38,
"name": "中国火箭与月亮同框",
"hot": 511211
},
{
"rank": 39,
"name": "三大一线城市调整楼市政策背后逻辑",
"hot": 462563
},
{
"rank": 40,
"name": "赖清德将“台独”恶果甩锅“黑天鹅”",
"hot": 418544
},
{
"rank": 41,
"name": "辛芷蕾胸前好大一朵玫瑰",
"hot": 378714
},
{
"rank": 42,
"name": "南方开启新一轮强降雨",
"hot": 342675
},
{
"rank": 43,
"name": "日前首相出席阅兵在日本国内被批评",
"hot": 310065
},
{
"rank": 44,
"name": "乌克兰为什么想当第二个韩国",
"hot": 280558
},
{
"rank": 45,
"name": "王钰栋自信回应逗笑全场",
"hot": 253860
},
{
"rank": 46,
"name": "普京:俄罗斯的未来在远东",
"hot": 229702
},
{
"rank": 47,
"name": "企业秘密打造7.5万个九三阅兵观礼包",
"hot": 207843
},
{
"rank": 48,
"name": "看懂《731》需要提前知道16个细节",
"hot": 188064
},
{
"rank": 49,
"name": "中央气象台发布暴雨蓝色预警",
"hot": 170167
},
{
"rank": 50,
"name": "周锡玮谈九三阅兵:中国人最优秀",
"hot": 153974
}
],
"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 |
---|