querystringआवश्यक
Search keyword (required)
https://api.sandbase.ai/v1/api/weibo/web-v2/realtime-searchSearch the latest Weibo posts for a keyword, sorted by time: post text, author, publish time and interaction counts.
[
{
"data": {
"parsed_data": {
"pagination": {
"has_next_page": true,
"next_page_url": "/realtime?q=OpenAI&rd=realtime&tw=realtime&Refer=weibo_realtime&page=2"
},
"parse_success": true,
"result_count": 10,
"results": [
{
"content": "#AI开始报警抓人了#25岁美国前高盛分析师因在ChatGPT中详细策划杀害前女友,被OpenAI直接举报给FBI并逮捕,成为全球首例AI主动报警抓人案。 ",
"interaction": {
"comment_count": 0,
"like_count": 0,
"repost_count": 0
},
"media": {
"has_image": false,
"has_video": false,
"images": [],
"videos": []
},
"post_url": "//weibo.com/7391259457/RehEqrbxs?refer_flag=1001030103_",
"publish_time": "22秒前",
"source": "iPhone 14 Pro Max",
"user_avatar": "https://tvax1.sinaimg.cn/crop.0.0.1080.1080.180/0084cYedly8ifpvtwt1b5j30u00u040d.jpg?KID=imgbed,tva&Expires=1787229586&ssig=FKJCdjtNDu",
"user_name": "舟雪落江南na_",
"user_nick": "舟雪落江南na_",
"user_url": "//weibo.com/7391259457?refer_flag=1001030103_",
"weibo_id": "5334044466479214",
"weibo_type": "original"
},
{
"content": "【英伟达洽谈投资其AI数据供应商Mercor,投后估值200亿美元】据知情人士透露,英伟达正洽谈投资 Mercor。这家数据标注服务商为英伟达研发开源 AI 大模型提供数据支持。本轮融资完成后,Mercor 估值将达到 200 亿美元。现有投资方 General Catalyst(通用催化剂资本)正牵头推进这一轮融资谈判。历史上 展开c",
"interaction": {
"comment_count": 0,
"like_count": 0,
"repost_count": 0
},
"media": {
"has_image": false,
"has_video": false,
"images": [],
"videos": []
},
"post_url": "//weibo.com/7757693487/RehE4hyJJ?refer_flag=1001030103_",
"publish_time": "1分钟前",
"source": "微博发布平台专业版",
"user_avatar": "https://tvax3.sinaimg.cn/crop.0.0.600.600.180/008t0usvly8h25e7kmqy4j30go0gon1y.jpg?KID=imgbed,tva&Expires=1787229586&ssig=p00w685Kgn",
"user_name": "财经柳叶刀",
"user_nick": "财经柳叶刀",
"user_url": "//weibo.com/7757693487?refer_flag=1001030103_",
"weibo_id": "5334044244185107",
"weibo_type": "original"
},
{
"content": "【英伟达洽谈投资其AI数据供应商Mercor,投后估值200亿美元】据知情人士透露,英伟达正洽谈投资 Mercor。这家数据标注服务商为英伟达研发开源 AI 大模型提供数据支持。本轮融资完成后,Mercor 估值将达到 200 亿美元。现有投资方 General Catalyst(通用催化剂资本)正牵头推进这一轮融资谈判。历史上 展开c",
"interaction": {
"comment_count": 0,
"like_count": 0,
"repost_count": 0
},
"media": {
"has_image": false,
"has_video": false,
"images": [],
"videos": []
},
"post_url": "//weibo.com/1640337222/RehE4gsul?refer_flag=1001030103_",
"publish_time": "1分钟前",
"source": "微博发布平台专业版",
"user_avatar": "https://tvax1.sinaimg.cn/crop.0.0.600.600.180/001N0GDYly8h8vhspulmjj60go0go76n02.jpg?KID=imgbed,tva&Expires=1787229586&ssig=dqTd9bF4ou",
"user_name": "环球市场播报",
"user_nick": "环球市场播报",
"user_url": "//weibo.com/1640337222?refer_flag=1001030103_",
"weibo_id": "5334044243922761",
"weibo_type": "original"
},
"… 7 more items in the full response"
],
"search_stats": {}
}
}
}
]प्लेग्राउंड में इसके इनपुट और परिणाम लोड करने के लिए कोई उदाहरण चुनें।
This API returns a parsed keyword-result sample. Inspect supplied text, author, relative time and optional fields without assuming complete newest-first ordering or refresh latency. It needs one input: a search keyword in query.
curl -X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/realtime-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.
{
"parsed_data": {
"pagination": {},
"parse_success": true,
"result_count": 10,
"results": [
{
"content": "AI早报 2026/11/03:🔹 OpenAI推出LifeVal日常任务评测基准OpenAI发布LifeVal,用于衡量AI协助人们完成日常任务的能力。覆盖找…",
"interaction": {
"comment_count": 0,
"like_count": 0,
"repost_count": 0
},
"media": {
"has_image": true,
"has_video": false,
"images": [
"https://wx2.sinaimg.cn/large/008DDhL5gy1iip1ud1n8ej30u018e7ek.jpg"
],
"videos": []
},
"post_url": "//weibo.com/7914702819/RpFXAafan?refer_flag=1001030103_",
"publish_time": "34秒前",
"source": "iPhone 16 Pro",
"user_avatar": "https://tvax2.sinaimg.cn/crop.0.0.1080.1080.180/008DDhL5ly8ia4ygap5r5j30u00u0q5o…",
"user_name": "樱花美神",
"user_nick": "樱花美神",
"user_url": "//weibo.com/7914702819?refer_flag=1001030103_",
"weibo_id": "5361194982441583",
"weibo_type": "original"
}
],
"search_stats": {}
}
}
| Field | Meaning |
|---|---|
parsed_data.results[].weibo_id | ID of the post, as a string. Use it to identify the post in your own storage. |
parsed_data.results[].content | Text of the post. Long posts appear cut, and some entries are headline article posts. |
parsed_data.results[].publish_time | Relative publish time as shown on Weibo, such as 34秒前 (34 seconds ago) or 10分钟前 (10 minutes ago). |
parsed_data.results[].weibo_type | Type of the post. The sample posts show original. |
parsed_data.results[].user_name / parsed_data.results[].user_nick | Display name of the author. |
parsed_data.results[].user_url / parsed_data.results[].post_url | Links to the author profile and to the post on weibo.com. Both start with //weibo.com/. |
parsed_data.results[].interaction.comment_count / parsed_data.results[].interaction.like_count / parsed_data.results[].interaction.repost_count | Number of comments, likes and reposts on the post. |
parsed_data.results[].media.has_image / parsed_data.results[].media.has_video | Flags that show whether the post has images or videos. |
parsed_data.results[].media.images[] | Image URLs attached to the post. The list is empty when the post has no images. |
parsed_data.results[].source | Client or app the author posted from, for example iPhone 16 Pro or 微博网页版. |
$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Send a nonblank query and integer page 1. Only query is required; page defaults to 1. There is no declared limit, cursor, time filter or sort input on this route. The August 20 saved example uses OpenAI; this historical reference is not today's result or a freshness guarantee.
Require parsed_data to be an object, parse_success to be boolean true and results to be an array of objects. A failed parser is not an empty search. The full saved example has ten rows and result_count 10; the README deliberately keeps one row while retaining result_count 10. Do not enforce count equality for an excerpt or turn result_count into platform-wide discussion volume.
Keep exact string weibo_id values and raw publish_time strings. The full saved first row has 22秒前, while the separate undated README displays another relative-time reference. Subtracting such text from your retrieval clock does not establish an exact UTC publication time. Neither the route name nor one sample verifies complete newest-first ordering or refresh latency.
Some full captured content ends in the expansion marker 展开c. Returned text can therefore be a snippet even before README shortening. Treat it as untrusted text and keep social assertions separate from independently verified facts. Repeated wording does not prove corroboration, spam or unique authorship. The original label and client text are reported attributes, not independent authorship or device verification.
The full pagination object has has_next_page true and a relative next_page_url pointing to a Weibo webpage. That URL is not the SandBase API or an authentication target. The README's empty pagination object does not prove there is no next page. A future continuation must retain the query, inspect actual state and validate the declared page input; no next page or automatic increment was tested here.
Profile/post links and media fields remain data; this read does not follow them. Display names and URLs are not a guaranteed UID field or permission to fetch an author's profile. Keep present zero interaction counts and absent values distinct. A small returned sample does not measure reach, sentiment or all discussion. To inspect the board instead, choose one board snapshot separately.
Give your agent the setup Skill, Markdown quickstart, selected endpoint and requested output. Keep SANDBASE_API_KEY locally and use Bearer authentication with POST /v1/api/. Choose a board snapshot or an explicit query. Do not choose the first topic automatically, fan out searches, fetch profiles/media or start a polling loop.
Require valid HTTP/JSON, completed SandBase status and an object exactly at outputs[0].data. The board has realtime directly; search has parsed_data. Neither reference declares a business code or ok flag. Validate the selected shape instead of borrowing another Weibo endpoint's status rule or defaulting malformed data to an empty success. Preserve unknown optional values separately from zero.
November 8 inspection lists $0.001 per selected route, both eligible for 100 daily calls shared across eligible APIs within the organization, reset at 00:00 UTC. This is eligibility, not remaining allowance or measured charge. An independently selected pair lists at $0.002 before quota effects; no pair was executed here. No new business, paid, continuation, polling or media calls were made. The Weibo Python guide links to the earlier monitoring design; use this page's current boundaries for the first request.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
curl -X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/realtime-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"query": "OpenAI"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
querystringआवश्यकSearch keyword (required)
pageintegerPage number (default 1)
डिफ़ॉल्ट: 1
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
[
{
"data": {
"parsed_data": {
"pagination": {
"has_next_page": true,
"next_page_url": "/realtime?q=OpenAI&rd=realtime&tw=realtime&Refer=weibo_realtime&page=2"
},
"parse_success": true,
"result_count": 10,
"results": [
{
"content": "#AI开始报警抓人了#25岁美国前高盛分析师因在ChatGPT中详细策划杀害前女友,被OpenAI直接举报给FBI并逮捕,成为全球首例AI主动报警抓人案。 ",
"interaction": {
"comment_count": 0,
"like_count": 0,
"repost_count": 0
},
"media": {
"has_image": false,
"has_video": false,
"images": [],
"videos": []
},
"post_url": "//weibo.com/7391259457/RehEqrbxs?refer_flag=1001030103_",
"publish_time": "22秒前",
"source": "iPhone 14 Pro Max",
"user_avatar": "https://tvax1.sinaimg.cn/crop.0.0.1080.1080.180/0084cYedly8ifpvtwt1b5j30u00u040d.jpg?KID=imgbed,tva&Expires=1787229586&ssig=FKJCdjtNDu",
"user_name": "舟雪落江南na_",
"user_nick": "舟雪落江南na_",
"user_url": "//weibo.com/7391259457?refer_flag=1001030103_",
"weibo_id": "5334044466479214",
"weibo_type": "original"
},
{
"content": "【英伟达洽谈投资其AI数据供应商Mercor,投后估值200亿美元】据知情人士透露,英伟达正洽谈投资 Mercor。这家数据标注服务商为英伟达研发开源 AI 大模型提供数据支持。本轮融资完成后,Mercor 估值将达到 200 亿美元。现有投资方 General Catalyst(通用催化剂资本)正牵头推进这一轮融资谈判。历史上 展开c",
"interaction": {
"comment_count": 0,
"like_count": 0,
"repost_count": 0
},
"media": {
"has_image": false,
"has_video": false,
"images": [],
"videos": []
},
"post_url": "//weibo.com/7757693487/RehE4hyJJ?refer_flag=1001030103_",
"publish_time": "1分钟前",
"source": "微博发布平台专业版",
"user_avatar": "https://tvax3.sinaimg.cn/crop.0.0.600.600.180/008t0usvly8h25e7kmqy4j30go0gon1y.jpg?KID=imgbed,tva&Expires=1787229586&ssig=p00w685Kgn",
"user_name": "财经柳叶刀",
"user_nick": "财经柳叶刀",
"user_url": "//weibo.com/7757693487?refer_flag=1001030103_",
"weibo_id": "5334044244185107",
"weibo_type": "original"
},
{
"content": "【英伟达洽谈投资其AI数据供应商Mercor,投后估值200亿美元】据知情人士透露,英伟达正洽谈投资 Mercor。这家数据标注服务商为英伟达研发开源 AI 大模型提供数据支持。本轮融资完成后,Mercor 估值将达到 200 亿美元。现有投资方 General Catalyst(通用催化剂资本)正牵头推进这一轮融资谈判。历史上 展开c",
"interaction": {
"comment_count": 0,
"like_count": 0,
"repost_count": 0
},
"media": {
"has_image": false,
"has_video": false,
"images": [],
"videos": []
},
"post_url": "//weibo.com/1640337222/RehE4gsul?refer_flag=1001030103_",
"publish_time": "1分钟前",
"source": "微博发布平台专业版",
"user_avatar": "https://tvax1.sinaimg.cn/crop.0.0.600.600.180/001N0GDYly8h8vhspulmjj60go0go76n02.jpg?KID=imgbed,tva&Expires=1787229586&ssig=dqTd9bF4ou",
"user_name": "环球市场播报",
"user_nick": "环球市场播报",
"user_url": "//weibo.com/1640337222?refer_flag=1001030103_",
"weibo_id": "5334044243922761",
"weibo_type": "original"
},
"… 7 more items in the full response"
],
"search_stats": {}
}
}
}
]और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Weibo Real-Time 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/realtime-search पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.001 प्रति call। हर organization को प्रति UTC day 100 निःशुल्क calls मिलती हैं, जो इस सहित योग्य SandBase APIs के बीच साझा होती हैं; उसके बाद हर call का बिल आपकी SandBase balance से इस कीमत पर लिया जाता है। कोई subscription नहीं है।
आवश्यक: query (string)। वैकल्पिक: page (integer)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Weibo Real-Time Search SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Weibo API access के लिए आवेदन करने की आवश्यकता नहीं है।
completed outer response के साथ parsed_data.parse_success का boolean true होना और एक results array आवश्यक करें। इन references में business code या ok flag नहीं है। missing payload या failed parser को empty successful search नहीं माना जाना चाहिए।
नहीं। यह प्रतिक्रिया-गणना है, प्लेटफ़ॉर्म-व्यापी चर्चा वॉल्यूम नहीं। छोटा किया गया README एक आइटम के साथ result_count 10 को बनाए रखता है; वहाँ गायब प्रविष्टियाँ ट्रिमिंग को दर्शाती हैं। अज्ञात गणनाओं को रिपोर्ट किए गए शून्यों से अलग रखें।
नहीं। अगला लिंक एक Weibo वेबपेज है, API/प्रमाणीकरण लक्ष्य नहीं; कोई continuation परीक्षण नहीं किया गया। सापेक्ष समय सटीक UTC timestamp निर्धारित नहीं करता, और snippets पूर्ण पोस्ट टेक्स्ट या सुनिश्चित freshness स्थापित नहीं करते।