Amazon Music Web API
Web API Stations V2.0
Stations
Get top stations
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[station]— Comma-separated station fields (e.g. name,id,images)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 stations with full Station fields populated
{
"items": [
{
"id": "B0STATN100",
"name": "Relaxing Piano Radio",
"url": "https://music.amazon.com/stations/B0STATN100",
"images": [
{
"url": "https://m.media-amazon.com/images/I/B0STATN100-2400.png",
"width": 2400,
"height": 2400,
"imageType": "PRIMARY"
},
{
"url": "https://m.media-amazon.com/images/I/B0STATN100-500.png",
"width": 500,
"height": 500,
"imageType": "PRIMARY"
}
]
},
{
"id": "B0STATN101",
"name": "Sleep Sounds",
"url": "https://music.amazon.com/stations/B0STATN101",
"images": [
{
"url": "https://m.media-amazon.com/images/I/B0STATN101-2400.png",
"width": 2400,
"height": 2400,
"imageType": "PRIMARY"
}
]
}
],
"nextToken": "B0STATN250"
}
Sparse Fieldsets Example
Sparse fieldsets — fields[station]=id,name&fields[image]=url
{
"items": [
{
"id": "B0STATN100",
"name": "Relaxing Piano Radio"
},
{
"id": "B0STATN101",
"name": "Sleep Sounds"
}
],
"nextToken": "B0STATN250"
}
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 station by ID
Supports sparse fieldsets via query parameters:
fields[station]— Comma-separated station fields (e.g. name,id,images)fields[image]— Comma-separated image fields (e.g. url)
Path Parameters
| Name | Data Type | Required | Description |
|---|---|---|---|
| id | string | Yes | Unique identifier for the resource |
Response 200
Successful response
Response Schema
Example
Full station response with cover images
{
"id": "B0STATN100",
"name": "Relaxing Piano Radio",
"url": "https://music.amazon.com/stations/B0STATN100",
"images": [
{
"url": "https://m.media-amazon.com/images/I/B0STATN100-2400.png",
"width": 2400,
"height": 2400,
"imageType": "PRIMARY"
},
{
"url": "https://m.media-amazon.com/images/I/B0STATN100-500.png",
"width": 500,
"height": 500,
"imageType": "PRIMARY"
}
]
}
Sparse Fieldsets Example
Sparse fieldsets — fields[station]=id,name,images&fields[image]=url
{
"id": "B0STATN100",
"name": "Relaxing Piano Radio",
"images": [
{
"url": "https://m.media-amazon.com/images/I/B0STATN100-2400.png"
}
]
}
Error Responses
| Response | Code | Status | Message |
|---|---|---|---|
| 400 | BAD_REQUEST | 400 | Invalid field 'nonexistent' for type 'station' |
| 404 | NOT_FOUND | 404 | Station not found |
400 Example
{
"error": {
"code": "BAD_REQUEST",
"message": "Invalid field 'nonexistent' for type 'station'",
"traceId": "1-abc-def"
}
}
404 Example
{
"error": {
"code": "NOT_FOUND",
"message": "Station not found",
"traceId": "1-abc-def"
}
}

