Skip to main content

Simple Instagram web API library

Project description


Simple Instagram web API library written in Python 3. Just login with your web user and password and start using. No selenium or webdriver required.


pip install instpector

Sample usage

from instpector import Instpector

instpector = Instpector()

# Login into Instagram's web
if not instpector.login("my_username", "my_password"):

# Get the profile of any user, for example 'some_username'
profile = instpector.profile()
insta_profile = profile.get_for("some_username")
# id, followers_count, following_count, is_private, ... 

# Iterate all followers of 'some_username'
followers = instpector.followers()
for follower in followers.get_all_for(
    # id, username, full_name, ...

Check more details in the examples directory.

Available endpoints

  • Followers
  • Following
  • Timeline
  • Profile

More to come


This tool is not affiliated with, authorized, maintained or endorsed by Instagram or any of its affiliates or subsidiaries. Use at your own risk.


Licensed under MIT License.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

instpector-0.1.3.tar.gz (6.5 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page