API · Weibo
GET /weibo/search/users
Search Weibo users.
| Request | GET /v1/weibo/search/users |
| Operation id | weibo.search.users |
| Cost | 2 credits, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Search Weibo users.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
q | string | yes | A name. Example: 迪丽热巴. |
limit | integer | no | Users per page, 1 to 50. Defaults to 20. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | Matching users. | WeiboUsers |
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 |
WeiboUsers fields
| Field | Type | Description |
|---|---|---|
data | WeiboUser[] | |
meta | object |
Errors use one shape everywhere; see Errors for every code and what to do.