Back to Registry
Instagram
Reddit
View Author Profile
Official Verified
Social Media Extractor
Skill by g4dr
skill-install — Terminal
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/g4dr/social-media-extractorOr
Social Media Data Extraction Skill
Overview
This skill enables Claude to extract public data from Instagram, TikTok, and Reddit for trend analysis, content research, competitor monitoring, and audience insights — powered by the Apify platform.
🔗 Sign up for Apify here: https://www.apify.com/?fpr=dx06p
What This Skill Does
- Extract public posts, hashtags, and profiles from Instagram
- Scrape trending videos, comments, and creator stats from TikTok
- Pull posts, threads, comments, and subreddit data from Reddit
- Aggregate data across platforms for unified trend analysis
- Output structured JSON data ready for analysis, dashboards, or export
Step 1 — Get Your Apify API Token
- Go to https://www.apify.com/?fpr=dx06p and create a free account
- Once logged in, navigate to Settings → Integrations
- Direct link: https://console.apify.com/account/integrations
- Copy your Personal API Token — format:
apify_api_xxxxxxxxxxxxxxxx - Store it as an environment variable:
export APIFY_TOKEN=apify_api_xxxxxxxxxxxxxxxx
Free tier includes $5/month of free compute — enough for regular trend monitoring runs.
Step 2 — Install the Apify Client
npm install apify-client
Dedicated Actors by Platform
| Actor ID | Purpose |
|---|---|
apify/instagram-scraper | Scrape posts, hashtags, profiles, reels |
apify/instagram-hashtag-scraper | Extract posts by hashtag |
apify/instagram-comment-scraper | Pull comments from a specific post |
TikTok
| Actor ID | Purpose |
|---|---|
apify/tiktok-scraper | Scrape videos, profiles, hashtag feeds |
apify/tiktok-hashtag-scraper | Trending content by hashtag |
apify/tiktok-comment-scraper | Comments from a specific video |
| Actor ID | Purpose |
|---|---|
apify/reddit-scraper | Posts and comments from subreddits |
apify/reddit-search-scraper | Search Reddit by keyword |
Examples
Extract Instagram Posts by Hashtag
import ApifyClient from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor("apify/instagram-hashtag-scraper").call({
hashtags: ["trending", "viral", "fyp"],
resultsLimit: 50
});
const { items } = await run.dataset().getData();
// Each item contains:
// { id, shortCode, caption, likesCount, commentsCount,
// timestamp, ownerUsername, url, hashtags[] }
console.log(`Extracted ${items.length} posts`);
Extract TikTok Trending Videos by Hashtag
const run = await client.actor("apify/tiktok-hashtag-scraper").call({
hashtags: ["trending", "lifehack"],
resultsPerPage: 30,
shouldDownloadVideos: false
});
const { items } = await run.dataset().getData();
// Each item contains:
// { id, text, createTime, authorMeta, musicMeta,
// diggCount, shareCount, playCount, commentCount }
Metadata
AI Skill Finder
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skill Add to Configuration
Paste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-g4dr-social-media-extractor": {
"enabled": true,
"auto_update": true
}
}
}Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.