Call it
curl https://api.peume.com/v1/call/douyin-search-chinese-news-and-social \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"source": "ALL"
}
}'const res = await fetch("https://api.peume.com/v1/call/douyin-search-chinese-news-and-social", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"source": "ALL"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/douyin-search-chinese-news-and-social",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"source": "ALL"
}
},
)
print(res.json()["output"])Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: douyin-search-chinese-news-and-social.
Parameters
keywordstringSearch query string. Supports: - Multiple keywords (AND): keyword1 keyword2 - Multiple keywords (OR): keyword1~keyword2 - Excluded keywords (NOT): required_keyword -excluded_keyword
sourcestringTarget social media platform for search filtering. Available Values: - `ALL`: All platforms - `NEWS`: News - `WEIBO`: Sina Weibo - `WEIXIN`: Weixin (WeChat) - `ZHIHU`: Zhihu - `DOUYIN`: Douyin (TikTok China) - `XIAOHONGSHU`: Xiaohongshu (Little Red Book) - `BILIBILI`: Bilibili - `KUAISHOU`: Kuaishou One of: ALL, NEWS, WEIBO, WEIXIN, ZHIHU, DOUYIN, XIAOHONGSHU, BILIBILI, KUAISHOU.
ALL · NEWS · WEIBO · WEIXIN · ZHIHU · DOUYIN · XIAOHONGSHU · BILIBILI · KUAISHOU
Example: ALL
startstringStart time of the search period (yyyy-MM-dd HH:mm:ss). Required for initial request.
endstringEnd time of the search period (yyyy-MM-dd HH:mm:ss). Required for initial request.
nextCursorstringPagination cursor provided by the 'nextCursor' field in the previous response.
