# Bilibili user homepage videos

Get user post video data, optionally searching by keyword within that user's works. Needs uid. Served by TikHub.

Purpose:
- Get user post video data, optionally searching by keyword within that user's works.
- See "Differences from V1" below for how this compares to `/fetch_user_post_videos`.
Parameters:
- uid: User UID
- pn: Page number, no cap; past the last page `data.archives` comes back empty
- ps: Page size, 1~100
- keyword: Keyword, empty returns all works of the user
    - Single word only; do not include spaces.
Differences from V1:
- **No pagination cap**: V1 reaches at most 5000 works; this endpoint pages all the way back to the user's earliest upload. Use this one when a user has more than 5000 works.
- **Keyword works**: this endpoint supports searching within the user's works; V1 does not.
- **Leaner fields**: returns `aid`/`bvid`/`title`/`pubdate`/`pic`/`duration`/`desc`/`stat.view` and similar; no comment count or category fields. Use V1 for those, or fill them in per `bvid` via `/fetch_one_video`.
- Ordering is fixed to newest-first by publish time; no `order` parameter.
Return:
- User posted video data; the list is in `data.archives`, the total in `data.page.total`

- Tool ID: `tikhub/bilibili-web-fetch-user-post-videos-v2`
- Variant: API v2
- Name in the catalog: Bilibili, Get user homepage video data V2
- Provider: [TikHub](/providers/tikhub.md)
- Capability: [Bilibili profiles](/tools/bilibili/profiles.md)
- Price: $0.001 per call
- Authentication: an authorised Agentik workspace is required for execution, including zero-price tools.

## Pricing contract

The provider’s price, with no markup. Billed for measured usage.


```json
{
  "model": "per_call",
  "amountUsd": 0.001
}
```

Pricing source: [https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info](https://api.tikhub.io/api/v1/tikhub/user/get_all_endpoints_info). Official per-success route price USD 0.001; daily upstream discounts may reduce provider cost. No discount invented for the customer. 10/second.

Price verification date: 2026-10-05.

## Complete input schema


```json
{
  "type": "object",
  "properties": {
    "uid": {
      "type": "string",
      "description": "用户UID",
      "title": "Uid"
    },
    "pn": {
      "type": "integer",
      "minimum": 1,
      "description": "页码，无上限/Page number, no cap",
      "default": 1,
      "title": "Pn"
    },
    "ps": {
      "type": "integer",
      "maximum": 100,
      "minimum": 1,
      "description": "每页数量，最大100/Page size, max 100",
      "default": 30,
      "title": "Ps"
    },
    "keyword": {
      "type": "string",
      "description": "关键词，留空返回全部/Keyword, empty returns all",
      "default": "",
      "title": "Keyword"
    }
  },
  "required": [
    "uid"
  ],
  "additionalProperties": false
}
```

## Published example

This is the provider tool’s published example. Replace example values with the user’s requested inputs, respecting the schema; do not execute an example merely to test a connection.


```json
{
  "tool_id": "tikhub/bilibili-web-fetch-user-post-videos-v2",
  "input": {
    "uid": "178360345",
    "pn": 1,
    "ps": 30,
    "keyword": ""
  }
}
```

## Execute and retrieve

Inspect again before execution, explain the price and obtain the required authority. Use MCP run_tool or POST /v1/run with this tool ID, valid input and an idempotency key. Save the returned run ID and follow the actual state. If Agentik answers that the tool is temporarily unavailable, do not retry it blindly; use discovery to propose an alternative.

A partial or uncertain result can still have consumed provider resources. Consult [billing](/docs/billing.md), [idempotency](/docs/idempotency.md) and [asynchronous results](/docs/async.md).

[Provider documentation](https://api.tikhub.io/#/Bilibili-Web-API/fetch_user_post_videos_v2_api_v1_bilibili_web_fetch_user_post_videos_v2_get)

[REST inspection](https://api.agentik.cc/v1/tools/tikhub/bilibili-web-fetch-user-post-videos-v2) · [OpenAPI](/openapi.json) · [Connection guide](/connect.md)

---

[HTML page](/providers/tikhub/bilibili-web-fetch-user-post-videos-v2) · [Agent index](/llms.txt)
