今日头条热搜榜
equalizer 累计使用:17402
请求地址 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": "A股大反攻",
"hot": 32345158
},
{
"rank": 2,
"name": "李昌钰夫人泪别:你等我18年 我们合葬",
"hot": 29267109
},
{
"rank": 3,
"name": "中共中央政治局召开会议",
"hot": 26481976
},
{
"rank": 4,
"name": "西藏地震地面裂缝比手宽",
"hot": 23961882
},
{
"rank": 5,
"name": "微信适配iPhone Duo了",
"hot": 21681608
},
{
"rank": 6,
"name": "泽连斯基:真不想打仗了",
"hot": 19618330
},
{
"rank": 7,
"name": "职场综艺 令人心梗的offer",
"hot": 17751399
},
{
"rank": 8,
"name": "西藏地震已致16死76伤",
"hot": 16062130
},
{
"rank": 9,
"name": "宇树科技封死20cm涨停释放何信号",
"hot": 14533616
},
{
"rank": 10,
"name": "证监会核准花旗中国设立",
"hot": 13150560
},
{
"rank": 11,
"name": "采暖费能找人打折代缴?假的",
"hot": 11899118
},
{
"rank": 12,
"name": "专家:A股恐慌盘还没来",
"hot": 10766768
},
{
"rank": 13,
"name": "航拍西藏强震受灾核心区域",
"hot": 9742174
},
{
"rank": 14,
"name": "娃哈哈集团董事长被曝辞职",
"hot": 8815084
},
{
"rank": 15,
"name": "吴艳妮晒新发型",
"hot": 7976217
},
{
"rank": 16,
"name": "缅北魏家成员回国租车只付现金",
"hot": 7217180
},
{
"rank": 17,
"name": "普京:俄罗斯人和乌克兰人属同一民族",
"hot": 6530374
},
{
"rank": 18,
"name": "李雪健已无法说话 仅靠表情完成演出",
"hot": 5908927
},
{
"rank": 19,
"name": "日本重兵部署与那国岛有何目的",
"hot": 5346618
},
{
"rank": 20,
"name": "17岁男生确诊严重糖尿病 专家提醒",
"hot": 4837820
},
{
"rank": 21,
"name": "霜降:好“柿”成“霜”",
"hot": 4377441
},
{
"rank": 22,
"name": "国产最大直径盾构机下线",
"hot": 3960872
},
{
"rank": 23,
"name": "牛弹琴:普京最新表态这五刀真够狠",
"hot": 3583945
},
{
"rank": 24,
"name": "霜降养生关键是什么",
"hot": 3242888
},
{
"rank": 25,
"name": "创业板指探底回升涨超4%",
"hot": 2934286
},
{
"rank": 26,
"name": "在星巴克开会1小时被提醒点单5次",
"hot": 2655052
},
{
"rank": 27,
"name": "西藏震中地面开裂路基明显沉降",
"hot": 2402390
},
{
"rank": 28,
"name": "李乐成当选安徽省委书记",
"hot": 2173772
},
{
"rank": 29,
"name": "直击海军某护卫舰支队实弹射击训练",
"hot": 1966911
},
{
"rank": 30,
"name": "史上最贵iPhone今天发售",
"hot": 1779734
},
{
"rank": 31,
"name": "以色列即将大选 内塔尼亚胡迎来劲敌",
"hot": 1610370
},
{
"rank": 32,
"name": "实拍西藏地震:镜头剧烈摇晃",
"hot": 1457123
},
{
"rank": 33,
"name": "乌克兰人口近期减少200万",
"hot": 1318459
},
{
"rank": 34,
"name": "普京向乌克兰抛出橄榄枝了吗",
"hot": 1192991
},
{
"rank": 35,
"name": "胡昌升抵达7.0级地震震中指挥应急救援",
"hot": 1079463
},
{
"rank": 36,
"name": "大火逼近中国 日本道歉岂能只道一半",
"hot": 976739
},
{
"rank": 37,
"name": "宣城市委书记何淳宽当选安徽省委常委",
"hot": 883790
},
{
"rank": 38,
"name": "双尾蝎无人机绕飞琉球台湾有何深意",
"hot": 799686
},
{
"rank": 39,
"name": "“大衣哥”朱之文称热度下降越多越好",
"hot": 723586
},
{
"rank": 40,
"name": "职工退休后因工龄认定问题起诉人社局",
"hot": 654727
},
{
"rank": 41,
"name": "人民日报评星巴克消费入座",
"hot": 592422
},
{
"rank": 42,
"name": "安徽未来五年的“新长征”",
"hot": 536045
},
{
"rank": 43,
"name": "苹果入场对国产折叠屏影响几何",
"hot": 485034
},
{
"rank": 44,
"name": "千元手机开启新一轮内卷",
"hot": 438877
},
{
"rank": 45,
"name": "宁波爆红的帅摊主是四川人",
"hot": 397112
},
{
"rank": 46,
"name": "人民日报评综艺里医学生盲猜病情",
"hot": 359322
},
{
"rank": 47,
"name": "朱亚文人民日报撰文致敬陈树湘烈士",
"hot": 325128
},
{
"rank": 48,
"name": "袁励岑/王艺迪不敌松岛辉空/张本美和",
"hot": 294188
},
{
"rank": 49,
"name": "阔折叠手机会成为行业新风口吗",
"hot": 266192
},
{
"rank": 50,
"name": "女子被男友虐待致自杀案审理细节披露",
"hot": 240860
}
],
"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 |
|---|