Baidu Tieba List User Posts
List thread posts published by a Baidu Tieba user, excluding their replies under other people's threads. Supply the required request_body with exactly one of user_id or profile_url. user_id must be a numeric user ID string, not portrait or tieba_uid; profile_url must be a full https://tieba.baidu.com/home/main?id=… profile link, not a nickname or thread link. For the first page, omit page_token or leave it empty. For later pages, pass this operation's next_page_token unchanged while keeping the same user input field and identifier; tokens from search, comments, or other users cannot be used. An empty next_page_token marks the end of the currently readable list, not necessarily all historical posts. No sorting or page-size input is supported. Success returns items and next_page_token. Posts include IDs, titles, authors, summaries rather than full bodies, post links, forum information, publish/update times, interaction counts, and the images/videos supplied by the list. Media may be incomplete and links may expire. HTTP 200 may instead contain a code/message business error.
Pricing
| Condition | Charge |
|---|---|
| Each call | 28.01 credits/call |
The fixed fee is 28.01 credits per call.
Each request for a subsequent page is billed as a separate call. The number of topic posts returned does not affect the fixed fee per 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_posts' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"request_body": {}
}
}'No response example available yet.

