---
lang: en-US
title: Related Album
description: Description of all routes related to searching for a related album
---
## GET `/album/:songId`
This route returns any associated album for a specified song.
Get the song ID from one of the [search routes.](./search)
Example: `/album/1644`
**Optional URL Parameters:**
`?format=json/xml`
Use this optional parameter to change the response format from the default (`json`) to `xml`
The structure of the XML data is similar to the shown JSON data.
**Response:**
Successful response (click to view)
```json
{
"error": false,
"matches": 1,
"album": {
"name": "Album",
"fullTitle": "Song by Artist",
"url": "https://genius.com/albums/Artist/Album",
"coverArt": "https://images.genius.com/...",
"id": 12345,
"artist": {
"name": "Artist",
"url": "https://genius.com/artists/Artist",
"image": "https://images.genius.com/...",
"headerImage": "https://images.genius.com/..."
}
}
}
```
Errored response (click to view)
```json
{
"error": true,
"matches": null,
"message": "Something went wrong"
}
```
Response when no result found (click to view)
```json
{
"error": true,
"matches": 0,
"message": "Couldn't find any associated album for this song"
}
```