# subzeroid/instagrapi

🔥 The fastest and powerful Python library for Instagram Private API 2026 with HikerAPI SaaS

Repository: https://github.com/subzeroid/instagrapi
Canonical: https://ross.abutalabs.com/products/instagrapi
Homepage: https://subzeroid.github.io/instagrapi/
Language: Python
License: NOASSERTION
License Family: other
Topics: instagram-api, instagram, instagram-client, instagram-downloader, instagram-bot, instagram-photos, instagram-stories, instagram-scraper, instagram-feed, instagram-sdk, instagram-private-api, instagram-api-python, instagram-automation, instagram-account, instagram-crawler, instabot, instapy, instagrapi, instaloader, osint
Last push: 2026-08-26T10:54:45+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 2225, "days_push": 7, "days_rel": 7, "gap_med": 0, "n_releases_24m": 174}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6713, forks 972 (observed 2026-08-28T04:09:47.996418+00:00)

## What it is
instagrapi is a fast Python wrapper for Instagram's unofficial private (mobile) and public web APIs, supporting login with 2FA, session persistence, challenge handling, and media/user/DM/story automation. It is best suited for testing, research, and controlled internal automation rather than production account automation.

## Use cases
- download instagram photos and videos with python
- automate posting to instagram via private api
- scrape instagram user profiles and stories
- send instagram direct messages programmatically
- upload reels and stories from a script
- collect instagram data for osint research
- manage instagram followers and comments with python

## When to choose
- you need a Python client for Instagram private API flows including uploads and DMs
- you're doing research, testing, or controlled internal automation
- you need session persistence, 2FA login, and challenge handling in one library

## When to avoid
- you're running production business workflows that official Instagram APIs cover
- you need guaranteed stability - private API automation is fragile due to rate limits, challenges, and account trust
- you're not using Python 3.10+ or need another language (use instagrapi-rest instead)

## Facets
- artifact type: library
- maturity: active
- function: http-client, web-scraping, sdk, workflow-automation
- domain: social-media, osint, apis
- platform: python, cli
- tags: instagram, instagram-private-api, instagram-scraper, instagram-bot, social-media-automation, media-downloader, unofficial-api, automation

## Member repositories
- subzeroid/instagrapi (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:47.996418+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:42:56.214791+00:00, confidence not recorded.
  - readme: https://github.com/subzeroid/instagrapi (fetched 2026-08-28T04:09:47.996418+00:00, sha e5bc6ae24777)
  - homepage: https://subzeroid.github.io/instagrapi/ (fetched 2026-08-29T08:38:59.326405+00:00, sha e3bd54c0eb9c)
  - registry_pypi: https://pypi.org/pypi/instagrapi/json (fetched 2026-08-29T08:38:59.336013+00:00, sha 4795cdc2630b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
