API · Weibo
GET /weibo/post
One Weibo post with its counts, pictures and video.
| Request | GET /v1/weibo/post |
| Operation id | weibo.post.get |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
One Weibo post with its counts, pictures and video.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | yes | A post URL or id. Example: https://m.weibo.cn/detail/5368869603512186. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The post. | WeiboPost |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | The user, post or comment does not exist or has nothing public. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Weibo is temporarily unavailable. Retryable; nothing was charged. | Error |
WeiboPost fields
| Field | Type | Description |
|---|---|---|
id | string | |
mid | string | |
bid | string | |
created_at | string | |
text | string | |
reposts_count | number | |
comments_count | number | |
attitudes_count | number | Likes. |
user | object | null | |
pics | object | |
page_info | object | |
retweeted_status | object | |
url | string |
Errors use one shape everywhere; see Errors for every code and what to do.