querystring必填
Search keyword (required)
https://api.sandbase.ai/v1/api/weibo/web-v2/pic-searchReturns picture content and associated post details matching a search query on Weibo. Results include image URLs, post text, and user profile information.
[
{
"data": {
"claim_auth": [],
"claim_auth_white": true,
"is_end": 0,
"noResultMsg": "抱歉,未找到相关结果。",
"pic_list": [
{
"created_at": "Thu Aug 20 16:10:07 +0800 2026",
"forward_id": "5334021993141912",
"is_forward": true,
"mid": "5334021993141912",
"original_pic": "//wx1.sinaimg.cn/large/008gEZpgly1igad2rvay2j30hs0u0goe.jpg",
"sub_name": "这个学长",
"sub_text": "#AI开始报警抓人了# AI主动向FBI举报用户...",
"text": "#AI开始报警抓人了# AI主动向FBI举报用户、导致真人被捕的第一起案件已经出现——一名25岁的前高盛分析师因为在ChatGPT里详细策划绑架、性侵并杀害前女友,被OpenAI安全系统识别后直接报警,最终被判8年缓刑。 ",
"url": "//wx1.sinaimg.cn/thumb180/008gEZpgly1igad2rvay2j30hs0u0goe.jpg",
"user": {
"name": "这个学长",
"profile_image_url": "//tvax2.sinaimg.cn/crop.0.0.995.995.50/008gEZpgly8h0pb8jfee5j30rn0rnwh1.jpg?KID=imgbed,tva&Expires=1787229739&ssig=o8aWm3oYbE",
"profile_url": "//weibo.com/u/7575253202"
}
},
{
"created_at": "Thu Aug 20 17:33:47 +0800 2026",
"forward_id": 0,
"is_forward": false,
"mid": "5334043050639814",
"original_pic": "//wx3.sinaimg.cn/large/66d5446aly1igafhrz55zj20pg0fp172.jpg",
"sub_name": "温度新闻",
"sub_text": "#AI开始报警抓人了#【高盛前分析师向ChatG...",
"text": "#AI开始报警抓人了#【高盛前分析师向ChatGPT透露奸杀前女友计划,平台监测到后报警】美国一名25岁的男子因在上班期间向人工智能聊天工具ChatGPT详细透露强奸、杀害其前女友的计划,从而被开发商OpenAI检测到之后举报至联邦调查局(FBI)。\n\n人工智能公司往往会通过多标签有害内容分类模型,精准识别暴 ",
"url": "//wx3.sinaimg.cn/thumb180/66d5446aly1igafhrz55zj20pg0fp172.jpg",
"user": {
"name": "温度新闻",
"profile_image_url": "//tvax1.sinaimg.cn/crop.0.0.600.600.50/66d5446aly8hbcak0pkymj20go0go3zo.jpg?KID=imgbed,tva&Expires=1787229739&ssig=SQBH0f3ALP",
"profile_url": "//weibo.com/66wz"
}
},
{
"created_at": "Thu Aug 20 17:32:47 +0800 2026",
"forward_id": 0,
"is_forward": false,
"mid": "5334042794788345",
"original_pic": "//wx2.sinaimg.cn/large/7215528fly1igafgruld5j20u0140ta8.jpg",
"sub_name": "海文同学HW",
"sub_text": "#AI开始报警抓人了#AI开始报警抓人了\n世界上...",
"text": "#AI开始报警抓人了#AI开始报警抓人了\n世界上第一个因为AI报警被抓的人\n \n前高盛分析师Darren Zhou在ChatGPT聊天中写下针对前女友的详细犯罪计划,包括绑架、性侵、谋杀,甚至杀害其家人。对话触发安全机制后,OpenAI人工复核确认存在现实严重暴力风险,直接向FBI举报。\n \nFBI拿到聊天记录后转交当地警 ",
"url": "//wx2.sinaimg.cn/thumb180/7215528fly1igafgruld5j20u0140ta8.jpg",
"user": {
"name": "海文同学HW",
"profile_image_url": "//tvax2.sinaimg.cn/crop.0.0.1080.1080.50/7215528fly8ieiyttn9bxj20u00u0jrp.jpg?KID=imgbed,tva&Expires=1787229739&ssig=Zpgw%2FAzRNF",
"profile_url": "//weibo.com/u/1914000015"
}
},
"… 17 more items in the full response"
],
"risk_control": {
"aitabHidden": 0,
"cateList": [],
"navControl": [],
"overall": 0
},
"suda_pre": "seqid:178721893924702034107|type:0|t:0|pos:1-0|q:OpenAI|ext:",
"total_number": 0
}
}
]选择一个示例,将其输入和结果加载到 playground 中。
Returns Weibo posts that contain pictures and match a search keyword. Each result has an image URL, the post text, and basic details about the user who posted it. It needs one input, query, and takes an optional page.
user.name and user.profile_url.is_forward.curl -X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/pic-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": "OpenAI"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | Search keyword (required) |
page | integer | No | Page number (default 1) |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"claim_auth": [],
"claim_auth_white": true,
"is_end": 0,
"noResultMsg": "抱歉,未找到相关结果。",
"pic_list": [
{
"created_at": "Tue Nov 03 15:42:14 +0800 2026",
"forward_id": 0,
"is_forward": false,
"mid": "5361194065202409",
"original_pic": "//wx1.sinaimg.cn/large/66fd066bly1iip1qt0l0sj20hw0aadhh.jpg",
"sub_name": "宝玉xp",
"sub_text": "OpenAI 的下一代大模型可能要来了,正好接上...",
"text": "OpenAI 的下一代大模型可能要来了,正好接上 Altman 11 月 2 日在阿布扎比说的“下一个 GPT 很快发布”。\n\n不过目前只是猜测,没有正式发布。…",
"url": "//wx1.sinaimg.cn/thumb180/66fd066bly1iip1qt0l0sj20hw0aadhh.jpg",
"user": {
"name": "宝玉xp",
"profile_image_url": "//tva3.sinaimg.cn/crop.0.0.180.180.50/66fd066bjw1e8qgp5bmzyj2050050aa8.jpg?KID=i…",
"profile_url": "//weibo.com/dotey"
}
}
],
"risk_control": {
"aitabHidden": 0,
"cateList": [],
"navControl": [],
"overall": 0
},
"suda_pre": "seqid:179369198652802043194|type:0|t:0|pos:1-0|q:OpenAI|ext:",
"total_number": 0
}
| Field | Meaning |
|---|---|
pic_list[] | One picture result per item. Each item holds the image links, the post text and the poster. |
pic_list[].original_pic | Link to the large version of the image. It starts with //, so add https: to use it. |
pic_list[].url | Link to a small thumbnail (thumb180) of the same image. |
pic_list[].text | Text of the post. Long posts end with an ellipsis. |
pic_list[].sub_text | Shorter preview of the post text. |
pic_list[].mid | ID of the post as a string of digits. |
pic_list[].created_at | Time the post was created, for example Tue Nov 03 15:42:14 +0800 2026. |
pic_list[].is_forward / pic_list[].forward_id | is_forward is true when the post is a repost. forward_id holds an ID for a repost and is 0 when the post is not a repost. |
pic_list[].user.name / pic_list[].user.profile_url | Display name of the poster and a link to their Weibo profile. sub_name repeats the name at the item level. |
pic_list[].user.profile_image_url | Link to the poster's avatar image. |
is_end | Paging flag. The value 0 is shown in this response, which had results. |
pic_list[].mid is the post ID. Pass it to Weibo Post Detail to get the full post.//. Add https: before you open them.page to get later result pages. It defaults to 1.total_number returned 0 even though pic_list had items, so count the items in pic_list instead.$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
开始构建
具备统一身份验证和使用情况跟踪的平台 API 端点。
curl -X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/pic-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"query": "OpenAI"
}'将您的 SandBase API 密钥设置到服务器环境中。请求使用 Bearer 身份验证。
export SANDBASE_API_KEY="YOUR_API_KEY"请将密钥保存在服务器端。不要在浏览器代码中暴露它。
querystring必填Search keyword (required)
pageintegerPage number (default 1)
默认值:1
这是该 API 保存的示例响应;查看时不会发起实时请求。
[
{
"data": {
"claim_auth": [],
"claim_auth_white": true,
"is_end": 0,
"noResultMsg": "抱歉,未找到相关结果。",
"pic_list": [
{
"created_at": "Thu Aug 20 16:10:07 +0800 2026",
"forward_id": "5334021993141912",
"is_forward": true,
"mid": "5334021993141912",
"original_pic": "//wx1.sinaimg.cn/large/008gEZpgly1igad2rvay2j30hs0u0goe.jpg",
"sub_name": "这个学长",
"sub_text": "#AI开始报警抓人了# AI主动向FBI举报用户...",
"text": "#AI开始报警抓人了# AI主动向FBI举报用户、导致真人被捕的第一起案件已经出现——一名25岁的前高盛分析师因为在ChatGPT里详细策划绑架、性侵并杀害前女友,被OpenAI安全系统识别后直接报警,最终被判8年缓刑。 ",
"url": "//wx1.sinaimg.cn/thumb180/008gEZpgly1igad2rvay2j30hs0u0goe.jpg",
"user": {
"name": "这个学长",
"profile_image_url": "//tvax2.sinaimg.cn/crop.0.0.995.995.50/008gEZpgly8h0pb8jfee5j30rn0rnwh1.jpg?KID=imgbed,tva&Expires=1787229739&ssig=o8aWm3oYbE",
"profile_url": "//weibo.com/u/7575253202"
}
},
{
"created_at": "Thu Aug 20 17:33:47 +0800 2026",
"forward_id": 0,
"is_forward": false,
"mid": "5334043050639814",
"original_pic": "//wx3.sinaimg.cn/large/66d5446aly1igafhrz55zj20pg0fp172.jpg",
"sub_name": "温度新闻",
"sub_text": "#AI开始报警抓人了#【高盛前分析师向ChatG...",
"text": "#AI开始报警抓人了#【高盛前分析师向ChatGPT透露奸杀前女友计划,平台监测到后报警】美国一名25岁的男子因在上班期间向人工智能聊天工具ChatGPT详细透露强奸、杀害其前女友的计划,从而被开发商OpenAI检测到之后举报至联邦调查局(FBI)。\n\n人工智能公司往往会通过多标签有害内容分类模型,精准识别暴 ",
"url": "//wx3.sinaimg.cn/thumb180/66d5446aly1igafhrz55zj20pg0fp172.jpg",
"user": {
"name": "温度新闻",
"profile_image_url": "//tvax1.sinaimg.cn/crop.0.0.600.600.50/66d5446aly8hbcak0pkymj20go0go3zo.jpg?KID=imgbed,tva&Expires=1787229739&ssig=SQBH0f3ALP",
"profile_url": "//weibo.com/66wz"
}
},
{
"created_at": "Thu Aug 20 17:32:47 +0800 2026",
"forward_id": 0,
"is_forward": false,
"mid": "5334042794788345",
"original_pic": "//wx2.sinaimg.cn/large/7215528fly1igafgruld5j20u0140ta8.jpg",
"sub_name": "海文同学HW",
"sub_text": "#AI开始报警抓人了#AI开始报警抓人了\n世界上...",
"text": "#AI开始报警抓人了#AI开始报警抓人了\n世界上第一个因为AI报警被抓的人\n \n前高盛分析师Darren Zhou在ChatGPT聊天中写下针对前女友的详细犯罪计划,包括绑架、性侵、谋杀,甚至杀害其家人。对话触发安全机制后,OpenAI人工复核确认存在现实严重暴力风险,直接向FBI举报。\n \nFBI拿到聊天记录后转交当地警 ",
"url": "//wx2.sinaimg.cn/thumb180/7215528fly1igafgruld5j20u0140ta8.jpg",
"user": {
"name": "海文同学HW",
"profile_image_url": "//tvax2.sinaimg.cn/crop.0.0.1080.1080.50/7215528fly8ieiyttn9bxj20u00u0jrp.jpg?KID=imgbed,tva&Expires=1787229739&ssig=Zpgw%2FAzRNF",
"profile_url": "//weibo.com/u/1914000015"
}
},
"… 17 more items in the full response"
],
"risk_control": {
"aitabHidden": 0,
"cateList": [],
"navControl": [],
"overall": 0
},
"suda_pre": "seqid:178721893924702034107|type:0|t:0|pos:1-0|q:OpenAI|ext:",
"total_number": 0
}
}
]探索更多
| API | 价格 | 响应 |
|---|---|---|
Weibo Picture Search此 API Weibo | $0.001 每次调用 | JSON |
Weibo | $0.001 每次调用 | JSON |
Weibo | $0.001 每次调用 | JSON |
Weibo | $0.001 每次调用 | JSON |
Weibo | $0.001 每次调用 | JSON |
Weibo | $0.001 每次调用 | JSON |
问题
向 https://api.sandbase.ai/v1/api/weibo/web-v2/pic-search 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。
每次调用 $0.001,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。
必填:query (string)。 可选:page (integer)。 Parameters 表和本页的 Playground 列出了每个字段。
在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。
不需要。Weibo Picture Search 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 Weibo API 访问权限。