Skip to main content

spotify_profile_monitor

GitHub Release PyPI Version GitHub Stars Python Versions License OpenSSF Scorecard Last Commit Maintenance

Powerful Spotify tool for real-time tracking of profile changes, playlist updates, follower growth, collaborators and more - delivered straight to your terminal, inbox or webhook.

spotify_profile_monitor_screenshot

🚀 Quick Install & Run

New to Python or unsure what is installed? Follow the Python install walkthrough first.

Install from PyPI:

pip install spotify_profile_monitor

Run the setup wizard:

spotify_profile_monitor --setup

The wizard asks for the target, authentication, polling interval and optional email or webhook alerts, then offers to run Doctor and start monitoring.

For the manual single-file method, optional extras and upgrade commands, see Installation.

Features

📜 Playlists

  • Detect added or removed playlists and tracks.
  • Track playlist names, descriptions, likes and collaborators.
  • See who added each track to a collaborative playlist.

👤 Profile Changes

  • Track username and profile-picture changes.
  • See when followers or followed accounts are added or removed.
  • View profile details and recently played artists.

🔔 Notifications and History

  • Receive alerts in the terminal, by email, through Discord or through ntfy.
  • Read coloured terminal output with a customizable theme, while log files stay plain text.
  • Keep a timestamped CSV history of profile and playlist changes.
  • Include profile pictures and optional playlist or album artwork in notifications.

🔎 Extra Tools

  • List or export tracks from playlists and Liked Songs.
  • Search for Spotify users by name.
  • Open music and lyrics searches across Spotify, YouTube Music, Apple Music, Tidal and other services.
  • Use the automatic web-player playlist backend without creating a Spotify developer app.

spotify_profile_monitor_playlist

✨ If you want to track Spotify friends' music activity, check out another tool I developed: spotify_monitor.

🛠️ For Spotify Web Player token and secret-key utilities, see Debugging Tools.

Before Monitoring

For manual setup you need two values:

  1. A Spotify target for the person you want to monitor. The easiest form is the complete profile URL copied from Spotify. A spotify:user: URI or bare user ID is also accepted. See How to Find a Friend's Spotify Profile URL.
  2. The sp_dc login cookie from the Spotify account used for monitoring. Import it from a signed-in browser with spotify_profile_monitor --import-browser-cookie --browser firefox or follow the manual cookie extraction steps. Treat this value like a password.

It is strongly recommended to use a separate Spotify account with this tool, because cookie and desktop-client access rely on internal undocumented Spotify endpoints. See Spotify access token source for all four token methods and their limitations.

Common Commands

Use Quick Install & Run above for first-time setup. The table uses PyPI commands. For the manual script equivalents, see Command Format by Installation Method.

I want to... Run this
Start monitoring with existing authentication spotify_profile_monitor TARGET, where TARGET is a complete profile URL, spotify:user: URI or user ID
Check dependencies, authentication, connectivity and one target spotify_profile_monitor --doctor TARGET
Import a Spotify login from a browser Open Spotify Web Player in the browser, sign in then run spotify_profile_monitor --import-browser-cookie --browser firefox
Enter or replace securely a manually extracted SP_DC_COOKIE Run spotify_profile_monitor --set-sp-dc and enter sp_dc at the hidden prompt
Show profile details, followers, followings and playlist statistics spotify_profile_monitor TARGET -i
Display or export the tracks of one playlist spotify_profile_monitor -l PLAYLIST_URL -b tracks.csv
Find a Spotify user ID by name spotify_profile_monitor -s "user name"
Configure and test webhook alerts Use the setup wizard or follow Webhook Settings
List every supported command-line flag spotify_profile_monitor --help

The tool runs until interrupted (Ctrl+C). Use tmux or screen for persistence, and run multiple copies to monitor several users.

Documentation

Full documentation is available at misiektoja.github.io/spotify_profile_monitor:

  • Installation - requirements, PyPI, manual script and upgrades
  • Setup & First Run - setup wizard, browser cookie import and first run
  • Configuration - config file, token sources, targets, time zone, SMTP, webhooks and secrets
  • Usage - monitoring, listing, notifications, CSV export, blacklisting, intervals and signals
  • Troubleshooting - the --doctor self-check, logging levels and common problems
  • Debugging Tools - TOTP token testing and secret key extraction
  • Testing - the offline suite, CI jobs and supply chain checks

Change Log

See RELEASE_NOTES.md for details.

Contributing

Bug reports, documentation fixes and code contributions are welcome. See CONTRIBUTING.md for the development setup, the checks CI enforces and what a change needs before it is merged. Participation is covered by the Code of Conduct.

Security

Report a suspected vulnerability privately through GitHub security advisories, never as a public issue. SECURITY.md covers the reporting process, the supported versions and the security posture of stored secrets, configuration loading and untrusted Spotify text.

Maintainers

License

Licensed under GPLv3. See LICENSE. Dependency licenses are listed in THIRD_PARTY_NOTICES.md.

Support

If the project is useful to you, you can support its development through GitHub Sponsors or Buy Me a Coffee.

Download files

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

Source Distribution

spotify_profile_monitor-3.8.1.tar.gz (231.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spotify_profile_monitor-3.8.1-py3-none-any.whl (152.3 kB view details)

Uploaded Python 3

File details

Details for the file spotify_profile_monitor-3.8.1.tar.gz.

File metadata

  • Download URL: spotify_profile_monitor-3.8.1.tar.gz
  • Upload date:
  • Size: 231.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for spotify_profile_monitor-3.8.1.tar.gz
Algorithm Hash digest
SHA256 48e9a53253d9c9a01cdd4e8b52902ddca42f9e5b8baba1bb040cb1101093db92
MD5 65d230d624cc03064e181fa23c4c6b12
BLAKE2b-256 894845322126cda3744f00554f43d51e442906c59259fcf84755865d256a55e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for spotify_profile_monitor-3.8.1.tar.gz:

Publisher: publish.yml on misiektoja/spotify_profile_monitor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spotify_profile_monitor-3.8.1-py3-none-any.whl.

File metadata

File hashes

Hashes for spotify_profile_monitor-3.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ab3302d25d528ef2fc88e7ea20f2e76f50cdab74fea75b0fd9c1c7e5749e5423
MD5 5543a318c2c4dd71234b8d2abdee013d
BLAKE2b-256 35a837123ff36be3976087d818143dd7d47e03ecd57a4134e89930fb7f7b2915

See more details on using hashes here.

Provenance

The following attestation bundles were made for spotify_profile_monitor-3.8.1-py3-none-any.whl:

Publisher: publish.yml on misiektoja/spotify_profile_monitor

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

3.8.2

2 files

This release

3.8.1 This release

2 files

3.8

2 files

3.7

2 files

3.6

2 files

3.5

2 files

3.4.1

2 files

3.4

2 files

3.3

2 files

3.2

2 files

3.1

2 files

3.0

2 files

2.9

2 files

2.8

2 files

2.7

2 files

2.6.1

2 files

2.6

2 files

2.5.3

2 files

2.5.2

2 files

2.5.1

2 files

2.5

2 files

2.4

2 files

2.3.2

2 files

2.3.1

2 files

2.3

2 files

2.2.1

2 files

2.2

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page