Weibo Keyword Search
https://api.sandbase.ai/v1/api/weibo/search-allSearch 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
Try the model
Playground
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
- 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
| Name | Type | Required | Description |
|---|---|---|---|
q | string | Yes | Search Keywords. |
startDay | string | Yes | Start Day (yyyy-MM-dd). |
startHour | integer | Yes | Start Hour (0-23). |
endDay | string | Yes | End Day (yyyy-MM-dd). |
endHour | integer | Yes | End Hour (0-23). |
hotSort | boolean | No | Hot sort, true for hot sort, false for time sort. Default is false. |
contains | string | No | Contains filter for the result set. |
page | integer | No | Page 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.
# 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
| API | Price | Response | Released |
|---|---|---|---|
Weibo Keyword SearchThis API Weibo | $0.02 per call | JSON | Oct 29, 2026 |
Weibo | $0.0015 per call | JSON | Jul 31, 2026 |
Weibo | $0.0015 per call | JSON | Jul 31, 2026 |
Weibo | $0.0015 per call | JSON | Jul 31, 2026 |
Weibo | $0.0015 per call | JSON | Jul 31, 2026 |
Weibo | $0.0015 per call | JSON | Jul 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.
