INSTAGRAM SPY
instalation
pip install instaspy
features
click this link to view the documentation
- Login Using Cookie.
- retrieve user information.
example
get cookies using this extension
Python 3.12.11 (main, Jun 9 2025, 15:36:10) [Clang 18.0.3 (https://android.googlesource.com/toolchain/llvm-project d8003a456 on linux
Type "help", "copyright", "credits" or "license" for more information.
# import library
>>> from instaspy import Instagram
# login using cookie
>>> ig = Instagram('datr=N3KAaKEGbz2ZWbEj1K5zzmmB; ig_did=91E41F0C-2704-46A3-ACE3-018E3C0CA9DB; mid=aIByNwABADBD5ss27FyYbViOr9; ps_l=1; ps_n=1; dpr=2.1988937854766846; ig_nrcb=1; csrftokenZQ53Vo5xBaKCJuP5sI3fqJMPxTZ; ds_user_id=65122839; wd=891x1718; sessionid=651228843Rq4qYNrDWiKRwq%3A15%3AAYfVgrOWPZVBT-cJZgGcU3p9jV2W9Bi06cEV0d5ihA; rur="EAG\05465122884339\0541785063859:01fed90bed8c10b2c00728cc712bda49e218140ba1562ecb68e3d16bf2b71fca2b425"')
# take your Instagram account name
>>> ig.name
'Ivan Firmansyah'
# get your Instagram account username
>>> ig.username
'ivanfmh15'
# get your Instagram account ID
>>> ig.id
'65122884339'
# take all your Instagram data
# change username to view other people's account information
>>> ig.user_data(ig.username)
{'username': 'ivanfmh15', 'full_name': 'Ivan Firmansyah', 'biography': '.', 'followers': 760, 'following': 21, 'is_private': True, 'is_verified': False, 'profile_pic_url': 'https://scontent.cdninstagram.com/v/t51.2885-19/475306390_9479437722090101_2305614903739138725_n.jpg?stp=dst-jpg_s320x320_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6InByb2ZpbGVfcGljLmRqYW5nby4xMDgwLmMyIn0&_nc_ht=scontent.cdninstagram.com&_nc_cat=105&_nc_oc=Q6cZ2QEJYFddVd3edQ8kpLiqYxeq305TYlj-mIAHh4hkBL9VaGhHxjuoax9_C0TViV9qZpY&_nc_ohc=aGhpNu57wsUQ7kNvwGd9CKp&_nc_gid=XssF4u90Nx-ExkK4i5zgdw&edm=AOQ1c0wBAAAA&ccb=7-5&oh=00_AfQEUtKpJ6nMSB9EFzLZCjlMhELSGr2QFRIUcZJ4QF6kkA&oe=688A7657&_nc_sid=8b3546', 'mutual_followers': []}
support
help me to be enthusiastic about developing and learning new codes with a small donation hehe.
Metadata
Release files for InstaSpy 1.0.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| instaspy-1.0.3.tar.gz | 4.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| instaspy-1.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.0 kB
Release files / instaspy-1.0.3.tar.gz
| Download URL | instaspy-1.0.3.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
acdd3a2b1a56613d1aae5cf8d4a2e2135567c28671f760d89108456cd9445a40
|
|
BLAKE2b-256 checksum How to use checksums |
b35ed6ab7ac2cecf65dabac669e3e221a93d2f8f7805b6706683a0e4d9b2f020
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|
Release files / instaspy-1.0.3-py3-none-any.whl
| Download URL | instaspy-1.0.3-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
49bd093b1d15d08550f6860bd0f803b9e9f25f1aec5b085b5d584801429a6ff6
|
|
BLAKE2b-256 checksum How to use checksums |
f9bfe9751ee5937ca34e5229bfb9f91a34b776f95404765866a504e55021d1c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.11
|
Security for InstaSpy 1.0.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.