Weibo Advanced Search

API docs
https://api.sandbase.ai/v1/api/weibo/web-v2/advanced-search

Search Weibo posts by keyword with filters for time range, post type (hot, original, verified, media) and content type (images, video, links). Returns post text, author, time and engagement.

Price
$0.001USD / call
Method
POST
Response
JSON
Parameters
1 required · 4 optional
100 free calls / dayFirst 100 calls per day free (shared per organization) · Resets at 00:00 UTC. Pay per call after that.

Playground

Input
Search keyword (required)
Include type (all/pic/video/music/link)
Page number (default 1)
Search type (all/hot/original/verified/media/viewpoint)
Time scope (format: custom:start_date:end_date, e.g. custom:2025-09-01-0:2025-09-08-23)
OutputExample
Responseoutputs · 11.0 KB · 267 lines
[
  {
    "data": {
      "parsed_data": {
        "pagination": {},
        "parse_success": true,
        "result_count": 10,
        "results": [
          {
            "content": "【#华为高通#,#通信巨头高通向华为付专利费#】10月5日,华为与高通宣布达成一项长期、广泛的专利许可协议,该协议包含双方在 5G、计算、人工智能、网络等多个技术领域的专利组合交叉许可,同时高通将收购华为在计算、人工智能、网络及其他技术领域的部分美国专利。 (财联社)  ​展开c",
            "interaction": {
              "comment_count": 0,
              "like_count": 0,
              "repost_count": 0
            },
            "media": {
              "has_image": true,
              "has_video": false,
              "images": [
                "https://wx3.sinaimg.cn/large/006yllNVgy1ihrgzmuln8j30yc0nuh1c.jpg"
              ],
              "videos": []
            },
            "post_url": "//weibo.com/6004281123/Rlg8bD95R?refer_flag=1001030103_",
            "publish_time": "10月05日 14:39",
            "source": "微博网页版",
            "user_avatar": "https://tvax4.sinaimg.cn/crop.0.0.600.600.180/006yllNVly8h8wegdfz5fj30go0gojru.jpg?KID=imgbed,tva&Expires=1791345859&ssig=zMKwC0hr53",
            "user_name": "梨视频",
            "user_nick": "梨视频",
            "user_url": "//weibo.com/6004281123?refer_flag=1001030103_",
            "weibo_id": "5350668999329751",
            "weibo_type": "original"
          },
          {
            "content": "新闻一:深视新闻记者向华为证实,此次对高通的专利授权涵盖逻辑折叠芯片技术。新闻二:高通回应华为专利协议:授权逻辑折叠芯片技术的说法不属实。 ​",
            "interaction": {
              "comment_count": 0,
              "like_count": 0,
              "repost_count": 0
            },
            "media": {
              "has_image": true,
              "has_video": false,
              "images": [
                "https://wx4.sinaimg.cn/large/009TFq41ly1ihss1ppnm9j30xc1juk0h.jpg",
                "https://wx1.sinaimg.cn/large/009TFq41ly1ihss2z5uygj30xc11ednj.jpg"
              ],
              "videos": []
            },
            "post_url": "//weibo.com/9067765609/RlqOv3EdV?refer_flag=1001030103_",
            "publish_time": "10月06日 17:51",
            "source": "REDMI K100 Pro Max",
            "user_avatar": "https://tvax2.sinaimg.cn/crop.0.0.1080.1080.180/009TFq41ly8ihcvyl1vrvj30u00u0gnr.jpg?KID=imgbed,tva&Expires=1791345859&ssig=3G0vT%2FO%2FyB",
            "user_name": "陆诞同学",
            "user_nick": "陆诞同学",
            "user_url": "//weibo.com/9067765609?refer_flag=1001030103_",
            "weibo_id": "5351079630869607",
            "weibo_type": "original"
          },
          {
            "content": "#华为高通 芯片#2北京​",
            "interaction": {
              "comment_count": 0,
              "like_count": 0,
              "repost_count": 0
            },
            "media": {
              "has_image": true,
              "has_video": false,
              "images": [
                "https://wx2.sinaimg.cn/large/001UrXrhly1ihrrm0yjt9j60u01emqc802.jpg"
              ],
              "videos": []
            },
            "post_url": "//weibo.com/1750270991/RlixNhUka?refer_flag=1001030103_",
            "publish_time": "10月05日 20:47",
            "source": "Android",
            "user_avatar": "https://tvax2.sinaimg.cn/crop.0.0.1002.1002.180/6853040fly8gdim7s3zdjj20ru0rumys.jpg?KID=imgbed,tva&Expires=1791345859&ssig=9%2FBPC%2BkH40",
            "user_name": "陈震同学",
            "user_nick": "陈震同学",
            "user_url": "//weibo.com/1750270991?refer_flag=1001030103_",
            "weibo_id": "5350761754268090",
            "weibo_type": "original"
          },
          {
            "content": "[高通澄清:与华为专利交叉授权协议\"涉及逻辑折叠\"并不准确]高通发言人在声明中还提到,将该企业描述为许可协议净支付方的报道是不正确的。 ​",
            "interaction": {
              "comment_count": 0,
              "like_count": 0,
              "repost_count": 0
            },
            "media": {
              "has_image": true,
              "has_video": false,
              "images": [
                "https://wx4.sinaimg.cn/large/008DCooJgy1ihsew0qlmej30xh0u0782.jpg",
                "https://wx2.sinaimg.cn/large/008DCooJgy1ihsevzb2shj30go0a0abn.jpg"
              ],
              "videos": []
            },
            "post_url": "//weibo.com/7914490013/RlnOHdFwQ?refer_flag=1001030103_",
            "publish_time": "10月06日 10:13",
            "source": "Xiaomi 17 Pro Max",
            "user_avatar": "https://tvax4.sinaimg.cn/crop.0.0.1080.1080.180/008DCooJly8igjfpd4fwxj30u00u0tay.jpg?KID=imgbed,tva&Expires=1791345859&ssig=12UzdmLTbp",
            "user_name": "圈内人X_m",
            "user_nick": "圈内人X_m",
            "user_url": "//weibo.com/7914490013?refer_flag=1001030103_",
            "weibo_id": "5350964433257904",
            "weibo_type": "original"
          },
          {
            "content": "国内媒体互相打架,我是彻底凌乱了,大家看愿意相信谁吧第一财经日报:向高通方面证实,购买华为韬定律专利情况不属实深视新闻:记者向华为证实,高通购买了华为包括韬定律在内的技术另外补充一句,第一财经日报已经删除向高通方面证实购买韬定律不属实的报道#高通回应与华为达成专利许可协议#​",
            "interaction": {
              "comment_count": 0,
              "like_count": 0,
              "repost_count": 0
            },
            "media": {
              "has_image": true,
              "has_video": false,
              "images": [
                "https://wx1.sinaimg.cn/large/00633VSkly1ihswbmz8pxj30xc2owk7f.jpg",
                "https://wx3.sinaimg.cn/large/00633VSkly1ihswbmwwzxj30qo1ncag6.jpg"
              ],
              "videos": []
            },
            "post_url": "//weibo.com/5542063460/RlrLxoCtt?refer_flag=1001030103_",
            "publish_time": "10月06日 20:16",
            "user_avatar": "https://tvax3.sinaimg.cn/crop.0.0.1080.1080.180/00633VSkly8ifkg6uoqf3j30u00u0why.jpg?KID=imgbed,tva&Expires=1791345859&ssig=pwPPQpLQUq",
            "user_name": "老孙聊科技",
            "user_nick": "老孙聊科技",
            "user_url": "//weibo.com/5542063460?refer_flag=1001030103_",
            "weibo_id": "5351116235867771",
            "weibo_type": "original"
          },
          {
            "content": "刚刚,深视新闻修改新闻内容,删除相关表述你看,又急 ​",
            "interaction": {
              "comment_count": 0,
              "like_count": 0,
              "repost_count": 0
            },
            "media": {
              "has_image": true,
              "has_video": false,
              "images": [
                "https://wx4.sinaimg.cn/large/006LK4AWgy1iht0zh0e0zj30m10zdtm5.jpg",
                "https://wx2.sinaimg.cn/large/006LK4AWgy1iht0zhhfdcj30m0109duc.jpg"
              ],
              "videos": []
            },
            "post_url": "//weibo.com/6202265538/RlsP2ASBs?refer_flag=1001030103_",
            "publish_time": "10月06日 22:57",
            "source": "Xiaomi 18 Pro Max",
            "user_avatar": "https://tvax1.sinaimg.cn/crop.0.0.1002.1002.180/006LK4AWly8glvcjf8yk2j30ru0ru77m.jpg?KID=imgbed,tva&Expires=1791345859&ssig=fcbhLL8fOv",
            "user_name": "薛定谔的英短咕咕咕",
            "user_nick": "薛定谔的英短咕咕咕",
            "user_url": "//weibo.com/6202265538?refer_flag=1001030103_",
            "weibo_id": "5351156848789706",
            "weibo_type": "original"
          },
          {
            "content": "高通回应与华为达成专利许可协议:与华为专利交叉授权协议“涉及逻辑折叠”不属实、“高通为净支付方”不准确还是多看官方消息,少看小道消息​",
            "interaction": {
              "comment_count": 0,
              "like_count": 0,
              "repost_count": 0
            },
            "media": {
              "has_image": true,
              "has_video": false,
              "images": [
                "https://wx3.sinaimg.cn/large/6f44fda3gy1ihsm5jk4p1j20xi27ztoi.jpg"
              ],
              "videos": []
            },
            "post_url": "//weibo.com/1866792355/RlpsIEvld?refer_flag=1001030103_",
            "publish_time": "10月06日 14:24",
            "user_avatar": "https://tva3.sinaimg.cn/crop.0.0.1080.1080.180/6f44fda3jw8ecsf5n8w2mj20u00u03zd.jpg?KID=imgbed,tva&Expires=1791345859&ssig=10hfREmA3P",
            "user_name": "科技喵",
            "user_nick": "科技喵",
            "user_url": "//weibo.com/1866792355?refer_flag=1001030103_",
            "weibo_id": "5351027689653599",
            "weibo_type": "original"
          },
          {
            "content": "IT之家报道:高通澄清:与华为专利交叉授权协议“涉及逻辑折叠”并不准确 ​",
            "interaction": {
              "comment_count": 0,
              "like_count": 0,
              "repost_count": 0
            },
            "media": {
              "has_image": true,
              "has_video": false,
              "images": [
                "https://wx4.sinaimg.cn/large/c1c6059cgy1ihsh7yg8nmj20tw0v3dk3.jpg"
              ],
              "videos": []
            },
            "post_url": "//weibo.com/3250980252/RloltsmJ8?refer_flag=1001030103_",
            "publish_time": "10月06日 11:34",
            "user_avatar": "https://tvax1.sinaimg.cn/crop.0.0.1080.1080.180/c1c6059cly8hsctq8znynj20u00u0gnz.jpg?KID=imgbed,tva&Expires=1791345859&ssig=Y7xUF%2BbCL3",
            "user_name": "叽歪数码",
            "user_nick": "叽歪数码",
            "user_url": "//weibo.com/3250980252?refer_flag=1001030103_",
            "weibo_id": "5350984756760550",
            "weibo_type": "original"
          },
          {
            "content": "昨天华为和高通达成专利许可协议的新闻出来以后,有挺多解读的,其中就包括引用彭博社的内容,说是“高通获得华为逻辑折叠芯片技术的专利授权”,还搞了个话题。但我看双方的新闻稿都没有关于这部分的描述,于是找高通确认了一下,以下是高通的澄清内容:高通与华为达成了一项多年期、广泛的专利许可 ​展开c",
            "interaction": {
              "comment_count": 0,
              "like_count": 0,
              "repost_count": 0
            },
            "media": {
              "has_image": true,
              "has_video": false,
              "images": [
                "https://wx1.sinaimg.cn/large/69ffdc0dgy1ihsmq53l6uj20ui0ue47t.jpg"
              ],
              "videos": []
            },
            "post_url": "//weibo.com/1778375693/RlpAW6s9g?refer_flag=1001030103_",
            "publish_time": "10月06日 14:44",
            "source": "微博网页版",
            "user_avatar": "https://tvax4.sinaimg.cn/crop.0.0.1006.1006.180/69ffdc0dly8gf03gx8otoj20ry0rymzh.jpg?KID=imgbed,tva&Expires=1791345859&ssig=GpkVaxDK%2FW",
            "user_name": "肥威",
            "user_nick": "肥威",
            "user_url": "//weibo.com/1778375693?refer_flag=1001030103_",
            "weibo_id": "5351032781538174",
            "weibo_type": "original"
          },
          {
            "content": "#华为高通 芯片#真好。据说华为到账几百亿​",
            "interaction": {
              "comment_count": 0,
              "like_count": 0,
              "repost_count": 0
            },
            "media": {
              "has_image": true,
              "has_video": false,
              "images": [
                "https://wx4.sinaimg.cn/large/e2f99469gy1ihro5znqmlj20vo1ba7wh.jpg"
              ],
              "videos": []
            },
            "post_url": "//weibo.com/3808007273/RlhLprHtb?refer_flag=1001030103_",
            "publish_time": "10月05日 18:48",
            "user_avatar": "https://tvax4.sinaimg.cn/crop.0.0.1080.1080.180/e2f99469ly8if86cf5gcqj20u00u0ac7.jpg?KID=imgbed,tva&Expires=1791345859&ssig=HfNqjpiRFe",
            "user_name": "搞机圈的那些事",
            "user_nick": "搞机圈的那些事",
            "user_url": "//weibo.com/3808007273?refer_flag=1001030103_",
            "weibo_id": "5350731756601957",
            "weibo_type": "original"
          }
        ],
        "search_stats": {
          "filter_type": "热门",
          "search_stats": "热门2026-09-30 00时~2026-10-07 09时"
        }
      }
    }
  }
]

Examples

Select an example to load its inputs and result into the playground.

API README

Weibo Advanced Search API

Returns Weibo posts that match a keyword. Each result has the post text, author, publish time, post link, media and interaction counts. The only required input is the search keyword q. You can narrow results with time range, post type and content type filters.

Use cases

  • Track mentions of a brand or product such as OpenAI on Weibo.
  • Collect posts about an event inside a custom date range.
  • Pull only original or verified-account posts on a topic.
  • Gather image or video posts about a keyword and read their media URLs.

Request

curl -X POST "https://api.sandbase.ai/v1/api/weibo/web-v2/advanced-search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"q": "OpenAI"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
qstringYesSearch keyword (required)
include_typestringNoInclude type (all/pic/video/music/link)
pageintegerNoPage number (default 1)
search_typestringNoSearch type (all/hot/original/verified/media/viewpoint)
timescopestringNoTime scope (format: custom:start_date:end_date, e.g. custom:2025-09-01-0:2025-09-08-23)

Example response

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": 21,
    "results": [
      {
        "content": "nice,dsh可以接openai ​​​​",
        "interaction": {
          "comment_count": 0,
          "like_count": 0,
          "repost_count": 0
        },
        "media": {
          "has_image": true,
          "has_video": false,
          "images": [
            "https://wx4.sinaimg.cn/large/005BSIfegy1iiox5o7o5dj313g0g478w.jpg"
          ],
          "videos": []
        },
        "post_url": "//weibo.com/5140428384/RpERF7Wch?refer_flag=1001030103_",
        "publish_time": "今天12:58",
        "source": "微博网页版",
        "user_avatar": "https://tvax1.sinaimg.cn/crop.0.0.828.828.180/005BSIfely8gsohng3cyuj30n00n0wfd.j…",
        "user_name": "北漂民工的日常",
        "user_nick": "北漂民工的日常",
        "user_url": "//weibo.com/5140428384?refer_flag=1001030103_",
        "weibo_id": "5361152871892009",
        "weibo_type": "original"
      }
    ],
    "search_stats": {}
  }
}

Response fields

FieldMeaning
parsed_data.results[].contentText of the post.
parsed_data.results[].weibo_idID of the post. Use it to look up the post in other Weibo APIs.
parsed_data.results[].publish_timePublish time as shown on Weibo, such as 今天12:58 or 10月31日 16:45. It is a display string, not a full timestamp.
parsed_data.results[].user_name / user_nickDisplay name of the author.
parsed_data.results[].user_url / post_urlLinks to the author profile and to the post. Both start with //weibo.com/.
parsed_data.results[].interaction.comment_count / like_count / repost_countNumber of comments, likes and reposts on the post.
parsed_data.results[].media.has_image / has_videoFlags that show whether the post carries images or videos.
parsed_data.results[].media.images[] / media.videos[].srcImage URLs and video file URLs. Each video also lists alternate quality links in streams.
parsed_data.results[].weibo_typeType label of the post, such as original.
parsed_data.result_countNumber of posts in this response.

Notes

  • Set page to get further result pages. The default is 1.
  • Write timescope as custom:YYYY-MM-DD-H:YYYY-MM-DD-H, for example custom:2025-09-01-0:2025-09-08-23.
  • search_type accepts all, hot, original, verified, media or viewpoint. include_type accepts all, pic, video, music or link.
  • Pass a weibo_id to Weibo Post Detail for the full post data.

Pricing

$0.001 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Explore more

Related APIs

All APIs
APIPriceResponse
Weibo$0.001 per callJSON
Weibo$0.001 per callJSON
Weibo$0.001 per callJSON
Weibo$0.001 per callJSON
Weibo$0.001 per callJSON
Weibo$0.001 per callJSON

Questions

FAQ

How do I use the Weibo Advanced Search API?

Send a POST request to https://api.sandbase.ai/v1/api/weibo/web-v2/advanced-search with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Weibo Advanced Search API cost?

$0.001 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the Weibo Advanced Search API accept?

Required: q (string). Optional: include_type (any), page (integer), search_type (any) and timescope (any). The Parameters table and the Playground on this page list every field.

What does the Weibo Advanced Search API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

Do I need a Weibo developer account or API key?

No. Weibo Advanced Search runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Weibo API access separately.