Skip to main content
GET
/
v1
/
music
/
songs
/
{id}
GetSong
curl --request GET \
  --url https://sdk.anghami.com/v1/music/songs/{id}
{
  "song": {
    "id": {
      "value": "<string>"
    },
    "title": {
      "value": "<string>",
      "originalValue": "<string>"
    },
    "artists": [
      {
        "id": {
          "value": "<string>"
        },
        "name": {
          "value": "<string>",
          "originalValue": "<string>"
        }
      }
    ],
    "albumId": {
      "value": "<string>"
    },
    "durationMs": 123,
    "trackNumber": 123,
    "discNumber": 123,
    "releaseDate": "<string>",
    "genres": [
      "<string>"
    ],
    "isExplicit": true,
    "isrc": "<string>",
    "hasLyrics": true,
    "popularity": 123,
    "artwork": [
      {
        "url": "<string>",
        "width": 123,
        "height": 123
      }
    ],
    "previewUrl": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.sdk.anghami.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string

OAuth 2.0 Bearer token for user-authenticated requests. Format: Bearer <access_token>. Optional if x-api-key is provided.

Example:

"Bearer eyJhbGciOiJSUzI1NiIs..."

x-api-key
string

API key for server-to-server access without user context. Optional if Authorization is provided.

Example:

"ang_live_..."

Accept-Language
string

Preferred locale for localized content (BCP 47). Determines which language variant is returned for LocalizedString fields.

Example:

"ar"

Path Parameters

id
string
required

Unique identifier of the song to retrieve.

Response

Successful response

GetSongResponse is the response message containing the requested song.

song
object

Song represents a playable audio track in the music catalog.