<p class="crumbs"><a href="/apis/">Data APIs</a> / <a href="/apis/bilibili/">Bilibili</a></p>

# Bilibili trending searches API

Bilibili trending search terms right now.

| Item | Value |
| --- | --- |
| Endpoint | `GET https://api.feedmcp.com/v1/bilibili/trends/list` |
| ID | `bilibili.trends.list` |
| Price | **$0.002** / call |
| Returns | A page of Trend objects |
| Auth | `Authorization: Bearer $FEEDMCP_API_KEY` |

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `limit` | integer | no | Items per page, default 20, at most 50 |

Every endpoint also takes `view=full` to include the platform's raw data as `raw`, at the same price.

## Returned fields

`data.items` is a list of Trend objects, with the same fields on every platform:

| Field | Type | Description |
| --- | --- | --- |
| `rank` | number | Rank; 0 means pinned |
| `platform` | string | Platform |
| `keyword` | string | Term |
| `heat` | number \| null | Heat (each platform counts its own way) |
| `label` | string \| null | Label, such as pinned or hot |
| `url` | string \| null | Search link on the platform |

## When you are charged

$0.002 per call that returns the list. An empty list (the platform did not answer), platform errors and timeouts are free; just retry.

Each answer carries `meta.billing`: what this call cost and the balance left.

## Request

### cURL

```bash
curl "https://api.feedmcp.com/v1/bilibili/trends/list" \
  -H "Authorization: Bearer $FEEDMCP_API_KEY"
```

### Python

```python
import os, requests

r = requests.get(
    "https://api.feedmcp.com/v1/bilibili/trends/list",
    params={},
    headers={"Authorization": f"Bearer {os.environ['FEEDMCP_API_KEY']}"},
    timeout=30,
)
print(r.json())
```

### JavaScript

```js
const res = await fetch("https://api.feedmcp.com/v1/bilibili/trends/list", {
  headers: { Authorization: `Bearer ${process.env.FEEDMCP_API_KEY}` },
});
console.log(await res.json());
```

### MCP

From an AI with FeedMCP installed, the `call` tool:

```json
{
  "endpoint": "bilibili.trends.list",
  "params": {},
  "max_price": "0.002"
}
```

## Response

The data below is made up; the shape is the real one.

```json
{
  "code": "ok",
  "request_id": "req_7Qm2kXb9TzLp",
  "data": {
    "items": [
      {
        "rank": 1,
        "platform": "bilibili",
        "keyword": "初雪来了",
        "heat": null,
        "label": null,
        "url": "https://search.bilibili.com/all?keyword=%E5%88%9D%E9%9B%AA"
      },
      {
        "rank": 2,
        "platform": "bilibili",
        "keyword": "露营",
        "heat": null,
        "label": null,
        "url": "https://search.bilibili.com/all?keyword=%E9%9C%B2%E8%90%A5"
      }
    ]
  },
  "page": {
    "next_cursor": null,
    "has_more": false
  },
  "warnings": [],
  "meta": {
    "endpoint": "bilibili.trends.list",
    "platform": "bilibili",
    "fetched_at": "2026-11-19T08:00:00.000Z",
    "source": "FeedMCP",
    "catalog_revision": "d09a736bd39e8b3f",
    "billing": {
      "charged": true,
      "amount": "0.002",
      "currency": "USD",
      "balance": "9.98"
    }
  }
}
```

Errors are described in [Errors](/docs/errors/): each says whether you were charged (`charged`) and whether to retry (`retry`).

## Other Bilibili endpoints

- [Bilibili video](/apis/bilibili/videos/get/)：$0.002
- [Bilibili video comments](/apis/bilibili/videos/comments/list/)：$0.002
- [Bilibili uploader profile](/apis/bilibili/users/get/)：$0.002
- [Bilibili uploader videos](/apis/bilibili/users/videos/list/)：$0.002
- [Bilibili video search](/apis/bilibili/videos/search/)：$0.003
- [Bilibili comment replies](/apis/bilibili/videos/comments/replies/list/)：$0.002
- [Bilibili account search](/apis/bilibili/users/search/)：$0.002

## Questions

### How much does the Bilibili trending searches endpoint cost?

$0.002 per call that returns the list. An empty list (the platform did not answer), platform errors and timeouts are free; just retry.

### Do I need a platform account?

No. Only public data is read.

### Where do I find the ID or link?

Videos take the BV ID; users take the UID after space.bilibili.com/.

### How do I get more items?

When the answer has `page.next_cursor`, pass it back as `cursor` for the next page, up to 50 a page. Each page is billed on its own.

### How do I use it from an AI?

Install the [MCP server](/mcp/) and ask; your AI calls `bilibili.trends.list`.

---

HTML version: https://feedmcp.com/apis/bilibili/trends/list/
