ageany
Age bucket 18y/22y/29y/39y/40y (optional)
https://api.sandbase.ai/v1/api/weibo/web-v2/user-searchSearch Weibo users using keywords or profile attributes such as company, school, tags, gender, age range, and verification type.
[
{
"data": {
"parsed_data": {
"count": 0,
"users": []
}
}
}
]Select an example to load its inputs and result into the playground.
Returns Weibo users that match a keyword or profile filters such as company, school, tag, gender, age bucket, region, and verification type. You must send at least one of query, region, auth, gender, age, nickname, tag, school, or work.
auth as org_vip together with a tag or query.work.school.age and gender.curl -X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/user-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
age | string | No | Age bucket 18y/22y/29y/39y/40y (optional) |
auth | string | No | Auth type org_vip/per_vip/ord (optional) |
gender | string | No | Gender man/women (optional) |
nickname | string | No | Nickname filter (optional) |
page | integer | No | Page number (default 1) |
query | string | No | Search keyword (optional) |
region | string | No | Region code from /fetch_city_list (optional) |
school | string | No | School filter (optional) |
tag | string | No | Tag filter (optional) |
work | string | No | Company filter (optional) |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"message": "Invalid query. Pass at least one of: query, region, auth, gender, age, nickname,…",
"message_zh": "query 非法。请至少传入以下一项:query, region, auth, gender, age, nickname, tag, school, work…",
"ok": 0,
"param": "query"
}
| Field | Meaning |
|---|---|
ok | Status flag. 0 means the request failed, as in the response to an empty request. |
message | English error text. It says the query is invalid and lists the parameters you can send; at least one is required. |
message_zh | The same error text in Chinese. |
param | Name of the parameter the error refers to. An empty request returns query, even though any one of the listed filters is enough. |
ok as 0 with the error message. Send at least one search or filter parameter.page to move through results. It starts at 1.region code from Weibo Region City List.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Start building
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/user-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"page": 1
}
SANDBASE_JSON
)
printf '%s\n' "$result"Set your SandBase API key in your server environment. Requests use Bearer authentication.
export SANDBASE_API_KEY="YOUR_API_KEY"Keep your key on the server. Do not expose it in browser code.
ageanyAge bucket 18y/22y/29y/39y/40y (optional)
authanyAuth type org_vip/per_vip/ord (optional)
genderanyGender man/women (optional)
nicknameanyNickname filter (optional)
pageintegerPage number (default 1)
Default: 1
queryanySearch keyword (optional)
regionanyRegion code from /fetch_city_list (optional)
schoolanySchool filter (optional)
taganyTag filter (optional)
workanyCompany filter (optional)
Saved example response for this API; no live request is made when viewing it.
[
{
"data": {
"parsed_data": {
"count": 0,
"users": []
}
}
}
]Explore more
| API | Price | Response |
|---|---|---|
Weibo User SearchThis API Weibo | $0.001 per call | JSON |
Weibo | $0.001 per call | JSON |
Weibo | $0.001 per call | JSON |
Weibo | $0.001 per call | JSON |
Weibo | $0.001 per call | JSON |
Weibo | $0.001 per call | JSON |
Questions
Send a POST request to https://api.sandbase.ai/v1/api/weibo/web-v2/user-search with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.
$0.001 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.
No parameters are required. Optional: age (any), auth (any), gender (any), nickname (any), page (integer) and query (any) and 4 more. The Parameters table and the Playground on this page list every field.
A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.
No. Weibo User Search runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Weibo API access separately.