Kuaishou Hot Board Categories
https://api.sandbase.ai/v1/api/kuaishou/app/hot-board-categoriesReturns the active list of hot board categories available in the Kuaishou app. Use this endpoint to inspect category identifiers and names for trending content rankings.
- Giá
- $0.001USD / lượt gọi
- Phương thức
- POST
- Phản hồi
- JSON
- Tham số
- 0 bắt buộc · 0 tùy chọn
Phòng thử nghiệm
[
{
"data": {
"boards": [
{
"backgroundUrl": "",
"bannerIconUrl": "https://tx2.a.kwimgs.com/udata/pkg/se-cdn/top_rd/top/rb_banner.jpg",
"bannerLinkUrl": "",
"boardId": 1,
"boardName": "热榜",
"darkBackgroundUrl": "",
"entrySource": "search_entrance_consume_hotlist",
"fromPage": 14,
"shareIconUrl": "https://static.yximgs.com/udata/pkg/webserver/feed/share/hotBoard.png",
"shareTitle": "快手热榜:看人生百态,览人间真实",
"showType": 1,
"subShareTitle": "全网热门现场,尽在快手热榜",
"type": 1
},
{
"backgroundUrl": "",
"bannerIconUrl": "https://tx2.a.kwimgs.com/udata/pkg/se-cdn/top_rd/top/rb_banner.jpg",
"bannerLinkUrl": "",
"boardId": 6,
"boardName": "文娱榜",
"darkBackgroundUrl": "",
"entrySource": "search_entrance_consume_amuselist",
"fromPage": 14,
"shareIconUrl": "https://static.yximgs.com/udata/pkg/webserver/feed/share/hotBoard.png",
"shareTitle": "快手热榜:看人生百态,览人间真实",
"showType": 1,
"subShareTitle": "全网热门现场,尽在快手热榜",
"type": 4
},
{
"backgroundUrl": "",
"bannerIconUrl": "https://tx2.a.kwimgs.com/udata/pkg/se-cdn/top_rd/top/rb_banner.jpg",
"bannerLinkUrl": "",
"boardId": 7,
"boardName": "社会榜",
"darkBackgroundUrl": "",
"entrySource": "search_entrance_consume_sociallist",
"fromPage": 14,
"shareIconUrl": "https://static.yximgs.com/udata/pkg/webserver/feed/share/hotBoard.png",
"shareTitle": "快手热榜:看人生百态,览人间真实",
"showType": 1,
"subShareTitle": "全网热门现场,尽在快手热榜",
"type": 5
},
"… 2 more items in the full response"
],
"host-name": "public-bjzey-c34-kce-node285.idchb1az3.hb1.kwaidc.com",
"location": "{\"province\":\"\",\"cityName\":\"曼彻斯特\"}",
"result": 1
}
}
]Ví dụ
Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
README API
Kuaishou Hot Board Categories API
Returns the list of hot board categories in the Kuaishou app. It needs no input. Each entry has a board ID, a board name, and a board type.
Use cases
- Read the
boardIdandtypevalues to build a request to the hot board detail API. - Build a category menu from the
boardNamevalues in a trend tracking tool. - Check which boards, such as the main hot list, the local board, or the entertainment board, are currently active.
- Collect the share titles and icons to reuse in a report or a link preview.
Request
curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/app/hot-board-categories" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"boards": [
{
"backgroundUrl": "",
"bannerIconUrl": "https://tx2.a.kwimgs.com/udata/pkg/se-cdn/top_rd/top/rb_banner.jpg",
"bannerLinkUrl": "",
"boardId": 1,
"boardName": "热榜",
"darkBackgroundUrl": "",
"entrySource": "search_entrance_consume_hotlist",
"fromPage": 14,
"shareIconUrl": "https://static.yximgs.com/udata/pkg/webserver/feed/share/hotBoard.png",
"shareTitle": "快手热榜:看人生百态,览人间真实",
"showType": 1,
"subShareTitle": "全网热门现场,尽在快手热榜"
}
],
"host-name": "public-bjx-c34-kce-node3020.idchb1az1.hb1.kwaidc.com",
"location": "{\"province\":\"福建\",\"cityName\":\"漳州\"}",
"result": 1
}
Response fields
| Field | Meaning |
|---|---|
boards[] | List of hot board categories. Each item is one board. |
boards[].boardId | Numeric ID of the board, for example 1 for the main hot list and 9 for the local board. |
boards[].boardName | Display name of the board in Chinese, for example 热榜, 本地榜, 文娱榜. |
boards[].type | Numeric board type. It differs from boardId, for example boardId 9 has type 7. |
boards[].entrySource | Entry source label for the board, for example search_entrance_consume_hotlist. |
boards[].shareTitle / boards[].subShareTitle | Title and subtitle text the app uses when a user shares the board. |
boards[].bannerIconUrl / boards[].shareIconUrl | Image URLs for the board banner and the share icon. |
boards[].showType / boards[].fromPage | Numeric display settings returned for each board. |
result | Status code of the call. The value 1 appears in this response. |
location | JSON string with the province and cityName the response was resolved for. |
Notes
- The request body is an empty object
{}. The API has no parameters. - Pass
boardIdandtypefrom this response to Kuaishou Hot Board Detail to read the items on a board. - The
locationfield is a JSON string. Parse it before you readprovinceorcityName.
Pricing
$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Bắt đầu xây dựng
Gửi request đầu tiên của bạn
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/app/hot-board-categories" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'2. Xác thực
Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
3. Tham số
Chưa có schema tham số nào được công bố cho API này.
4. Phản hồi
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
[
{
"data": {
"boards": [
{
"backgroundUrl": "",
"bannerIconUrl": "https://tx2.a.kwimgs.com/udata/pkg/se-cdn/top_rd/top/rb_banner.jpg",
"bannerLinkUrl": "",
"boardId": 1,
"boardName": "热榜",
"darkBackgroundUrl": "",
"entrySource": "search_entrance_consume_hotlist",
"fromPage": 14,
"shareIconUrl": "https://static.yximgs.com/udata/pkg/webserver/feed/share/hotBoard.png",
"shareTitle": "快手热榜:看人生百态,览人间真实",
"showType": 1,
"subShareTitle": "全网热门现场,尽在快手热榜",
"type": 1
},
{
"backgroundUrl": "",
"bannerIconUrl": "https://tx2.a.kwimgs.com/udata/pkg/se-cdn/top_rd/top/rb_banner.jpg",
"bannerLinkUrl": "",
"boardId": 6,
"boardName": "文娱榜",
"darkBackgroundUrl": "",
"entrySource": "search_entrance_consume_amuselist",
"fromPage": 14,
"shareIconUrl": "https://static.yximgs.com/udata/pkg/webserver/feed/share/hotBoard.png",
"shareTitle": "快手热榜:看人生百态,览人间真实",
"showType": 1,
"subShareTitle": "全网热门现场,尽在快手热榜",
"type": 4
},
{
"backgroundUrl": "",
"bannerIconUrl": "https://tx2.a.kwimgs.com/udata/pkg/se-cdn/top_rd/top/rb_banner.jpg",
"bannerLinkUrl": "",
"boardId": 7,
"boardName": "社会榜",
"darkBackgroundUrl": "",
"entrySource": "search_entrance_consume_sociallist",
"fromPage": 14,
"shareIconUrl": "https://static.yximgs.com/udata/pkg/webserver/feed/share/hotBoard.png",
"shareTitle": "快手热榜:看人生百态,览人间真实",
"showType": 1,
"subShareTitle": "全网热门现场,尽在快手热榜",
"type": 5
},
"… 2 more items in the full response"
],
"host-name": "public-bjzey-c34-kce-node285.idchb1az3.hb1.kwaidc.com",
"location": "{\"province\":\"\",\"cityName\":\"曼彻斯特\"}",
"result": 1
}
}
]Khám phá thêm
APIs liên quan
| API | Giá | Phản hồi |
|---|---|---|
Kuaishou | $0.001 mỗi lần gọi | JSON |
Kuaishou | $0.001 mỗi lần gọi | JSON |
Kuaishou | $0.001 mỗi lần gọi | JSON |
Kuaishou | $0.001 mỗi lần gọi | JSON |
Kuaishou | $0.001 mỗi lần gọi | JSON |
Kuaishou | $0.001 mỗi lần gọi | JSON |
Câu hỏi
FAQ
Làm thế nào để dùng API Kuaishou Hot Board Categories?
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/kuaishou/app/hot-board-categories với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.
API Kuaishou Hot Board Categories có giá bao nhiêu?
$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.
API Kuaishou Hot Board Categories chấp nhận những tham số nào?
Kuaishou Hot Board Categories không nhận tham số đầu vào; hãy gửi một phần thân JSON rỗng.
API Kuaishou Hot Board Categories trả về gì?
Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.
Tôi có cần tài khoản nhà phát triển hoặc API key của Kuaishou không?
Không. Kuaishou Hot Board Categories chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Kuaishou.
