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

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

Metadata Score Breakdown

Estimated from metadata — endpoint not independently tested

This score is estimated from observable metadata — HTTPS support, authentication model, declared CORS, and documentation reachability — because the API requires authentication or exposes no publicly testable endpoint. The five-signal breakdown is only shown for live-tested APIs.

Metadata estimate · endpoint not independently tested

Technical Specifications

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

Related Tags

Similar APIs

View All →