SuperAPI AI 工具集

social-scraping

编程与开发

查看项目

更新于 10-16 00:29

技能介绍

用途:通过 x402 付费接口抓取 20+ 社交平台的资料、帖子、评论、粉丝及搜索结果,覆盖 TikTok、Instagram、YouTube、LinkedIn、X/Twitter、Facebook、Reddit、GitHub、Rumble、Threads、Bluesky、Pinterest、Twitch、Spotify 等,另含广告库与 Lightreel UGC 研究代理。所有端点每次调用 $0.06,轮询免费。

接口家族:1) 旧版平台端点 (/api/tiktok/、/api/instagram/、/api/facebook/、/api/reddit/);2) Scrape Creators 套件 (/api/sc/,约 155 个端点,覆盖更广,含字幕、广告库、小众平台);3) Lightreel UGC 研究代理 (/api/lightreel/),返回持久化研究任务。

用法:所有请求遵循“先触发再轮询”。触发为付费 POST,使用 npx agentcash@latest fetch,例如:npx agentcash@latest fetch https://stablesocial.dev/api/instagram/profile -m POST -b '{"handle": "natgeo"}',返回 202 与 jobId、pollUrl、JWT。轮询免费:npx agentcash@latest fetch https://stablesocial.dev/api/jobs/abc123,或带 token 轮询。状态为 pending 时每 3-5 秒重试,finished 返回 data,failed 不计费。令牌 30 分钟过期,持久任务可按 jobId 继续轮询;任务通常 5-60 秒完成,Lightreel 可能更久。无 token 的 GET /api/jobs 可列出任务。部分端点依赖前置采集(如先取 profile 才能取 followers),分页需用响应中的 cursor(每页为新的付费 POST)。常用参数:handle/profile_id、max_page_size(最大 100)、max_followers(默认 500)、max_posts/max_results(默认 50)、cursor、order_by(date_desc/date_asc/id_desc)。

适用场景:单平台资料深挖、跨平台关键词搜索、网红分析、竞品情报、广告库检索,以及 Lightreel 的钩子、趋势、创作者搜索、脚本与简报等 UGC 研究。

限制:付费与钱包设置见 rules/getting-started.md;必须使用指定端点路径;各端点输入 schema 不同,可用 npx agentcash@latest discover https://stablesocial.dev 查询;轮询需付费钱包的 SIWX 认证(CLI 自动处理)或旧版令牌;具体功能、收费与平台覆盖以上述说明为准,其余未提供的细节暂未提供。