uidstringwajib
User UID
https://api.sandbase.ai/v1/api/bilibili/web/user-up-statReturns total video view and like counts for a specified Bilibili creator account. Lookup requires the user unique identifier.
[
{
"data": {}
}
]Pilih contoh untuk memuat input dan hasilnya ke playground.
Returns total video views, article views, and total likes for one Bilibili creator account. It needs the creator's numeric uid as input.
archive.view and likes totals on a schedule to chart growth for one account.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.
| Name | Type | Required | Description |
|---|---|---|---|
uid | string | Yes | User UID |
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
}
| Field | Meaning |
|---|---|
archive.view | Total view count across the creator's videos. |
likes | Total like count for the creator account. |
article.view | Total view count across the creator's articles. It is 0 for this account. |
archive.enable_vt | Flag 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.vt | Extra counter in the archive object. It is 0 here and the response does not explain it. |
uid, for example 178360345.uid.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
uidstringwajibUser UID
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
[
{
"data": {}
}
]Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Bilibili | $0.001 per panggilan | JSON |
Bilibili | $0.001 per panggilan | JSON |
Bilibili | $0.001 per panggilan | JSON |
Bilibili | $0.001 per panggilan | JSON |
Bilibili | $0.001 per panggilan | JSON |
Bilibili | $0.001 per panggilan | JSON |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/bilibili/web/user-up-stat dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.001 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Wajib: uid (string). Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. Bilibili Creator View and Like Statistics berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Bilibili secara terpisah.