今日头条热搜榜
equalizer 累计使用:6984
请求地址 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": 33262024
},
{
"rank": 2,
"name": "王霜用进球强势回应朝鲜女足野蛮动作",
"hot": 30096724
},
{
"rank": 3,
"name": "“两高”工作报告十大看点",
"hot": 27232642
},
{
"rank": 4,
"name": "建议餐馆标明预制菜让顾客自己选",
"hot": 24641113
},
{
"rank": 5,
"name": "朝鲜女足队长肘击王霜仅吃黄牌",
"hot": 22296201
},
{
"rank": 6,
"name": "券商:A股将重回自身节奏",
"hot": 20174437
},
{
"rank": 7,
"name": "70余名滞留中东台胞抵达上海",
"hot": 18254585
},
{
"rank": 8,
"name": "天津最新油价公布",
"hot": 16517432
},
{
"rank": 9,
"name": "以高质量司法助力高水平开放",
"hot": 14945590
},
{
"rank": 10,
"name": "足协主席赛后探望中国女足",
"hot": 13523329
},
{
"rank": 11,
"name": "伴郎给入场的新娘开门开反被嘲堵门",
"hot": 12236414
},
{
"rank": 12,
"name": "员工因业绩不达标被罚跪?谣言",
"hot": 11071966
},
{
"rank": 13,
"name": "建议将8小时工作制缩短为7小时",
"hot": 10018329
},
{
"rank": 14,
"name": "人能赚到认知以外的钱吗",
"hot": 9064959
},
{
"rank": 15,
"name": "普京与特朗普通电话讨论伊朗局势",
"hot": 8202314
},
{
"rank": 16,
"name": "美股三大指数集体收涨",
"hot": 7421760
},
{
"rank": 17,
"name": "母亲的脾气对孩子影响大吗",
"hot": 6715486
},
{
"rank": 18,
"name": "中国女足反超后朝鲜队一度罢赛",
"hot": 6076423
},
{
"rank": 19,
"name": "中国农用无人机超30万架世界第一",
"hot": 5498175
},
{
"rank": 20,
"name": "动物园门口织长颈鹿包包的阿姨火了",
"hot": 4974955
},
{
"rank": 21,
"name": "猫咪不让女生摸被教育 坐姿像宝宝",
"hot": 4501525
},
{
"rank": 22,
"name": "老人和53岁未婚女儿同患阿尔茨海默病",
"hot": 4073148
},
{
"rank": 23,
"name": "女孩被相亲对象约去挖野菜",
"hot": 3685537
},
{
"rank": 24,
"name": "主人学猫叫被猫猫“阴阳怪气”",
"hot": 3334812
},
{
"rank": 25,
"name": "学者:大陆坚决打击“台独”两面人",
"hot": 3017462
},
{
"rank": 26,
"name": "女子家窗户边有个超大蜂窝",
"hot": 2730313
},
{
"rank": 27,
"name": "张凯丽:别把高额彩礼问题归咎于女性",
"hot": 2470489
},
{
"rank": 28,
"name": "81岁儿子被100岁父亲检查书法超紧张",
"hot": 2235391
},
{
"rank": 29,
"name": "纳斯达克中国金龙指数涨1.76%",
"hot": 2022665
},
{
"rank": 30,
"name": "前魅族CMO:普通人先不要碰“龙虾”",
"hot": 1830183
},
{
"rank": 31,
"name": "演员傅淼:被张凌赫的颜值震撼到",
"hot": 1656018
},
{
"rank": 32,
"name": "佘诗曼回应帮TVB扭亏为盈",
"hot": 1498427
},
{
"rank": 33,
"name": "《藏海传》剧组红毯集结全员气场在线",
"hot": 1355833
},
{
"rank": 34,
"name": "工作室辟谣张艺兴被封杀",
"hot": 1226808
},
{
"rank": 35,
"name": "《我的山与海》谭松韵演技",
"hot": 1110062
},
{
"rank": 36,
"name": "《好好的时光》陈昊宇终于被看见",
"hot": 1004426
},
{
"rank": 37,
"name": "电视剧盛典明星怼脸生图",
"hot": 908842
},
{
"rank": 38,
"name": "48岁女博导李新影在埃及去世",
"hot": 822354
},
{
"rank": 39,
"name": "男子让AI实时看监控帮自己“摸鱼”",
"hot": 744097
},
{
"rank": 40,
"name": "冯德莱恩谈伊朗问题:欧洲需正视现实",
"hot": 673286
},
{
"rank": 41,
"name": "女孩50元买5朵玫瑰父亲大闹花店",
"hot": 609215
},
{
"rank": 42,
"name": "刘浩存机场提醒“不要踩我的衣服”",
"hot": 551240
},
{
"rank": 43,
"name": "土总统:伊朗须终止对兄弟国家打击",
"hot": 498783
},
{
"rank": 44,
"name": "袁姗姗在巴黎铁塔下吃到了襄阳牛肉面",
"hot": 451317
},
{
"rank": 45,
"name": "世乒排名王楚钦领先第2名4660分",
"hot": 408369
},
{
"rank": 46,
"name": "伊朗一辆救护车遭导弹袭击",
"hot": 369507
},
{
"rank": 47,
"name": "这7种食物不甜却让你血糖飙升",
"hot": 334344
},
{
"rank": 48,
"name": "美正讨论协调释放战略石油储备",
"hot": 302527
},
{
"rank": 49,
"name": "中方回应“伊朗选出新任最高领袖”",
"hot": 273738
},
{
"rank": 50,
"name": "代表说儿子告诉他千万不要爹味太浓",
"hot": 247688
}
],
"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 |
|---|