Public APIs
Gaana favicon

Gaana

Music

API to retrieve song information from Gaana.

Gaana's website screenshot

About 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.

Key features

  • Fetches song details (album, artist, bitrate, duration, language) from a Gaana song URL
  • Returns a playable m3u8 stream link for the song
  • Provides album art link at maximum resolution
  • Optional lyrics fetching via a lyrics=true query parameter
  • Built in Python with Flask, deployable via Heroku or a VPS

Frequently asked questions

What input does the API require?

It requires the Gaana link of a specific song; a search feature is not implemented.

What data format does the API return?

It returns song details such as album, artist, bitrate, duration, language, m3u8 link, release date, thumbnail, and title in JSON format.

How do I run this API?

Clone the repo, install requirements with pip3, and run app.py to access it locally at 127.0.0.1:5000.

Can I deploy this to the cloud?

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.

Is this an official Gaana API?

No, it is an unofficial, community-built API written in Python using Flask.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product