insta-fetch-cli
v1.0.0
Published
Instagram data extraction CLI - Fetch profiles, posts, stories, reels with anti-detection. No API key required.
Maintainers
Readme
insta-fetch
Instagram data extraction CLI with anti-detection features.
Features
- Profile data extraction
- Posts, stories, reels scraping
- Hashtag search
- Followers/following lists
- Anti-detection (rotating user agents, rate limiting)
- Multiple output formats (JSON, CSV, table)
Installation
npm install -g insta-fetch-cliAuthentication
# Set session ID directly
insta-fetch auth --session-id "your-session-id"
# Check auth status
insta-fetch auth --statusCommands
# Get profile info
insta-fetch profile username
# Fetch posts
insta-fetch posts username -n 50 -o json
# Fetch stories (requires auth)
insta-fetch stories username --download ./media
# Fetch reels
insta-fetch reels username -n 20
# Search hashtag
insta-fetch hashtag travel --top -n 100
# Get followers (requires auth)
insta-fetch followers username -n 500Options
| Option | Description |
|--------|-------------|
| -o, --output | Output format: json, jsonl, csv, table |
| -n, --limit | Number of items to fetch |
| --all | Fetch all available (use with caution) |
| --save | Save output to file |
Anti-Detection
- Random delays between requests
- Rotating user agents
- Rate limiting (100 req/min default)
- Session-based authentication
License
MIT
