Weibo-Web-V2-API

获取微博视频详情/Get Weibo video details

Changed on

获取视频详情,包括标题、封面、可用播放地址及关联微博 ID(如有)。 oid 仅接受完整视频对象 ID。视频页链接中可直接取 /tv/show/ 后的值。 如果只有微博正文链接,例如 https://weibo.com/6035224571/5360752028288096, 先调用 fetch_post_detail?id=5360752028288096,再将返回的 data.page_info.object_id(本例为 1034:5360735161876496)作为 oid。

Get video details, including the title, cover, available playback URLs, and the associated Weibo post ID when present. Pass the full video object ID from the /tv/show/ URL as oid. For a post URL, call fetch_post_detail with the post ID, then pass data.page_info.object_id from its response as oid.

get/api/v1/weibo/web_v2/fetch_video_detail

Request

  • Base URL
    https://api.tikhub.io (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Query parameters

oidstring required

完整视频对象 ID(含 1034: 前缀)/Full video object ID, including the 1034: prefix

Response

Successful Response

codeinteger

HTTP status code | HTTP状态码

request_idstring nullable

Unique request identifier | 唯一请求标识符

messagestring

Response message (EN-US) | 响应消息 (English)

message_zhstring

Response message (ZH-CN) | 响应消息 (中文)

supportstring

Support message | 支持消息

timestring

The time the response was generated | 生成响应的时间

time_stampinteger

The timestamp the response was generated | 生成响应的时间戳

time_zonestring

The timezone of the response time | 响应时间的时区

docsstring nullable

Link to the API Swagger documentation for this endpoint | 此端点的 API Swagger 文档链接

cache_messagestring nullable

Cache message (EN-US) | 缓存消息 (English)

cache_message_zhstring nullable

Cache message (ZH-CN) | 缓存消息 (中文)

cache_urlstring nullable

The URL to access the cached result | 访问缓存结果的 URL

routerstring

The endpoint that generated this response | 生成此响应的端点

paramsunknown
dataunknown

Changes