spotifyaio
Asynchronous Python client for Spotify.
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and requires only common async dependencies. Install friction is low and Python 3.13+ support is current. Install it if you need to query Spotify's API from async Python code; the only gotcha is the Python 3.13+ requirement.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.13 or later; you must provide valid Spotify API credentials (token or client ID/secret).
- Low install friction with a pure-Python wheel distribution.
- Actively maintained as of 2026-08-13 with recent releases; requires Python 3.13 or later.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions, provided you retain the license notice.
last release 2026-03-04 (163 days) · last repo commit 2026-08-13 · 8 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 93,970 downloads/mo, #13,354 on PyPI
Alternatives
Verify before relying
pip install spotifyaio
import asyncio
from spotifyaio import SpotifyClient
async def main():
async with SpotifyClient(token='your_token') as client:
data = await client.get_track('track_id')
asyncio.run(main())- Exact API endpoints and methods available in version 2.0.2 are not detailed in the fact sheet.
- Whether the package handles Spotify authentication flows (OAuth, client credentials) or requires pre-obtained tokens.
- Rate limiting and error handling behavior for Spotify API responses.
What it is and what it does
spotifyaio is an async Python wrapper around Spotify's API, built on aiohttp for non-blocking I/O. It lets you query Spotify data—tracks, artists, playlists, and more—using Python's async/await syntax, making it suitable for concurrent applications, bots, and services that need to fetch Spotify metadata without blocking. The package depends on aiohttp for HTTP requests, mashumaro and orjson for efficient serialization, and yarl for URL handling.
The library targets Python 3.13+ and is actively maintained. It uses semantic versioning and publishes releases via GitHub. The MIT license places no restrictions on commercial or private use. With low install friction and no known vulnerabilities, it's a straightforward choice for developers building async Spotify integrations.
Use it for
- Build a Discord bot or Telegram bot that queries Spotify for track info, artist details, or playlist data asynchronously.
- Create a web service that aggregates Spotify metadata for multiple users concurrently without blocking.
- Fetch Spotify data in a background task or scheduled job within an async application.
- Integrate Spotify search and recommendation endpoints into an async music recommendation engine.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and requires only common async dependencies. Install friction is low and Python 3.13+ support is current. Install it if you need to query Spotify's API from async Python code; the only gotcha is the Python 3.13+ requirement.
Install
spotifyaio on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained as of 2026-08-13 with recent releases; requires Python 3.13 or later.
Requires Python 3.13 or later; you must provide valid Spotify API credentials (token or client ID/secret).
License in practice
MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions, provided you retain the license notice.
Quickstart
pip install spotifyaio
import asyncio
from spotifyaio import SpotifyClient
async def main():
async with SpotifyClient(token='your_token') as client:
data = await client.get_track('track_id')
asyncio.run(main())
Verify before relying
- Exact API endpoints and methods available in version 2.0.2 are not detailed in the fact sheet.
- Whether the package handles Spotify authentication flows (OAuth, client credentials) or requires pre-obtained tokens.
- Rate limiting and error handling behavior for Spotify API responses.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4.0,>=3.13 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesaiohttpmashumaroorjsonyarl |
| Maintenance | Actively maintained 163 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 93,970 / month, #13,354 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableFramework :: AsyncIOIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries :: Python Modules |
Evidence: spotifyaio-2.0.2-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 › “spotify api client async”
- spotifyaioAsynchronous Python client for fetching data from Spotify's API using…
- spotifywebapipythonA Python library that wraps the Spotify Web API, enabling retrieval…
- spotipySpotipy is a Python client library for the Spotify Web API that…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also aiosyncthing · aiowithings · todoist_api_python · radios · aiogithubapi · pysmartthings · open-meteo · devo-sdk · pylibrespot-java · newsapi-python