API · Weibo
GET /weibo/user
A Weibo profile: bio, followers, following, post counts, verification.
| Request | GET /v1/weibo/user |
| Operation id | weibo.user.get |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
A Weibo profile: bio, followers, following, post counts, verification.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
handle | string | no | Screen name (昵称), matched exactly. |
id | string | no | Numeric user id (uid). Example: 1669879400. |
url | string | no | Or the profile URL. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | The profile. | WeiboUser |
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 |
WeiboUser fields
| Field | Type | Description |
|---|---|---|
id | number | |
screen_name | string | |
description | string | |
profile_image_url | string | |
followers_count | number | string | A number, or Weibo’s display string such as "1.2亿". |
follow_count | number | string | |
statuses_count | number | string | |
verified | boolean | |
verified_reason | string | |
gender | string |
Errors use one shape everywhere; see Errors for every code and what to do.