# China Social Media Search API

> Search recent posts and articles across Chinese news sites, Weibo, WeChat, Zhihu, Douyin, Xiaohongshu, Bilibili and Kuaishou by keyword, with source and time-range filters. Results come from a cached index, so rare keywords can return few items.

Source: https://www.sandbase.ai/apis/cn-social/search
API reference: https://www.sandbase.ai/apis/cn-social/search/docs

## Facts

- Provider: China Social Media
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/cn-social/search`
- Price: $0.03 per call
- Capabilities: api, cn social, social media
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

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

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `keyword` | string | no |  |
| `source` | string | no | ALL, NEWS, WEIBO, WEIXIN, ZHIHU, DOUYIN, XIAOHONGSHU, BILIBILI, KUAISHOU |
| `start` | string | no |  |
| `end` | string | no |  |
| `nextCursor` | string | no |  |

## FAQ

### How do I use the China Social Media Search API?

Send a POST request to https://api.sandbase.ai/v1/api/cn-social/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 China Social Media Search API cost?

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

### What parameters does the China Social Media Search API accept?

No parameters are required. Optional: keyword (string), source (one of ALL, NEWS, WEIBO, WEIXIN, ZHIHU, DOUYIN, XIAOHONGSHU, BILIBILI, KUAISHOU), start (string), end (string) and nextCursor (string). The Parameters table and the Playground on this page list every field.

### What does the China Social Media Search API return?

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

### Do I need a China Social Media developer account or API key?

No. China Social Media 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 China Social Media API access separately.

## README

### China Social Media Search API

Search recent posts and articles across Chinese news sites, Weibo, WeChat, Zhihu, Douyin, Xiaohongshu, Bilibili and Kuaishou by keyword, with source and time-range filters. Results come from a cached index, so rare keywords can return few items.

The result is returned in `outputs[0].data` in the platform's original structure.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/cn-social/search" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "人工智能", "source": "ALL", "start": "2026-10-19 00:00:00", "end": "2026-11-02 00:00:00"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `keyword` | string | No | Search query string. Supports these five syntax forms: - AND (&&): A && B matches content containing both A and B. - OR (||): A || B matches content containing A or B. - Exclusion (-): -A matches content that does not contain A. - Parentheses (): (A && B) || C matches content containing C, or both A and B. - English double quotes (""): "A" disables tokenization and requires an exact match for A. |
| `source` | string | No | Target social media platform for search filtering. |
| `start` | string | No | Start time of the search period (yyyy-MM-dd HH:mm:ss). Required for initial request. |
| `end` | string | No | End time of the search period (yyyy-MM-dd HH:mm:ss). Required for initial request. |
| `nextCursor` | string | No | Pagination cursor provided by the 'nextCursor' field in the previous response. |

#### Pricing

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