Weibo User Following
## Purpose Retrieve the accounts a specified Weibo user follows, rather than that user's followers. ## Inputs - **uid** (required, string): The Weibo user ID. - **since_id** (optional, string or null): Pagination cursor in `timestamp|offset` format. Omit for the first page, then reuse the exact value returned in `data.since_id` for the next page. Page-number pagination is not supported. - **sort_type** (optional, integer): `1` sorts by latest post time, newest first; `2` sorts by follow time, most recently followed first (default). ## Results The response directly contains the following-list data. `data.users` is an array whose entries contain user profiles under `data.users[].user`, such as nickname, avatar, bio, follower count, and latest post. `data.total_cnt` is the total number of accounts followed; `data.since_id` is the cursor for the next page. ## Pagination Each page returns about 20 entries. When a successful response omits `data.since_id`, the end of the list has been reached. That response can still contain a final batch of fewer than 20 entries, which should not be discarded.
Pricing
| Condition | Charge |
|---|---|
| Each call | 2.07 credits/call |
2.07 credits/call Charges are per query. A successful query is billed even if it returns no results.
Retrieves the accounts followed by the specified Weibo user. Each pagination request is billed as a separate call.
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
uid | string | Yes | 用户ID | — |
since_id | string | null | No | 翻页游标,格式为"时间戳|偏移量",首次请求不传,后续请求使用返回的since_id值 | — |
sort_type | integer | No | 排序类型: 1=按最新微博时间排序, 2=按关注时间排序(默认) | 2 |
Invocation example
Parameter templateGenerated from the parameter configuration. Replace the sample values before use.
/agent-api/v1/tool/executeX-Api-Keycurl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_weibo_user_following' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"uid": "xxx"
}
}'No response example available yet.

