Weibo Topic Search

2.07 credits/call
ae_weibo_topic_search

# [中文] ### 用途: - 按关键词搜索微博话题,获取话题名称、封面图、讨论量和阅读量。 ### 参数: - `query`: 搜索关键词,必填。 - `page`: 页码,选填,默认值为 1。 ### 返回: - 匹配的话题数据,包括话题名称、封面图、讨论量和阅读量。 - 以“万”或“亿”表示的数量会转换为整数。 # [English] ### Purpose: - Search Weibo topics by keyword and retrieve topic names, cover images, discussion counts, and read counts. ### Parameters: - `query`: Search keyword, required. - `page`: Page number, optional; defaults to 1. ### Returns: - Matching topic data, including topic names, cover images, discussion counts, and read counts. - Values expressed in 万 or 亿 units are converted to integers.

Social
2.07 credits/call

Pricing

2.07 credits/call
ConditionCharge
Each call2.07 credits/call

2.07 credits/call Charges are per query. A successful query is billed even if it returns no results.

Parameters

Optional parameters use the platform defaults when omitted.

ParameterTypeRequiredDescriptionDefault
pageintegerNo页码/Page number1
querystringYes搜索关键词/Search keyword—

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_weibo_topic_search' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{
  "params": {
    "query": "李子园"
  }
}'
Response exampleresponse.json
JSONPartial content
{
  "code": 200,
  "data": {
    "parsed_data": {
      "items": [
        {
          "cover": {
            "large": "https://n.sinaimg.cn/photo/5b5e52aa/20161115/topic_page_2x.png",
            "thumb": "https://n.sinaimg.cn/photo/5b5e52aa/20161115/topic_page_2x.png"
          },
          "discuss_count": 298000,
          "read_count": 180000000,
          "topic": {
            "name": "#李子园#",
            "name_plain": "李子园",
            "url": "https://s.weibo.com/weibo/%23%E6%9D%8E%E5%AD%90%E5%9B%AD%23"
          }
        }
      ]
    }
  },
  "docs": "https://api.tikhub.io/#/Weibo-Web-V2-API/fetch_topic_search_api_v1_weibo_web_v2_fetch_topic_search_get",
  "message": "Request successful. This request will incur a charge."
}

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