Weibo Keyword Search

https://api.sandbase.ai/v1/api/weibo/search-all

Search Weibo posts by keyword within a required day-and-hour time range, with page-based pagination, hot or time sorting, and filters for pictures, video, music, or links.

Price
$0.02USD / call
Method
POST
Response
JSON
Parameters
5 required · 3 optional
Production route

Try the model

Playground

Open playground
Input
Search Keywords.
Start Day (yyyy-MM-dd).
Start Hour (0-23).
End Day (yyyy-MM-dd).
End Hour (0-23).
Hot sort, true for hot sort, false for time sort. Default is false.
Contains filter for the result set. Allowed values: ALL, PICTURE, VIDEO, MUSIC, LINK.
Page number, starting with 1.
OutputReady

Your output will appear here

Complete the inputs, then click Run.

Model card

Specifications

Pricing

Base price
$0.02 / run

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

q
string · required
startDay
string · required
startHour
integer · required
endDay
string · required
endHour
integer · required
hotSort
boolean · optional
contains
string (ALL, PICTURE, VIDEO, MUSIC, LINK) · optional
page
integer · optional

Access

Provider
Weibo
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/weibo/search-all
Authentication
Bearer API key

API README

Weibo Keyword Search API

Search Weibo posts by keyword within a required day-and-hour time range, with page-based pagination, hot or time sorting, and filters for pictures, video, music, or links.

The response is the platform's original data structure.

Request

curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "weibo/search-all", "q": "新闻", "startDay": "2026-10-22", "startHour": "0", "endDay": "2026-10-29", "endHour": "23"}'

Parameters

NameTypeRequiredDescription
qstringYesSearch Keywords.
startDaystringYesStart Day (yyyy-MM-dd).
startHourintegerYesStart Hour (0-23).
endDaystringYesEnd Day (yyyy-MM-dd).
endHourintegerYesEnd Hour (0-23).
hotSortbooleanNoHot sort, true for hot sort, false for time sort. Default is false.
containsstringNoContains filter for the result set.
pageintegerNoPage number, starting with 1.

Pricing

Flat price per call. Failed calls and empty results are not charged.

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/weibo/search-all
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/weibo/search-all" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "q": "新闻",
  "page": 1,
  "endDay": "2026-10-29",
  "endHour": 23,
  "hotSort": false,
  "contains": "ALL",
  "startDay": "2026-10-22",
  "startHour": 0
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
Weibo$0.02 per callJSONOct 29, 2026
Weibo$0.0015 per callJSONJul 31, 2026
Weibo$0.0015 per callJSONJul 31, 2026
Weibo$0.0015 per callJSONJul 31, 2026
Weibo$0.0015 per callJSONJul 31, 2026
Weibo$0.0015 per callJSONJul 31, 2026

Questions

FAQ

How do I use the Weibo Keyword Search API?

Send a POST request to https://api.sandbase.ai/v1/api/weibo/search-all 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 Keyword Search API cost?

$0.02 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

What parameters does the Weibo Keyword Search API accept?

Required: q (string), startDay (string), startHour (integer), endDay (string) and endHour (integer). Optional: hotSort (boolean), contains (one of ALL, PICTURE, VIDEO, MUSIC, LINK) and page (integer). The Parameters table and the Playground on this page list every field.

What does the Weibo Keyword Search API return?

A JSON response returned in the same HTTP request (synchronous).

Do I need a Weibo developer account or API key?

No. Weibo Keyword 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.