curl --request GET \
--url https://api.aisa.one/apis/v1/tikhub/weibo/app/fetch_hot_search \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/tikhub/weibo/app/fetch_hot_search"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/tikhub/weibo/app/fetch_hot_search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/tikhub/weibo/app/fetch_hot_search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/tikhub/weibo/app/fetch_hot_search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/tikhub/weibo/app/fetch_hot_search")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/tikhub/weibo/app/fetch_hot_search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"cache_message": "This response is cached and accessible via the URL below for 24 hours at no extra cost. The cache is for request tracing only — it doesn't affect the API's data freshness and won't be returned through the API again.",
"cache_message_zh": "本次响应已缓存,可通过下方 URL 直接查看,有效期 24 小时,访问缓存链接无额外费用。缓存仅用于请求溯源,不影响接口数据的时效性,也不会再次通过接口返回。",
"cache_url": "<string>",
"code": 200,
"data": "<unknown>",
"docs": "<string>",
"message": "Request successful. This request will incur a charge.",
"message_zh": "请求成功,本次请求将被计费。",
"params": {},
"request_id": "<string>",
"router": "",
"support": "Discord: https://discord.gg/aMEAS8Xsvz",
"time": "<string>",
"time_stamp": 123,
"time_zone": "America/Los_Angeles"
}weibo fetch_hot_search
获取热搜榜
curl --request GET \
--url https://api.aisa.one/apis/v1/tikhub/weibo/app/fetch_hot_search \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/tikhub/weibo/app/fetch_hot_search"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/tikhub/weibo/app/fetch_hot_search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/tikhub/weibo/app/fetch_hot_search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/tikhub/weibo/app/fetch_hot_search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/tikhub/weibo/app/fetch_hot_search")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/tikhub/weibo/app/fetch_hot_search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"cache_message": "This response is cached and accessible via the URL below for 24 hours at no extra cost. The cache is for request tracing only — it doesn't affect the API's data freshness and won't be returned through the API again.",
"cache_message_zh": "本次响应已缓存,可通过下方 URL 直接查看,有效期 24 小时,访问缓存链接无额外费用。缓存仅用于请求溯源,不影响接口数据的时效性,也不会再次通过接口返回。",
"cache_url": "<string>",
"code": 200,
"data": "<unknown>",
"docs": "<string>",
"message": "Request successful. This request will incur a charge.",
"message_zh": "请求成功,本次请求将被计费。",
"params": {},
"request_id": "<string>",
"router": "",
"support": "Discord: https://discord.gg/aMEAS8Xsvz",
"time": "<string>",
"time_stamp": 123,
"time_zone": "America/Los_Angeles"
}code 为 200 时计费。
示例
curl "https://api.aisa.one/apis/v1/tikhub/weibo/app/fetch_hot_search" \
-H "Authorization: Bearer YOUR_API_KEY"
请求规范
- 方法与路径: GET /apis/v1/tikhub/weibo/app/fetch_hot_search
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/tikhub/weibo/app/fetch_hot_search - category: query; 可选
- count: query; 可选
- page: query; 可选
- region_name: query; 可选
{
"operationId": "get_tikhub_weibo_app_fetch_hot_search",
"method": "GET",
"path": "/apis/v1/tikhub/weibo/app/fetch_hot_search",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"description": "Hot search category: mineband=Mine, realtimehot=Hot Search, social=Society, fun=Entertainment, technologynav=Technology, lifenav=Lifestyle, region=Local, sportnav=Sports, gamenav=ACG\n\nUsage: Hot search category\n - mineband: My hot search\n - realtimehot: Realtime hot search (default)\n - social: Social hot search\n - fun: Entertainment hot search\n - technologynav: Technology hot search\n - lifenav: Life hot search\n - region: Local hot search (use region_name to specify city)\n - sportnav: Sports hot search\n - gamenav: ACG hot search",
"example": "realtimehot",
"in": "query",
"name": "category",
"required": false,
"schema": {
"default": "realtimehot",
"description": "Hot search category: mineband=Mine, realtimehot=Hot Search, social=Society, fun=Entertainment, technologynav=Technology, lifenav=Lifestyle, region=Local, sportnav=Sports, gamenav=ACG\n\nUsage: Hot search category\n - mineband: My hot search\n - realtimehot: Realtime hot search (default)\n - social: Social hot search\n - fun: Entertainment hot search\n - technologynav: Technology hot search\n - lifenav: Life hot search\n - region: Local hot search (use region_name to specify city)\n - sportnav: Sports hot search\n - gamenav: ACG hot search",
"title": "Category",
"type": "string"
}
},
{
"description": "Items per page, default 20, max 50",
"example": 20,
"in": "query",
"name": "count",
"required": false,
"schema": {
"default": 20,
"description": "Items per page, default 20, max 50",
"maximum": 50,
"minimum": 1,
"title": "Count",
"type": "integer"
}
},
{
"description": "Page number, starts from 1 (default 1)",
"example": 1,
"in": "query",
"name": "page",
"required": false,
"schema": {
"default": 1,
"description": "Page number, starts from 1 (default 1)",
"minimum": 1,
"title": "Page",
"type": "integer"
}
},
{
"description": "City name for local trending searches, used only when category=region. Pass the original Chinese city name, for example \"北京\" (Beijing, the default). Supported cities include Beijing, Shanghai, Guangzhou, Shenzhen, Hangzhou, Chengdu, Chongqing, Wuhan, Nanjing, Tianjin, Xi'an, Changsha, Zhengzhou, Suzhou, Dongguan, Qingdao, Shenyang, and Hefei.",
"example": "北京",
"in": "query",
"name": "region_name",
"required": false,
"schema": {
"description": "City name for local trending searches, used only when category=region. Pass the original Chinese city name, for example \"北京\" (Beijing, the default). Supported cities include Beijing, Shanghai, Guangzhou, Shenzhen, Hangzhou, Chengdu, Chongqing, Wuhan, Nanjing, Tianjin, Xi'an, Changsha, Zhengzhou, Suzhou, Dongguan, Qingdao, Shenyang, and Hefei.",
"title": "Region Name",
"type": "string"
}
}
],
"security": [
{
"bearerAuth": []
}
],
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
费用与请求规则
请求费用。 默认请求预估费用:$0.001 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。授权
查询参数
Hot search category: mineband=Mine, realtimehot=Hot Search, social=Society, fun=Entertainment, technologynav=Technology, lifenav=Lifestyle, region=Local, sportnav=Sports, gamenav=ACG
Usage: Hot search category - mineband: My hot search - realtimehot: Realtime hot search (default) - social: Social hot search - fun: Entertainment hot search - technologynav: Technology hot search - lifenav: Life hot search - region: Local hot search (use region_name to specify city) - sportnav: Sports hot search - gamenav: ACG hot search
City name for local trending searches, used only when category=region. Pass the original Chinese city name, for example "北京" (Beijing, the default). Supported cities include Beijing, Shanghai, Guangzhou, Shenzhen, Hangzhou, Chengdu, Chongqing, Wuhan, Nanjing, Tianjin, Xi'an, Changsha, Zhengzhou, Suzhou, Dongguan, Qingdao, Shenyang, and Hefei.
响应
Successful Response
Return
- Hot search ranking data, including search terms, popularity, etc.
Endpoint-specific response payload. The official shared model does not declare a fixed type or field set. Use the operation's documented return fields or response example; an operation-specific schema, when present, describes the documented fields. Undocumented fields must be read from the actual response rather than assumed.