GET
全网热搜
- 接口地址
-
https://api.sk89.cn/api/qwrs.php - 请求参数
-
typebaidu,weibo,bilihot,biliall,bilibili,douyin,zhihu,weixin,kr36,ithome,juejin,kuaishou,toutiao,tieba,history,sspai,hackernews,github,paper,douban,netease,oschina,hupu
总调用次数
179
累计接口调用
今日调用
4
自 00:00 起累计
独立 IP 数
23
不同 IP 访问
最后调用
2026-12-0201:09:54
最近一次请求
请求配置
自定义请求头
示例 URL
https://api.sk89.cn/api/qwrs.php
响应结果
点击「发送请求」查看响应结果...
「全网热搜」接口说明
「全网热搜」是月下独酌API提供的公开接口,使用 GET 请求,接口地址为 https://api.sk89.cn/api/qwrs.php。你可以直接在本页填写参数在线测试,也可以复制下方示例代码接入自己的项目。
请求参数
| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
type |
string | 否 | baidu,weibo,bilihot,biliall,bilibili,douyin,zhihu,weixin,kr36,ithome,juejin,kuaishou,toutiao,tieba,history,sspai,hackernews,github,paper,douban,netease,oschina,hupu |
调用示例
cURL
curl -X GET "https://api.sk89.cn/api/qwrs.php"
PHP
<?php
$ch = curl_init('https://api.sk89.cn/api/qwrs.php');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$resp = curl_exec($ch);
curl_close($ch);
echo $resp;
Python
import requests
resp = requests.get('https://api.sk89.cn/api/qwrs.php')
print(resp.json())
常见问题
Q:这个接口需要密钥吗?
A:当前访问模式为「公开」,无需密钥即可直接调用。
Q:返回什么格式?
A:默认返回 JSON,字段说明见上方参数表;如返回异常,可先在本页点「发送请求」确认服务端状态。
Q:调用失败怎么办?
A:先检查请求方法是否为 GET、参数名是否与上表一致;仍失败可通过页面右下角「意见反馈」提交接口名与错误信息。