# Weibo News feed API (weibo.feed)

- Canonical page: [https://everyinfra.com/en/weibo-api/feed](https://everyinfra.com/en/weibo-api/feed?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "weibo", "action": "feed", "params": {...}}
- Price: $0.000792 per call ($0.79 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, one page of up to 10 per call; the number of rows varies from page to page and a short page is not the end (limit is ignored; pass the top-level next_page_token from the response as page_token for the next page; no next_page_token means the end)
- Pagination: pass next_page_token back as page_token for the next page, other params unchanged; one call per page, tokens last 24 hours
- 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=feed

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| channel_id | not declared | no | not declared | Optional channel: the `channel_id` of a `feed_channels` row. Leave it out for the Hot channel. An unknown value returns 422 and is not charged. |
| page_token | not declared | no | not declared | Page token. Leave it out for the first page, then pass back the previous response's `next_page_token` exactly as received, with the other parameters unchanged. About 10 posts per page; each page is one call and `limit` has no effect. The feed is recommended afresh on each call, so later pages can repeat earlier posts. Tokens last 24 hours. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | The record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms. |
| url | Link to the record on the platform. |
| video_id | Video ID (video, collection_videos). |
| text | Body text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so). |
| posted_at | Publish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it. |
| play_count | Number of plays of a video (video, collection_videos). Exact on `collection_videos`, and on `video` when you look the post up by post link or ID; approximate on `video` when you use a video link or `1034:` ID, because Weibo shows a rounded figure. Not the same as `view_count`, the read count of a post. |
| like_count | Likes. null means the platform or this capability does not disclose it; it is not 0. |
| comment_count | Comments. null means not disclosed, not 0. |
| repost_count | Reposts (as distinct from quote posts). null means not disclosed. |
| duration_sec | Video length in seconds (video posts on post_detail / user_posts, and video / collection_videos). |
| duration_seconds | Duration in seconds. null for content that is not video or audio. |
| video_url | Video link of the post. |
| cover_image_url | platform-native meaning |
| hashtags | Hashtags in the text, in order of appearance; absent when there are none. |
| author_id | Author's unique ID on the platform. |
| author_name | Author's display name. |
| author_verified | Whether the author carries Weibo verification (the V badge). Not returned on some requests (search). |
| author_avatar_url | Author avatar URL. Not returned on some requests (search). |
| platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
| image_urls | Array of image links in the platform's display order; absent when there are no images. |
| device | Client the post was published from (such as an iPhone client). |
| ip_location | IP region shown with the reply (comment_replies), such as Guangdong; absent when Weibo shows none. |
| view_count | Read count Weibo shows for the post (post_detail); user_posts list rows do not carry it. |
| is_long_text | Whether the post is a long post (post_detail / user_posts). On user_posts, a long post's text holds only its opening (about 140 characters). |
| is_repost | Whether the post is a repost. |
| original_post_id | For a repost, the ID of the original post (post_detail / user_posts); pass it as `url` to post_detail to read the original. Absent when the post is not a repost. |
| author_follower_count | Number of followers the author has. Not returned on some requests (search, user_posts). On `video` it comes only when `url` is a video link or `1034:` ID, and is approximate. |

## 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": "feed",
  "params": {}
}'
```

```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": "feed",
        "params": {},
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-11-21T07:23:43Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2 of 10. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "weibo",
  "action": "feed",
  "results": [
    {
      "id": "•••",
      "url": "https://m.weibo.cn/detail/5367627612426366",
      "video_id": "5367627309318196",
      "text": "#孙芮属于军婚#原SNH48成员、连续两年总选第一的孙芮结婚怀孕，看配文和图片 老公应该是军人，孙芮属于军婚，以后就是军嫂啦！祝她幸福 http://t.cn/AXTIs4Xc",
      "posted_at": "2026-11-21T01:46:51+00:00",
      "play_count": 1704709,
      "like_count": 2757,
      "comment_count": 122,
      "repost_count": 92,
      "duration_sec": 71,
      "video_url": "https://f.video.weibocdn.com/o0/Y2VTLOwalx08CxfbCgyI01041200yVfL0E010.mp4?label=mp4_720p&template=720x1280.24.0&ori=0&ps=1BVp4ysnknHVZu&Expires=1795249428&ssig=CRTwfnp5sa&KID=unistore,video",
      "cover_image_url": "https://wx4.sinaimg.cn/orj480/006zYhaMly1ij9klyvmqdj30mh0u0jts.jpg",
      "hashtags": [
        "孙芮属于军婚"
      ],
      "author_id": "•••",
      "author_name": "庄•••碟",
      "author_verified": true,
      "author_avatar_url": "https://tvax2.sinaimg.cn/•••",
      "platform": "weibo",
      "device": "微博视频号",
      "ip_location": "•••",
      "duration_seconds": 71
    },
    {
      "id": "•••",
      "url": "https://m.weibo.cn/detail/5367649437487477",
      "text": "GTA6在荒野大镖客2之后又一次满足了我想在游戏里过日子的需求，游戏里打车在后座刷了一路游戏里的手机还觉得有意思这件事感觉是目前独一份了",
      "posted_at": "2026-11-21T03:13:35+00:00",
      "like_count": 765,
      "comment_count": 64,
      "repost_count": 8,
      "author_id": "•••",
      "author_name": "管•••元",
      "author_verified": true,
      "author_avatar_url": "https://tvax1.sinaimg.cn/•••",
      "platform": "weibo",
      "ip_location": "•••"
    }
  ],
  "next_page_token": …,
  "pagination": { … },
  "count": 10,
  "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
