首页 API列表 API文档 社区 登录 注册
各大平台聚合热榜
GET https://gulangsc.cn/API/hot/hot.php

基础信息

接口描述
少数平台聚合热榜,,微博,B站,知乎,IT之家,今日头条,稀土掘金平台
请求方式
GET
返回格式
TEXT
计费类型
免费
QPS限制
10/s
状态
正常

返回预览

// 加载中...

请求参数

参数名类型必填默认值说明
typestring必填

示例代码

<?php
$API_URL = 'https://gulangsc.cn/API/hot/hot.php';

$params = array(
    'type' => 'YOUR_VALUE',
);

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $API_URL . '?' . http_build_query($params));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_TIMEOUT, 10);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
$res = curl_exec($ch);
curl_close($ch);
print($res);

状态码

接口状态码

状态码说明
200请求成功
351多错误,请求查看

服务器状态码

状态码说明
500服务器错误
501请求接口不存在

AI开发文档

{
    "name": "各大平台聚合热榜",
    "method": "GET",
    "endpoint": "https:\/\/gulangsc.cn\/API\/hot\/hot.php",
    "description": "少数平台聚合热榜,,微博,B站,知乎,IT之家,今日头条,稀土掘金平台",
    "params": [
        {
            "name": "type",
            "type": "string",
            "required": "yes",
            "desc": "bilibili=哔哩哔哩 weibo=微博 zhihu=知乎 ithome=IT之家 toutiao=今日头条 juejin=稀土掘金"
        }
    ],
    "response_format": "text"
}