# WeChat Search for Channels Videos API

> Search WeChat Channels videos by keyword with duration, sort (relevance, newest, most liked) and publish-time filters. Returns titles, creators, duration, likes and publish time.

Source: https://www.sandbase.ai/model/wechat-search/v2/search-videos
API reference: https://www.sandbase.ai/model/wechat-search/v2/search-videos/docs

## Facts

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

## Call it

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

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `keyword` | string | yes |  |
| `cursor` | any | no |  |
| `duration` | any | no |  |
| `offset` | integer | no |  |
| `publish_time` | any | no |  |
| `raw` | boolean | no |  |
| `sort` | any | no |  |

## FAQ

### How do I use the WeChat Search for Channels Videos API?

Send a POST request to https://api.sandbase.ai/v1/api/wechat-search/v2/search-videos 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 WeChat Search for Channels Videos API cost?

$0.01 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 WeChat Search for Channels Videos API accept?

Required: keyword (string). Optional: cursor (any), duration (any), offset (integer), publish_time (any), raw (boolean) and sort (any). The Parameters table and the Playground on this page list every field.

### What does the WeChat Search for Channels Videos 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 WeChat Search developer account or API key?

No. WeChat Search for Channels Videos 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 WeChat Search API access separately.

## README

### WeChat Channels Video Search API

Search the WeChat Channels video vertical for a keyword. Filter by video length and publish time, sort by relevance, newest or most liked, and paginate with a cursor.

#### Use cases

- Find Channels videos about a brand or topic.
- Discover active Channels creators in a niche.
- Track new short-video coverage with `sort=latest`.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/wechat-search/v2/search-videos" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "OpenAI", "raw": false}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `keyword` | string | Yes | Search keyword (1-100 chars) |
| `raw` | boolean | No | Optional, default True. |
| `sort` | string | No | Optional, default `default`. |
| `cursor` | string | No | Optional. |
| `offset` | integer | No | Optional, default 0 (>=0). |
| `duration` | string | No | Optional, default `all`. |
| `publish_time` | string | No | Optional, default `all`. |

#### Example response

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

```json
{
  "count": 10,
  "cursor": "<next page cursor>",
  "items": [
    {
      "title": "... #人工智能  #AI安全  #OpenAI  #企业AI",
      "duration": "01:23",
      "likeNum": "2",
      "pubTime": 1791270001,
      "source": {
        "title": "<user>"
      }
    }
  ]
}
```

#### Notes

- `duration`: all, short (<5 min), medium (5–10 min) or long.
- Paginate with the `cursor` from the previous response.

#### Related APIs

- [WeChat Search](/model/wechat-search/v2/search): Search WeChat with one endpoint: official account articles, accounts, Channels videos, live streams, news and more.
