shazamio
Is a asynchronous framework from reverse engineered Shazam API written in Python 3.8+ with asyncio and aiohttp.
Decision gist · record as of 2026-08-14
Yes, with conditions. Install if you need Shazam integration and accept that the library relies on reverse engineering, making it subject to API breakage. Low install friction and no known vulnerabilities are positives. However, the aging maintenance status (last update 2025-06-11, no recent commits) means you should verify the API remains functional before committing to production use and be prepared to fork or find alternatives if Shazam changes their endpoints.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; all operations are async and must run within an event loop.
- Low friction installation with a pure Python wheel.
- Maintenance status is aging—last commit was 2025-06-11 and the repository has not been updated in several months, though it remains unarchived with 937 stars.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; you must include a copy of the license and copyright notice in distributions.
last release 2025-06-11 (429 days) · last repo commit 2025-06-11 · 937 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 86,899 downloads/mo, #13,825 on PyPI
Alternatives
Verify before relying
pip install shazamio
import asyncio
from shazamio import Shazam
async def main():
shazam = Shazam()
result = await shazam.recognize('song.ogg')
print(result)
asyncio.run(main())- Whether the reverse-engineered Shazam API remains stable or is subject to breaking changes without notice.
- Performance characteristics and rate limits when making concurrent requests.
- Whether audio file format support extends beyond the examples shown (e.g., MP3, WAV, FLAC).
What it is and what it does
Shazamio is an asynchronous Python wrapper around Shazam's undocumented API, built on reverse engineering. It lets you identify songs from audio files, search for tracks and artists, fetch detailed metadata, and retrieve charts ranked by country, city, or genre. The library uses aiohttp for HTTP requests and pydub for audio handling, making it suitable for concurrent music identification tasks in async applications.
The package includes a serialization layer via dataclass-factory that converts raw API responses into structured Python objects, reducing manual dictionary navigation. It targets modern Python versions (3.10+) and is designed for developers building music recognition features, playlist analysis tools, or applications that need programmatic access to Shazam's music data.
Use it for
- Identify a song from an uploaded audio file in a web application or bot.
- Build a music discovery tool that retrieves top tracks by country, city, or genre.
- Fetch artist profiles and track metadata for music database enrichment.
- Search for songs or artists by name and retrieve structured results.
- Monitor listening counts and find similar tracks for recommendation systems.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
Install if you need Shazam integration and accept that the library relies on reverse engineering, making it subject to API breakage. Low install friction and no known vulnerabilities are positives. However, the aging maintenance status (last update 2025-06-11, no recent commits) means you should verify the API remains functional before committing to production use and be prepared to fork or find alternatives if Shazam changes their endpoints.
Install
shazamio on PyPI
Before you install
Low friction installation with a pure Python wheel. Maintenance status is aging—last commit was 2025-06-11 and the repository has not been updated in several months, though it remains unarchived with 937 stars.
Requires Python 3.10 or later; all operations are async and must run within an event loop.
License in practice
MIT license permits commercial and private use with minimal restrictions; you must include a copy of the license and copyright notice in distributions.
Quickstart
pip install shazamio
import asyncio
from shazamio import Shazam
async def main():
shazam = Shazam()
result = await shazam.recognize('song.ogg')
print(result)
asyncio.run(main())
Verify before relying
- Whether the reverse-engineered Shazam API remains stable or is subject to breaking changes without notice.
- Performance characteristics and rate limits when making concurrent requests.
- Whether audio file format support extends beyond the examples shown (e.g., MP3, WAV, FLAC).
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4.0,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 9 packagesnumpyaiohttppydubdataclass-factoryaiofilesanyioaiohttp-retrypydanticshazamio-core |
| Maintenance | Aging 429 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 86,899 / month, #13,825 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13 |
Evidence: shazamio-0.8.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “song recognition from audio file”
- shazamioAsynchronous Python library that recognizes songs by audio file and…
- pyobjc-framework-ShazamKitProvides Python bindings to macOS's ShazamKit framework, enabling…
- demucsDemucs separates music into individual stems—drums, bass, vocals, and…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also ytmusicapi · pyobjc-framework-ShazamKit · discogs-client · spotifywebapipython · spotapi · eyeD3 · spotipy · pyacoustid · soco · tinytag