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.
- 料金
- $0.001USD / 回
- メソッド
- POST
- レスポンス
- JSON
- パラメータ
- 必須 0 件 · 任意 0 件
プレイグラウンド
[
{
"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
}
}
]例
例を選択すると、その入力と結果がプレイグラウンドに読み込まれます。
API README
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.
開発を始める
最初のリクエストを送信
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
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. 認証
SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
3. パラメータ
このAPIのパラメータスキーマは公開されていません。
4. レスポンス
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
[
{
"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
}
}
]さらに探索
関連 APIs
| API | 価格 | レスポンス |
|---|---|---|
Kuaishou | $0.001 / 回 | JSON |
Kuaishou | $0.001 / 回 | JSON |
Kuaishou | $0.001 / 回 | JSON |
Kuaishou | $0.001 / 回 | JSON |
Kuaishou | $0.001 / 回 | JSON |
Kuaishou | $0.001 / 回 | JSON |
質問
FAQ
Kuaishou Hot Board Categories API はどのように使いますか?
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/kuaishou/app/hot-board-categories に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
Kuaishou Hot Board Categories API の料金はいくらですか?
1回あたり $0.001、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
Kuaishou Hot Board Categories API はどのパラメータを受け付けますか?
Kuaishou Hot Board Categories は入力パラメータを取りません。空の JSON ボディを送信してください。
Kuaishou Hot Board Categories API は何を返しますか?
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
Kuaishou の開発者アカウントまたは API key は必要ですか?
いいえ。Kuaishou Hot Board Categories は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Kuaishou の API アクセスを別途申請する必要はありません。
