Search Chinese news and social
justoneapi.x.search-v1Searches recent content across news, Weibo, WeChat, Zhihu, Douyin, Xiaohongshu, Bilibili, and Kuaishou with source and time filters.
- Price
- $0.02952/successAt provider cost
- Success rate
- 100%Last 30 days · 12 calls
- Latency p50
- 4.1 sp95 8.6 s
- Last verified
- —Not verified yet
GEThttps://toolswitch.dev/v1/tools/justoneapi.x.search-v1?source=ALL&keyword=%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BDPreview- Uses platform quota
- Synchronous response
- Reads public data
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
end | string | Optional | End time of the search period (yyyy-MM-dd HH:mm:ss). Required for initial request. | |
start | string | Optional | Start time of the search period (yyyy-MM-dd HH:mm:ss). Required for initial request. | |
source | string | Optional | Target 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 |
keyword | string | Optional | Search query string. Supports: - Multiple keywords (AND): keyword1 keyword2 - Multiple keywords (OR): keyword1~keyword2 - Excluded keywords (NOT): required_keyword -excluded_keyword | 人工智能 |
nextCursor | string | Optional | Pagination cursor provided by the 'nextCursor' field in the previous response. | |
- Query parameters
endstringOptionalEnd time of the search period (yyyy-MM-dd HH:mm:ss). Required for initial request.
startstringOptionalStart time of the search period (yyyy-MM-dd HH:mm:ss). Required for initial request.
sourcestringOptionalTarget 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.
Example:
ALLkeywordstringOptionalSearch query string. Supports: - Multiple keywords (AND): keyword1 keyword2 - Multiple keywords (OR): keyword1~keyword2 - Excluded keywords (NOT): required_keyword -excluded_keyword
Example:
人工智能nextCursorstringOptionalPagination cursor provided by the 'nextCursor' field in the previous response.
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
curl -X GET 'https://toolswitch.dev/v1/tools/justoneapi.x.search-v1?source=ALL&keyword=%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/justoneapi.x.search-v1?source=ALL&keyword=%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/justoneapi.x.search-v1?source=ALL&keyword=%E4%BA%BA%E5%B7%A5%E6%99%BA%E8%83%BD", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.02952/success, including the service fee.