# postaddictme/instagram-php-scraper

Get account information, photos, videos, stories and comments.

Repository: https://github.com/postaddictme/instagram-php-scraper
Canonical: https://ross.abutalabs.com/products/instagram-php-scraper
Homepage: https://packagist.org/packages/raiym/instagram-php-scraper
Language: PHP
License: MIT
License Family: permissive
Topics: instagram, instagram-api, instagram-php-scraper, instagram-sdk, instagram-client, instagram-scraper
Last push: 2025-05-28T22:55:53+00:00

## Health v2 (maintenance only)
Score: 33/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 23, release rhythm 8, longevity 100
- inputs: {"age_days": 3785, "days_push": 462, "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 3327, forks 786 (observed 2026-08-28T04:07:56.451629+00:00)

## What it is
A PHP library that scrapes Instagram via its web version to fetch account information, photos, videos, stories, and comments, with optional credential-based login and session caching. It exists because getting an approved Instagram API application is difficult.

## Use cases
- scrape instagram account info in php
- download instagram photos and videos without official api
- get instagram stories and comments programmatically
- fetch instagram media by username
- monitor instagram profiles without app approval

## When to choose
- you need Instagram data in a PHP project without an approved Instagram app
- you want optional login with cached sessions and proxy support
- you need both authenticated and unauthenticated scraping

## When to avoid
- you need a fully supported, ToS-compliant official API
- your stack is not PHP
- you cannot tolerate breakage when Instagram changes its web endpoints

## Facets
- artifact type: library
- maturity: active
- function: web-scraping, http-client, caching
- domain: social-media, crawlers, web-development
- platform: php, cli
- tags: instagram, scraper, social-media-api, unofficial-api, media-download

## Member repositories
- postaddictme/instagram-php-scraper (main) score 33

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:56.451629+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:41:46.123365+00:00, confidence not recorded.
  - readme: https://github.com/postaddictme/instagram-php-scraper (fetched 2026-08-28T04:07:56.451629+00:00, sha 94864ef4e3d6)
  - homepage: https://packagist.org/packages/raiym/instagram-php-scraper (fetched 2026-08-29T09:34:41.686107+00:00, sha 13bbf57bcb36)
  - site_page: https://packagist.org/about (fetched 2026-08-29T09:34:41.697143+00:00, sha 29af46773a45)
  - site_page: https://packagist.org/packages/raiym/instagram-php-scraper/stats (fetched 2026-08-29T09:34:41.695231+00:00, sha 67cc61bd9276)
- Data as of 2026-08-30T08:39:29.467469+00:00.
