# Bilibili User Videos API

> Returns uploaded video listings for a specified Bilibili creator account. Supports pagination controls and filtering by post types such as archives or seasons.

Source: https://www.sandbase.ai/apis/bilibili/app/user-videos
API reference: https://www.sandbase.ai/apis/bilibili/app/user-videos/docs

## Facts

- Provider: Bilibili
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/bilibili/app/user-videos`
- Price: $0.0015 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: api, bilibili
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/bilibili/app/user-videos` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `user_id` | string | yes |  |
| `page` | integer | no |  |
| `post_filter` | string | no |  |
| `ps` | integer | no |  |

## FAQ

### How do I use the Bilibili User Videos API?

Send a POST request to https://api.sandbase.ai/v1/api/bilibili/app/user-videos with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Bilibili User Videos API cost?

$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

### What parameters does the Bilibili User Videos API accept?

Required: user_id (string). Optional: page (integer), post_filter (string) and ps (integer). The Parameters table and the Playground on this page list every field.

### What does the Bilibili User Videos API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

### Do I need a Bilibili developer account or API key?

No. Bilibili User Videos runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Bilibili API access separately.

## README

### Bilibili User Videos API

Retrieve a list of video uploads from a creator using their `user_id`. You can also filter the results by content type and paginate through records.

#### Use cases

- Track recent video uploads from specific Bilibili creators.
- Catalog channel content by archive, season, or contribution type.
- Collect video metadata including duration, view counts, and category tags.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/bilibili/app/user-videos" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"user_id": "203680252"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `user_id` | string | Yes | User ID (required) |
| `ps` | integer | No | Page size |
| `page` | integer | No | Page number |
| `post_filter` | string | No | Filter type (archive/season/contribute) |

#### Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

```json
{
  "data": {
    "item": [
      {
        "author": "AYCS2",
        "ctime": 1790748319,
        "duration": 1171,
        "publish_time_text": "9月30日",
        "title": "老Y蜜月之旅 | 马尔代夫菲诺芙",
        "tname": "出行",
        "view_content": "17万",
        "view_self_type": 0
      }
    ]
  }
}
```

#### Notes

- Filter content types using `post_filter` with values such as archive, season, or contribute.
- Control pagination with the `page` and `ps` parameters.

#### Related APIs

- [Bilibili App Bangumi Tab](/model/bilibili/app/bangumi-tab): Returns Bilibili app bangumi tab data, providing curated anime recommendations, feed items, and category listings for mobile clients.
- [Bilibili App Cinema Tab](/model/bilibili/app/cinema-tab): Returns cinema tab content from the Bilibili app, featuring curated movies, TV shows, and entertainment recommendations without requiring additional query para…
- [Bilibili App Home Feed](/model/bilibili/app/home-feed): Returns recommended video items from the Bilibili app home feed.
