China Social Media Search API
Returns a list of recent posts and articles that match a keyword across Chinese news sites and social platforms such as Weibo, WeChat, Zhihu, Douyin, Xiaohongshu, Bilibili and Kuaishou. It needs a keyword and a time range set by start and end. You can limit results to one platform with source.
Use cases
- Track how often a topic such as 人工智能 appears in Chinese news and social posts over a two-week window.
- Collect WeChat official account articles that mention a brand or product name.
- Build a news feed for one keyword by combining
title, url and sourceName.
- Exclude noisy terms with the
- syntax to monitor a narrow topic.
Request
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"}'
The result is returned in outputs[0].data.
Parameters
Example response
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"list": [
{
"author": {
"avatar": "http://wx.qlogo.cn/mmhead/0nn3FBrD9a32s1WibMMeS0gAAyXicFNonzp9kicxpmfqYF5q7ODcrp…",
"id": "gh_e3feebbd6659",
"nickname": "阳城文学编辑部",
"username": "gh_e3feebbd6659"
},
"content": "<img src=\"https://mmbiz.qpic.cn/mmbiz_png/QrAzOGRiaZD7AT8ubbRkChwq3s0LhQGZaRRNib…",
"createTime": 1792339200001,
"image": [
"https://mmbiz.qpic.cn/mmbiz_png/QrAzOGRiaZD7AT8ubbRkChwq3s0LhQGZaRRNibPFf5BoZe11…"
],
"sourceName": "微信公众号",
"title": "张红胜/“中国好人”郝三铁",
"url": "https://mp.weixin.qq.com/s?__biz=MzU4NDkzMTc0Mg==&mid=2247515237&idx=1&a…",
"video": []
}
],
"nextCursor": "AgsnJl5KTvicfhdQZ00Z7nCYyNiKXocL",
"totalNumber": 447606
}
Response fields
Notes
- To get the next page, send the
nextCursor value from the response as the nextCursor parameter, with the same keyword, source, start and end.
- Write
start and end as yyyy-MM-dd HH:mm:ss. They are required on the first request.
source accepts ALL, NEWS, WEIBO, WEIXIN, ZHIHU, DOUYIN, XIAOHONGSHU, BILIBILI and KUAISHOU. The default is ALL.
keyword supports && for AND, || for OR, - for exclusion, parentheses for grouping, and English double quotes for an exact match.
Pricing
$0.028571 per successful call. Failed calls are not charged.