API · Weibo
GET /weibo/trending
Weibo’s real-time hot search list.
| Request | GET /v1/weibo/trending |
| Operation id | weibo.trending.get |
| Cost | 2 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Weibo’s real-time hot search list.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
include_promoted | "true" | "false" | no | One of true, false. |
limit | integer | no | Entries per page, 1 to 60. Defaults to 50. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The list, in rank order. | WeiboTrending |
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 |
WeiboTrending fields
| Field | Type | Description |
|---|---|---|
data | WeiboTrend[] | |
meta | object |
Errors use one shape everywhere; see Errors for every code and what to do.