Advanced OSINT Instagram ID & Username Converter
π Live Demo β’ β¨ Features β’ π‘ REST API β’ π Installation
InstaLens is a lightweight, serverless OSINT tool engineered to bridge the gap between Instagram handles and numeric internal User IDs. Designed for security researchers, analysts, and developers, it performs dual-way conversion without requiring Instagram account credentials.
- β‘ Dual-Direction Lookup: Convert
@username->User IDorUser ID->@username. - π Automatic Data Chaining: When searching by numeric ID, the system automatically resolves the handle and triggers an auxiliary lookup for complete metadata (followers, bio, privacy status).
- π‘οΈ Smart Bot Mitigation: Utilizes header spoofing and browser fingerprinting via
curl_cffito bypass strict login walls. - π Privacy Status Indicator: Renders conditional lock (
π Private) or global (π Public) badges based on account visibility. - π± Desktop & Mobile Responsive: Built with glassmorphism Tailwind CSS for a sleek, dark-mode native feel on all screen sizes.
| Layer | Technology | Purpose |
|---|---|---|
| Frontend | HTML5, Vanilla JS, Tailwind CSS | Micro-scaled glassmorphism UI |
| Backend Framework | FastAPI (Python 3.9+) | Asynchronous API orchestration |
| Bypass Engine | curl_cffi / Requests | Headers & session handling |
| Deployment | Vercel Serverless Functions | Zero-maintenance cloud hosting |
InstaLens operates as both a web application and a lightweight REST API.
GET /api/username-to-id?username=instagramExample Response:
{
"success": true,
"data": {
"pk": "25025320",
"username": "instagram",
"full_name": "Instagram",
"is_private": false,
"follower_count": 668000000,
"following_count": 81,
"biography": "Discover what's new on Instagram."
}
}GET /api/id-to-username?user_id=25025320- Python 3.9 or higher
- Git
git clone https://github.com/acessrdpgg/InstaLens.git
cd InstaLens# Windows
python -m venv venv
venv\Scripts\activate
# Linux / macOS
python3 -m venv venv
source venv/bin/activatepip install -r requirements.txt
uvicorn api.index:app --reloadNavigate to http://127.0.0.1:8000 in your web browser.
This project is open-source and available under the MIT License.
Designed & Maintained with β€οΈ by acessrdpgg
