# Weibo Videos by user API (weibo.user_videos)

- Canonical page: [https://everyinfra.com/en/weibo-api/user_videos](https://everyinfra.com/en/weibo-api/user_videos?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "weibo", "action": "user_videos", "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 20 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=user_videos

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| user_id | not declared | yes | not declared | Numeric Weibo UID, or a profile link containing `/u/<UID>`. Nicknames are not accepted; find the UID with `user_search` first. |
| 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. Pages hold up to about 20 posts; each page is one call and `limit` has no effect. Tokens last 24 hours, and the last page has no `next_page_token`. |

## 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). |

## 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": "user_videos",
  "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": "user_videos",
        "params": {
            "user_id": "1749127163",
        },
    },
    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 5. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "weibo",
  "action": "user_videos",
  "results": [
    {
      "id": "•••",
      "url": "https://m.weibo.cn/detail/5338700410258317",
      "video_id": "5338694882885678",
      "text": "小米18 Fold，新形态“中折叠”。这是小米交出的折叠屏新答案，兼具便携与视野的全新体验，优雅新生！\n\n合上，5.38″外屏，小巧精致，可以一手掌握；展开，7.58″内屏，纤薄舒展，一眼开阔。\n\n#小米18 Fold# 9月7日晚7点，正式发布。 http://t.cn/AX0qKSIo",
      "posted_at": "2026-09-02T06:00:29+00:00",
      "play_count": 352125,
      "like_count": 7928,
      "comment_count": 598,
      "repost_count": 146,
      "duration_sec": 29,
      "video_url": "https://f.video.weibocdn.com/o0/OvBmHtSTlx08AtTPzV0Q010412002UFx0E010.mp4?label=mp4_hd&template=640x368.25.0&ori=0&ps=1CwnkDw1GXwCQx&Expires=1795249428&ssig=RpfkWP3HLm&KID=unistore,video",
      "cover_image_url": "https://wx4.sinaimg.cn/orj480/001Un9Srly1igp9r77lc3j60hs0a874902.jpg",
      "hashtags": [
        "小米18 Fold"
      ],
      "author_id": "1749127163",
      "author_name": "雷•••",
      "author_verified": true,
      "author_avatar_url": "https://tvax4.sinaimg.cn/•••",
      "platform": "weibo",
      "duration_seconds": 29
    },
    {
      "id": "•••",
      "url": "https://m.weibo.cn/detail/5338655200907501",
      "video_id": "5338647281729592",
      "text": "小米澎程N90 Max的新配色，酒红。\n\n灵感来源于陈年佳酿，值得细细品味。整体采用低明度、中高饱和度设计。光线较暗时，呈现深邃沉稳的酒红色泽；阳光照射下，透出宝石般浓郁而通透的光泽。 http://t.cn/AX0GkqJL",
      "posted_at": "2026-09-02T03:00:50+00:00",
      "play_count": 304573,
      "like_count": 3424,
      "comment_count": 304,
      "repost_count": 97,
      "duration_sec": 6,
      "video_url": "https://f.video.weibocdn.com/o0/wIYDUxADlx08AtGPIg7u010412000ENi0E010.mp4?label=mp4_hd&template=640x288.25.0&ori=0&ps=1CwnkDw1GXwCQx&Expires=1795249428&ssig=cuuw%2By5SfP&KID=unistore,video",
      "cover_image_url": "https://wx3.sinaimg.cn/orj480/001Un9Srly1igp4adyaqlj60hs080t8x02.jpg",
      "author_id": "1749127163",
      "author_name": "雷•••",
      "author_verified": true,
      "author_avatar_url": "https://tvax4.sinaimg.cn/•••",
      "platform": "weibo",
      "duration_seconds": 6
    }
  ],
  "next_page_token": …,
  "pagination": { … },
  "count": 5,
  "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
