PHPackages                             angeljunior/instagram-scraper - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. angeljunior/instagram-scraper

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

angeljunior/instagram-scraper
=============================

Instagram scraper, with support for users, medias, tags and locations. Proxified by Residential and 4G Proxies.

1.0(5y ago)22.0k—0%AGPL-3.0-or-laterPHPPHP &gt;=5.6.0

Since Mar 22Pushed 5y ago1 watchersCompare

[ Source](https://github.com/angeljunior/instagram-scraper)[ Packagist](https://packagist.org/packages/angeljunior/instagram-scraper)[ Docs](https://github.com/junioroangel/instagram-scraper)[ RSS](/packages/angeljunior-instagram-scraper/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

📷 Instagram Scraper
===================

[](#-instagram-scraper)

[![Latest Stable Version](https://camo.githubusercontent.com/aa842b8da603e06b8a4afcaa73eb88a36b94b51c7caf3bc688e6e20ad42c8fde/68747470733a2f2f706f7365722e707567782e6f72672f616e67656c6a756e696f722f696e7374616772616d2d736372617065722f76)](https://packagist.org/packages/angeljunior/instagram-scraper) [![Total Downloads](https://camo.githubusercontent.com/d35d6a1cd09b3dfbfa0b797b8e82a23edd73d75e296cc30e6da904b1dae9a5b8/68747470733a2f2f706f7365722e707567782e6f72672f616e67656c6a756e696f722f696e7374616772616d2d736372617065722f646f776e6c6f616473)](https://packagist.org/packages/angeljunior/instagram-scraper) [![License](https://camo.githubusercontent.com/426aeddb80f976822a6cfdf6430405ece0d15abefdbd4d57ae54ad5ac36d7ffe/68747470733a2f2f706f7365722e707567782e6f72672f616e67656c6a756e696f722f696e7374616772616d2d736372617065722f6c6963656e7365)](https://packagist.org/packages/angeljunior/instagram-scraper)

Instagram scraper, with support for users, medias, tags, comments and locations. Proxified by Residential and 4G Proxies.

Get a public users data, media, or search for a specific tag or location, without having to register an app.

Since this library uses the web version of Instagram to scrape content, it can break at any time should the returned source code for these pages change.

Proxified for [Instagram Scraper API](https://rapidapi.com/junioroangel/api/instagram-scraper) use a intelligent proxy balancing to better data get and no blocking, success rate is very high.

Requirements
------------

[](#requirements)

- Rapid API Account
- PHP 5.6.0 or higher

Installation
------------

[](#installation)

```
composer require angeljunior/instagram-scraper

```

Usage
-----

[](#usage)

### Starting API

[](#starting-api)

Informe your Rapid API Key

```
$is = new angeljunior\InstagramScraper('RAPID-API-KEY');
```

### Getting a public users data

[](#getting-a-public-users-data)

Returns all public data from an Instagram profile.

```
// by Username
$result = $is->getProfileByUsername('nike');

// by URL
$result = $is->getProfileByURL('https://www.instagram.com/nike/');
```

### Getting medias

[](#getting-medias)

Returns all public medias.

```
// by User Id
$result = $is->getMedias(13460080);

// by public Hashtag
$result = $is->getMediaByHashtag('travel');

// by public Place
$result = $is->getMediaByLocation(108424279189115);
```

### Getting a media data

[](#getting-a-media-data)

Returns a specific public media data.

```
// by Media Shortcode
$result = $is->getMediaByCode('CMe3AQxnhmd');

// by Media URL
$result = $is->getMediaByUrl('https://www.instagram.com/p/CMnW2SBMKiu/');
```

### Getting search results

[](#getting-search-results)

Returns a list of users, tags or locations

```
// by Hashtags
$result = $is->searchHashtags('travel');

// by Location
$result = $is->searchLocations('New york');

// by Userame
$result = $is->searchUsers('nik');
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1875d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b7ed725e3bf74dbd14265d8771c05579488703f63984b00e406f7f26596869ba?d=identicon)[angeljunior](/maintainers/angeljunior)

---

Top Contributors

[![angeljunior](https://avatars.githubusercontent.com/u/10691284?v=4)](https://github.com/angeljunior "angeljunior (13 commits)")

---

Tags

instagramscrapersinstagramscraperinstagram-scraper

### Embed Badge

![Health badge](/badges/angeljunior-instagram-scraper/health.svg)

```
[![Health](https://phpackages.com/badges/angeljunior-instagram-scraper/health.svg)](https://phpackages.com/packages/angeljunior-instagram-scraper)
```

###  Alternatives

[raiym/instagram-php-scraper

Instagram PHP Scraper. Get account information, photos and videos without any authorization

3.3k1.2M6](/packages/raiym-instagram-php-scraper)[vdb/php-spider

A configurable and extensible PHP web spider

1.4k181.0k7](/packages/vdb-php-spider)[nelexa/google-play-scraper

Scrapes app data from Google Play store.

88487.4k](/packages/nelexa-google-play-scraper)[crwlr/crawler

Web crawling and scraping library.

37214.8k2](/packages/crwlr-crawler)[raulr/google-play-scraper

A PHP scraper to get app data from Google Play

12892.7k](/packages/raulr-google-play-scraper)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
