Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Bilibili User Published Videos

API-Dokumentation
https://api.sandbase.ai/v1/api/bilibili/user-video-list

Get videos published by a Bilibili user identified by UID, with an optional continuation parameter from a prior response. Use it to browse a creator's uploads or continue through their video list.

Preis
$0.014286USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
1 erforderlich · 1 optional

Playground

Eingabe
Bilibili User ID (UID).
Pagination parameter from previous response.
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

API-README

Bilibili User Published Videos API

Returns a page of videos published by one Bilibili user, with title, BV ID, cover, play and danmaku counts, and publish time for each video. It needs the creator's numeric uid. An optional param value continues from a previous response.

Use cases

  • List a creator's newest uploads to track what they published.
  • Rank a creator's videos by play and danmaku counts to find their top content.
  • Collect bvid values for a creator, then fetch details or comments for each video.
  • Page through a long upload history, such as the 682 videos in the sample, to build a full catalog.

Request

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

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

Parameters

NameTypeRequiredDescription
uidstringYesBilibili User ID (UID).
paramstringNoPagination parameter from previous response.

Example response

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

{
  "code": 0,
  "data": {
    "count": 682,
    "episodic_button": {
      "text": "播放全部",
      "uri": "bilibili://music/playlist/spacepage/546195?desc=1&offset=0&oid=0&order=time&page…"
    },
    "has_next": true,
    "has_prev": false,
    "item": [
      {
        "author": "老番茄",
        "badges": [
          {
            "bg_color": "#FB7299",
            "bg_color_night": "#BB5B76",
            "bg_style": 1,
            "border_color": "#FB7299",
            "border_color_night": "#BB5B76",
            "text": "热门",
            "text_color": "#FEFEFE",
            "text_color_night": "#E5E5E5"
          }
        ],
        "bvid": "BV1pkxi66ErX",
        "cover": "http://i1.hdslb.com/bfs/archive/53540400bc50b20d9354aa57444966395e99b2d5.jpg",
        "cover_icon": "",
        "cover_left_icon": "",
        "cover_left_text": "",
        "ctime": 1793417100,
        "cursor_attr": {
          "is_last_watched_arc": false,
          "rank": 0
        },
        "danmaku": 2829,
        "duration": 675,
        "first_cid": 43184029788
      }
    ],
    "last_watched_locator": {
      "display_threshold": 10,
      "insert_ranking": 6,
      "text": "定位至上次观看"
    },
    "next_cursor": "116819889232434",
    "order": [
      {
        "title": "最新发布",
        "value": "pubdate"
      }
    ]
  },
  "message": "OK",
  "ttl": 1
}

Response fields

FieldMeaning
data.countTotal number of videos for this user.
data.has_next / data.has_prevWhether a next or previous page exists.
data.next_cursorCursor value for the next page. It looks like a video ID.
data.item[].bvidThe BV ID of the video.
data.item[].titleVideo title.
data.item[].authorDisplay name of the uploader. Joint uploads show text such as "等联合创作" after the name, and is_cooperation is true.
data.item[].play / data.item[].danmakuPlay count and danmaku (on-screen comment) count for the video.
data.item[].view_contentPlay count as shown in the app, as a short text such as "224.8万".
data.item[].durationVideo length. The value is a number, for example 675.
data.item[].ctimePublish time as a Unix timestamp.
data.item[].tnameName of the video's category.
data.order[].title / data.order[].valueSort options shown by the platform: pubdate (latest) and click (most played).

Notes

  • Use the uid of the creator. The example 546195 is the account of the uploader named 老番茄 in the sample. If you only have a profile link, call Bilibili User ID Extraction first.
  • For the next page, send data.next_cursor from the previous response as param. Keep going while data.has_next is true.
  • Each item has a bvid. Pass it to Bilibili Video Details to get the full video record.
  • The param field inside each item is a video ID. Do not confuse it with the request parameter param.

Pricing

$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
Bilibili$0.014286 pro AufrufJSON
Bilibili$0.001 pro AufrufJSON
Bilibili$0.001 pro AufrufJSON
Bilibili$0.001 pro AufrufJSON
Bilibili$0.001 pro AufrufJSON
Bilibili$0.001 pro AufrufJSON

Anleitungen:Best Bilibili API in 2026: Pricing Compared

Fragen

FAQ

Wie verwende ich die Bilibili User Published Videos API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/bilibili/user-video-list mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die Bilibili User Published Videos API?

$0.014286 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die Bilibili User Published Videos API?

Erforderlich: uid (string). Optional: param (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die Bilibili User Published Videos API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein Bilibili-Entwicklerkonto oder einen API-Schlüssel?

Nein. Bilibili User Published Videos läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Bilibili API beantragen.