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": []
}
}
}
]Выберите пример, чтобы загрузить его входные данные и результат в 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.
Начните разработку
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
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 '{
"page": 1
}'Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
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)
По умолчанию: 1
queryanySearch keyword (optional)
regionanyRegion code from /fetch_city_list (optional)
schoolanySchool filter (optional)
taganyTag filter (optional)
workanyCompany filter (optional)
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
[
{
"data": {
"parsed_data": {
"count": 0,
"users": []
}
}
}
]Посмотреть больше
| API | Цена | Ответ |
|---|---|---|
Weibo User SearchЭтот API Weibo | $0.001 за запрос | JSON |
Weibo | $0.001 за запрос | JSON |
Weibo | $0.001 за запрос | JSON |
Weibo | $0.001 за запрос | JSON |
Weibo | $0.001 за запрос | JSON |
Weibo | $0.001 за запрос | JSON |
Руководства:Best Weibo API in 2026: Pricing Compared
Вопросы
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/weibo/web-v2/user-search, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
$0.001 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Параметры не требуются. Необязательные: age (any), auth (any), gender (any), nickname (any), page (integer) и query (any) и еще 4. В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нет. Weibo User Search работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Weibo.