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

Kuaishou User Broadcast Details

Tài liệu API
https://api.sandbase.ai/v1/api/kuaishou/app/user-live-info

Returns broadcast information and stream status for a specified Kuaishou account. Requests target a creator profile using the unique user identifier.

Giá
$0.001USD / 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
Đầu raVí dụ
Phản hồioutputs · 318 B · 16 dòng
[
  {
    "data": {
      "dynamicIconV2": {
        "isLive": false,
        "photoCount": 676,
        "result": 1,
        "type": 3
      },
      "host-name": "public-bjzey-c34-kce-node465.idchb1az3.hb1.kwaidc.com",
      "llsid": 2006352265622127400,
      "result": 1,
      "shieldNextPhoto": false
    }
  }
]

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 User Broadcast Details API

This API returns the live status and a short activity summary for one Kuaishou account. It needs the numeric user_id of the creator.

Use cases

  • Check whether a Kuaishou creator is streaming right now using the isLive flag.
  • Track how many videos a creator has posted by reading photoCount on a schedule.
  • Filter a list of creator IDs down to the ones that are live before you fetch more data.
  • Confirm that a lookup for a user_id succeeded by reading the result value.

Request

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

{
  "debug_id": "36c5a730",
  "debug_info": "gAAAAABq6Y77fQhzwkkN1X2BZxqssPoHtERg4092vXpG5Nv1xPwYXM2t_9PpgPb6KX17A8Jcs-2zGXeJ…",
  "dynamicIconV2": {
    "isLive": false,
    "photoCount": 683,
    "result": 1,
    "type": 3
  },
  "host-name": "public-bjmt-c56-kce-node76.idchb1az4.hb1.kwaidc.com",
  "llsid": 2010206515696162481,
  "result": 1,
  "shieldNextPhoto": false
}

Response fields

FieldMeaning
dynamicIconV2.isLiveShows whether the account is broadcasting right now. In the sample it is false.
dynamicIconV2.photoCountNumber of posts counted for the account. The sample shows 683.
dynamicIconV2.typeNumeric type code for the profile icon state. The sample shows 3. The response does not explain what each code means.
dynamicIconV2.result / resultResult codes for the icon block and the whole request. The sample shows 1 for both.
shieldNextPhotoBoolean flag in the response. The sample shows false. The response does not explain its effect.
llsidLarge numeric ID attached to this response. It looks like a request or session identifier.
debug_id / debug_info / host-nameDiagnostic values for the request and the server that handled it. Most integrations can ignore them.

Notes

Pricing

$0.001 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.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.001 mỗi lần gọiJSON
Kuaishou$0.001 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 User Broadcast Details?

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

$0.001 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 User Broadcast Details 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 User Broadcast Details 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 User Broadcast Details 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.