ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

Social Media Extractor

Skill by g4dr

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/g4dr/social-media-extractor
Or

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

  1. Go to https://www.apify.com/?fpr=dx06p and create a free account
  2. Once logged in, navigate to Settings → Integrations
  3. Copy your Personal API Token — format: apify_api_xxxxxxxxxxxxxxxx
  4. 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

Instagram

Actor IDPurpose
apify/instagram-scraperScrape posts, hashtags, profiles, reels
apify/instagram-hashtag-scraperExtract posts by hashtag
apify/instagram-comment-scraperPull comments from a specific post

TikTok

Actor IDPurpose
apify/tiktok-scraperScrape videos, profiles, hashtag feeds
apify/tiktok-hashtag-scraperTrending content by hashtag
apify/tiktok-comment-scraperComments from a specific video

Reddit

Actor IDPurpose
apify/reddit-scraperPosts and comments from subreddits
apify/reddit-search-scraperSearch 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

Author@g4dr
Stars2387
Views1
Updated2026-03-09
View Author Profile
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.