Amazon Music Web API
Web API Albums V2.0
Albums
Get multiple albums by IDs
Pass a comma-separated list of album IDs via the ids query parameter.
Maximum 20 IDs per request. The response items are returned in the same
order as the requested IDs; IDs that cannot be resolved produce a 404
for the whole request.
Supports sparse fieldsets via query parameters:
fields[album]— Comma-separated album fields (e.g. title,id,images,artists)fields[artist]— Comma-separated artist fields (e.g. name)fields[image]— Comma-separated image fields (e.g. url)fields[track]— Comma-separated track fields (e.g. title,duration)
Query Parameters
| Name | Data Type | Required | Description |
|---|---|---|---|
| ids | string[] | Yes | List of album IDs (max 20) |
| territory | string | No | Territory code for content availability |
Response 200
Successful response
Response Schema
Example
Full response with every Album field populated
[
{
"id": "B073J5NW51",
"title": "Sound Awake",
"audioQualities": [
"HD"
],
"images": [
{
"height": 1400,
"width": 1400,
"url": "https://m.media-amazon.com/images/I/81uP7WboW6L.jpg",
"imageType": "PRIMARY"
},
{
"height": 500,
"width": 500,
"url": "https://m.media-amazon.com/images/I/51wbfl9b+CL.jpg",
"imageType": "PRIMARY"
}
],
"artists": [
{
"id": "B000X6FP38",
"name": "Karnivool"
}
],
"duration": 4329,
"releaseDate": "2009-06-05T00:00:00.000Z",
"trackCount": 11,
"label": "Columbia",
"url": "https://music.amazon.com.mx/albums/B073J5NW51?ref=dm_ff_amazonmusic_3p",
"parentalSettings": {
"hasExplicitLanguage": false
}
},
{
"id": "B07YVNQFHB",
"title": "Asymmetry",
"audioQualities": [
"HD"
],
"images": [
{
"height": 1400,
"width": 1400,
"url": "https://m.media-amazon.com/images/I/81vN5Iqg6XL.jpg",
"imageType": "PRIMARY"
}
],
"artists": [
{
"id": "B000X6FP38",
"name": "Karnivool"
}
],
"duration": 4821,
"releaseDate": "2013-07-19T00:00:00.000Z",
"trackCount": 10,
"label": "Cymatic Records",
"url": "https://music.amazon.com.mx/albums/B07YVNQFHB?ref=dm_ff_amazonmusic_3p",
"parentalSettings": {
"hasExplicitLanguage": false
}
}
]
Sparse Fieldsets Example
Sparse fieldsets — fields[album]=title,id,releaseDate,artists&fields[artist]=name
[
{
"id": "B073J5NW51",
"title": "Sound Awake",
"releaseDate": "2009-06-05T00:00:00.000Z",
"artists": [
{
"id": "B000X6FP38",
"name": "Karnivool"
}
]
},
{
"id": "B07YVNQFHB",
"title": "Asymmetry",
"releaseDate": "2013-07-19T00:00:00.000Z",
"artists": [
{
"id": "B000X6FP38",
"name": "Karnivool"
}
]
}
]
Error Responses
| Response | Code | Status | Message |
|---|---|---|---|
| 400 | BAD_REQUEST | 400 | ids parameter is required and must contain 1-20 comma-separated IDs |
| 404 | NOT_FOUND | 404 | One or more albums not found |
400 Example
{
"error": {
"code": "BAD_REQUEST",
"message": "ids parameter is required and must contain 1-20 comma-separated IDs",
"traceId": "1-abc-def"
}
}
404 Example
{
"error": {
"code": "NOT_FOUND",
"message": "One or more albums not found",
"traceId": "1-abc-def"
}
}
Get top albums
Paginated with forward-only cursor navigation. Default page size is
20 items; maximum is 100. Use the nextToken from the response to
fetch the next page via the after query parameter.
Supports sparse fieldsets via query parameters:
fields[album]— Comma-separated album fields (e.g. title,id,images)fields[artist]— Comma-separated artist fields (e.g. name)fields[image]— Comma-separated image fields (e.g. url)
Query Parameters
| Name | Data Type | Required | Description |
|---|---|---|---|
| first | integer | No | Number of items to return |
| after | string | No | Cursor to start after |
Response 200
Successful response
Response Schema
Example
Top albums with full Album fields populated
{
"items": [
{
"id": "B084KP4NBH",
"title": "The New Abnormal",
"audioQualities": [
"HD"
],
"releaseDate": "2020-04-10T00:00:00.000Z",
"label": "Cult",
"url": "https://music.amazon.com/albums/B084KP4NBH",
"artists": [
{
"id": "B00G70DLAS",
"name": "the-strokes"
}
],
"images": [
{
"url": "https://m.media-amazon.com/images/I/B084KP4NBH-640.jpg",
"width": 640,
"height": 640,
"imageType": "PRIMARY"
}
]
}
],
"nextToken": "B0EXAMP240"
}
Sparse Fieldsets Example
Sparse fieldsets — fields[album]=title,id,images&fields[image]=url
{
"items": [
{
"id": "B084KP4NBH",
"title": "The New Abnormal",
"images": [
{
"url": "https://m.media-amazon.com/images/I/B084KP4NBH-640.jpg"
}
]
}
],
"nextToken": "B0EXAMP240"
}
Error Responses
| Response | Code | Status | Message |
|---|---|---|---|
| 400 | BAD_REQUEST | 400 | first parameter must be between 1 and 100 |
400 Example
{
"error": {
"code": "BAD_REQUEST",
"message": "first parameter must be between 1 and 100",
"traceId": "1-abc-def"
}
}
Get album by ID
Supports sparse fieldsets via query parameters:
fields[album]— Comma-separated album fields (e.g. title,id,images,artists,tracks)fields[artist]— Comma-separated artist fields (e.g. name)fields[image]— Comma-separated image fields (e.g. url)fields[track]— Comma-separated track fields (e.g. title,duration)
Path Parameters
| Name | Data Type | Required | Description |
|---|---|---|---|
| id | string | Yes | Unique identifier for the resource |
Query Parameters
| Name | Data Type | Required | Description |
|---|---|---|---|
| territory | string | No | Territory code for content availability |
Response 200
Successful response
Response Schema
Example
Full album response
{
"id": "B073J5NW51",
"title": "Sound Awake",
"audioQualities": [
"HD"
],
"images": [
{
"height": 1400,
"width": 1400,
"url": "https://m.media-amazon.com/images/I/81uP7WboW6L.jpg",
"imageType": "PRIMARY"
},
{
"height": 500,
"width": 500,
"url": "https://m.media-amazon.com/images/I/51wbfl9b+CL.jpg",
"imageType": "PRIMARY"
}
],
"artists": [
{
"id": "B000X6FP38",
"name": "Karnivool"
}
],
"duration": 4329,
"releaseDate": "2009-06-05T00:00:00.000Z",
"trackCount": 11,
"label": "Columbia",
"url": "https://music.amazon.com.mx/albums/B073J5NW51?ref=dm_ff_amazonmusic_3p",
"parentalSettings": {
"hasExplicitLanguage": false
}
}
Sparse Fieldsets Example
Sparse fieldsets — fields[album]=title,id,artists&fields[artist]=name
{
"id": "B073J5NW51",
"title": "Sound Awake",
"releaseDate": "2009-06-05T00:00:00.000Z",
"artists": [
{
"id": "B000X6FP38",
"name": "Karnivool"
}
]
}
Error Responses
| Response | Code | Status | Message |
|---|---|---|---|
| 400 | BAD_REQUEST | 400 | Invalid field 'nonexistent' for type 'album' |
| 404 | NOT_FOUND | 404 | Album not found |
400 Example
{
"error": {
"code": "BAD_REQUEST",
"message": "Invalid field 'nonexistent' for type 'album'",
"traceId": "1-abc-def"
}
}
404 Example
{
"error": {
"code": "NOT_FOUND",
"message": "Album not found",
"traceId": "1-abc-def"
}
}
Get new album releases
Paginated with forward-only cursor navigation. Default page size is
20 items; maximum is 100. Use the nextToken from the response to
fetch the next page via the after query parameter.
Supports sparse fieldsets via query parameters:
fields[album]— Comma-separated album fields (e.g. title,id,images,artists)fields[artist]— Comma-separated artist fields (e.g. name)fields[image]— Comma-separated image fields (e.g. url)
Query Parameters
| Name | Data Type | Required | Description |
|---|---|---|---|
| first | integer | No | Number of items to return |
| after | string | No | Cursor to start after |
Response 200
Successful response
Response Schema
Example
First page of new-release albums with every field populated
{
"items": [
{
"id": "B07YVNQFHB",
"title": "Asymmetry",
"audioQualities": [
"HD"
],
"images": [
{
"height": 1400,
"width": 1400,
"url": "https://m.media-amazon.com/images/I/81vN5Iqg6XL.jpg",
"imageType": "PRIMARY"
}
],
"artists": [
{
"id": "B000X6FP38",
"name": "Karnivool"
}
],
"duration": 4821,
"releaseDate": "2013-07-19T00:00:00.000Z",
"trackCount": 10,
"label": "Cymatic Records",
"url": "https://music.amazon.com.mx/albums/B07YVNQFHB?ref=dm_ff_amazonmusic_3p",
"parentalSettings": {
"hasExplicitLanguage": false
}
},
{
"id": "B073J5NW51",
"title": "Sound Awake",
"audioQualities": [
"HD"
],
"images": [
{
"height": 1400,
"width": 1400,
"url": "https://m.media-amazon.com/images/I/81uP7WboW6L.jpg",
"imageType": "PRIMARY"
}
],
"artists": [
{
"id": "B000X6FP38",
"name": "Karnivool"
}
],
"duration": 4329,
"releaseDate": "2009-06-05T00:00:00.000Z",
"trackCount": 11,
"label": "Columbia",
"url": "https://music.amazon.com.mx/albums/B073J5NW51?ref=dm_ff_amazonmusic_3p",
"parentalSettings": {
"hasExplicitLanguage": false
}
}
],
"nextToken": "B0EXAMP201"
}
Sparse Fieldsets Example
Sparse fieldsets — fields[album]=title,id,releaseDate,artists&fields[artist]=name
{
"items": [
{
"id": "B07YVNQFHB",
"title": "Asymmetry",
"releaseDate": "2013-07-19T00:00:00.000Z",
"artists": [
{
"id": "B000X6FP38",
"name": "Karnivool"
}
]
},
{
"id": "B073J5NW51",
"title": "Sound Awake",
"releaseDate": "2009-06-05T00:00:00.000Z",
"artists": [
{
"id": "B000X6FP38",
"name": "Karnivool"
}
]
}
],
"nextToken": "B0EXAMP201"
}
Error Responses
| Response | Code | Status | Message |
|---|---|---|---|
| 400 | BAD_REQUEST | 400 | first parameter must be between 1 and 100 |
400 Example
{
"error": {
"code": "BAD_REQUEST",
"message": "first parameter must be between 1 and 100",
"traceId": "1-abc-def"
}
}

