# 微博 关注列表 API (weibo.following_list)

- Canonical page: [https://everyinfra.com/weibo-api/following_list](https://everyinfra.com/weibo-api/following_list?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "weibo", "action": "following_list", "params": {...}}
- Price: $0.000792 per call ($0.79 per 1,000 requests); failed calls and empty results are not charged
- Returns: list
- Mode: sync; add "mode": "async" for slow tasks

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=weibo&action=following_list

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| user_id | not declared | yes | not declared | 微博数字 UID，也可传含 /u/数字UID 的主页链接；不收昵称（先用 user_search 按昵称找到 user_id）。传别的返回 422，不扣费。返回这个用户关注的人；微博对未登录访客只显示第一页，约 20 人，一次返回，不翻页，不收 limit。 |
| limit | integer (1–) | no | not declared | 这次调用最多返回的条数，整数，至少为 1；不传按默认值，实际返回可能少于这个数。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| user_id | 用户在原平台的唯一 ID。 |
| display_name | 显示名，可能与 username 不同。 |
| url | 该记录在原平台上的可访问链接。 |
| bio | 个人简介，账号自己填写的文本。可能含换行和 emoji。 |
| avatar_url | 头像图片链接。部分平台给的是带尺寸参数的 CDN 链接，可能有时效。 |
| follower_count | 粉丝数。null 表示不公开，不等于 0。 |
| following_count | 关注数。null 表示不公开，不等于 0。 |
| post_count | 这个用户发过的微博数（likers、following_list、followers_list）。 |
| is_verified | 是否为平台认证账号（蓝V等）。null 表示无法判定。 |
| verified_type | 认证类型（likers、following_list、followers_list）：微博给的认证种类，没认证时没有。 |
| verified_reason | 认证说明。 |
| gender | 性别。likers、user_about、following_list、followers_list 是 male 或 female，用户没公开时没有。 |
| location | 所在地（likers、user_about）：用户自己填的地区。 |
| platform | 数据来源平台标识，与请求里的 platform 一致（如 xiaohongshu、tiktok）。 |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "weibo",
  "action": "following_list",
  "params": {
    "user_id": "1749127163"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "weibo",
        "action": "following_list",
        "params": {
            "user_id": "1749127163",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

No real sample for these example parameters yet: structure only, every value is a placeholder (…).

```text
{
  "id": "req_…",
  "platform": "weibo",
  "action": "following_list",
  "results": [
    {
      "user_id": …,
      "display_name": …,
      "url": …,
      "bio": …,
      "avatar_url": …,
      "follower_count": …,
      "following_count": …,
      "post_count": …,
      "is_verified": …,
      "verified_type": …,
      "verified_reason": …,
      "gender": …,
      "location": …,
      "platform": …
    }
  ],
  "count": …,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=weibo
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
