Osintgram: OSINT Tool for Instagram
- Thiru T
- May 28
- 2 min read

Osintgram is an open-source intelligence (OSINT) tool designed for collecting publicly available information from Instagram profiles. It's a Python-based command-line tool that uses the target's username (nickname) to extract a variety of public data for investigative or analytical purposes.
Key Features and Capabilities
Interactive Shell
Provides a command-line interface to execute reconnaissance commands interactively.
Information Gathering
User Profile Info: Bio, profile picture (in HD), followers/following count, posts count, account privacy status.
Posts & Media:
Download posts (photos and videos)
Retrieve captions, hashtags, and post types
Extract metadata (timestamp, location, etc.)
Followers/Following Analysis:
List of followers and followings (if visible)
Detect mutuals or inactive/fake accounts
Tagged & Liked Content:
Get tagged photos and people tagged in posts
View liked posts
Comments & Mentions:
Extract comments from posts
List users mentioned by the target
Stories & Highlights:
Download stories and saved highlights (if accessible)
Location Data:
Extract geolocation metadata (when tagged)
Contact Info (when available):
Sometimes reveals public emails/phones if included in bio or business profiles
How It Works
Authentication Required: Uses a real Instagram account to log in (must provide credentials or session cookies).
Public Data Only: Can only access information visible to the logged-in user (cannot bypass private settings).
API/Session Simulation: Automates browser-like actions to retrieve public data without using Instagram's official API (bypasses API limits in some cases).
Installation and Usage
Installation Steps:
git clone https://github.com/Datalux/Osintgram.git cd Osintgram pip install -r requirements.txt
Setup:
Login credentials or session cookies must be configured (stored in config or .env).
Run the Tool
python3 main.py <target_username>
Example Commands Inside Shell:
info – Show general profile info
followers – List followers
followings – List following accounts
photos – Download photos
comments – Get all post comments
stories – Download stories
captions – Show all post captions
likes – Get list of users who liked posts
Limitations & Ethical Considerations
Private Profiles: Can't access data unless you follow them with the logged-in account.
Rate Limits: May hit rate limits or CAPTCHA challenges from Instagram.
Legal/Ethical Use Only:
Must comply with Instagram's Terms of Service.
Designed for ethical hacking, pentesting, digital forensics, and academic research—not stalking or harassment.
Alternatives to Osintgram
Instaloader: Python-based tool for downloading posts, stories, and metadata.
Sherlock: Username checker across multiple platforms.
Socialscan: Profile availability checking tool.
Maltego: Graph-based tool for deep OSINT investigations.
Use Cases
Cybersecurity investigations
Social media profiling
Threat intelligence
Digital forensics
Business and market research
All content shared is strictly for educational and awareness purposes. I do not promote, engage in, or encourage any illegal activities. Use the information responsibly and in compliance with applicable laws.
Regarding the tool :- https://youtu.be/Po4e5w8NwMI
Comments