Baidu Tieba Search General Posts

28.01 credits/call
ae_baidu_tieba_search_general_posts

Find posts by keyword in Baidu Tieba general search, retaining their order in the general results. Provide request_body with a non-empty keyword, such as a topic or phrase; a post URL or ID is not an alternative input. No either-or input pair or sorting option is supported. Optional page_token can be omitted or empty for the first page. To continue, pass the complete next_page_token unchanged with the same keyword; do not use tokens from post search or comments. A page may have no items but still have a continuation token. Stop only when next_page_token is empty; results can change over time. Returns items and next_page_token. Posts include IDs, titles, summaries (not full text), author information, forum IDs and names, links, publication/update times in Unix seconds, like/share counts, and any images and videos supplied by search. Update time may be null. Media may be incomplete and URLs may expire; empty media arrays do not establish that a post has no media. This tool does not return forums, users, topics, recommended topics, or suggestions. Use post search for latest, earliest, or relevance sorting, or post details for a known post URL or ID.

Social
28.01 credits/call

Pricing

28.01 credits/call
ConditionCharge
Each call28.01 credits/call

The fixed fee is 28.01 credits per call.

Each pagination request is billed as a separate call. The number of posts returned does not change the fixed fee per call.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
request_bodyobjectYes综合搜索请求,包含关键词和可选的分页令牌。—
request_body.keywordstringYes搜索词或关键词短语,例如 摄影、旅行攻略;不要传帖子链接或分页令牌。—
request_body.page_tokenstringNo分页令牌;首次留空,续页原样传回综合搜索返回的 next_page_token,并保持 keyword 不变;即使 items 为空,只要令牌非空仍可继续翻页。不要使用帖子搜索或评论的分页令牌。""

Invocation example

Copy the request and explore its response example.

POST/agent-api/v1/tool/executeX-Api-Key
Request coderequest.sh
curl --request POST \
  --url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_baidu_tieba_search_general_posts' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "request_body": {
      "keyword": "NX500 漏油"
    }
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "items": [
    {
      "author": {
        "avatar_url": "https://gss0.bdstatic.com/6LZ1dD3d1sgCo2Kml5_Y_D3/sys/portrait/item/tb.1.c1d46454.drttUJ6IjopkzUl0QiMKqA",
        "name": "foreverwai",
        "profile_url": "https://tieba.baidu.com/home/main?id=tb.1.c1d46454.drttUJ6IjopkzUl0QiMKqA&fr=frs",
        "user_id": "13347517"
      },
      "forum_id": "2372443",
      "forum_name": "索尼电视",
      "images": [
        {
          "height": null,
          "url": "https://tiebapic.baidu.com/forum/pic/item/ff3c6ffbfbedab64d4492217b236afc378311ee5.jpg?tbpicau=2026-11-23-05_2c0f99ffe03edccc5ad00d15903998fe",
          "width": null
        }
      ],
      "like_count": 44,
      "title": "大佬们,电视坏了,怎么弄。"
    }
  ],
  "next_page_token": "eyJ2IjoxLCJraW5kIjoiYmFpZHVfdGllYmFfZ2VuZXJhbF9zZWFyY2giLCJrZXl3b3JkIjoiTlg1MDAgXHU2ZjBmXHU2Y2I5IiwicGFnZSI6Mn0.-_u8UDLE2iZZ6kr08xC0alMSmzviWrLgxl7dANYOZP0"
}

This example shows part of the response. Copied content is valid JSON.