Sand AISand AI MAGI-2ตอนนี้ MAGI-2 อยู่บน SandBase แล้ว: วิดีโอ 1080p พร้อมเสียงในตัวลองใช้เลย

China Social Media Search

https://api.sandbase.ai/v1/api/cn-social/search

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.

ราคา
$0.028571USD / คำขอ
Method
POST
การตอบกลับ
JSON
พารามิเตอร์
0 จำเป็น · 5 ไม่บังคับ

Playground

อินพุต
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.
Target social media platform for search filtering.
Start time of the search period (yyyy-MM-dd HH:mm:ss). Required for initial request.
End time of the search period (yyyy-MM-dd HH:mm:ss). Required for initial request.
Pagination cursor provided by the 'nextCursor' field in the previous response.
เอาต์พุตพร้อมใช้งาน

เอาต์พุตของคุณจะแสดงที่นี่

กรอกอินพุตให้ครบ แล้วคลิก Run

API README

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

NameTypeRequiredDescription
endstringNoEnd time of the search period (yyyy-MM-dd HH:mm:ss). Required for initial request.
keywordstringNoSearch 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 co
nextCursorstringNoPagination cursor provided by the 'nextCursor' field in the previous response.
sourcestringNoTarget social media platform for search filtering.
startstringNoStart time of the search period (yyyy-MM-dd HH:mm:ss). Required for initial request.

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==&amp;mid=2247515237&amp;idx=1&a…",
      "video": []
    }
  ],
  "nextCursor": "AgsnJl5KTvicfhdQZ00Z7nCYyNiKXocL",
  "totalNumber": 447606
}

Response fields

FieldMeaning
list[]One matching post or article. Each item has the author, content, media and link.
list[].titleTitle of the article or post.
list[].urlLink to the original page. In the WeChat items the link contains &amp; in place of &.
list[].sourceNameName of the site or platform the item came from, for example 微信公众号 or 壹点.
list[].createTimeCreation time as a number. The values look like Unix time in milliseconds.
list[].contentBody of the item as an HTML string. It can include <p> and <img> tags, and long bodies may be cut.
list[].image[] / list[].video[]Lists of image and video URLs attached to the item. An item without media can return an empty list, or a list holding one empty string.
list[].author.nickname / list[].author.usernameDisplay name and account name of the author. Both are empty strings for some news items.
list[].author.id / list[].author.avatarAuthor account ID and avatar image URL. Both can be empty strings.
nextCursorCursor string for the next page of results.
totalNumberTotal number of items that match the query.

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.

สำรวจเพิ่มเติม

APIs ที่เกี่ยวข้อง

APIs ทั้งหมด
APIราคาการตอบกลับ
China Social Media$0.028571 ต่อการเรียกJSON

คำถาม

คำถามที่พบบ่อย

ฉันจะใช้ China Social Media Search API ได้อย่างไร?

ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/cn-social/search โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด

China Social Media Search API ราคาเท่าไร?

$0.028571 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน

China Social Media Search API รับพารามิเตอร์อะไรบ้าง?

ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: keyword (string), source (หนึ่งใน ALL, NEWS, WEIBO, WEIXIN, ZHIHU, DOUYIN, XIAOHONGSHU, BILIBILI, KUAISHOU), start (string), end (string) และ nextCursor (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์

China Social Media Search API ส่งคืนอะไร?

การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ

ฉันจำเป็นต้องมีบัญชีนักพัฒนาหรือ API key ของ China Social Media ไหม?

ไม่จำเป็น China Social Media Search ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง China Social Media API แยกต่างหาก