# Bilibili App Home Feed API

> Returns recommended video items from the Bilibili app home feed. Supports pagination via timestamp index and pull-to-refresh controls.

Source: https://www.sandbase.ai/model/bilibili/app/home-feed
API reference: https://www.sandbase.ai/model/bilibili/app/home-feed/docs

## Facts

- Provider: Bilibili
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/bilibili/app/home-feed`
- 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/home-feed` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `flush` | integer | no |  |
| `idx` | integer | no |  |
| `pull` | boolean | no |  |

## FAQ

### How do I use the Bilibili App Home Feed API?

Send a POST request to https://api.sandbase.ai/v1/api/bilibili/app/home-feed 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 App Home Feed 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 App Home Feed API accept?

No parameters are required. Optional: flush (integer), idx (integer) and pull (boolean). The Parameters table and the Playground on this page list every field.

### What does the Bilibili App Home Feed 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 App Home Feed 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 App Home Feed API

Retrieve recommended video items from the Bilibili mobile app feed using `idx`, `pull`, and `flush` to control pagination and refresh behavior.

#### Use cases

- Display recommended video items in custom Bilibili feed displays.
- Monitor trending titles and creator metadata appearing on the home feed.
- Simulate app-style feed browsing and content discovery flows.

#### Request

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

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `idx` | integer | No | Page index, defaults to current timestamp |
| `pull` | boolean | No | Pull to refresh |
| `flush` | integer | No | Flush flag (0=normal load, 1=refresh) |

#### Example response

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

```json
{
  "data": {
    "items": [
      {
        "card_type": "small_cover_v2",
        "cover_left_1_content_description": "609.7万观看",
        "cover_left_2_content_description": "1149弹幕",
        "cover_left_text_1": "609.7万",
        "cover_left_text_2": "1149",
        "cover_right_content_description": "1分钟15秒",
        "cover_right_text": "1:15",
        "title": "⚡️ 疯 狂 闪 身 步 ⚡️",
        "args": {
          "tname": "鬼畜",
          "up_id": 632887,
          "up_name": "伢伢gagako"
        },
        "desc_button": {
          "text": "伢伢gagako",
          "type": 1
        },
        "player_args": {
          "duration": 75,
          "type": "av"
        }
      }
    ]
  }
}
```

#### Notes

- `idx` sets the page index and defaults to the current timestamp.
- `flush` controls the load type, accepting 0 for normal load and 1 for refresh.
- `pull` indicates whether the request acts as a pull-to-refresh operation.

#### 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 Single Video Details](/model/bilibili/app/one-video): Returns detailed video metadata for a specific Bilibili video.
