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

Bilibili Creator View and Like Statistics

Tài liệu API
https://api.sandbase.ai/v1/api/bilibili/web/user-up-stat

Returns total video view and like counts for a specified Bilibili creator account. Lookup requires the user unique 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

Phòng thử nghiệm

Đầu vào
User UID
Đầu raVí dụ
Phản hồioutputs · 26 B · 5 dòng
[
  {
    "data": {}
  }
]

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

Bilibili Creator View and Like Statistics API

Returns total video views, article views, and total likes for one Bilibili creator account. It needs the creator's numeric uid as input.

Use cases

  • Compare total video views and likes across several Bilibili creators before picking partners.
  • Record the archive.view and likes totals on a schedule to chart growth for one account.
  • Add creator-level view and like totals to a dashboard next to profile and follower data.
  • Screen a list of creator accounts by total reach before pulling their individual videos.

Request

curl -X POST "https://api.sandbase.ai/v1/api/bilibili/web/user-up-stat" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"uid": "178360345"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
uidstringYesUser UID

Example response

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

{
  "archive": {
    "enable_vt": 0,
    "view": 49024,
    "vt": 0
  },
  "article": {
    "view": 0
  },
  "likes": 640
}

Response fields

FieldMeaning
archive.viewTotal view count across the creator's videos.
likesTotal like count for the creator account.
article.viewTotal view count across the creator's articles. It is 0 for this account.
archive.enable_vtFlag next to the video totals. The value is 0 here. The key name does not say more, so treat it as an on/off flag.
archive.vtExtra counter in the archive object. It is 0 here and the response does not explain it.

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
Bilibili$0.001 mỗi lần gọiJSON
Bilibili$0.001 mỗi lần gọiJSON
Bilibili$0.001 mỗi lần gọiJSON
Bilibili$0.001 mỗi lần gọiJSON
Bilibili$0.001 mỗi lần gọiJSON
Bilibili$0.001 mỗi lần gọiJSON

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

Câu hỏi

FAQ

Làm thế nào để dùng API Bilibili Creator View and Like Statistics?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/bilibili/web/user-up-stat 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 Bilibili Creator View and Like Statistics có giá bao nhiêu?

$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Bilibili Creator View and Like Statistics chấp nhận những tham số nào?

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

API Bilibili Creator View and Like Statistics 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 Bilibili không?

Không. Bilibili Creator View and Like Statistics 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 Bilibili.