综合搜索/Comprehensive search
Weiboapi
About
综合搜索/Comprehensive search
Documentation
综合搜索/Comprehensive search
[中文]
用途:
- 在微博中进行综合搜索,返回相关内容。支持多种搜索类型。
参数:
- query: 搜索关键词(必填)
- page: 页码,从1开始(默认1)
- search_type: 搜索类型
- 1: 综合(默认)
- 61: 实时
- 3: 用户
- 64: 视频
- 63: 图片
- 62: 关注
- 60: 热门
- 21: 全网
- 38: 话题
- 98: 超话
- 92: 地点
- 97: 商品
返回:
- 搜索结果列表,包含微博内容、作者信息、图片、视频等
注意:
- 搜索结果按相关度排序
- 仅使用 page 参数进行翻页
[English]
Purpose:
- Comprehensive search in Weibo, return related content. Supports multiple search types.
Parameters:
- query: Search keyword (required)
- page: Page number, starts from 1 (default 1)
- search_type: Search type
- 1: General/All (default)
- 61: Realtime
- 3: Users
- 64: Videos
- 63: Images
- 62: Following
- 60: Hot
- 21: Whole network
- 38: Topics
- 98: Super topics
- 92: Places/Locations
- 97: Products/Goods
Return:
- Search result list, including post content, author info, images, videos, etc.
Note:
- Search results sorted by relevance
- Only use page parameter for pagination
[示例/Example]
query = "NVIDIA" page = 1 search_type = 1 # General search
search_type = 3 # Search users
search_type = 64 # Search videos
Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.
Try 综合搜索/Comprehensive search
Test this model in the Sandbase Playground with your own prompts.
Open in Playground