Repository navigation
Initial public release of the unofficial Threads (com.instagram.barcelona) Mobile Private API SDK for Python and TypeScript.
Key Highlights
- Sub-80ms Real-Time Ingestion: Wire-speed keyword search, emerging trend discovery, and hashtag monitoring without browser overhead or DOM scraping.
- Direct External Replies: Native mobile protocol reply dispatch to any public thread post, overcoming Meta Graph API restrictions.
- Nested Discussion Trees: Hierarchical extraction of root posts, recursive child comments, and author engagement metadata.
- Dual Platform Hardware Presets: Authentic iOS (iPhone 15 Pro, iOS 17.6.1) and Android (Samsung Galaxy A34, Android 14) fingerprints.
- Dual Language SDK: Python package (threadsflow) and TypeScript / Node.js package (@molkex/threads-private-api).
- AI Agent & MCP Integration: Built-in Model Context Protocol server exposing 9 tools for Claude Desktop, Cursor, and Windsurf.
- Unified Meta Auth: Compatible with Instagram session cookies and Bearer IGT:2 tokens.
Installation
- Python: pip install git+https://github.com/molkex/threads-private-api.git
- TypeScript: cd ts && npm install && npm run build
For enterprise clusters, continuous doc_id synchronization, or private scraping fleets:
Telegram: https://t.me/mxmtkchk (@mxmtkchk)