当前浏览的是 v7 预览版文档(v7 尚未正式发布,API 可能随版本调整)。本页是 v7 新增内容,去 v6 正式版文档首页
@ikenxuan/amagi

搜索热榜

取小红书当前搜索热榜,无参数。

GET
/api/xiaohongshu/fetch_search_hot_list

Authorization

bearerAuth
AuthorizationBearer <token>

仅在 startServer 传了 token 时生效

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/api/xiaohongshu/fetch_search_hot_list"
{  "success": true,  "data": {    "code": 0,    "data": {      "host": "string",      "hot_list_id": "string",      "is_new_hot_list_exp": true,      "items": [        {          "icon": "string",          "id": "string",          "rank_change": 0,          "score": "string",          "title": "string",          "title_img": "string",          "type": "string",          "word_type": "string"        }      ],      "result": {        "success": true      },      "scene": "string",      "title": "string",      "word_request_id": "string"    },    "msg": "string",    "success": true  },  "error": {    "kind": "validation",    "code": "string",    "message": "string",    "retryable": true,    "platform": {      "code": "string",      "message": "string"    },    "http": {      "status": 0,      "statusText": "string"    },    "issues": [      {        "path": "string",        "message": "string",        "received": null      }    ]  },  "message": "string",  "meta": {    "requestId": "string",    "clientId": "string",    "platform": "douyin",    "endpoint": "string",    "durationMs": 0,    "attempts": 0,    "trace": [      {        "url": "string",        "method": "string",        "status": 0,        "durationMs": 0,        "reason": "initial",        "retryOf": "string"      }    ]  },  "requestPath": "/api/bilibili/fetch_one_video?bvid=BV1xx"}