# Weibo Video Search API

> Searches Weibo video posts by keyword with sorting options for popular or all results, returning matching posts, user details, and engagement counts.

Source: https://www.sandbase.ai/apis/weibo/web-v2/video-search
API reference: https://www.sandbase.ai/apis/weibo/web-v2/video-search/docs

## Facts

- Provider: Weibo
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/weibo/web-v2/video-search`
- Price: $0.0015 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: api, weibo
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/weibo/web-v2/video-search` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | yes |  |
| `mode` | string | no |  |
| `page` | integer | no |  |

## FAQ

### How do I use the Weibo Video Search API?

Send a POST request to https://api.sandbase.ai/v1/api/weibo/web-v2/video-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 Video Search API cost?

$0.0015 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 Video Search API accept?

Required: query (string). Optional: mode (string) and page (integer). The Parameters table and the Playground on this page list every field.

### What does the Weibo Video 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 Video 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.

## README

### Weibo Video Search API

Look up video content on Weibo matching a search `query`. Supports filtering by `mode` for either popular or all videos, with pagination via `page`.

#### Use cases

- Track video posts related to specific brand or topic keywords.
- Discover popular video content on Weibo across different categories.
- Analyze engagement metrics for video posts matching targeted search queries.

#### Request

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

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `query` | string | Yes | Search keyword (required) |
| `mode` | string | No | Search mode hot=popular / all=all (default hot) |
| `page` | integer | No | Page number (default 1) |

#### Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

```json
{
  "parsed_data": {
    "results": [
      {
        "content": "徐振轩超话对了那天说的臭豆腐火锅还可，油呛牛肉好吃！！#振在输入中…##十一休time#​",
        "post_url": "//weibo.com/5676102465/RlrmVtkxi?refer_flag=1001030103_",
        "publish_time": "今天19:15",
        "user_name": "<user>",
        "user_url": "<user>",
        "weibo_id": "5351100976990456",
        "weibo_type": "original",
        "interaction": {
          "comment_count": 0,
          "like_count": 0,
          "repost_count": 0
        }
      }
    ]
  }
}
```

#### Notes

- Set `mode` to `hot` for popular results or `all` to return all videos (defaults to `hot`).
- Use `page` to paginate through search results (defaults to 1).

#### Related APIs

- [Weibo Advanced Search](/model/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).
- [Weibo AI Related Search Content](/model/weibo/web-v2/ai-related-search): Returns AI-generated content extensions for a keyword, including related questions, recommended bloggers, and reference posts.
- [Weibo AI Search](/model/weibo/web-v2/ai-search): Returns multimodal search results and relevance scores from Weibo intelligent search for a specified keyword or topic query.
