Baidu Tieba List User Followed Forums
Retrieve the publicly readable list of forums followed by a Baidu Tieba user. Supply the required request_body with exactly one of user_id (a numeric string of 1–19 digits with no leading zero, not portrait or tieba_uid) or profile_url (a full Tieba user homepage URL such as https://tieba.baidu.com/home/main?id=…). Nicknames and post URLs are not valid substitutes. Optional page_token is empty for the first page; to continue, pass this endpoint's next_page_token unchanged with the same user identifier and input form. Do not reuse another endpoint's or user's token. An empty next_page_token, not the number of items returned, marks the end of the currently readable list. Success returns items in Tieba's order, each with forum_id, forum_name, forum_url, avatar_url and user_level, together with next_page_token. user_level is the user's level in that forum; avatar links may expire. This tool does not list followed users or authored posts. Retrieval errors do not mean the user follows no forums. Errors contain code and message and may occur even with HTTP 200.
Pricing
| Condition | Charge |
|---|---|
| Each call | 28.01 credits/call |
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
request_body | object | Yes | 查询参数:user_id 与 profile_url 二选一,可提供分页令牌。 | — |
request_body.user_id | string | null | No | 百度贴吧数字用户 ID,可取搜索、帖子详情或评论作者的 user_id;不是主页链接中的 portrait 或 tieba_uid。与 profile_url 二选一。 | null |
request_body.page_token | string | No | 分页令牌;首次留空,续页原样传入本接口的 next_page_token,保持同一用户入口和标识。不要使用发帖列表、搜索、评论或其他用户的令牌。 | "" |
request_body.profile_url | string | null | No | 百度贴吧用户主页完整链接,形如 https://tieba.baidu.com/home/main?id=…;可取搜索、详情或评论作者的 profile_url,不接受数字用户 ID、昵称或帖子链接。与 user_id 二选一。 | null |
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_baidu_tieba_list_user_followed_forums' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"request_body": {}
}
}'No response example available yet.

