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 |
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/weibo/web-v2/pic-search。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.001,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
必要:query (string)。 選填:page (integer)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。Weibo Picture Search 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Weibo API 存取權。