快手热搜榜

获取实时快手热搜榜

API 文档

  • 接口地址: https://api.makuo.cc/api/get.hot.kuaishou
  • 返回格式: JSON
  • 请求方式: GET
  • 请求示例: https://api.makuo.cc/api/get.hot.kuaishou

请求参数说明:

名称 必填 类型 说明
token string 登录获取token

返回参数说明:

名称 类型 说明
code integer 返回的状态码
data object 返回的数据/数据对象
msg string 返回的消息
time string 请求时间
data.title integer 标题
data.hotValue string 热度

返回示例:

{
    "code": 200,
    "data": [
        {
            "hotValue": "1300.1万",
            "title": "开启中巴关系下一个黄金50年"
        },
        {
            "hotValue": "1175万",
            "title": "时代少年团五周年演唱会倒计时"
        },
        {
            "hotValue": "1152.5万",
            "title": "卫生巾并非无可替代"
        },
        {
            "hotValue": "1150.7万",
            "title": "巴西人偏爱中国电动汽车"
        },
        {
            "hotValue": "1131.8万",
            "title": "王楚钦回应世界排名第一"
        },
        {
            "hotValue": "1118.2万",
            "title": "麦琳怀孕八个月引产"
        },
        {
            "hotValue": "1117.9万",
            "title": "军人版如愿转场来了"
        },
        {
            "hotValue": "1089.6万",
            "title": "曝殷世航涉嫌诈骗"
        },
        {
            "hotValue": "1068.2万",
            "title": "金正恩:朝鲜半岛核战争一触即发"
        },
        {
            "hotValue": "1053.4万",
            "title": "台湾青年:大陆数字经济发展迅速"
        },
        {
            "hotValue": "1046.1万",
            "title": "迪拜展出一块300公斤金条"
        },
        {
            "hotValue": "1024万",
            "title": "王宝强被举报涉嫌欺诈"
        },
        {
            "hotValue": "1023.3万",
            "title": "新疆这些地震相关谣言需警惕"
        },
        {
            "hotValue": "1022.7万",
            "title": "医生建议别疯抢医用卫生巾"
        },
        {
            "hotValue": "1021.8万",
            "title": "赶路赶到食堂了"
        },
        {
            "hotValue": "1019.1万",
            "title": "王宝强工作室回应其涉嫌欺诈"
        },
        {
            "hotValue": "1016.8万",
            "title": "乌克兰全境发布防空警报"
        },
        {
            "hotValue": "1014.3万",
            "title": "紫啧是什么梗"
        },
        {
            "hotValue": "1011.7万",
            "title": "员工称胖东来不卖农夫山泉绿瓶水"
        },
        {
            "hotValue": "1009.5万",
            "title": "俄发射洲际弹道导弹未携带核弹头"
        },
        {
            "hotValue": "1006.4万",
            "title": "俄乌互炸武器升级"
        },
        {
            "hotValue": "1001.4万",
            "title": "普京证实:对乌实战中测试新导弹"
        },
        {
            "hotValue": "999万",
            "title": "买卫生巾认准包装上的卫消证字"
        },
        {
            "hotValue": "998.8万",
            "title": "貂蝉大招调整"
        },
        {
            "hotValue": "996.3万",
            "title": "美建议取消中国永久正常贸易地位"
        },
        {
            "hotValue": "994万",
            "title": "乌称俄发射一枚洲际弹道导弹"
        },
        {
            "hotValue": "991.1万",
            "title": "王楚钦谈再战莫雷加德"
        },
        {
            "hotValue": "988.5万",
            "title": "老虎喝饮料的反应"
        },
        {
            "hotValue": "986.3万",
            "title": "我结婚你一定要来"
        },
        {
            "hotValue": "983.6万",
            "title": "今晚只吃一块豆腐"
        },
        {
            "hotValue": "980.8万",
            "title": "女性一生约使用1.5万片卫生巾"
        },
        {
            "hotValue": "978.3万",
            "title": "缅北规模化电诈园区全部被铲除"
        },
        {
            "hotValue": "976.1万",
            "title": "国乒豪取五连胜"
        },
        {
            "hotValue": "971.1万",
            "title": "关羽加强"
        },
        {
            "hotValue": "968.7万",
            "title": "当我的祖国在巴西唱响"
        },
        {
            "hotValue": "966.5万",
            "title": "老铁表示想吃完一个饼真难"
        },
        {
            "hotValue": "964.5万",
            "title": "余承东再预告华为尊界"
        },
        {
            "hotValue": "961.5万",
            "title": "巴基斯坦一车队遭袭至少39人死亡"
        },
        {
            "hotValue": "958.9万",
            "title": "麦子阿姨说来西双版纳过暖冬吧"
        },
        {
            "hotValue": "956.3万",
            "title": "王楚钦爆拧"
        },
        {
            "hotValue": "954.1万",
            "title": "业内称汽车经销商现大面积亏损"
        },
        {
            "hotValue": "951.2万",
            "title": "当自习课偷看恐怖片"
        },
        {
            "hotValue": "948.4万",
            "title": "红米LOGO变了"
        },
        {
            "hotValue": "945.5万",
            "title": "啥叫过度女性化"
        },
        {
            "hotValue": "940.2万",
            "title": "某品牌创始人喊话殷世航还170万"
        },
        {
            "hotValue": "935.8万",
            "title": "卫生巾不止是女性的事"
        },
        {
            "hotValue": "933.6万",
            "title": "军舰抵港香港市民冒雨迎接"
        },
        {
            "hotValue": "930.7万",
            "title": "王曼昱又空耳了"
        },
        {
            "hotValue": "928.3万",
            "title": "24岁中国游客在泰国骑摩托车身亡"
        },
        {
            "hotValue": "922.9万",
            "title": "孙颖莎首轮出局"
        },
        {
            "hotValue": "922.2万",
            "title": "蛋仔官方版我是奶龙"
        }
    ],
    "msg": "请求成功!",
    "time": "2024-11-22 12:27:49"
}

错误码格式说明:

名称 类型 说明
200 string 返回状态码(成功)
500 string 返回的状态码(失败)

代码示例:


<?php
// 初始化cURL会话
$ch = curl_init();
// 设置请求URL,用户中心获取token,自行替换其他参数
curl_setopt($ch, CURLOPT_URL, "https://api.makuo.cc/api/get.hot.kuaishou");
// 设置请求头
curl_setopt($ch, CURLOPT_HTTPHEADER, array(
    'Authorization: YOUR_TOKEN'
));
// 返回响应而不是直接输出
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
// 执行请求并获取响应
$response = curl_exec($ch);
// 关闭cURL会话
curl_close($ch);
// 将响应解析为JSON格式
$data = json_decode($response, true);
// 输出JSON数据
print_r($data);
?>
            

import requests

# 设置请求URL和头部,用户中心获取token,自行替换其他参数
url = "https://api.makuo.cc/api/get.hot.kuaishou"
headers = {
    'Authorization': 'YOUR_TOKEN'
}

# 发送GET请求
response = requests.get(url, headers=headers)
# 将响应解析为JSON格式
data = response.json()
# 输出JSON数据
print(data)
            

// 发送GET请求,用户中心获取token,自行替换其他参数
fetch("https://api.makuo.cc/api/get.hot.kuaishou", {
    method: "GET",
    headers: {
        "Authorization": "YOUR_TOKEN"
    }
})
.then(response => response.json()) // 将响应解析为JSON格式
.then(data => console.log(data)) // 输出JSON数据
.catch(error => console.error('Error:', error));
            

import java.io.*;
import java.net.HttpURLConnection;
import java.net.URL;

public class Main {
    public static void main(String[] args) throws Exception {
        // 创建URL对象,用户中心获取token,自行替换其他参数
        URL url = new URL("https://api.makuo.cc/api/get.hot.kuaishou");
        // 打开连接
        HttpURLConnection conn = (HttpURLConnection) url.openConnection();
        // 设置请求方法
        conn.setRequestMethod("GET");
        // 设置请求头
        conn.setRequestProperty("Authorization", "YOUR_TOKEN");

        // 读取响应
        BufferedReader in = new BufferedReader(new InputStreamReader(conn.getInputStream()));
        String inputLine;
        StringBuffer content = new StringBuffer();
        while ((inputLine = in.readLine()) != null) {
            content.append(inputLine);
        }
        in.close();
        // 输出JSON数据
        System.out.println(content.toString());
    }
}
            

using System;
using System.Net.Http;
using System.Threading.Tasks;

class Program {
    static async Task Main() {
        using (HttpClient client = new HttpClient()) {
            // 设置请求头
            client.DefaultRequestHeaders.Add("Authorization", "YOUR_TOKEN");
            // 发送GET请求,用户中心获取token,自行替换其他参数
            HttpResponseMessage response = await client.GetAsync("https://api.makuo.cc/api/get.hot.kuaishou");
            // 将响应解析为字符串
            string responseBody = await response.Content.ReadAsStringAsync();
            // 输出JSON数据
            Console.WriteLine(responseBody);
        }
    }
}
            

require 'net/http'
require 'uri'

# 创建URI对象,用户中心获取token,自行替换其他参数
uri = URI.parse("https://api.makuo.cc/api/get.hot.kuaishou")
# 创建GET请求
request = Net::HTTP::Get.new(uri)
# 设置请求头
request["Authorization"] = "YOUR_TOKEN"

# 发送请求并获取响应
response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: uri.scheme == "https") do |http|
  http.request(request)
end

# 输出JSON数据
puts response.body
            

package main

import (
    "fmt"
    "io/ioutil"
    "net/http"
)

func main() {
    client := &http.Client{}
    // 创建GET请求,用户中心获取token,自行替换其他参数
    req, err := http.NewRequest("GET", "https://api.makuo.cc/api/get.hot.kuaishou", nil)
    if err != nil {
        panic(err)
    }
    // 设置请求头
    req.Header.Add("Authorization", "YOUR_TOKEN")

    // 发送请求并获取响应
    resp, err := client.Do(req)
    if err != nil {
        panic(err)
    }
    defer resp.Body.Close()

    // 读取响应体
    body, err := ioutil.ReadAll(resp.Body)
    if err != nil {
        panic(err)
    }
    // 输出JSON数据
    fmt.Println(string(body))
}