# Instaspy - Instagram OSINT Tool 🔍

## Overview
**Instaspy** is a powerful OSINT (Open Source Intelligence) tool designed for Instagram. It allows users to gather extensive information about target accounts, making it a valuable resource for researchers, investigators, and anyone interested in social media analysis. Support my GitHub repo by giving it a star! ⭐

![Instaspy Screenshot](https://github.com/IM-SPYBOY/instaspy/blob/main/Screenshot.png)

## Features
- **Basic Information**: Retrieve essential data such as email (masked format), user ID, username, number of posts, bio, follower count, and account privacy status.
- **Download Posts**: Bulk download all available posts from a target account effortlessly.
- **Collect Comments**: Extract and store comments from specific posts for further analysis.
- **Retrieve Followers & Following Lists**: Export comprehensive lists of followers and accounts being followed.
- **Download Stories Anonymously**: Access and download the target's stories without detection.
- **Identify Posts with User Comments**: Extract posts where the target user has left comments, enhancing your investigative capabilities.
- **Extract Geolocation from Posts**: Retrieve and analyze geolocation data embedded in posts, useful for location-based research.
- **Download Instagram Highlights**: Save all highlight stories from a profile for offline access.

## Installation & Usage
To get started with Instaspy, follow these steps:

1. **Clone the repository**:
   ```bash
   git clone https://github.com/IM-SPYBOY/instaspy.git
   cd instaspy
2. Install dependencies:
   ```sh
   pip install -r requirements.txt
   ```
3. Run the tool:
   ```sh
   python3 instaspy.py
   ```
## Alternatively, you can install Instaspy directly using pip:
   ```sh
   pip install instaspy
   ```


## Configuration
- The session is saved in `session.json`. Make sure to keep this file secure.
- Modify API request headers if necessary for stability and efficiency.

## Disclaimer
This tool is intended for educational and research purposes only. Unauthorized use of Instagram data may violate Instagram's policies. Use responsibly.

## Author
- **SPYBOY**
- [Instagram](https://instagram.com/mr_spyboy)
- [Telegram](https://t.me/mr_spyboy)
- [YouTube](https://www.youtube.com/spyboy)
- [YouTube2.0](https://www.youtube.com/@spyboy2.0)
- [Telegram Channel](https://t.me/spyxtube)
