Weibo Comprehensive Search
## Purpose Search Weibo by keyword, either across general results or within a selected category. ## Inputs - `query` (required string): Search keyword. - `page` (optional integer): Page number, starting at 1; defaults to 1. Use this parameter to retrieve additional pages. - `search_type` (optional integer): Search category; defaults to 1. Documented values: 1 = general, 61 = realtime, 3 = users, 64 = videos, 63 = images, 62 = following, 60 = hot, 21 = whole network, 38 = topics, 98 = super topics, 92 = places, 97 = products. ## Results Returns matching search data, which may include post content, author information, images, or videos, depending on the category and available results. A uniform result-item structure is not specified. Results are documented as sorted by relevance. Pagination uses only `page`. ## Example `query="NVIDIA", page=1, search_type=1` searches for general results on the first page.
Pricing
| Condition | Charge |
|---|---|
| Each call | 2.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.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
page | integer | No | 页码 | 1 |
query | string | Yes | 搜索关键词 | — |
search_type | integer | No | 搜索类型: 1=综合, 61=实时, 3=用户, 64=视频, 63=图片, 62=关注, 60=热门, 21=全网, 38=话题, 98=超话, 92=地点, 97=商品 | 1 |
Invocation example
Copy the request and explore its response example.
/agent-api/v1/tool/executeX-Api-Keycurl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_weibo_comprehensive_search' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"page": 1,
"query": "影目"
}
}'{
"code": 200,
"data": {
"items": [
{
"category": "group",
"items": [
{
"category": "card",
"data": {}
}
],
"type": "vertical"
}
]
},
"docs": "https://api.tikhub.io/#/Weibo-App-API/fetch_search_all_api_v1_weibo_app_fetch_search_all_get",
"message": "Request successful. This request will incur a charge.",
"message_zh": "请求成功,本次请求将被计费。",
"request_id": "b687a706-4eb1-4e7e-8716-750ea23c8627"
}This example shows part of the response. Copied content is valid JSON.

