API to retrieve song information from Gaana.
GaanaAPI is an unofficial Python library, built with Flask, that retrieves metadata for songs from Gaana.com. Given a Gaana song URL, it returns details such as album name, artist name, bitrate, duration, language, release date, album art link, song title, and a playable m3u8 stream link, all in JSON format. Lyrics retrieval is available as an optional parameter.
The tool requires the user to supply a direct Gaana song link, since it does not include a search feature. It is intended to be self-hosted: the source is cloned, dependencies installed via pip, and the Flask app run locally or deployed to a VPS or Heroku. The README notes that Heroku's US/Europe servers may not fetch all songs reliably, and recommends an Indian VPS for accurate results.
This is aimed at developers building applications that need programmatic access to Gaana song data and playback links, such as downloader bots or music-related integrations.
It requires the Gaana link of a specific song; a search feature is not implemented.
It returns song details such as album, artist, bitrate, duration, language, m3u8 link, release date, thumbnail, and title in JSON format.
Clone the repo, install requirements with pip3, and run app.py to access it locally at 127.0.0.1:5000.
Yes, it can be deployed on a VPS or Heroku, though Heroku's US/Europe servers may not fetch all songs flawlessly; an Indian VPS is recommended for accurate results.
No, it is an unofficial, community-built API written in Python using Flask.
Show your product to thousands of developers
· 100k monthly pageviews
· 7k newsletter subscribers