Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Kuaishou Web User Info

Tài liệu 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.

Giá
$0.002USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 0 tùy chọn
100 lượt gọi miễn phí / ngày100 lượt gọi đầu tiên mỗi ngày miễn phí (chia sẻ theo tổ chức) · Đặt lại lúc 00:00 UTC. Sau đó tính phí theo mỗi lượt gọi.

Phòng thử nghiệm

Đầu vào
Kuaishou user eid, the ID in the profile URL (e.g. https://www.kuaishou.com/profile/3xz63mn6fngqtiq). Numeric user IDs are not accepted.
Đầu raVí dụ
Phản hồioutputs · 998 B · 33 dòng
[
  {
    "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"
      }
    }
  }
]

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 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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Kuaishou$0.002 mỗi lần gọiJSON
Kuaishou$0.001 mỗi lần gọiJSON
Kuaishou$0.001 mỗi lần gọiJSON
Kuaishou$0.001 mỗi lần gọiJSON
Kuaishou$0.001 mỗi lần gọiJSON
Kuaishou$0.002 mỗi lần gọiJSON

Hướng dẫn:Best Kuaishou API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Kuaishou Web User Info?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/kuaishou/web/user-info 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 Web User Info có giá bao nhiêu?

$0.002 mỗi lần gọi. Mỗi tổ chức được 100 lần gọi miễn phí mỗi ngày UTC, dùng chung cho các API SandBase đủ điều kiện, bao gồm API này; sau đó mỗi lần gọi sẽ được tính theo mức giá này từ số dư SandBase của bạn. Không có gói đăng ký.

API Kuaishou Web User Info chấp nhận những tham số nào?

Bắt buộc: user_id (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Kuaishou Web User Info 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 Web User Info 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.