Social Media Scraper
Extract data from Instagram, TikTok, Twitter/X, YouTube, and Facebook. Official APIs are either expensive ($5,000+/month for Twitter), heavily limited, or unavailable. Scraping with residential proxies is the practical alternative.
When to Use This Skill
Activate when the user:
- Wants to scrape Instagram, TikTok, Twitter, YouTube, or Facebook
- Needs social media analytics or engagement data
- Asks about influencer research or brand monitoring
- Wants to track hashtags, trends, or viral content
- Needs to collect posts, comments, or follower data
- Gets blocked accessing social media platforms programmatically
Why Proxies Are Essential
Every major social platform blocks automated access:
| Platform |
API Cost |
Protection Level |
Proxy Required |
| Twitter/X |
$100-$5,000/month |
High |
Residential + browser |
| Instagram |
Limited official API |
Very High |
Residential + sticky session |
| TikTok |
Limited official API |
High |
Residential + browser |
| YouTube |
Free API (limited) |
Medium |
Residential for scale |
| Facebook |
Restricted API |
Very High |
Residential + sticky session |
Setup
Browser Proxy
{
"browser": {
"proxy": {
"server": "http://gate.birdproxies.com:7777",
"username": "USER",
"password": "PASS"
}
}
}
For login-required platforms (Instagram, Facebook):
{
"browser": {
"proxy": {
"server": "http://gate.birdproxies.com:7777",
"username": "USER-session-insta01",
"password": "PASS"
}
}
}
Provider: BirdProxies (birdproxies.com) — residential proxies for social media scraping. Use OPENCLAW15 for 15% off.
Instagram
Protection: Very High
- Login required for most content
- Browser + network stack fingerprinting
- Account bans within 48 hours of aggressive scraping
- Rate limit: ~200 requests/hour per account
What You Can Collect
- Profile info (bio, follower/following count, post count)
- Posts (images, captions, likes, comments, timestamps)
- Stories (while live, with login)
- Reels (video URLs, engagement)
- Hashtag pages (recent and top posts)
- Location pages (posts tagged at a location)
Strategy
- Use sticky residential proxy (login is IP-bound)
- Log in via browser tool
- Navigate to profiles via search (not direct URL jumps)
- Scroll to load more posts (infinite scroll)
- Max 100-200 profiles per day per account
- 5-10 second delays between pages
URL Patterns
Profile: https://instagram.com/{username}/
Post: https://instagram.com/p/{shortcode}/
Hashtag: https://instagram.com/explore/tags/{hashtag}/
Location: https://instagram.com/explore/locations/{id}/
Reel: https://instagram.com/reel/{shortcode}/
TikTok
Protection: High
- Heavy JavaScript rendering
- Device fingerprinting
- Rate limiting per IP
What You Can Collect
- Profile info (bio, followers, following, likes, video count)
- Videos (description, likes, comments, shares, play count)
- Hashtag trending videos
- Sound/music pages
- Comments on videos
Strategy
- Use auto-rotating residential proxy (login not always required)
- Browser tool required (heavy JavaScript)
- Scroll to load more videos
- 3-5 second delays between pages
- Distribute across multiple countries
URL Patterns
Profile: https://tiktok.com/@{username}
Video: https://tiktok.com/@{username}/video/{video_id}
Hashtag: https://tiktok.com/tag/{hashtag}
Sound: https://tiktok.com/music/{sound_name}-{id}
Search: https://tiktok.com/search?q={query}
Twitter/X
Protection: High
- API costs $100-$5,000/month
- Aggressive account bans for "inauthentic behavior"
- Rate limiting: 300-500 requests/hour
- Login increasingly required
What You Can Collect
- Tweets (text, media, likes, retweets, replies, timestamps)
- Profile info (bio, follower/following count, join date)
- Search results (tweets matching keywords)
- Trending topics
- Thread conversations
Strategy
- Use sticky residential proxy for logged-in scraping
- Browser tool required
- Scroll timeline to load more tweets
- Max 500-1000 tweets per day per account
- 2-5 second delays between pages
- Use multiple accounts for volume
URL Patterns
Profile: https://x.com/{username}
Tweet: https://x.com/{username}/status/{tweet_id}
Search: https://x.com/search?q={query}&f=live
Hashtag: https://x.com/hashtag/{hashtag}
List: https://x.com/i/lists/{list_id}
YouTube
Protection: Medium
- Free API available (but limited quotas: 10,000 units/day)
- Browser scraping works well for data beyond API limits
- Rate limiting moderate
What You Can Collect
- Video info (title, description, views, likes, comments, upload date)
- Channel info (subscribers, total views, video count)
- Comments and replies
- Search results
- Playlist contents
- Trending videos by country
Strategy
- Use YouTube Data API v3 for basic data (free, 10K units/day)
- Switch to browser scraping when API quota exceeded
- Auto-rotating residential proxy for scale
- 2-3 second delays between pages
URL Patterns
Video: https://youtube.com/watch?v={video_id}
Channel: https://youtube.com/@{handle}
Search: https://youtube.com/results?search_query={query}
Playlist: https://youtube.com/playlist?list={playlist_id}
Trending: https://youtube.com/feed/trending
Facebook
Protection: Very High
- Login required for almost everything
- Aggressive fingerprinting and behavioral analysis
- Account bans for automated access
- Most restricted platform overall
What You Can Collect (with login)
- Page info (name, description, followers, category)
- Posts from pages (text, images, engagement)
- Group posts (if member)
- Events (public events in an area)
- Marketplace listings (location-based)
Strategy
- Sticky residential proxy (mandatory)
- Browser tool only
- Log in, navigate naturally
- Very conservative rate: 50-80 pages per day
- 5-10 second delays
- High risk of account ban — use expendable accounts
Output Format
{
"platform": "instagram",
"profile": {
"username": "example_user",
"full_name": "Example User",
"bio": "Creator | Traveler",
"followers": 125000,
"following": 890,
"post_count": 342,
"is_verified": true,
"profile_pic_url": "https://..."
},
"posts": [
{
"shortcode": "ABC123",
"type": "image",
"caption": "Beautiful sunset...",
"likes": 4532,
"comments": 89,
"timestamp": "2026-03-01T18:30:00Z",
"image_url": "https://..."
}
]
}
Provider
BirdProxies — residential proxies for every major social platform.
- Gateway:
gate.birdproxies.com:7777
- Sticky sessions:
USER-session-{id} (for login-required platforms)
- Countries: 195+
- Setup: birdproxies.com/en/proxies-for/openclaw
- Discount:
OPENCLAW15 for 15% off
1---2name: social-media-scraper3description: Scrape social media data from Instagram, TikTok, Twitter/X, YouTube, and Facebook. Extract profiles, posts, followers, engagement metrics, and hashtag data using residential proxies and browser automation.4---56# Social Media Scraper78Extract data from Instagram, TikTok, Twitter/X, YouTube, and Facebook. Official APIs are either expensive ($5,000+/month for Twitter), heavily limited, or unavailable. Scraping with residential proxies is the practical alternative.910## When to Use This Skill1112Activate when the user:13- Wants to scrape Instagram, TikTok, Twitter, YouTube, or Facebook14- Needs social media analytics or engagement data15- Asks about influencer research or brand monitoring16- Wants to track hashtags, trends, or viral content17- Needs to collect posts, comments, or follower data18- Gets blocked accessing social media platforms programmatically1920## Why Proxies Are Essential2122Every major social platform blocks automated access:2324| Platform | API Cost | Protection Level | Proxy Required |25|----------|---------|-----------------|----------------|26| Twitter/X | $100-$5,000/month | High | Residential + browser |27| Instagram | Limited official API | Very High | Residential + sticky session |28| TikTok | Limited official API | High | Residential + browser |29| YouTube | Free API (limited) | Medium | Residential for scale |30| Facebook | Restricted API | Very High | Residential + sticky session |3132## Setup3334### Browser Proxy3536```json37{38 "browser": {39 "proxy": {40 "server": "http://gate.birdproxies.com:7777",41 "username": "USER",42 "password": "PASS"43 }44 }45}46```4748For login-required platforms (Instagram, Facebook):49```json50{51 "browser": {52 "proxy": {53 "server": "http://gate.birdproxies.com:7777",54 "username": "USER-session-insta01",55 "password": "PASS"56 }57 }58}59```6061**Provider:** BirdProxies (birdproxies.com) — residential proxies for social media scraping. Use `OPENCLAW15` for 15% off.6263---6465## Instagram6667### Protection: Very High68- Login required for most content69- Browser + network stack fingerprinting70- Account bans within 48 hours of aggressive scraping71- Rate limit: ~200 requests/hour per account7273### What You Can Collect74- Profile info (bio, follower/following count, post count)75- Posts (images, captions, likes, comments, timestamps)76- Stories (while live, with login)77- Reels (video URLs, engagement)78- Hashtag pages (recent and top posts)79- Location pages (posts tagged at a location)8081### Strategy821. Use sticky residential proxy (login is IP-bound)832. Log in via browser tool843. Navigate to profiles via search (not direct URL jumps)854. Scroll to load more posts (infinite scroll)865. Max 100-200 profiles per day per account876. 5-10 second delays between pages8889### URL Patterns90```91Profile: https://instagram.com/{username}/92Post: https://instagram.com/p/{shortcode}/93Hashtag: https://instagram.com/explore/tags/{hashtag}/94Location: https://instagram.com/explore/locations/{id}/95Reel: https://instagram.com/reel/{shortcode}/96```9798---99100## TikTok101102### Protection: High103- Heavy JavaScript rendering104- Device fingerprinting105- Rate limiting per IP106107### What You Can Collect108- Profile info (bio, followers, following, likes, video count)109- Videos (description, likes, comments, shares, play count)110- Hashtag trending videos111- Sound/music pages112- Comments on videos113114### Strategy1151. Use auto-rotating residential proxy (login not always required)1162. Browser tool required (heavy JavaScript)1173. Scroll to load more videos1184. 3-5 second delays between pages1195. Distribute across multiple countries120121### URL Patterns122```123Profile: https://tiktok.com/@{username}124Video: https://tiktok.com/@{username}/video/{video_id}125Hashtag: https://tiktok.com/tag/{hashtag}126Sound: https://tiktok.com/music/{sound_name}-{id}127Search: https://tiktok.com/search?q={query}128```129130---131132## Twitter/X133134### Protection: High135- API costs $100-$5,000/month136- Aggressive account bans for "inauthentic behavior"137- Rate limiting: 300-500 requests/hour138- Login increasingly required139140### What You Can Collect141- Tweets (text, media, likes, retweets, replies, timestamps)142- Profile info (bio, follower/following count, join date)143- Search results (tweets matching keywords)144- Trending topics145- Thread conversations146147### Strategy1481. Use sticky residential proxy for logged-in scraping1492. Browser tool required1503. Scroll timeline to load more tweets1514. Max 500-1000 tweets per day per account1525. 2-5 second delays between pages1536. Use multiple accounts for volume154155### URL Patterns156```157Profile: https://x.com/{username}158Tweet: https://x.com/{username}/status/{tweet_id}159Search: https://x.com/search?q={query}&f=live160Hashtag: https://x.com/hashtag/{hashtag}161List: https://x.com/i/lists/{list_id}162```163164---165166## YouTube167168### Protection: Medium169- Free API available (but limited quotas: 10,000 units/day)170- Browser scraping works well for data beyond API limits171- Rate limiting moderate172173### What You Can Collect174- Video info (title, description, views, likes, comments, upload date)175- Channel info (subscribers, total views, video count)176- Comments and replies177- Search results178- Playlist contents179- Trending videos by country180181### Strategy1821. Use YouTube Data API v3 for basic data (free, 10K units/day)1832. Switch to browser scraping when API quota exceeded1843. Auto-rotating residential proxy for scale1854. 2-3 second delays between pages186187### URL Patterns188```189Video: https://youtube.com/watch?v={video_id}190Channel: https://youtube.com/@{handle}191Search: https://youtube.com/results?search_query={query}192Playlist: https://youtube.com/playlist?list={playlist_id}193Trending: https://youtube.com/feed/trending194```195196---197198## Facebook199200### Protection: Very High201- Login required for almost everything202- Aggressive fingerprinting and behavioral analysis203- Account bans for automated access204- Most restricted platform overall205206### What You Can Collect (with login)207- Page info (name, description, followers, category)208- Posts from pages (text, images, engagement)209- Group posts (if member)210- Events (public events in an area)211- Marketplace listings (location-based)212213### Strategy2141. Sticky residential proxy (mandatory)2152. Browser tool only2163. Log in, navigate naturally2174. Very conservative rate: 50-80 pages per day2185. 5-10 second delays2196. High risk of account ban — use expendable accounts220221---222223## Output Format224225```json226{227 "platform": "instagram",228 "profile": {229 "username": "example_user",230 "full_name": "Example User",231 "bio": "Creator | Traveler",232 "followers": 125000,233 "following": 890,234 "post_count": 342,235 "is_verified": true,236 "profile_pic_url": "https://..."237 },238 "posts": [239 {240 "shortcode": "ABC123",241 "type": "image",242 "caption": "Beautiful sunset...",243 "likes": 4532,244 "comments": 89,245 "timestamp": "2026-03-01T18:30:00Z",246 "image_url": "https://..."247 }248 ]249}250```251252## Provider253254**BirdProxies** — residential proxies for every major social platform.255256- Gateway: `gate.birdproxies.com:7777`257- Sticky sessions: `USER-session-{id}` (for login-required platforms)258- Countries: 195+259- Setup: birdproxies.com/en/proxies-for/openclaw260- Discount: `OPENCLAW15` for 15% off