Logo

Docs

Songs

Get a Song

Fetch a single song resource by id.

Endpoint

GET /songs/{id}

Endpoint reference: getSong

Use this endpoint when you already know the song id and want the canonical song resource.

What You Can Include

  • albums
  • artists
  • lyrics

Path Parameters

NameDescriptionTypeExample
idSong idstringsong_123

Query Parameters

Scoped parameters like view[...] and limit[...] can shape included relationships.

NameValuesRequired
langlocale stringfalse
includealbums, artists, lyricsfalse
viewminimalfalse
view[songs]minimalfalse
view[albums]minimalfalse
view[artists]minimalfalse
limit[albums]1-25false
limit[artists]1-25false

Response Shape

Returns a single song resource wrapped in data.

The returned item may be:

  • a full Song
  • a minimal BaseSong if view=minimal is used

Responses

StatusContent TypeResponse
200 OKapplication/jsonSongResponse
404 Not Foundapplication/jsonErrorResponse

On this page