insto¶
Interactive Instagram OSINT CLI on the HikerAPI backend.
uv tool install insto
insto setup # paste your HikerAPI token
insto # REPL with welcome screen
insto -c info instagram # one-shot lookup, no REPL
Two surfaces over the same command grammar:
- REPL —
instodrops you into a prompt-toolkit session with a slash popup for every command (Claude-Code style), a bottom toolbar showing active target - backend + live HikerAPI balance, Ctrl+T / Ctrl+L keybindings, and live
/watchnotifications viapatch_stdout. - One-shot —
insto @user -c <command> [args]runs a single slash-command and exits. Pipe-friendly:--json -writes JSON to stdout,--csv -does the same for flat-row commands,/batch -reads targets from stdin.
What you get¶
- 24 OSINT slash-commands across profile / media / network / content / interactions / batch / watch / operational.
- A killer
/dossiercommand that collects a full target package (info + posts + followers + following + mutuals + hashtags + mentions + locations + wcommented + wtagged) into a structured directory with aMANIFEST.mdsummary. - Hardened CDN streamer for media downloads: host allowlist, MIME cross-check, byte budgets, atomic writes, disk guard.
- Sqlite-backed history / snapshots / watches at
~/.insto/store.db(mode0600, schema-versioned). - OPSEC:
--proxyflag andHIKERAPI_PROXYenv for Tor / corp egress; secret redaction across error output and rotating log file. - Maltego CSV exporter for graph-tooling interop.
What it is NOT¶
- Not a scraper. v0.1 talks to HikerAPI exclusively (paid, no account-ban risk). v0.2 will add
aiograpifor private-account access. - Not an account hijacker / DM-flooder / ban-evader.
- No AI / LLM features. No web UI.
Anagram¶
insto is the same five letters as osint — open-source intelligence — rearranged. Both readings are intentional: it looks like an Instagram tool, and under the hood it is one, but the discipline is OSINT.
Pick a backend¶
| hiker (default in v0.1) | aiograpi (v0.2) | |
|---|---|---|
| Auth | API token | Instagram login + 2FA |
| Cost | Pay-per-call, 100 free requests at signup (no card) | Free |
| Account ban risk | None | Real |
| Stability | High | Brittle |
| Private-account access | No | Yes (only for accounts you follow) |
See Backends for the full breakdown.
Command surface¶
🔥 marks the killer-feature commands — uniquely-OSINT primitives that don't have obvious equivalents in other tools. See Killer features for full examples.
| Group | Commands |
|---|---|
| Profile | info about propic email phone export pinned |
| Media | posts reels reposts stories highlights tagged audio postinfo 🔥 |
| Network | followers followings mutuals intersect 🔥 similar search 🔥 recommended |
| Geo | locations where 🔥 place 🔥 placeposts 🔥 |
| Content | hashtags mentions captions likes timeline 🔥 |
| Interactions | comments wcommented wliked wtagged fans 🔥 |
| Discovery | resolve |
| Watch / diff | watch unwatch watching diff history |
| Operational | quota health config purge |
| Session | target current clear |
| Batch / dossier | batch dossier 🔥 |
Where to next¶
- Killer features 🔥 — the OSINT-unique commands with examples.
- OSINT recipes 📓 — concrete investigative scenarios as 3-5 command sequences.
- Installation —
uv tool install insto, dev sources, shell completion. - Basic usage — REPL walkthrough, one-shot patterns, pipelines.
- CLI reference — every command with flags and examples.
- Architecture — how the layers fit together.