# ping/instagram_private_api

A Python library to access Instagram's private API.

Repository: https://github.com/ping/instagram_private_api
Canonical: https://ross.abutalabs.com/products/instagram_private_api
Language: Python
License: MIT
License Family: permissive
Topics: instagram, instagram-api
Last push: 2024-05-06T07:28:46+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3520, "days_push": 849, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3299, forks 643 (observed 2026-08-28T04:07:55.653446+00:00)

## What it is
A Python client library for Instagram's private (undocumented) app and web APIs, with no third-party dependencies. It exposes app-only features like feeds, posting photos/videos, likes, comments, and follows.

## Use cases
- access instagram's private api from python
- post photos and videos to instagram programmatically
- scrape instagram user, tag, and location feeds
- automate likes, comments, and follows on instagram
- build a bot using instagram's app-only endpoints
- fetch instagram media comments and interactions

## When to choose
- you need Instagram features unavailable in the official public API
- you want a dependency-free Python wrapper for Instagram's app and web APIs
- you're building automation or analysis tooling around your own Instagram account

## When to avoid
- you only need officially supported endpoints and want to comply with Instagram's terms of service
- you need a maintained library with guaranteed compatibility - private APIs break frequently and this project sees only occasional releases
- you're building a production service where account bans from unofficial API use are unacceptable

## Facets
- artifact type: library
- maturity: maintenance
- function: http-client, web-scraping, sdk
- domain: social-media, apis, developer-tools
- platform: python, cross-platform
- tags: instagram, private-api, social-media-automation, api-wrapper, automation

## Member repositories
- ping/instagram_private_api (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:55.653446+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-29T18:42:57.434035+00:00, confidence not recorded.
  - readme: https://github.com/ping/instagram_private_api (fetched 2026-08-28T04:07:55.653446+00:00, sha 047a619dac75)
  - registry_pypi: https://pypi.org/pypi/instagram_private_api/json (fetched 2026-08-29T09:35:31.805620+00:00, sha ac7bcf9d137b)
- Data as of 2026-08-30T08:39:29.467469+00:00.
