Gaana API

Free to Use Varies (check documentation)

Overview

Gaana is an unofficial API wrapper for the popular Indian music streaming platform Gaana. It lets you search for songs, albums, and artists without any authentication. This is a community-built project, so expect occasional breaking changes when Gaana updates their platform.

💡

Beginner Tip

Since this is an unofficial wrapper, always handle errors gracefully and have a fallback in case the API is down. Test your requests in a browser first to confirm the endpoint is still live.

Available Data

track name and artist
album metadata
audio preview URLs
popularity score
genre classification

Example Response

JSON Response
{
  "name": "Bohemian Rhapsody",
  "artist": "Queen",
  "album": "A Night at the Opera",
  "duration_ms": 354000,
  "popularity": 92,
  "preview_url": "https://p.scdn.co/mp3-preview/..."
}

Field Reference

status Indicates whether the request was successful ("success" or "failure").
tracks List of track objects returned by the search.
tracks[].title Song title as listed on Gaana.
tracks[].artist Primary artist name for the track.
tracks[].stream_url URL to stream the audio (availability depends on licensing region).

Implementation Example

const url = "https://github.com/cyberboysumanjay/GaanaAPI";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

Connection refused / 502 The unofficial API host may be down or rate-limiting your IP.
Wait and retry after a few minutes, or check the GitHub repo for a new hosted URL.
Empty or null data Gaana changed their internal API structure and the wrapper has not been updated.
Check the GitHub issues page for a patch or fork the repo with the updated endpoint paths.
CORS error in browser The wrapper server does not send CORS headers for browser requests.
Make requests from a server-side environment (Node.js, Python) instead of directly from the browser.

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 20/20
🔒 Security 15/15
🛠 Developer XP 15/20
✓ Reliability 7/15
Response Time 85ms

Fully tested on Apr 5, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS UNKNOWN
Category Music
Difficulty Beginner
Verified: 2026-04-04

Similar APIs

View All →