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

Kuaishou Web User Info

API 文件
https://api.sandbase.ai/v1/api/kuaishou/web/user-info

Returns public profile information for a specified Kuaishou web user. Supply the target user identifier to retrieve account metadata.

價格
$0.002美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 0 個選填
每天 100 次免費呼叫每天前 100 次呼叫免費(按組織共用)· 於 UTC 00:00 重設。之後按次收費。

Playground

輸入
Kuaishou user eid, the ID in the profile URL (e.g. https://www.kuaishou.com/profile/3xz63mn6fngqtiq). Numeric user IDs are not accepted.
輸出範例
回應outputs · 998 B · 33 行
[
  {
    "data": {
      "host-name": "public-bjx-c34-kce-node3782.idchb1az1.hb1.kwaidc.com",
      "result": 1,
      "userProfile": {
        "gender": "M",
        "isFollowing": false,
        "isUserIsolated": false,
        "livingInfo": {
          "iconType": 0,
          "living": false,
          "livingId": null
        },
        "ownerCount": {
          "fan": 4168210,
          "follow": 210,
          "like": 38525721,
          "photo_public": 256
        },
        "profile": {
          "headurl": "https://p66.a.kwimgs.com/uhead/AB/2025/08/11/21/BMjAyNTA4MTEyMTEyNDlfMjI4OTA1ODAyXzFfaGQ5ODdfODg4_s.jpg",
          "user_id": "3xz63mn6fngqtiq",
          "user_name": "权少爱吃小汉堡🍔",
          "user_profile_bg_url": "//s2-10623.kwimgs.com/kos/nlav10623/vision_images/profile_background.5bc08b1bf4fba1f4.svg",
          "user_text": "感谢你的关注木木哒 我玩得游戏叫:Gmod\n\n禁止冒充搬运视频 违者必究"
        },
        "showCollectTab": false,
        "userDefineId": "quanshaogmod"
      }
    }
  }
]

範例

選擇一個範例,將其輸入與結果載入 playground。

API README

Kuaishou Web User Info API

Returns the public profile of a Kuaishou web user, including name, avatar, bio, gender, and follower, following, like and public post counts. It needs one input, the user's user_id (eid).

Use cases

  • Show a Kuaishou creator's name, avatar and bio in an internal dashboard.
  • Record ownerCount.fan and ownerCount.like on a schedule to chart a creator's growth.
  • Check whether a creator is live right now using userProfile.livingInfo.living.
  • Match a creator's custom handle in userDefineId to their user_id.

Request

curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/web/user-info" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"user_id": "3xz63mn6fngqtiq"}'

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

Parameters

NameTypeRequiredDescription
user_idstringYes

Example response

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

{
  "host-name": "public-bjy-c34-kce-node3594.idchb1az2.hb1.kwaidc.com",
  "result": 1,
  "userProfile": {
    "gender": "M",
    "isFollowing": false,
    "isUserIsolated": false,
    "livingInfo": {
      "iconType": 0,
      "living": false,
      "livingId": null
    },
    "ownerCount": {
      "fan": 4177857,
      "follow": 210,
      "like": 38618671,
      "photo_public": 257
    },
    "profile": {
      "headurl": "https://p66.a.kwimgs.com/uhead/AB/2025/08/11/21/BMjAyNTA4MTEyMTEyNDlfMjI4OTA1ODA…",
      "user_id": "3xz63mn6fngqtiq",
      "user_name": "权少爱吃小汉堡🍔",
      "user_profile_bg_url": "//s2-10623.kwimgs.com/kos/nlav10623/vision_images/profile_background.5bc08b1bf4f…",
      "user_text": "感谢你的关注木木哒 我玩得游戏叫:Gmod\n\n禁止冒充搬运视频 违者必究"
    },
    "showCollectTab": false,
    "userDefineId": "quanshaogmod"
  }
}

Response fields

FieldMeaning
userProfile.profile.user_nameDisplay name of the user. It can contain emoji.
userProfile.profile.user_idThe user ID (eid). It matches the user_id you sent.
userProfile.profile.user_textThe bio text on the profile. It can contain line breaks.
userProfile.profile.headurl / userProfile.profile.user_profile_bg_urlImage URLs for the avatar and the profile background. The background URL starts with //, so add a scheme before use.
userProfile.ownerCount.fan / userProfile.ownerCount.followNumber of followers and number of accounts this user follows.
userProfile.ownerCount.like / userProfile.ownerCount.photo_publicTotal likes counted for the user and the number of public posts.
userProfile.genderGender code of the user. The sample value is M.
userProfile.userDefineIdCustom handle set by the user, such as quanshaogmod.
userProfile.livingInfo.livingBoolean that shows whether the user is live now. livingInfo.livingId is null when the user is not live.
userProfile.isFollowing / userProfile.showCollectTabBooleans for the follow state in the request context and for whether the favorites tab is shown on the profile.

Notes

Pricing

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

探索更多

相關 APIs

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

指南:Best Kuaishou API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Kuaishou Web User Info API?

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

Kuaishou Web User Info API 的費用是多少?

每次 $0.002。每個組織每個 UTC 日可免費呼叫 100 次,並可在包含此 API 在內的所有符合資格之 SandBase APIs 間共用;超過後,每次呼叫都會從您的 SandBase 餘額中以此價格計費。沒有訂閱方案。

Kuaishou Web User Info API 接受哪些參數?

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

Kuaishou Web User Info API 會回傳什麼?

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

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

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