查询你要的平台
切换平台,保持「示例」模式,选择「填入示例」再运行。可在结果表格筛选记录并导出 CSV。
打开工作台用免费示例跑通查询,再接入实时 API 或 MCP。文档收录 239 个 HTTP 接口,覆盖取数、账号管理与服务状态。
根据我已有的关键词、日期、账号或作品标识,选择 Social2api 的取数接口。缺输入时先询问。
小红书笔记、抖音指数和视频号账号作品可先用 POST /api/run 的 mode=demo。实时任务需相应权限的 Key,并先确认 maxRequests。
单条作品评论、公开资料或转录请查看对应的 /v1 端点,分别核对输入、通道、游标与费用。
交付最小调用和可核对的结果字段。记录请求次数、数据来源、警告及缺失值。
https://social2api.com/docs/POST /api/run 可匿名试跑。要从自己的代码发起实时查询,先创建有对应任务权限的 Social2api API Key。
工作台可用已登录的会话发起实时查询。账户设置、用量和 Webhook 管理也使用会话 Cookie。
向 POST /api/run 发送 JSON,并将 mode 设为 demo。这个小红书笔记搜索示例返回合成数据,上游请求数为 0。
curl -i -X POST 'https://social2api.com/api/run' \
-H 'Content-Type: application/json' \
--data-binary '{
"task": "rednote",
"mode": "demo",
"params": {
"query": "城市骑行",
"since": "2026-01-15",
"until": "2026-01-15",
"limit": 1
}
}'from urllib.error import HTTPError
from urllib.request import Request, urlopen
request = Request(
"https://social2api.com/api/run",
method="POST",
headers={
"Content-Type": "application/json",
},
data="{\"task\":\"rednote\",\"mode\":\"demo\",\"params\":{\"query\":\"城市骑行\",\"since\":\"2026-01-15\",\"until\":\"2026-01-15\",\"limit\":1}}".encode("utf-8"),
)
send = urlopen
try:
with send(request) as response:
print(response.status, response.read().decode("utf-8"))
except HTTPError as error:
print(error.code, error.read().decode("utf-8"))const response = await fetch("/api/run", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
"task": "rednote",
"mode": "demo",
"params": {
"query": "城市骑行",
"since": "2026-01-15",
"until": "2026-01-15",
"limit": 1
}
}),
});
console.log(response.status, await response.text());先在本机设置 SOCIAL2API_API_KEY 环境变量。JavaScript 示例使用 Node.js 运行。
实时请求会消耗可用的上游调用额度。
curl -i -X POST 'https://social2api.com/api/run' \
-H "Authorization: Bearer $SOCIAL2API_API_KEY" \
-H 'Content-Type: application/json' \
--data-binary '{
"task": "rednote",
"mode": "live",
"params": {
"query": "城市骑行",
"since": "2026-01-15",
"until": "2026-01-15",
"limit": 1
}
}'import os
from urllib.error import HTTPError
from urllib.request import Request, urlopen
request = Request(
"https://social2api.com/api/run",
method="POST",
headers={
"Content-Type": "application/json",
"Authorization": "Bearer " + os.environ["SOCIAL2API_API_KEY"],
},
data="{\"task\":\"rednote\",\"mode\":\"live\",\"params\":{\"query\":\"城市骑行\",\"since\":\"2026-01-15\",\"until\":\"2026-01-15\",\"limit\":1}}".encode("utf-8"),
)
send = urlopen
try:
with send(request) as response:
print(response.status, response.read().decode("utf-8"))
except HTTPError as error:
print(error.code, error.read().decode("utf-8"))const response = await fetch("https://social2api.com/api/run", {
method: "POST",
headers: {
"Content-Type": "application/json",
Authorization: "Bearer " + process.env.SOCIAL2API_API_KEY,
},
body: JSON.stringify({
"task": "rednote",
"mode": "live",
"params": {
"query": "城市骑行",
"since": "2026-01-15",
"until": "2026-01-15",
"limit": 1
}
}),
});
console.log(response.status, await response.text());确认示例成功后,再设置 mode: "live" 并提供认证。实时取数需要部署方已配置适用的供应商。
在客户端添加一个远程 MCP 服务,传输方式选择 Streamable HTTP,填写下面的地址。
https://social2api.com/mcp三个取数任务共享同一种响应外层。每个平台的记录字段见对应接口文档。
rowscolumnswarningsrequestCount/api/run 在任务预算内处理上游翻页或关键词分批,客户端通过任务参数限制返回数量。管理接口的分页规则见各自的参考页。
查看完整响应字段查询失败时先读 HTTP 状态和 error。较早拒绝的请求可能只返回 error。响应里有 requestCount 时,可用它核对本次上游尝试次数。
401 / 403402 / 429409503服务器按任务和输入匹配已配置的数据源。翻页、分批或等待异步结果时,一次任务可能发出多次上游请求。
切换平台,保持「示例」模式,选择「填入示例」再运行。可在结果表格筛选记录并导出 CSV。
打开工作台按平台或功能查看请求参数、响应字段、示例与状态码。
按平台、请求方法或操作 ID 筛选接口,下载 JSONL 快照,并从每条记录打开对应的官方文档。
浏览和下载 API 接口目录按平台查看关键词搜索、视频与评论采集、CSV 导出等操作流程。
浏览全部使用指南通过 /v1 接口查询公开帖子、评论、账号、趋势、广告和商品数据。先打开目录找到所需端点,再按详情页的请求参数调用。
429在「查询结果」中搜索已返回的记录。点击「CSV」下载符合当前筛选条件的所有记录。运行记录保存在当前浏览器,可从历史再次查看。
打开运行记录按平台或功能查找接口。打开条目即可查看参数、请求示例、响应字段和 HTTP 状态。
显示 242 个条目,共 242 个
检查数据源配置并执行取数任务。
/api/status/api/run/mcp/.well-known/oauth-authorization-server/.well-known/oauth-protected-resource/.well-known/oauth-protected-resource/mcp/oauth/register/oauth/authorize/oauth/authorize/oauth/token按关键词搜索公开笔记。
查询关键词逐日趋势。
获取账号的公开视频及评论。
查看可用的方法、路径和数据平台。
查询哔哩哔哩公开数据。
/v1/bilibili/backup/users/videos/list/v1/bilibili/comments/replies/list/v1/bilibili/trends/list/v1/bilibili/users/get/v1/bilibili/users/videos/list/v1/bilibili/videos/comments/list/v1/bilibili/videos/get/v1/bilibili/videos/search/v1/bilibili/videos/transcript/get/v1/bilibili/videos/trending查询抖音公开数据。
/v1/douyin/backup/users/videos/list/v1/douyin/backup/videos/search/v1/douyin/comments/replies/list/v1/douyin/hashtags/videos/list/v1/douyin/index/creators/videos/list/v1/douyin/index/keywords/history/v1/douyin/index/keywords/history/v1/douyin/index/trends/list/v1/douyin/index/videos/search/v1/douyin/music/get/v1/douyin/trends/list/v1/douyin/users/get/v1/douyin/users/search/v1/douyin/users/videos/list/v1/douyin/videos/comments/list/v1/douyin/videos/get/v1/douyin/videos/metrics/v1/douyin/videos/related/v1/douyin/videos/search/v1/douyin/videos/transcript/get/v1/douyin/videos/trending/v1/douyin/xingtu/creators/audience/get/v1/douyin/xingtu/creators/get/v1/douyin/xingtu/creators/metrics/v1/douyin/xingtu/creators/rates/get/v1/douyin/xingtu/creators/search/v1/douyin/xingtu/videos/get查询Facebook公开数据。
/v1/facebook/pages/get/v1/facebook/pages/posts/list/v1/facebook/posts/comments/list/v1/facebook/posts/get查询Google 广告透明度中心公开数据。
查询Instagram公开数据。
/v1/instagram/comments/replies/list/v1/instagram/hashtags/posts/list/v1/instagram/posts/comments/list/v1/instagram/posts/get/v1/instagram/posts/transcript/get/v1/instagram/users/get/v1/instagram/users/posts/list/v1/instagram/users/search查询快手公开数据。
/v1/kuaishou/comments/replies/list/v1/kuaishou/trends/list/v1/kuaishou/users/get/v1/kuaishou/users/search/v1/kuaishou/users/videos/list/v1/kuaishou/videos/comments/list/v1/kuaishou/videos/get/v1/kuaishou/videos/search/v1/kuaishou/videos/transcript/get查询领英公开数据。
/v1/linkedin/companies/get/v1/linkedin/companies/posts/list/v1/linkedin/posts/get/v1/linkedin/posts/search/v1/linkedin/posts/transcript/get查询Meta公开数据。
查询Pinterest公开数据。
查询Reddit公开数据。
/v1/reddit/posts/comments/list/v1/reddit/posts/get/v1/reddit/posts/search/v1/reddit/posts/transcript/get/v1/reddit/posts/trending/v1/reddit/subreddits/posts/list/v1/reddit/trends/list/v1/reddit/users/get/v1/reddit/users/posts/list查询Telegram公开数据。
查询Threads公开数据。
/v1/threads/posts/get/v1/threads/posts/search/v1/threads/users/get/v1/threads/users/posts/list查询TikTok公开数据。
/v1/tiktok/comments/replies/list/v1/tiktok/hashtags/videos/list/v1/tiktok/users/followers/list/v1/tiktok/users/get/v1/tiktok/users/search/v1/tiktok/users/videos/list/v1/tiktok/videos/comments/list/v1/tiktok/videos/get/v1/tiktok/videos/search/v1/tiktok/videos/transcript/get查询微信视频号公开数据。
/v1/wechat_channels/backup/users/get/v1/wechat_channels/backup/users/videos/list/v1/wechat_channels/backup/videos/search/v1/wechat_channels/collections/videos/list/v1/wechat_channels/comments/replies/list/v1/wechat_channels/users/get/v1/wechat_channels/users/live_replays/list/v1/wechat_channels/users/search/v1/wechat_channels/users/videos/list/v1/wechat_channels/videos/comments/list/v1/wechat_channels/videos/get/v1/wechat_channels/videos/metrics/v1/wechat_channels/videos/search/v1/wechat_channels/videos/transcript/get查询微信公众号公开数据。
/v1/wechat_mp/accounts/articles/list/v1/wechat_mp/accounts/get/v1/wechat_mp/accounts/search/v1/wechat_mp/articles/comments/list/v1/wechat_mp/articles/get/v1/wechat_mp/articles/metrics/v1/wechat_mp/comments/replies/list查询微信搜索公开数据。
查询微博公开数据。
/v1/weibo/backup/trends/list/v1/weibo/comments/replies/list/v1/weibo/posts/comments/list/v1/weibo/posts/get/v1/weibo/posts/likers/list/v1/weibo/posts/search/v1/weibo/posts/transcript/get/v1/weibo/trends/list/v1/weibo/users/followers/list/v1/weibo/users/get/v1/weibo/users/posts/list/v1/weibo/users/search查询X公开数据。
/v1/x/communities/members/list/v1/x/communities/posts/list/v1/x/lists/followers/list/v1/x/lists/members/list/v1/x/lists/posts/list/v1/x/posts/article/get/v1/x/posts/get/v1/x/posts/quotes/list/v1/x/posts/replies/list/v1/x/posts/retweeters/list/v1/x/posts/search/v1/x/posts/transcript/get/v1/x/threads/posts/list/v1/x/trends/list/v1/x/users/followers/list/v1/x/users/following/list/v1/x/users/get/v1/x/users/get/v1/x/users/mentions/list/v1/x/users/posts/list/v1/x/users/search查询小红书公开数据。
/v1/xiaohongshu/comments/replies/list/v1/xiaohongshu/images/search/v1/xiaohongshu/notes/comments/list/v1/xiaohongshu/notes/get/v1/xiaohongshu/notes/search/v1/xiaohongshu/pgy/creators/audience/get/v1/xiaohongshu/pgy/creators/costs/metrics/v1/xiaohongshu/pgy/creators/get/v1/xiaohongshu/pgy/creators/metrics/v1/xiaohongshu/pgy/creators/search/v1/xiaohongshu/pgy/keywords/history/v1/xiaohongshu/pgy/notes/trending/v1/xiaohongshu/topics/notes/list/v1/xiaohongshu/trends/list/v1/xiaohongshu/users/get/v1/xiaohongshu/users/notes/list/v1/xiaohongshu/users/search/v1/xiaohongshu/videos/get/v1/xiaohongshu/videos/transcript/get查询YouTube公开数据。
/v1/youtube/channels/get/v1/youtube/channels/posts/list/v1/youtube/channels/search/v1/youtube/channels/videos/list/v1/youtube/comments/replies/list/v1/youtube/posts/get/v1/youtube/videos/comments/list/v1/youtube/videos/get/v1/youtube/videos/search/v1/youtube/videos/transcript/get查询知乎公开数据。
/v1/zhihu/answers/comments/list/v1/zhihu/answers/get/v1/zhihu/articles/get/v1/zhihu/columns/articles/list/v1/zhihu/comments/replies/list/v1/zhihu/pins/get/v1/zhihu/posts/search/v1/zhihu/questions/answers/list/v1/zhihu/questions/get/v1/zhihu/trends/list/v1/zhihu/users/answers/list/v1/zhihu/users/articles/list/v1/zhihu/users/followers/list/v1/zhihu/users/get/v1/zhihu/users/pins/list/v1/zhihu/users/search控制台的会话、身份和账号管理。
/api/account/session/api/account/register/api/account/login/api/account/logout/api/account/profile/api/account/preferences/api/account/password/api/account/delete/api/account/otp/request/api/account/otp/verify/api/account/google/api/account/google/callback控制台偏好、调用记录、额度与数据源切换。
/api/settings/api/settings/api/settings/usage/api/settings/billing/api/settings/fallback/api/settings/fallback/api/settings/api-keys/api/settings/api-keys/api/settings/api-keys/{id}/api/settings/api-keys/{id}管理端点、投递和签名密钥。
/api/settings/webhooks/api/settings/webhooks/api/settings/webhooks/{id}/api/settings/webhooks/{id}/api/settings/webhooks/{id}/test/api/settings/webhooks/{id}/rotate检查服务和数据库连通性。