Baidu Tieba Get User Info
Look up a Baidu Tieba user's profile by numeric user ID or full profile URL. A request_body object is required with exactly one non-null input: user_id, a 1–19 digit string starting with 1–9, or profile_url, a full homepage URL such as https://tieba.baidu.com/home/main?id=…. The numeric ID is not the portrait or tieba_uid in a homepage URL; the URL field does not accept nicknames, numeric IDs, or post links. Returns the user ID, display name, avatar URL, profile URL, signature (empty if unavailable), follower and following counts, accumulated likes, displayed Tieba age in years, and IP location. Tieba age is not a registration date. This tool does not return posts or replies and does not support pagination. HTTP 200 can contain a code/message business error rather than profile data.
Pricing
| Condition | Charge |
|---|---|
| Each call | 28.01 credits/call |
Each call to retrieve a single Baidu Tieba user's profile has a fixed charge of 28.01 credits.
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.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_get_user_info' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"request_body": {}
}
}'No response example available yet.

