Weibo User Search API
Users matching a keyword and filters. Costs 1 credit per request.
POST/api/v1/weibo/search/users
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonquerystringSearch keyword. Max 200 characters.
Example: yu7
pageintegerResults page, 1-based. 1-50.
regionstringcustom:11:1
authstringe.g. "org_vip"
genderstring"man" or "woman"
agestringe.g. "22y"
nicknamestringFilter by display name.
tagstringFilter by profile tag.
schoolstringFilter by school listed on the profile.
workstringFilter by employer listed on the profile.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
result = client.weibo.request("/api/v1/weibo/search/users", {})
print(result)Response
"count": 19
},
"response_time": 1363
}