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

Kuaishou Single User Data (V2)

API 文件
https://api.sandbase.ai/v1/api/kuaishou/app/one-user-v2

Returns profile details and personal entrance configurations for a specific Kuaishou account using the target user identifier.

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

Playground

輸入
輸出範例
回應outputs · 12.5 KB · 317 行
[
  {
    "data": {
      "adProfileExtInfo": {
        "hasMagnetic": true,
        "pageId": 100022410,
        "posId": 20905,
        "subPageId": 100024409
      },
      "authorInfo": {
        "isAdBusinessUser": false,
        "isVerifiedUser": false
      },
      "clientLog": {
        "userStatus": "NORMAL"
      },
      "host-name": "public-bjzey-c95-kce-node414.idchb1az3.hb1.kwaidc.com",
      "recommendUserShowStyle": 0,
      "result": 1,
      "tips": {},
      "totalPhotoLike": {
        "linkUrl": "kwai://krn?bundleId=KwaiPostLikeList&componentName=LikeList&ownerId=3795214411&guestId=0&likeNum=7199067&source=0&themeStyle=1",
        "showRedDot": false,
        "urls": [
          {
            "cdn": "tx2.a.kwimgs.com",
            "url": "https://tx2.a.kwimgs.com/udata/pkg/KS-PROFILE/light_like.05cc35bb8f13018c.jpg"
          }
        ]
      },
      "userProfile": {
        "autoSelectedTab": 1,
        "canGuestShowMomentNews": true,
        "collectFolder": {
          "folderCount": 0,
          "recentFolderStrategy": 0,
          "smartFolderGuide": "true"
        },
        "digitalIdentityInfo": {
          "isDigitalIdentity": false
        },
        "enableIntimateRelation": false,
        "enableMoment": true,
        "enableShowHotPhoto": true,
        "hometown": {
          "enableModifyHometown": false
        },
        "ipLocation": {
          "darkIconUrl": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_head_location_12_dark.png",
          "iconUrl": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_head_location_12.png",
          "ipLocationCode": "430000",
          "ipLocationDesc": {
            "buttonDesc": "去同城",
            "buttonUrl": "kwai://local/feed?tab_name=同城&fromSource=9&roamingCity=长沙&cityName=长沙&cityId=430100",
            "desc": "IP归属地:",
            "leftDarkIcon": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_ip_24_dark.png",
            "leftIcon": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_ip_24.png"
          },
          "ipLocationName": "湖南",
          "tipMsg": "IP属地以运营商信息为准,如有问题可<a href=\"https://csc.m.kuaishou.com/help/index.html?hyId=kuaishou_csc&enableWK=1&layoutType=4#/?entranceId=1198\">咨询客服</a>",
          "tipTitle": "位置信息"
        },
        "ipLocationRefreshText": {
          "guideTextFirst": "为维护良好的社区秩序,快手已在个人主页等位置展示账号IP属地。IP属地以运营商信息为准,不支持修改和关闭。如不准确您可尝试以下操作: \n 1、请点击下方“刷新IP属地”按钮进行校准 \n 2、停用流量卡/随身WIFI/虚拟号卡后刷新 \n 3、WiFi切换手机流量或手机流量切换WiFi \n 4、重启手机或开启飞行模式后关闭再刷新 \n 如还有问题,建议",
          "guideTextSecond": "联系运营商",
          "guideTextThird": "。"
        },
        "isFavorited": false,
        "isFollowing": false,
        "isFriend": false,
        "isOlympicTelecastAccount": false,
        "label": {
          "enableLabelNewStyle": true,
          "labelGroup": 6,
          "labels": [
            {
              "actionType": 1,
              "highlight": false,
              "labelType": "social_ip"
            },
            {
              "highlight": false,
              "labelType": "add_intimate"
            }
          ]
        },
        "middleButton": [
          {
            "entranceName": "发私信",
            "entranceType": "chat"
          }
        ],
        "missUInfo": {
          "alwaysShow": false,
          "showAlreadyMissUStatus": false,
          "showBubble": false,
          "showMissYouButton": false,
          "showMissYouButtonUnFollow": false
        },
        "modifyKwaiIdExpireInMs": -2,
        "ownerCount": {
          "collect": 0,
          "creation": 0,
          "fan": 362287,
          "follow": 2,
          "like": 0,
          "magicFace": 0,
          "moment": 0,
          "novelDrama": 0,
          "photo": 674,
          "photo_private": 0,
          "photo_public": 674,
          "recommend": 0,
          "total_photo_like": 7199067
        },
        "personalEntrances": [
          {
            "entranceGroup": 1,
            "entrances": [
              {
                "actionType": 0,
                "detail": "分享主页",
                "entranceDarkIcon": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_share_32_dark.png",
                "entranceIcon": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_share_32.png",
                "entranceName": "分享主页",
                "entranceType": "shareProfile",
                "group": 1
              },
              {
                "actionType": 0,
                "detail": "发私信",
                "entranceDarkIcon": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_chat_32_dark.png",
                "entranceIcon": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_chat_32.png",
                "entranceName": "发私信",
                "entranceType": "chat",
                "extParams": "{\"entranceMiniDarkIcon\":\"https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_chat_24_dark.png\",\"entranceMiniIcon\":\"https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_chat_24.png\"}",
                "group": 1
              },
              {
                "actionType": 0,
                "detail": "设置备注名",
                "entranceDarkIcon": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_edit_32_dark.png",
                "entranceIcon": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_edit_32.png",
                "entranceName": "设置备注名",
                "entranceType": "alias",
                "group": 1
              }
            ],
            "style": 0
          },
          {
            "entranceGroup": 2,
            "entrances": [
              {
                "actionType": 0,
                "detail": "设置特别关注",
                "entranceDarkIcon": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_special_24_dark.png",
                "entranceIcon": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_special_24.png",
                "entranceName": "设置特别关注",
                "entranceType": "favoriteFollow",
                "extParams": "{\"pressedLightUrl\":\"https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_special_pressed_24.png\",\"pressedDarkUrl\":\"https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_special_pressed_24_dark.png\"}",
                "group": 2
              },
              {
                "actionType": 0,
                "detail": "举报",
                "entranceDarkIcon": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_chat_operation_report_dark.png",
                "entranceIcon": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_chat_operation_report.png",
                "entranceName": "举报",
                "entranceType": "report",
                "group": 2
              },
              {
                "actionType": 0,
                "detail": "拉黑",
                "entranceDarkIcon": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_blacklist_24_dark.png",
                "entranceIcon": "https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_blacklist_24.png",
                "entranceName": "拉黑",
                "entranceType": "block",
                "extParams": "{\"blockEntrances\":[{\"entranceType\":\"block\",\"detail\":\"拉黑\",\"entranceName\":\"拉黑\",\"group\":2,\"entranceIcon\":\"https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_blacklist_24.png\",\"entranceDarkIcon\":\"https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_blacklist_24_dark.png\",\"actionType\":0},{\"entranceType\":\"unblock\",\"detail\":\"移出黑名单\",\"entranceName\":\"移出黑名单\",\"group\":2,\"entranceIcon\":\"https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_blacklist_24.png\",\"entranceDarkIcon\":\"https://s1-11289.kwimgs.com/kos/nlav11289/1/social_profile_blacklist_24_dark.png\",\"actionType\":0}]}",
                "group": 2
              }
            ],
            "style": 0
          }
        ],
        "profile": {
          "bigHeadUrls": [
            {
              "cdn": "p22.a.yximgs.com",
              "url": "http://p22.a.yximgs.com/uhead/AB/2024/11/24/18/BMjAyNDExMjQxODI2MzJfMzc5NTIxNDQxMV8xX2hkMjc4XzUyNg==_b.jpg"
            },
            {
              "cdn": "p4.a.yximgs.com",
              "url": "http://p4.a.yximgs.com/uhead/AB/2024/11/24/18/BMjAyNDExMjQxODI2MzJfMzc5NTIxNDQxMV8xX2hkMjc4XzUyNg==_b.jpg"
            }
          ],
          "headurl": "http://p22.a.yximgs.com/uhead/AB/2024/11/24/18/BMjAyNDExMjQxODI2MzJfMzc5NTIxNDQxMV8xX2hkMjc4XzUyNg==_b.jpg",
          "headurls": [
            {
              "cdn": "p22.a.yximgs.com",
              "url": "http://p22.a.yximgs.com/uhead/AB/2024/11/24/18/BMjAyNDExMjQxODI2MzJfMzc5NTIxNDQxMV8xX2hkMjc4XzUyNg==_b.jpg"
            },
            {
              "cdn": "p4.a.yximgs.com",
              "url": "http://p4.a.yximgs.com/uhead/AB/2024/11/24/18/BMjAyNDExMjQxODI2MzJfMzc5NTIxNDQxMV8xX2hkMjc4XzUyNg==_b.jpg"
            }
          ],
          "isFavorited": false,
          "multiBackground": {
            "backgrounds": [
              {
                "backgroundImage": [
                  {
                    "cdn": "p22.a.yximgs.com",
                    "url": "http://p22.a.yximgs.com/uhead/AC/2024/11/24/18/BMjAyNDExMjQxODI2MzhfMzc5NTIxNDQxMV8xX2Jn.jpg"
                  },
                  {
                    "cdn": "p4.a.yximgs.com",
                    "url": "http://p4.a.yximgs.com/uhead/AC/2024/11/24/18/BMjAyNDExMjQxODI2MzhfMzc5NTIxNDQxMV8xX2Jn.jpg"
                  }
                ],
                "id": "0"
              }
            ]
          },
          "profilePagePrefetchInfo": {
            "profilePageType": 1
          },
          "user_id": 3795214411,
          "user_name": "秀妍日记",
          "user_profile_bg_url": "http://p22.a.yximgs.com/uhead/AC/2024/11/24/18/BMjAyNDExMjQxODI2MzhfMzc5NTIxNDQxMV8xX2Jn.jpg",
          "user_profile_bg_urls": [
            {
              "cdn": "p22.a.yximgs.com",
              "url": "http://p22.a.yximgs.com/uhead/AC/2024/11/24/18/BMjAyNDExMjQxODI2MzhfMzc5NTIxNDQxMV8xX2Jn.jpg"
            },
            {
              "cdn": "p4.a.yximgs.com",
              "url": "http://p4.a.yximgs.com/uhead/AC/2024/11/24/18/BMjAyNDExMjQxODI2MzhfMzc5NTIxNDQxMV8xX2Jn.jpg"
            }
          ],
          "user_sex": "U",
          "user_text": "秀妍直播日记@李秀妍u\n每晚十二点直播",
          "verified": false,
          "visitorBeFollowed": false
        },
        "profilePagePrefetchInfo": {
          "profilePageType": 1
        },
        "school": {
          "enableModifySchool": false,
          "userSchoolList": []
        },
        "showCount": true,
        "tabList": [
          {
            "holdEmptyCount": false,
            "name": "作品",
            "show": 1,
            "tabLogName": "product",
            "type": 1
          }
        ],
        "userSettingOption": {
          "acquaintance_deny": "0",
          "add_watermark_saving_self_photo": "0",
          "allow_others_reward_me": "1",
          "at_me_tab_privacy_setting": 1,
          "auto_save_to_local": "0",
          "comment_deny": "0",
          "disable_im_online_status": "0",
          "disable_latest_album_asset": "0",
          "disable_nearby_online_status": "1",
          "disable_push_my_comments_to_others": "0",
          "disable_screenshot_feedback": "0",
          "disable_smart_album_tabs": "1",
          "download_deny": "1",
          "enable_hdr_video": "0",
          "enable_knock": "1",
          "enable_local_intelligence_album": "1",
          "enable_moment_comment_deny": "0",
          "enable_mute_play_back": "0",
          "enable_near_people": "0",
          "enable_photo_viewer": "1",
          "enable_privacy_user_auto_follow_back": "0",
          "enable_profile_show_intimate_relation": "1",
          "enable_recommended_know_people": "1",
          "enable_shake": "1",
          "enable_show_album_in_profile": "1",
          "follow_fans_list": 0,
          "gift_unfollow": "0",
          "message_deny": "0",
          "missu_deny": "0",
          "not_allow_find_me_by_mobile": "0",
          "not_public_collect": "0",
          "not_recommend_to_contacts": "0",
          "not_recommend_to_qq_friends": "0",
          "not_share_live_stream_fragment": "0",
          "photo_download_deny": "0",

範例

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

API README

Kuaishou Single User Data (V2) API

Returns the profile page data for one Kuaishou account: name, bio, avatar, follower and post counts, IP location, shop links and the entrance buttons shown on the profile. It needs the numeric user_id of the account.

Use cases

  • Read the follower count, post count and total likes of a Kuaishou creator before you decide to track them.
  • Check whether an account runs a Kuaishou shop and read the shop link and product count.
  • Save the display name, bio and avatar URLs of an account for a creator database.
  • Read the IP location shown on a profile for audience or account research.

Request

curl -X POST "https://api.sandbase.ai/v1/api/kuaishou/app/one-user-v2" \
  -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

Example response

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

{
  "adImBusinessInfo": {
    "adImEntranceStyle": "DEFAULT"
  },
  "adProfileExtInfo": {
    "hasMagnetic": true,
    "pageId": 100022410,
    "posId": 20905,
    "subPageId": 100024409
  },
  "authorInfo": {
    "isAdBusinessUser": false,
    "isVerifiedUser": false
  },
  "clientLog": {
    "userStatus": "NORMAL"
  },
  "debug_id": "8ce99695",
  "debug_info": "gAAAAABq6Y7r1P_y-S7GJrTF1G8HSuPD_HX4C0lU5lmua-IPSxq0kCMZ9VP9hbBbSvW65aHshkuowMt6…",
  "host-name": "public-bjmt-c56-kce-node279.idchb1az4.hb1.kwaidc.com",
  "profileTemplateCardInfo": {
    "enableMiddleCardManagement": false,
    "enableSubManagePanel": false,
    "profileTemplateCardShowType": 1,
    "profileTemplateCards": [
      {
        "bizType": 1,
        "cardType": 1,
        "cardTypeName": "MERCHANT_SHOP",
        "cardViewStyle": 0,
        "darkIconUrl": "http://p1-ec.ecukwai.com/kos/nlav12333/trade-assets/mp3bbfap5o.d1f073b3f413828d.…",
        "darkIconUrls": [
          {
            "cdn": "p1-ec.ecukwai.com",
            "url": "http://p1-ec.ecukwai.com/kos/nlav12333/trade-assets/mp3bbfap5o.d1f073b3f413828d.…"
          }
        ],
        "disableManagement": true,
        "enableIconPlayLoop": true,
        "extra": {
          "is_sales_tag": "true",
          "selling_points_type": "2",
          "subTitleType": "2"
        },
        "iconUrl": "http://p1-ec.ecukwai.com/kos/nlav12333/trade-assets/fuhiss96tc.1243ad193de71988.…",
        "iconUrls": [
          {
            "cdn": "p1-ec.ecukwai.com",
            "url": "http://p1-ec.ecukwai.com/kos/nlav12333/trade-assets/fuhiss96tc.1243ad193de71988.…"
          }
        ],
        "ksOrderId": "guest_profile_my_shop_1cards_1"
      }
    ],
    "promptCount": 1,
    "redDotRules": {
      "exitRule": {
        "exitDays": 3,
        "exposureThreshold": 5,
        "permanentExitTimes": 4
      },
      "maxShowCountEveryType": 1
    }
  },
  "recommendUserShowStyle": 0,
  "result": 1,
  "tips": {},
  "totalPhotoLike": {
    "linkUrl": "kwai://krn?bundleId=KwaiPostLikeList&componentName=LikeList&ownerId=3795214411&g…",
    "showRedDot": false,
    "urls": [
      {
        "cdn": "tx2.a.kwimgs.com",
        "url": "https://tx2.a.kwimgs.com/udata/pkg/KS-PROFILE/light_like.05cc35bb8f13018c.jpg"
      }
    ]
  }
}

Response fields

FieldMeaning
userProfile.profile.user_id / userProfile.profile.user_nameNumeric ID and display name of the account.
userProfile.profile.user_textBio text shown on the profile.
userProfile.profile.headurl / userProfile.profile.bigHeadUrls[].urlAvatar image URL, plus a list of larger avatar URLs on different CDN hosts.
userProfile.profile.user_profile_bg_urlURL of the profile background image.
userProfile.ownerCount.fan / userProfile.ownerCount.followNumber of followers and number of accounts this user follows.
userProfile.ownerCount.photo / userProfile.ownerCount.photo_public / userProfile.ownerCount.photo_privateCount of all posts, public posts and private posts.
userProfile.ownerCount.total_photo_likeTotal likes received across the account's posts.
userProfile.ipLocation.ipLocationNameRegion name shown as the account's IP location, such as Hunan.
userProfile.extraLinks[].entranceTitle / userProfile.extraLinks[].subTitle / userProfile.extraLinks[].linkName, short subtitle and link of the shop entrance shown on the profile.
userProfile.personalEntrances[].entrances[].entranceName / userProfile.personalEntrances[].entrances[].entranceTypeLabel and type code of each action button on the profile, such as chat or shareProfile.

Notes

  • user_id is a numeric string such as 3795214411. The same value comes back as userProfile.profile.user_id.
  • Some text fields are in Chinese and some in English, for example the shop title and entrances[].detail.
  • Fields like debug_id, debug_info and host-name are request diagnostics, not profile data.
  • To list the account's videos, call Kuaishou User Video List (V2). To check for a live stream, call Kuaishou User Broadcast Details.

Pricing

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

Read a Kuaishou account you already selected

Send the known account's numeric user_id as a string. It is an account identifier, not a display name, keyword or video ID. This endpoint reads one profile and has no pagination fields in the selected schema. Keep the requested ID beside the response and compare it with the returned profile identifier before attaching the record to your research.

The reference field table describes userProfile.profile for identity and biography, and userProfile.ownerCount for counters such as fan and photo. A saved public example contains those objects, while the shorter README JSON omits them. A trimmed excerpt is not proof that the full response lacks a profile. Keep unavailable fields unknown and distinguish an absent object from an intentionally empty value.

Profile buttons, shop links and counters describe the returned public profile. A photo_private counter does not grant access to private posts; a shop entry does not establish sales or conversion; an IP location label does not measure an audience's geography. Do not turn a profile read into post collection, messaging, media downloads or account actions.

Need to identify a candidate first? Use User Search V2 separately and review the candidates before selecting a user_id. One profile snapshot does not establish complete posting history or an engagement trend.

Give your agent one bounded account task

Already have a SandBase key? Keep SANDBASE_API_KEY in your local environment and use this page's API tab for POST /v1/api/ with Bearer authentication. If your agent is connected, give it the exact endpoint and one keyword or selected user ID. Starting a project? Share the setup Skill, Markdown quickstart and your intended result. Save one response before adding more lookups.

Read completed SandBase outputs[0].data and check the selected route's provider result. A successful HTTP status alone is insufficient. Search references show responseCode 0 with mixFeeds; profile references show result 1 with userProfile. A missing or malformed payload must not become an empty success. Public README JSON is trimmed: fields absent from that excerpt can still appear in its field table or a saved response. Validate the actual returned shape rather than filling missing counts with zero.

Pricing checked on 2026-11-08: both selected endpoints list $0.01 per call and eligibility for 100 daily calls shared across eligible data APIs in the organization, resetting at 00:00 UTC. Eligibility does not establish remaining quota. Check current pricing before a request. This revision made no new business call. The Kuaishou Python creator guide separates current code from historical evidence.

探索更多

相關 APIs

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

指南:Best Kuaishou API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Kuaishou Single User Data (V2) API?

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

Kuaishou Single User Data (V2) API 的費用是多少?

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

Kuaishou Single User Data (V2) API 接受哪些參數?

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

Kuaishou Single User Data (V2) API 會回傳什麼?

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

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

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

Single User Data V2 需要哪個識別碼?

請傳送所選帳號的數字 user_id,並以字串形式提供。顯示名稱、關鍵字或影片識別碼都不能替代。請保留要求的 ID,並在歸屬該筆資料前將其與回傳的個人資料 ID 比對。

為什麼簡短範例沒有 userProfile?

公開 README 的 JSON 是經過裁切的。其欄位表與已儲存的公開範例描述了 userProfile.profile 和 userProfile.ownerCount。請檢查實際回傳的物件,並明確回報缺少的資料,不要因為少了某個計數就假設是 0。

個人資料的計數能讓我查看私人貼文或證明銷售嗎?

不能。計數與個人資料入口連結不會授予私人內容存取權,也不能證明銷售、轉換、受眾地理分布或完整發文歷史。額外讀取是獨立任務,不是自動後續動作。