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.01USD / вызов
Метод
POST
Ответ
JSON
Параметры
1 обязательных · 0 необязательных

Песочница

Ввод
ВыходПример
Ответ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.

README по API

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

Вопросы

FAQ

Как использовать API Kuaishou Single User Data (V2)?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/kuaishou/app/one-user-v2, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API Kuaishou Single User Data (V2)?

$0.01 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.

Какие параметры принимает API Kuaishou Single User Data (V2)?

Обязательные: user_id (string). В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API Kuaishou Single User Data (V2)?

JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.

Нужен ли мне аккаунт разработчика Kuaishou или API key?

Нет. Kuaishou Single User Data (V2) работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Kuaishou.

Какой идентификатор требуется для Single User Data V2?

Передайте numeric user_id выбранного аккаунта в виде строки. Отображаемое имя, ключевое слово или идентификатор видео не подходят. Сохраните запрошенный ID и сравните его с возвращённым profile ID перед тем, как приписывать запись этому аккаунту.

Почему в коротком примере опущен userProfile?

Публичный JSON из README сокращён. Таблица полей и сохранённый публичный пример описывают userProfile.profile и userProfile.ownerCount. Проверьте фактически возвращённый объект и явно сообщайте об отсутствующих данных, а не предполагаете, что отсутствующий счётчик равен нулю.

Даёт ли счётчик профиля доступ к приватным постам или подтверждает продажи?

Нет. Счётчики и ссылки входа в профиль не дают доступа к приватному контенту и не подтверждают продажи, конверсии, географию аудитории или полную историю публикаций. Дополнительные запросы — это отдельные задачи, а не автоматические продолжения.