Communitygithub.com

scrapecreators-api

從 27 個以上社群媒體平台抓取並提取公開資料,提供 110 個端點。

scrapecreators-api 是什麼?

ScrapeCreators API 是一個強大的工具,讓開發者和 AI 代理能透過統一的 API 介面,從超過 27 個社群媒體平台(包括 TikTok、Instagram、YouTube、LinkedIn、Facebook、Twitter/X、Reddit、Reddit 等)提取公開資料。它提供超過 110 個端點,涵蓋個人資料、貼文、單一貼文/影片詳細資料、留言、逐字稿、搜尋、廣告庫、熱門內容、關注者/跟隨者、直播、TikTok Shop 以及連結樹(Link-in-Bio)服務。每個端點都有自己的 OpenAPI 規範,可提供完整的參數詳細資訊和回應範例。此 API 主要用於建立社群媒體監控工具、內容聚合器、分析儀表板或任何需要大量社群媒體資料的應用程式。支援 curl 和 fetch 等常見 HTTP 用戶端,透過 GET 請求搭配查詢參數和 `x-api-key` 標頭進行驗證。

相容平台~Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/ScrapeCreators/social-media-research-skills/tree/main/skills/scrapecreators-api

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

ScrapeCreators API

從 27 個以上社群媒體平台抓取並提取公開資料。提供 110 個端點。

基本 URL: https://api.scrapecreators.com

在 https://scrapecreators.com 取得您的 API 金鑰

如何呼叫

所有端點皆使用 GET 請求。在 URL 中傳遞查詢參數,並使用 x-api-key 標頭進行驗證。回應為 JSON 格式。

curl -s "https://api.scrapecreators.com/v1/tiktok/profile?handle=charlidamelio" \
  -H "x-api-key: $SCRAPECREATORS_API_KEY"

或使用 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();

端點路徑使用 /v1/platform/action 模式。下表列出每個端點路徑及其必要參數。

API 規範

每個端點都有專屬的 OpenAPI 規範,位於 https://docs.scrapecreators.com/{path}/openapi.json。

例如:https://docs.scrapecreators.com/v1/tiktok/profile/openapi.json

重要: 從下列路由表決定要呼叫的端點後,請先擷取單一端點的 OpenAPI 規範,以取得完整的參數詳細資訊、類型和範例回應,然後再進行實際的 API 呼叫。

所有端點的完整規範位於 https://docs.scrapecreators.com/openapi.json(檔案較大——建議優先使用上述每個端點的規範)。

意圖路由

將使用者意圖對應到正確的端點。選擇端點後,在呼叫前請先擷取其 OpenAPI 規範 https://docs.scrapecreators.com/{path}/openapi.json 以取得完整的參數詳細資訊。

個人資料/使用者資訊

平台端點主要參數範例
TikTok/v1/tiktok/profilehandlestoolpresidente
Instagram/v1/instagram/profilehandlejane
YouTube/v1/youtube/channelhandle, channelId 或 urlThePatMcAfeeShow
LinkedIn(個人)/v1/linkedin/profileurlhttps://www.linkedin.com/in/parrsam/
LinkedIn(公司)/v1/linkedin/companyurlhttps://linkedin.com/company/shopify
Facebook/v1/facebook/profileurlhttps://www.facebook.com/mantraindianfolsom
Twitter/X/v1/twitter/profilehandleelonmusk
Reddit/v1/reddit/subreddit/detailssubreddit 或 urlAskReddit
Threads/v1/threads/profilehandlezuck
Bluesky/v1/bluesky/profilehandlejay.bsky.team
Pinterest/v1/pinterest/user/boardshandlepinterest
Truth Social/v1/truthsocial/profilehandlerealDonaldTrump
Twitch/v1/twitch/profilehandleninja
Snapchat/v1/snapchat/profilehandledjkhaled

貼文/內容動態

平台端點主要參數範例
TikTok 影片/v3/tiktok/profile/videoshandlestoolpresidente
Instagram 貼文/v2/instagram/user/postshandlejane
Instagram Reels/v1/instagram/user/reelshandle 或 user_idjane 或 2700692569
Instagram Highlights/v1/instagram/user/highlightshandle 或 user_idjane 或 2700692569
YouTube 影片/v1/youtube/channel/videoshandle 或 channelIdThePatMcAfeeShow
YouTube Shorts/v1/youtube/channel/shortshandle 或 channelIdstarterstory
YouTube 播放清單/v1/youtube/playlistplaylist_idPLP32wGpgzmIlInfgKVFfCwVsxgGqZNIiS
LinkedIn 貼文/v1/linkedin/company/postsurlhttps://linkedin.com/company/shopify
Facebook 貼文/v1/facebook/profile/postsurl 或 pageIdhttps://www.facebook.com/pacemorby
Facebook Reels/v1/facebook/profile/reelsurlhttps://www.facebook.com/Spurs
Facebook 照片/v1/facebook/profile/photosurlhttps://www.facebook.com/Spurs
Facebook 社團貼文/v1/facebook/group/postsurl 或 group_id742354120555345
Twitter 推文/v1/twitter/user/tweetshandleelonmusk
Reddit 貼文/v1/reddit/subredditsubredditAskReddit
Threads 貼文/v1/threads/user/postshandlezuck
Bluesky 貼文/v1/bluesky/user/postshandle 或 user_idjay.bsky.team
Truth Social 貼文/v1/truthsocial/user/postshandle 或 user_idrealDonaldTrump
Pinterest 看板/v1/pinterest/boardurlhttps://www.pinterest.com/...

單一貼文/影片詳細資料

平台端點主要參數範例
TikTok/v2/tiktok/videourlhttps://www.tiktok.com/@randomspamvideos25/video/7251387037834595630
Instagram/v1/instagram/posturlhttps://www.instagram.com/reel/DOq6eV6iIgD
Instagram Highlight/v1/instagram/user/highlight/detailid18067016518767507
YouTube/v1/youtube/videourlhttps://www.youtube.com/watch?v=Y2Ah_DFr8cw
YouTube 社群貼文/v1/youtube/community-posturlhttps://www.youtube.com/post/Ugkxvj2KoApYAXoqLWnKVr6zZe5JjeHrQeP8
LinkedIn/v1/linkedin/posturlhttps://www.linkedin.com/pulse/being-father-has-made-me-better-leader...
Facebook/v1/facebook/posturlhttps://www.facebook.com/reel/1535656380759655
Twitter/X/v1/twitter/tweeturlhttps://twitter.com/elonmusk/status/...
Twitter/X 社群/v1/twitter/communityurlhttps://twitter.com/i/communities/...
Twitter/X 社群推文/v1/twitter/community/tweetsurlhttps://twitter.com/i/communities/...
Reddit/v1/reddit/post/commentsurlhttps://www.reddit.com/r/AskReddit/comments/...
Threads/v1/threads/posturlhttps://www.threads.net/@zuck/post/...
Bluesky/v1/bluesky/posturlhttps://bsky.app/profile/.../post/...
Truth Social/v1/truthsocial/posturlhttps://truthsocial.com/@realDonaldTrump/posts/...
Pinterest/v1/pinterest/pinurlhttps://www.pinterest.com/pin/...
Twitch 片段/v1/twitch/clipurlhttps://clips.twitch.tv/...
Kick 片段/v1/kick/clipurlhttps://kick.com/...

留言

平台端點主要參數範例
TikTok/v1/tiktok/video/commentsurlhttps://www.tiktok.com/@stoolpresidente/video/7499229683859426602
Instagram/v2/instagram/post/commentsurlhttps://www.instagram.com/reel/DOq6eV6iIgD
YouTube/v1/youtube/video/commentsurlhttps://www.youtube.com/watch?v=dQw4w9WgXcQ
Facebook/v1/facebook/post/commentsurl 或 feedback_idhttps://www.facebook.com/reel/753347914167361
Reddit/v1/reddit/post/commentsurlhttps://www.reddit.com/r/AskReddit/comments/...

逐字稿

平台端點範例備註
TikTok/v1/tiktok/video/transcripturl=https://www.tiktok.com/...&lang=en也可透過 /v2/tiktok/video 設定 get_transcript=true 取得
Instagram/v2/instagram/media/transcripturl=https://www.instagram.com/reel/...AI 驅動,10-30 秒,小於 2 分鐘
YouTube/v1/youtube/video/transcripturl=https://www.youtube.com/watch?v=bjVIDXPP7Uk也包含在 /v1/youtube/video 的回應中
Facebook/v1/facebook/post/transcripturl=https://www.facebook.com/reel/...僅限 2 分鐘內
Twitter/X/v1/twitter/tweet/transcripturl=https://twitter.com/...AI 驅動,速度較慢

搜尋

平台端點主要參數範例
TikTok 使用者/v1/tiktok/search/usersqueryfunny
TikTok 影片(關鍵字)/v1/tiktok/search/keywordqueryfunny
TikTok 影片(標籤)/v1/tiktok/search/hashtaghashtagfyp
TikTok 綜合(照片+影片)/v1/tiktok/search/topqueryfunny
Instagram Reels/v2/instagram/reels/searchquerydogs
YouTube/v1/youtube/searchqueryfunny
YouTube 標籤/v1/youtube/search/hashtaghashtagfunny
Reddit(全部)/v1/reddit/searchquerybest programming languages
Reddit(在子版內)/v1/reddit/subreddit/searchsubreddit + queryAskReddit + funny
Threads 貼文/v1/threads/searchqueryAI
Threads 使用者/v1/threads/search/usersqueryzuck
Pinterest/v1/pinterest/searchqueryhome decor
Google/v1/google/searchquerybest restaurants in NYC

廣告庫

平台端點主要參數範例
Facebook 廣告搜尋/v1/facebook/adLibrary/search/adsqueryrunning
Facebook 公司廣告/v1/facebook/adLibrary/company/adspageId 或 companyNameLululemon
Facebook 廣告詳細資料/v1/facebook/adLibrary/adid 或 url702369045530963
Facebook 尋找公司/v1/facebook/adLibrary/search/companiesqueryNike
Google 公司廣告/v1/google/company/adsdomain 或 advertiser_idnike.com
Google 廣告詳細資料/v1/google/adurlhttps://adstransparency.google.com/...
Google 尋找廣告主/v1/google/adLibrary/advertisers/searchqueryNike
LinkedIn 廣告搜尋/v1/linkedin/ads/searchcompany 或 keywordShopify
LinkedIn 廣告詳細資料/v1/linkedin/adurlhttps://www.linkedin.com/ad/...
Reddit 廣告搜尋/v1/reddit/ads/searchquerygaming
Reddit 廣告詳細資料/v1/reddit/adidt3_abc123

熱門/流行

內容端點參數範例
熱門動態/v1/tiktok/get-trending-feedregion(必填)US
熱門影片/v1/tiktok/videos/popular
熱門創作者/v1/tiktok/creators/popular
熱門標籤/v1/tiktok/hashtags/popular
熱門歌曲/v1/tiktok/songs/popular
歌曲詳細資料/v1/tiktok/songclipId7439295283975702544
使用該歌曲的影片/v1/tiktok/song/videosclipId7439295283975702544
熱門 Shorts(YouTube)/v1/youtube/shorts/trending

關注者/跟隨者/直播(僅限 TikTok)

類型端點範例
跟隨中/v1/tiktok/user/followinghandle=stoolpresidente
關注者/v1/tiktok/user/followershandle=stoolpresidente
受眾人口統計/v1/tiktok/user/audience(26 點!)handle=shakira
直播/v1/tiktok/user/livehandle=thejustalex

TikTok 商店

類型端點主要參數範例
搜尋商品/v1/tiktok/shop/searchqueryshoes
商店商品/v1/tiktok/shop/productsurlhttps://www.tiktok.com/shop/store/goli-nutrition/7495794203056835079
商品詳細資料/v1/tiktok/producturlhttps://www.tiktok.com/shop/pdp/goli-ashwagandha-gummies.../1729587769570529799
商品評論/v1/tiktok/shop/product/reviewsurl 或 product_id1731578642912612516
使用者展示櫃/v1/tiktok/user/showcasehandlemrtiktokreviews

連結樹(Link-in-Bio)/ 其他

服務端點參數範例
Linktree/v1/linktreeurlhttps://linktr.ee/...
Komi/v1/komiurlhttps://komi.io/...
Pillar/v1/pillarurlhttps://pillar.io/...
Linkbio/v1/linkbiourlhttps://linkbio.co/...
Linkme/v1/linkmeurlhttps://linkme.bio/...
Amazon Shop/v1/amazon/shopurlhttps://www.amazon.com/shop/...
Instagram 基本個人資料/v1/instagram/basic/profileuserId314216
Instagram 嵌入 HTML/v1/instagram/user/embedhandlejane
年齡/性別偵測/v1/detect/age-genderurl(社群個人資料)https://www.tiktok.com/@charlidamelio
點數餘額/v1/credit/balance(無)

點數消耗

大多數端點每次請求消耗 1 點。例外情況:

端點消耗點數條件
/v1/tiktok/user/audience26 點總是
/v1/tiktok/video/transcript+10 點當 use_ai_as_fallback=true 時
/v1/google/company/ads25 點當 get_ad_details=true 時

使用 /v1/credit/balance 檢查餘額。在呼叫昂貴的端點前先警告使用者。

分頁

支援分頁的端點會在其回應中回傳一個游標/令牌。將其作為查詢參數傳回,以取得下一頁。

游標欄位使用對象
cursorTikTok 留言/搜尋/歌曲影片、Instagram 留言、Reddit 子版搜尋、Pinterest、Bluesky、Facebook Reels/照片/貼文/留言、TikTok 商店商品/使用者展示櫃
max_cursorTikTok 個人資料影片
min_timeTikTok 跟隨中/關注者
continuationTokenYouTube(所有支援分頁的端點)
afterReddit 貼文、Reddit 搜尋
next_max_idInstagram 貼文、Truth Social 貼文
max_idInstagram Reels
pageTikTok 熱門/商店、Instagram Reels 搜尋、LinkedIn 公司貼文、TikTok 商店評論
paginationTokenLinkedIn 廣告

常見可選參數

  • trim (布林值):減少回應負載大小。當您只需要關鍵指標時使用。
  • region (字串):用於代理位置的兩位字母國家代碼。不會按地區過濾——僅將請求路由到該國家的代理。

已知限制

  • 使用者名稱(Handle):傳遞時不帶 @ 符號。使用 charlidamelio 而非 @charlidamelio。適用於 TikTok、Instagram、Twitter、Threads、Bluesky、Snapchat、Twitch、Pinterest、Truth Social
  • YouTube 使用者名稱:傳遞時不帶 @ 符號。使用 ThePatMcAfeeShow 而非 @ThePatMcAfeeShow。您也可以傳遞 channelId(例如 UC-9-kyTW8ZkZNDHQJ6FgpwQ)或完整 URL
  • 標籤(Hashtag):傳遞時不帶 # 符號。使用 fyp 而非 #fyp。適用於 TikTok

Individual skills in this repo

This repo contains 12 individual skills — each has its own dedicated page.

ad-library-teardown

Use when the user wants to analyze active ads from Meta/Facebook, Google, or LinkedIn ad libraries; tear down a competitor

audience-research

Use when the user wants to evaluate a creator, influencer, or brand audience using public profile signals, TikTok audience demographics, follower/following data, comments, geography, language, and content fit. Helps judge sponsorship and market fit.

comment-mining

Use when the user wants to mine comments and replies for audience reactions, customer language, questions, objections, complaints, product ideas, buying intent, sentiment, or voice-of-customer insights from public social posts and videos.

competitor-social-research

Use when the user wants to research competitors

content-repurposing

Use when the user wants to turn public social videos, transcripts, posts, or creator research into reusable content assets such as LinkedIn posts, X threads, short-form scripts, newsletters, blog outlines, carousels, or content calendars.

creator-profile-teardown

Use when the user wants to analyze a creator, influencer, founder, or brand social account and understand positioning, content pillars, outlier posts, hooks, format choices, audience reaction, and what can be copied or tested.

influencer-prospecting

Use when the user wants to find creators, influencers, affiliates, or social accounts in a niche for outreach, partnerships, sponsorships, UGC, seeding, or competitive research. Produces scored prospect lists from public social data.

outlier-post-finder

Use when the user wants to find posts, videos, reels, shorts, tweets, or social content that overperformed versus a creator, brand, or competitor baseline. Finds outliers, explains why they worked, extracts hooks and formats, and produces a practical swipe file.

product-demand-research

Use when the user wants to validate a product idea, find pain points, mine demand signals, discover objections, or gather voice-of-customer language from Reddit, social posts, video transcripts, and comments. Produces evidence-backed product research.

social-listening-brief

Use when the user wants a social listening report about what people are saying about a brand, person, product, topic, category, or niche across public social platforms. Produces cited themes, sentiment caveats, notable posts, and recommended actions.

transcript-intelligence

Use when the user wants to summarize, analyze, or repurpose transcripts from TikTok, Instagram, YouTube, Facebook, X/Twitter, LinkedIn, Rumble, or Reddit video posts. Extracts hooks, claims, quotes, content atoms, themes, and reusable scripts.

trend-discovery

Use when the user wants to discover trending social topics, hashtags, sounds, posts, reels, shorts, creators, or formats in a niche. Searches public trend and discovery endpoints, ranks evidence, and turns trends into practical content angles.

相關技能