Unofficial YouTube Music API Wrapper
JSON →ytmusic-api is an unofficial JavaScript/TypeScript library designed to scrape and interact with YouTube Music data. It provides a robust API for accessing information such as songs, videos, artists, albums, playlists, lyrics, and search suggestions directly from YouTube Music. The library ships with comprehensive TypeScript type definitions, aiming for 95% data type consistency despite the inherent variability of scraped data. Currently at version 5.3.1, the project demonstrates an active release cadence with frequent updates addressing bug fixes, stability improvements, and new features. Its primary differentiator is its strong TypeScript support and a refactored codebase built for understandability and testability, distinguishing it from older, less-typed alternatives.
Traffic · last 30 days ↓37% vs prev 7d
top countries 🇺🇸 United States · 🇩🇪 Germany · 🇨🇦 Canada · 🇫🇷 France