<p class="crumbs"><a href="/zh/apis/">数据接口</a> / <a href="/zh/apis/weibo/">微博</a></p>

# 微博评论 API

一条微博下的评论：内容、时间、评论者、点赞数，可翻页。

| 项目 | 值 |
| --- | --- |
| 地址 | `GET https://api.feedmcp.com/v1/weibo/posts/comments/list` |
| ID | `weibo.posts.comments.list` |
| 价格 | **$0.002** / 次 |
| 返回 | 一页 评论对象列表 |
| 认证 | `Authorization: Bearer $FEEDMCP_API_KEY` |

## 参数

| 参数 | 类型 | 必填 | 说明 |
| --- | --- | --- | --- |
| `id` | string | 是 | 微博 ID |
| `limit` | integer | 否 | 每页条数，默认 20，最多 50 |
| `cursor` | string | 否 | 翻页游标。第一页不传；下一页传上一页返回的 page.next_cursor。每一页单独计费 |

所有接口还支持 `view=full`：在返回里附上平台的原始数据（`raw`），价格不变。

## 返回字段

`data.items` 是一组「评论」对象，所有平台字段相同：

| 字段 | 类型 | 说明 |
| --- | --- | --- |
| `id` | string | 评论 ID |
| `platform` | string | 平台 |
| `text` | string \| null | 评论内容 |
| `created_at` | string \| null | 发布时间，ISO 8601，UTC |
| `author.id` | string \| null | 评论者 ID（公众号留言没有） |
| `author.name` | string \| null | 评论者昵称 |
| `likes` | number \| null | 点赞数（Reddit 是得分，Facebook 是表情回应数） |
| `reply_count` | number \| null | 回复数 |
| `replies_token` | string \| null | 取这条评论的回复要传的令牌（只有 YouTube，传给[评论的回复](/zh/apis/youtube/videos/comments/replies/list/)） |
| `rating` | number \| null | 星级，1–5（只有 TikTok Shop 商品评价） |
| `variant` | string \| null | 买的规格（只有 TikTok Shop 商品评价） |
| `images` | string[] | 买家晒图（只有 TikTok Shop 商品评价） |
| `verified_purchase` | boolean \| null | 是否已验证购买（只有 TikTok Shop 商品评价） |

## 什么时候扣费

成功取到数据一次 $0.002。对象不存在、没取到数据、参数错误、平台出错、超时都不收费。

每次返回的 `meta.billing` 里写着这次扣了多少、还剩多少余额。

## 调用示例

### cURL

```bash
curl "https://api.feedmcp.com/v1/weibo/posts/comments/list?id=5112345678901234" \
  -H "Authorization: Bearer $FEEDMCP_API_KEY"
```

### Python

```python
import os, requests

r = requests.get(
    "https://api.feedmcp.com/v1/weibo/posts/comments/list",
    params={"id": "5112345678901234"},
    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/weibo/posts/comments/list?id=5112345678901234", {
  headers: { Authorization: `Bearer ${process.env.FEEDMCP_API_KEY}` },
});
console.log(await res.json());
```

### MCP

在装好 FeedMCP 的 AI 里，调用 `call` 工具：

```json
{
  "endpoint": "weibo.posts.comments.list",
  "params": {
    "id": "5112345678901234"
  },
  "max_price": "0.002"
}
```

## 返回示例

示例数据是虚构的，格式和真实返回一致。

```json
{
  "code": "ok",
  "request_id": "req_7Qm2kXb9TzLp",
  "data": {
    "items": [
      {
        "id": "512000000000001",
        "platform": "weibo",
        "text": "说得对 1",
        "created_at": "2025-11-18T03:00:00.000Z",
        "author": {
          "id": "301",
          "name": "网友1"
        },
        "likes": 5,
        "reply_count": 0
      },
      {
        "id": "512000000000002",
        "platform": "weibo",
        "text": "说得对 2",
        "created_at": "2025-11-18T03:00:00.000Z",
        "author": {
          "id": "302",
          "name": "网友2"
        },
        "likes": 5,
        "reply_count": 0
      }
    ]
  },
  "page": {
    "next_cursor": "eyJjdXJzb3IiOjIwfQ",
    "has_more": true
  },
  "warnings": [],
  "meta": {
    "endpoint": "weibo.posts.comments.list",
    "platform": "weibo",
    "fetched_at": "2026-11-19T08:00:00.000Z",
    "source": "FeedMCP",
    "catalog_revision": "d09a736bd39e8b3f",
    "billing": {
      "charged": true,
      "amount": "0.002",
      "currency": "USD",
      "balance": "9.98"
    }
  }
}
```

出错时的格式见 [错误码](/zh/docs/errors/)：每个错误都写明扣没扣钱（`charged`）和能不能重试（`retry`）。

## 微博的其他接口

- [微博热搜榜](/zh/apis/weibo/trends/list/)：$0.002
- [单条微博](/zh/apis/weibo/posts/get/)：$0.002
- [微博用户资料](/zh/apis/weibo/users/get/)：$0.002
- [微博用户发的微博](/zh/apis/weibo/users/posts/list/)：$0.002
- [微博实时搜索](/zh/apis/weibo/posts/search/)：$0.003
- [微博评论的回复](/zh/apis/weibo/comments/replies/list/)：$0.002
- [微博账号搜索](/zh/apis/weibo/users/search/)：$0.002

## 常见问题

### 微博评论接口多少钱？

成功取到数据一次 $0.002。对象不存在、没取到数据、参数错误、平台出错、超时都不收费。

### 需要平台账号吗？

不需要，只取公开数据。

### ID 或链接怎么找？

微博 ID 是微博链接里的数字或字母串；用户 ID 是主页链接 /u/ 后面的数字。

### 怎么取更多条？

返回里有 `page.next_cursor` 时，把它作为 `cursor` 参数传回来取下一页，每页最多 50 条。每一页单独计费。

### 怎么在 AI 里用？

装好 [MCP](/zh/mcp/) 后直接说你要什么，AI 会调用 `weibo.posts.comments.list`。

---

网页版: https://feedmcp.com/zh/apis/weibo/posts/comments/list/
