Returns a list of stations.

GET
https://demo.azuracast.com/api/stations

Response

Success

Response fields application/json
Show child attributes
idintegerrequired

Station ID

Example
1
namestringrequired

Station name

Example
AzuraTest Radio
shortcodestringrequired

Station “short code”, used for URL and folder paths

Example
azuratest_radio
descriptionstringrequired

Station description

Example
An AzuraCast station!
frontendstringrequired

Which broadcasting software (frontend) the station uses

Example
shoutcast2
backendstringrequired

Which AutoDJ software (backend) the station uses

Example
liquidsoap
timezonestringrequired

The station’s IANA time zone

Example
America/Chicago
listen_urlstringrequired

The full URL to listen to the default mount of the station

Example
http://localhost:8000/radio.mp3
urlstring | nullrequired

The public URL of the station.

Example
https://example.com/
public_player_urlstringrequired

The public player URL for the station.

Example
https://example.com/public/example_station
playlist_pls_urlstringrequired

The playlist download URL in PLS format.

Example
https://example.com/public/example_station/playlist.pls
playlist_m3u_urlstringrequired

The playlist download URL in M3U format.

Example
https://example.com/public/example_station/playlist.m3u
is_publicbooleanrequired

If the station is public (i.e. should be shown in listings of all stations)

Example
true
requests_enabledbooleanrequired

If the station has song requests enabled.

Example
true
Show child attributes
idintegerrequired

Mount/Remote ID number.

Example
1
namestringrequired

Mount point name/URL

Example
/radio.mp3
urlstringrequired

Full listening URL specific to this mount

Example
http://localhost:8000/radio.mp3
bitrateinteger | nullrequired

Bitrate (kbps) of the broadcasted audio (if known)

Example
128
formatstring | nullrequired

Audio encoding format of broadcasted audio (if known)

Example
mp3
listenersApi_NowPlaying_Listenersrequired
Show child attributes
totalintegerrequired

Total non-unique current listeners

Example
20
uniqueintegerrequired

Total unique current listeners

Example
15
currentintegerrequired

Total non-unique current listeners (Legacy field, may be retired in the future.)

Example
20
pathstringrequired

The relative path that corresponds to this mount point

Example
/radio.mp3
is_defaultbooleanrequired

If the mount is the default mount for the parent station

Example
true
Show child attributes
idintegerrequired

Mount/Remote ID number.

Example
1
namestringrequired

Mount point name/URL

Example
/radio.mp3
urlstringrequired

Full listening URL specific to this mount

Example
http://localhost:8000/radio.mp3
bitrateinteger | nullrequired

Bitrate (kbps) of the broadcasted audio (if known)

Example
128
formatstring | nullrequired

Audio encoding format of broadcasted audio (if known)

Example
mp3
listenersApi_NowPlaying_Listenersrequired
Show child attributes
totalintegerrequired

Total non-unique current listeners

Example
20
uniqueintegerrequired

Total unique current listeners

Example
15
currentintegerrequired

Total non-unique current listeners (Legacy field, may be retired in the future.)

Example
20
hls_enabledbooleanrequired

If the station has HLS streaming enabled.

Example
true
hls_is_defaultbooleanrequired

If the HLS stream should be the default one for the station.

Example
true
hls_urlstring | nullrequired

The full URL to listen to the HLS stream for the station.

Example
https://example.com/hls/azuratest_radio/live.m3u8
hls_listenersintegerrequired

HLS Listeners

Example
1