scrapecreators-api
它能做什么
这项技能展示如何调用 ScrapeCreators API,在多个平台上获取公开的个人资料、帖子、评论和搜索结果。它适用于需要结构化社交数据的开发者和研究人员。
适用场景
- ✓当你需要通过 API 从社交平台获取公开的个人资料或帖子数据时。
- ✓当你想以编程方式搜索 TikTok、Instagram、YouTube 或 Reddit 时。
- ✓当你需要知道某个平台任务应调用哪个端点时。
技能链接
https://github.com/ScrapeCreators/social-media-research-skills/blob/main/skills/scrapecreators-api/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请使用 ScrapeCreators 获取这个公开 Instagram 账号的最新 20 条帖子,并保存为 JSON。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体会先在 API 规范中查看正确的端点及其必需参数,然后使用你的 API 密钥发送经过身份验证的请求。它会以 API 提供的结构化格式返回数据。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
ScrapeCreators API
Scrape and extract public data from 27+ social media platforms. 110 endpoints available.
Base URL: https://api.scrapecreators.com
Get your API key at https://scrapecreators.com
How to Call
All endpoints use GET requests. Pass query params in the URL and authenticate with the x-api-key header. Responses are JSON.
curl -s "https://api.scrapecreators.com/v1/tiktok/profile?handle=charlidamelio" \
-H "x-api-key: $SCRAPECREATORS_API_KEY"
Or with fetch:
const res = await fetch(
"https://api.scrapecreators.com/v1/tiktok/profile?handle=charlidamelio",
{ headers: { "x-api-key": process.env.SCRAPECREATORS_API_KEY } }
);
const data = await res.json();
Endpoint paths use the pattern /v1/platform/action. The tables below list each endpoint path and its required params.
API Spec
Each endpoint has its own OpenAPI spec at https://docs.scrapecreators.com/{path}/openapi.json.
For example: https://docs.scrapecreators.com/v1/tiktok/profile/openapi.json
Important: Once you've determined which endpoint(s) to call from the routing tables below, fetch the single-endpoint OpenAPI spec first to get the full parameter details, types, and example response before making the actual API call.
The full spec covering all endpoints is at https://docs.scrapecreators.com/openapi.json (large file — prefer the per-endpoint specs above).
Intent Routing
Map user intent to the right endpoint. After selecting an endpoint, fetch its OpenAPI spec at https://docs.scrapecreators.com/{path}/openapi.json for full param details before calling.
Profiles / User Info
| Platform | Endpoint | Primary Param | Example |
|---|---|---|---|
| TikTok | /v1/tiktok/profile |
handle | stoolpresidente |
/v1/instagram/profile |
handle | jane |
|
| YouTube | /v1/youtube/channel |
handle, channelId, or url | ThePatMcAfeeShow |
| LinkedIn (person) | /v1/linkedin/profile |
url | https://www.linkedin.com/in/parrsam/ |
| LinkedIn (company) | /v1/linkedin/company |
url | https://linkedin.com/company/shopify |
/v1/facebook/profile |
url | https://www.facebook.com/mantraindianfolsom |
|
| Twitter/X | /v1/twitter/profile |
handle | elonmusk |
/v1/reddit/subreddit/details |
subreddit or url | AskReddit |
|
| Threads | /v1/threads/profile |
handle | zuck |
| Bluesky | /v1/bluesky/profile |
handle | jay.bsky.team |
/v1/pinterest/user/boards |
handle | pinterest |
|
| Truth Social | /v1/truthsocial/profile |
handle | realDonaldTrump |
| Twitch | /v1/twitch/profile |
handle | ninja |
| Snapchat | /v1/snapchat/profile |
handle | djkhaled |
Posts / Content Feeds
| Platform | Endpoint | Primary Param | Example |
|---|---|---|---|
| TikTok videos | /v3/tiktok/profile/videos |
handle | stoolpresidente |
| Instagram posts | /v2/instagram/user/posts |
handle | jane |
| Instagram reels | /v1/instagram/user/reels |
handle or user_id | jane or 2700692569 |
| Instagram highlights | /v1/instagram/user/highlights |
handle or user_id | jane or 2700692569 |
| YouTube videos | /v1/youtube/channel/videos |
handle or channelId | ThePatMcAfeeShow |
| YouTube shorts | /v1/youtube/channel/shorts |
handle or channelId | starterstory |
| YouTube playlist | /v1/youtube/playlist |
playlist_id | PLP32wGpgzmIlInfgKVFfCwVsxgGqZNIiS |
| LinkedIn posts | /v1/linkedin/company/posts |
url | https://linkedin.com/company/shopify |
| Facebook posts | /v1/facebook/profile/posts |
url or pageId | https://www.facebook.com/pacemorby |
| Facebook reels | /v1/facebook/profile/reels |
url | https://www.facebook.com/Spurs |
| Facebook photos | /v1/facebook/profile/photos |
url | https://www.facebook.com/Spurs |
| Facebook group posts | /v1/facebook/group/posts |
url or group_id | 742354120555345 |
| Twitter tweets | /v1/twitter/user/tweets |
handle | elonmusk |
| Reddit posts | /v1/reddit/subreddit |
subreddit | AskReddit |
| Threads posts | /v1/threads/user/posts |
handle | zuck |
| Bluesky posts | /v1/bluesky/user/posts |
handle or user_id | jay.bsky.team |
| Truth Social posts | /v1/truthsocial/user/posts |
handle or user_id | realDonaldTrump |
| Pinterest board | /v1/pinterest/board |
url | https://www.pinterest.com/... |
Single Post / Video Details
| Platform | Endpoint | Primary Pa
常见问题
需要 API 密钥吗?
需要。技能会在请求标头中使用你的 ScrapeCreators API 密钥,该密钥可从提供方网站获取。
有多少个端点?
技能说明,它涵盖 27 个以上平台的大约 110 个端点。
智能体应该先检查规范吗?
应该。技能说明,在调用前应先获取单个端点的规范,以了解完整的参数细节。
详情
作者的原始描述
Scrape and extract public data from 27+ social media platforms using the ScrapeCreators REST API. Covers TikTok, Instagram, YouTube, LinkedIn, Facebook, Twitter/X, Reddit, Threads, Bluesky, Pinterest, Snapchat, Twitch, Kick, Truth Social, TikTok Shop, Google, and link-in-bio services (Linktree, Komi, Pillar, Linkbio, Linkme, Amazon Shop). Use when the user asks to scrape, fetch, extract, search, or look up social media profiles, posts, videos, reels, comments, transcripts, followers, ads, hashtags, trending content, or engagement metrics from any social platform. Also use when user mentions Sc
热度
- GitHub 星标
- 5.3k
- 排名
- #15001
- 许可证
- MIT
- 更新时间
- 2026/8/26
评论
- …
同一仓库的更多技能
ad-library-teardown
5.3k帮你的智能体分析 Meta、Google 和 LinkedIn 公开广告库中的广告,提取钩子、优惠、行动号召和测试思路。
audience-research
5.3k帮你的智能体根据公开的个人资料和受众信号,判断创作者或品牌的社交受众是否符合你的目标市场。
comment-mining
5.3k帮你的智能体阅读视频和帖子下的公开评论,找出观众的问题、抱怨、异议以及人们使用的措辞。
competitor-social-research
5.3k帮你的智能体比较社交平台上的竞争对手,找出哪些内容有效、哪里存在空白,以及接下来可以尝试什么。