# JioSaavn API

> Returns songs, albums, playlists and artists from JioSaavn with details such as label, duration and track lists.

Category: Music & Audio. Region: IN. 11 endpoints at `https://api.hoshime.com/v1/jiosaavn/<endpoint>`, `GET` with query parameters, answering `{data, meta}` (see https://hoshime.com/docs/responses.md). Reference: https://hoshime.com/docs/platforms/jiosaavn
## GET /v1/jiosaavn/search

Songs that match a search, 20 per page.

Scope: `social:read` · Units: 1 · Cached: 10 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Search terms. (e.g. arijit singh) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `albumId` (string), `albumTitle` (string), `artists` (Artist[]), `artists[].id` (string), `artists[].name` (string), `durationSeconds` (integer (int64)), `explicit` (boolean), `id` (string), `image` (string), `label` (string), `language` (string), `playCount` (integer (int64)), `releaseDate` (string), `title` (string), `url` (string), `year` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/jiosaavn/search?query=arijit+singh" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/jiosaavn/song

Details of one song: its album, artists, label and duration.

Scope: `social:read` · Units: 1 · Cached: 60 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | Song id or jiosaavn.com song URL. (e.g. https://www.jiosaavn.com/song/tum-hi-ho/EToxUyFpcwQ) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `albumId` (string), `albumTitle` (string), `artists` (Artist[]), `artists[].id` (string), `artists[].name` (string), `durationSeconds` (integer (int64)), `explicit` (boolean), `id` (string), `image` (string), `label` (string), `language` (string), `playCount` (integer (int64)), `releaseDate` (string), `title` (string), `url` (string), `year` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/jiosaavn/song?id=https%3A%2F%2Fwww.jiosaavn.com%2Fsong%2Ftum-hi-ho%2FEToxUyFpcwQ" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/jiosaavn/album

Details of one album, with its songs in order.

Scope: `social:read` · Units: 1 · Cached: 60 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | Album id or jiosaavn.com album URL. (e.g. https://www.jiosaavn.com/album/tu-mil-jaaye-from-king/gvlYlSBDPOc_) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `artists` (Artist[]), `artists[].id` (string), `artists[].name` (string), `id` (string), `image` (string), `releaseDate` (string), `songCount` (integer (int64)), `songs` (Song[]), `songs[].albumId` (string), `songs[].albumTitle` (string), `songs[].artists` (Artist[]), `songs[].durationSeconds` (integer (int64)), `songs[].explicit` (boolean), `songs[].id` (string), `songs[].image` (string), `songs[].label` (string), `songs[].language` (string), `songs[].playCount` (integer (int64)), `songs[].releaseDate` (string), `songs[].title` (string), `songs[].url` (string), `songs[].year` (integer (int64)), `title` (string), `url` (string), `year` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/jiosaavn/album?id=https%3A%2F%2Fwww.jiosaavn.com%2Falbum%2Ftu-mil-jaaye-from-king%2FgvlYlSBDPOc_" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/jiosaavn/playlist

One playlist by its numeric listid, with its songs in order.

Scope: `social:read` · Units: 1 · Cached: 30 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | Numeric playlist listid, such as 47599074. (e.g. 47599074) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `id` (string), `image` (string), `songCount` (integer (int64)), `songs` (Song[]), `songs[].albumId` (string), `songs[].albumTitle` (string), `songs[].artists` (Artist[]), `songs[].durationSeconds` (integer (int64)), `songs[].explicit` (boolean), `songs[].id` (string), `songs[].image` (string), `songs[].label` (string), `songs[].language` (string), `songs[].playCount` (integer (int64)), `songs[].releaseDate` (string), `songs[].title` (string), `songs[].url` (string), `songs[].year` (integer (int64)), `title` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/jiosaavn/playlist?id=47599074" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/jiosaavn/artist

One artist with their top songs, albums and singles.

Scope: `social:read` · Units: 1 · Cached: 60 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `id` | string | yes | Artist token (the last segment of an artist URL) or a jiosaavn.com artist URL. (e.g. https://www.jiosaavn.com/artist/arijit-singh-songs/LlRWpHzy3Hk_) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `fanCount` (integer (int64)), `followCount` (integer (int64)), `id` (string), `image` (string), `name` (string), `singles` (Entry[]), `singles[].explicit` (boolean), `singles[].id` (string), `singles[].image` (string), `singles[].language` (string), `singles[].subtitle` (string), `singles[].title` (string), `singles[].type` (string), `singles[].url` (string), `singles[].year` (integer (int64)), `topAlbums` (Entry[]), `topAlbums[].explicit` (boolean), `topAlbums[].id` (string), `topAlbums[].image` (string), `topAlbums[].language` (string), `topAlbums[].subtitle` (string), `topAlbums[].title` (string), `topAlbums[].type` (string), `topAlbums[].url` (string), `topAlbums[].year` (integer (int64)), `topSongs` (Entry[]), `topSongs[].explicit` (boolean), `topSongs[].id` (string), `topSongs[].image` (string), `topSongs[].language` (string), `topSongs[].subtitle` (string), `topSongs[].title` (string), `topSongs[].type` (string), `topSongs[].url` (string), `topSongs[].year` (integer (int64)), `verified` (boolean)

```bash
curl "https://api.hoshime.com/v1/jiosaavn/artist?id=https%3A%2F%2Fwww.jiosaavn.com%2Fartist%2Farijit-singh-songs%2FLlRWpHzy3Hk_" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/jiosaavn/artistSearch

Artists that match a search, 20 per page.

Scope: `social:read` · Units: 1 · Cached: 10 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Search terms. (e.g. arijit singh) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `id` (string), `image` (string), `name` (string), `role` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/jiosaavn/artistSearch?query=arijit+singh" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/jiosaavn/albumSearch

Albums that match a search, 20 per page.

Scope: `social:read` · Units: 1 · Cached: 10 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Search terms. (e.g. arijit singh) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `id` (string), `image` (string), `language` (string), `subtitle` (string), `title` (string), `url` (string), `year` (integer (int64))

```bash
curl "https://api.hoshime.com/v1/jiosaavn/albumSearch?query=arijit+singh" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/jiosaavn/playlistSearch

Playlists that match a search, 20 per page.

Scope: `social:read` · Units: 1 · Cached: 10 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `query` | string | yes | Search terms. (e.g. chill) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `id` (string), `image` (string), `language` (string), `name` (string), `owner` (string), `songCount` (integer (int64)), `url` (string)

```bash
curl "https://api.hoshime.com/v1/jiosaavn/playlistSearch?query=chill" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/jiosaavn/trending

Trending editorial items on JioSaavn: playlists, albums and songs, in the order the app shows them.

Scope: `social:read` · Units: 1 · Cached: 30 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `id` (string), `image` (string), `language` (string), `songCount` (integer (int64)), `subtitle` (string), `title` (string), `type` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/jiosaavn/trending" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/jiosaavn/charts

JioSaavn's editorial charts (most searched, trending, decades and more), with their playlist ids.

Scope: `social:read` · Units: 1 · Cached: 60 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `id` (string), `image` (string), `name` (string), `url` (string)

```bash
curl "https://api.hoshime.com/v1/jiosaavn/charts" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/jiosaavn/topSearches

The searches JioSaavn users make most often right now.

Scope: `social:read` · Units: 1 · Cached: 60 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `query` (string)

```bash
curl "https://api.hoshime.com/v1/jiosaavn/topSearches" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
