List all tracks available on-demand for this station.

GET
https://demo.azuracast.com/api/station/{station_id}/ondemand

Parameters

station_idinteger | stringrequiredpath

Response

Success

Response fields application/json
Show child attributes
track_idstring

Track ID unique identifier

Example
1
download_urlstring

URL to download/play track.

Example
/api/station/1/ondemand/download/1
Show child attributes
textstring

The song title, usually “Artist - Title”

Example
Chet Porter - Aluko River
artiststring | null

The song artist.

Example
Chet Porter
titlestring | null

The song title.

Example
Aluko River
albumstring | null

The song album.

Example
Moving Castle
genrestring | null

The song genre.

Example
Rock
isrcstring | null

The International Standard Recording Code (ISRC) of the file.

Example
US28E1600021
lyricsstring | null

Lyrics to the song.

Example
idstring

The song’s 32-character unique identifier hash

Example
9f33bbc912c19603e51be8e0987d076b
artstring

URL to the album artwork (if available).

Example
https://picsum.photos/1200/1200
custom_fieldsArray<string>
playliststring
404Not FoundApi_Error

Record not found.

Response fields application/json
codeintegerrequired

The numeric code of the error.

Example
500
typestringrequired

The programmatic class of error.

Example
NotLoggedInException
messagestringrequired

The text description of the error.

Example
Error description.
formatted_messagestring | nullrequired

The HTML-formatted text description of the error.

Example
<b>Error description.</b><br>Detailed error text.
extra_dataArray<any>required

Stack traces and other supplemental data.

successbooleanrequired

Used for API calls that expect an \Entity\Api\Status type response.

Example
false
500Internal Server ErrorApi_Error

A generic exception has occurred.

Response fields application/json
codeintegerrequired

The numeric code of the error.

Example
500
typestringrequired

The programmatic class of error.

Example
NotLoggedInException
messagestringrequired

The text description of the error.

Example
Error description.
formatted_messagestring | nullrequired

The HTML-formatted text description of the error.

Example
<b>Error description.</b><br>Detailed error text.
extra_dataArray<any>required

Stack traces and other supplemental data.

successbooleanrequired

Used for API calls that expect an \Entity\Api\Status type response.

Example
false