Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Kuaishou User Hot Posts

API 文件
https://api.sandbase.ai/v1/api/kuaishou/app/user-hot-post

Returns popular posts from a specified Kuaishou user profile, including captions and interaction metrics such as comments and collects.

價格
$0.001美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 1 個選填

Playground

輸入
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

Kuaishou User Hot Posts API

Returns a list of popular posts from one Kuaishou user profile. Each post includes the caption, video duration, cover images, and counts for likes, comments, collects and forwards. The only required input is the user's numeric user_id.

Use cases

  • Rank a creator's posts by like_count to find which videos performed best.
  • Compare comment_count and collect_count across a creator's popular posts to see which content gets saved or discussed.
  • Collect caption text and hashtags from top posts to study how a creator titles popular videos.
  • Download cover image URLs from cover_thumbnail_urls to build a gallery of a creator's top posts.

Request

curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/app/user-hot-post" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"user_id": "3795214411"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
user_idstringYes
pcursorstringNo

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "feeds": [
    {
      "adminTags": [],
      "bottomEntryInfo": {
        "bizExtraData": {},
        "bottomBizType": 14,
        "bottomStyleInfo": {
          "bottomStrongStyle": {
            "actionUrl": "",
            "backgroundColor": "",
            "bottomStrongStyleType": 0,
            "enableForceClose": false,
            "fontColor": "",
            "fontSize": 0,
            "iconHeight": 0,
            "iconUrl": ""
          },
          "bottomWeakStyle": {
            "actionUrl": "kwai://search?keyword=回村往事&sessionId=MzIwXzBfMTc5MzY5MTM3MTEwN19fMjE3MA&source=s…",
            "backgroundColor": "#444444",
            "bottomWeakStyleType": 0,
            "enableForceClose": false,
            "fontColor": "#FFFFFF",
            "fontSize": 13,
            "iconHeight": 48,
            "iconRightMargin": 4.0
          },
          "delayShowWeakStyle": false,
          "playVideoEndToStrongMillis": 0,
          "showStrongVideoCountdownMillis": 0,
          "showStrongVideoMillis": 0,
          "strongStyleCloseHideWeakStyle": false,
          "styleTriggers": []
        },
        "eventTrackData": {
          "all_source": "p2q_semantic_recall_v4",
          "entry_source": "search_entrance_featured_bottom_bar_profile",
          "is_hotbar": "\u0000",
          "query_id": "189c614ada146afe04ed891f00542f89",
          "query_list_id": "MzIwXzBfMTc5MzY5MTM3MTEwN19fMjE3MA",
          "query_name": "回村往事",
          "rel_score": "0.957747",
          "stg_recall_source": "p2q_semantic_recall_v4"
        }
      },
      "canShowQuickCommentGuide": true,
      "caption": "回村往事@李秀妍u(O4489551526) #李秀妍u",
      "captionToComment": "回村往事@李秀妍u(O4489551526) #李秀妍u",
      "collect_count": 8386,
      "commentGuessSearch": {
        "displayPrefix": "相关搜索:",
        "extParams": "{\"all_source\":\"p2q_semantic_recall_v8,p2q_recall_exp_v17\",\"entrySource\":\"search_…",
        "iconUrl": "https://ali2.a.kwimgs.com/udata/pkg/se-cdn/search_blue3x.png",
        "searchWord": "李秀妍和榜一大哥的视频",
        "searchWordMD5": "c541e248be165bd097c418eb43aa4a47",
        "searchWordUrl": "kwai://search?keyword=李秀妍和榜一大哥的视频&sessionId=MzIwXzBfMTc5MzY5MTM3MTEwN19fMjE3MA&s…",
        "sessionId": "MzIwXzBf…"
      },
      "commentInfo": {
        "commentCountSpecialEffect": true,
        "commentEducationGuide": {
          "guideType": 0,
          "triggerCharCount": 0
        },
        "commentIconType": 0,
        "enableAIPresetGuide": false,
        "permissions": 191
      },
      "commentTopBarPriority": [
        {
          "bizType": "PLC",
          "subBizType": "51"
        }
      ],
      "comment_count": 4097,
      "contactRelationFriend": false,
      "coronaVipInfo": {
        "enableFilmAd": false,
        "filmAdInfo": {
          "pageId": 100014436,
          "posId": 9777,
          "subPageId": 100017199
        },
        "inspireAdInfo": {
          "pageId": 100011251,
          "posId": 20578,
          "subPageId": 100024209
        },
        "vipPhoto": false
      }
    }
  ],
  "host-name": "public-bjx-c34-kce-node2128.idchb1az1.hb1.kwaidc.com",
  "isUnfollowFeeds": false,
  "llsid": "2006449521242258738",
  "pcursor": "20",
  "result": 1
}

Response fields

FieldMeaning
feeds[]One popular post from the user's profile.
feeds[].captionPost text, including hashtags and @mentions. It can be an empty string.
feeds[].like_count / feeds[].comment_count / feeds[].collect_count / feeds[].forward_countCounts of likes, comments, collects and forwards for the post.
feeds[].durationLength of the video as a number, for example 129349. The ext_params.video field holds a nearly identical number.
feeds[].ext_params.w / feeds[].ext_params.hVideo width and height values, for example 720 and 960.
feeds[].cover_thumbnail_urls[].urlCover image URL for the post. Each entry also has a cdn host name.
feeds[].headurls[].urlAvatar image URL of the post author. Each entry also has a cdn host name.
feeds[].commentGuessSearch.searchWordSuggested related search phrase shown with the post's comments.
feeds[].editInfo.editTimeTime the post was last edited, as a 13-digit timestamp such as 1775816488646.
feeds[].exp_tagTag string that contains the post identifier, for example 1_i/2006449521242258738_phot.

Notes

  • Pass pcursor to request further results. Leave it out for the first request.
  • The user_id is a numeric string, such as 3795214411. To find a user's ID, try Kuaishou User ID Lookup.
  • For a user's full video list instead of popular posts, use Kuaishou User Video List (V2).
  • Many fields, such as bottomEntryInfo and feedSwitches, hold display and tracking settings and are not needed for most uses.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相關 APIs

所有 APIs
API價格回應
Kuaishou每次呼叫 $0.001JSON
Kuaishou每次呼叫 $0.001JSON
Kuaishou每次呼叫 $0.001JSON
Kuaishou每次呼叫 $0.001JSON
Kuaishou每次呼叫 $0.001JSON
Kuaishou每次呼叫 $0.001JSON

指南:Best Kuaishou API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Kuaishou User Hot Posts API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/kuaishou/app/user-hot-post。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Kuaishou User Hot Posts API 的費用是多少?

每次 $0.001,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Kuaishou User Hot Posts API 接受哪些參數?

必要:user_id (string)。 選填:pcursor (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Kuaishou User Hot Posts API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Kuaishou 開發者帳號或 API 金鑰嗎?

不需要。Kuaishou User Hot Posts 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Kuaishou API 存取權。