Beatra

公开社交数据

搜索公开社交内容,读取帖子、创作者、评论和互动,再继续交给 Beatra 的理解与创作能力。

主路径

公开社交数据跑在你已经在用的 Beatra OAuth MCP 连接上,和图像、视频、 音乐、语音同一条授权。不需要再接第二套 MCP。继续连接 https://mcp.beatra.ai/mcp,然后:

  1. beatra.social.tools.search 按平台、关键词或类型(content / creator / comments / trends / captions)搜索可用工具。
  2. beatra.social.tools.get 查看参数和这次请求的积分价格,并复制返回的 schema_hash
  3. 调用一次 beatra.social.execute,传入 operation_key、刚才的 schema_hashargumentsclient_request_id
  4. beatra.tasks.get 轮询到终态。结果是内联 JSON,或一份 JSON Artifact。

一次 execute 只创建一条预付费任务,只做一次查询。列表的下一页是另一次 execute

给 AI 的指南

给 AI 的集成说明

接入自有应用时,可以把这份 API 指南复制给 Claude、Codex 或其他编程助手。

Markdown

工具参数

{
  "operation_key": "social.tiktok.video.get_by_id",
  "schema_hash": "sha256:…",
  "arguments": { "aweme_id": "…" },
  "client_request_id": "social-lookup-opaque-1"
}

schema_hashbeatra.social.tools.get 刚返回的值。如果 get 返回了新的 hash,换一个新的 client_request_id

能查什么

下表是当前工具的快照。实时价格、参数和 schema_hashbeatra.social.tools.get 为准。

TikTok

工具类型返回内容积分翻页
social.tiktok.video.get_by_idcontentRead one public TikTok video by aweme_id, including caption, author, metrics, and public media URLs.6
social.tiktok.video.get_by_urlcontentRead one public TikTok video from a share URL, including caption, author, metrics, and public media URLs.6
social.tiktok.user.getcreatorRead a public TikTok profile by unique_id or sec_user_id.6
social.tiktok.user.posts.listcontentRead one page of a user's public TikTok videos and the next cursor.6
social.tiktok.video.searchcontentSearch public TikTok videos by keyword and return one billed page.6
social.tiktok.user.searchcreatorSearch public TikTok users by keyword and return one billed page.6
social.tiktok.video.comments.listcommentsRead one page of public top-level comments on a TikTok video.6
social.tiktok.comment.replies.listcommentsRead one page of public replies to a TikTok comment.6
social.tiktok.hashtag.trends.listtrendsRead public TikTok hashtag trend rankings for a country and time range.6

Douyin

工具类型返回内容积分翻页
social.douyin.video.get_by_urlcontentRead one public Douyin post from a share URL, including media URLs.6
social.douyin.video.get_by_idcontentRead one public Douyin post by aweme_id, including media URLs.6
social.douyin.user.getcreatorRead a public Douyin profile by sec_user_id.6
social.douyin.user.posts.listcontentRead one page of a user's public Douyin posts and the next cursor.6
social.douyin.video.searchcontentSearch public Douyin videos by keyword and return one billed page.60
social.douyin.user.searchcreatorSearch public Douyin users by keyword and return one billed page.6
social.douyin.video.comments.listcommentsRead one page of public top-level comments on a Douyin video.6
social.douyin.comment.replies.listcommentsRead one page of public replies to a Douyin comment.6
social.douyin.hot_search.listtrendsRead the current public Douyin hot-search board.6

Xiaohongshu

工具类型返回内容积分翻页
social.xiaohongshu.note.image.getcontentRead one public Xiaohongshu image note, including image URLs and metadata.60
social.xiaohongshu.note.video.getcontentRead one public Xiaohongshu video note, including cover and video URLs.60
social.xiaohongshu.user.getcreatorRead a public Xiaohongshu profile.60
social.xiaohongshu.user.notes.listcontentRead one page of a user's public notes.60
social.xiaohongshu.note.searchcontentSearch public Xiaohongshu notes by keyword and return one billed page.60
social.xiaohongshu.user.searchcreatorSearch public Xiaohongshu users by keyword and return one billed page.60
social.xiaohongshu.note.comments.listcommentsRead one page of public top-level comments on a note.60
social.xiaohongshu.comment.replies.listcommentsRead one page of public replies to a note comment.60
social.xiaohongshu.topic.gettrendsRead a public Xiaohongshu topic and its metadata.60
social.xiaohongshu.topic.notes.listcontentRead one page of public notes under a topic.60

Instagram

工具类型返回内容积分翻页
social.instagram.post.getcontentRead one public Instagram post or Reel, including media URLs.12
social.instagram.user.getcreatorRead a public Instagram profile.12
social.instagram.user.posts.listcontentRead one page of a user's public posts.12
social.instagram.user.reels.listcontentRead one page of a user's public Reels.12
social.instagram.user.searchcreatorSearch public Instagram users by keyword.12
social.instagram.reel.searchcontentSearch public Instagram Reels by keyword and return one billed page.12
social.instagram.hashtag.posts.listcontentRead one page of public posts for a hashtag.12
social.instagram.post.comments.listcommentsRead one page of public comments on a post.12
social.instagram.comment.replies.listcommentsRead one page of public replies to a comment.12

YouTube

工具类型返回内容积分翻页
social.youtube.video.getcontentRead public YouTube video metadata, statistics, and thumbnails.6
social.youtube.video.comments.listcommentsRead one page of public YouTube comments.6
social.youtube.comment.replies.listcommentsRead one page of public YouTube comment replies.6
social.youtube.video.captions.getcaptionsSubmit one caption request and receive the available public captions for a video.60
social.youtube.channel.resolvecreatorResolve a public channel URL or handle to a channel_id.6
social.youtube.channel.getcreatorRead a public YouTube channel description and statistics.6
social.youtube.channel.videos.listcontentRead one page of a channel's public videos.6
social.youtube.channel.shorts.listcontentRead one page of a channel's public Shorts.6
social.youtube.video.searchcontentSearch public YouTube videos and return one billed page of video items.12

X / Twitter

工具类型返回内容积分翻页
social.twitter.tweet.getcontentRead one public X/Twitter post, including media URLs.6
social.twitter.user.getcreatorRead a public X/Twitter profile.6
social.twitter.user.tweets.listcontentRead one page of a user's public posts.6
social.twitter.user.media.listcontentRead one page of a user's public media posts.6
social.twitter.user.replies.listcommentsRead one page of a user's public replies.6
social.twitter.tweet.comments.listcommentsRead one page of public replies to a post.6
social.twitter.tweet.search.topcontentSearch public X/Twitter posts with Top ranking and return one billed page.6
social.twitter.tweet.search.recentcontentSearch public X/Twitter posts by recency and return one billed page.6
social.twitter.trends.listtrendsRead public trending topics for a country.6

成功结果常见包括:

  • 帖子/笔记正文、作者身份和公开统计
  • 评论与回复文本及公开互动数
  • 所选工具返回的字幕或文案
  • 公开媒体 URL(播放、封面、图片),可直接拉取,或交给 beatra.images.understandbeatra.videos.understand 或创作工具

小结果内联在任务上;大结果存为 JSON Artifact 并从任务给出链接。控制台「活动」 页可以看到同一份载荷。

价格

每次成功查询的积分在创建任务前已经确定,只会是下面四个数之一:

每次成功查询的 credits
6
12
30
60

失败或安全取消的任务会退回预扣。查询已经开始后,取消会返回 409,继续轮询 同一条任务。社交任务没有 model 字段。

计费、任务状态与恢复

queuedrunning 不是失败。如果创建响应丢失,用完全相同的参数和同一个 client_request_id 再 execute。任何参数变化都需要新的 ID。

情况怎么做
402 insufficient_balanceconsole.beatra.ai 充值,再用同一个 client_request_id 重试。这次没有扣款。
参数 invalid_requestbeatra.social.tools.get,只传已发布字段。
工具不存在或当前不可用重新搜索,使用 tools.get 显示可用的 operation_key
schema_hash 不再匹配tools.get,换一个新的 client_request_id
创建响应丢失用完全相同的参数和同一个 client_request_id 再 execute。
取消返回 409查询已经开始。继续轮询同一个任务。

查询开始后失败时,保留错误 code,并阅读 error.message。这条 message 是平台原文(经过安全脱敏)。只有 message 点名某个字段或 ID 时才改参数; 否则等待,或继续轮询同一条任务。

REST API

没有公开的 Social REST API。请使用 MCP 和 beatra.tasks.get

On this page