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.01 每次调用JSON
Kuaishou$0.001 每次调用JSON
Kuaishou$0.001 每次调用JSON
Kuaishou$0.001 每次调用JSON
Kuaishou$0.001 每次调用JSON
Kuaishou$0.001 每次调用JSON

指南:Best Kuaishou API in 2026: Pricing Compared

问题

常见问题

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

向 https://api.sandbase.ai/v1/api/kuaishou/app/one-user-v2 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 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 key 吗?

不需要。Kuaishou Single User Data (V2) 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Kuaishou API 访问权限。

Single User Data V2 需要什么标识符?

请以字符串形式发送所选账号的数字 user_id。显示名称、关键词或视频标识符都不能替代。请保留请求的 ID,并在归属该记录前将其与返回的 profile ID 进行比对。

为什么简短示例里省略了 userProfile?

公开 README 的 JSON 是裁剪过的。其字段表和一个保存的公开示例描述了 userProfile.profile 和 userProfile.ownerCount。请检查实际返回对象,并明确报告缺失数据,不要因为少了一个计数就假定为 0。

profile 计数器能访问私密帖子或证明销售吗?

不能。计数器和主页入口链接不会授予私密内容访问权限,也不能证明销售、转化、受众地理分布或完整发布历史。额外读取是独立任务,不是自动后续操作。