Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Weibo User Search

Tài liệu API
https://api.sandbase.ai/v1/api/weibo/web-v2/user-search

Search Weibo users using keywords or profile attributes such as company, school, tags, gender, age range, and verification type.

Giá
$0.001USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
0 bắt buộc · 10 tùy chọn

Phòng thử nghiệm

Đầu vào
Age bucket 18y/22y/29y/39y/40y (optional)
Auth type org_vip/per_vip/ord (optional)
Gender man/women (optional)
Nickname filter (optional)
Page number (default 1)
Search keyword (optional)
Region code from /fetch_city_list (optional)
School filter (optional)
Tag filter (optional)
Company filter (optional)
Đầu raVí dụ
Phản hồioutputs · 102 B · 10 dòng
[
  {
    "data": {
      "parsed_data": {
        "count": 0,
        "users": []
      }
    }
  }
]

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

Weibo User Search API

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.

Use cases

  • Find verified organization accounts by sending auth as org_vip together with a tag or query.
  • Look for people who list a given company by sending work.
  • Look for people from a given school by sending school.
  • Build a list of users in one age bucket and gender by sending age and gender.

Request

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.

Parameters

NameTypeRequiredDescription
agestringNoAge bucket 18y/22y/29y/39y/40y (optional)
authstringNoAuth type org_vip/per_vip/ord (optional)
genderstringNoGender man/women (optional)
nicknamestringNoNickname filter (optional)
pageintegerNoPage number (default 1)
querystringNoSearch keyword (optional)
regionstringNoRegion code from /fetch_city_list (optional)
schoolstringNoSchool filter (optional)
tagstringNoTag filter (optional)
workstringNoCompany filter (optional)

Example response

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"
}

Response fields

FieldMeaning
okStatus flag. 0 means the request failed, as in the response to an empty request.
messageEnglish error text. It says the query is invalid and lists the parameters you can send; at least one is required.
message_zhThe same error text in Chinese.
paramName of the parameter the error refers to. An empty request returns query, even though any one of the listed filters is enough.

Notes

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Weibo$0.001 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON
Weibo$0.001 mỗi lần gọiJSON

Hướng dẫn:Best Weibo API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Weibo User Search?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/weibo/web-v2/user-search với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Weibo User Search có giá bao nhiêu?

$0.001 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Weibo User Search chấp nhận những tham số nào?

Không có tham số bắt buộc. Tùy chọn: age (any), auth (any), gender (any), nickname (any), page (integer) và query (any) và 4 mục khác. Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Weibo User Search trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Weibo không?

Không. Weibo User Search chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Weibo.