API: info

Back to API reference

Retrieve radio station information: currently playing track title, listeners count, tune in links, recently played tracks.

Request

GET /api/info/StationID

Example request

https://c1.radioboss.fm/api/info/92

Example of returned data (JSON)

{
  "autodj_title": "[1] LiquidDNB Show - LiquidDNB.com",
  "autodj": true,
  "nowplaying": "[1] LiquidDNB Show - LiquidDNB.com",
  "listeners": 1,
  "links": {
    "m3u": "http://c1.radioboss.fm/playlist/92/stream.m3u",
    "m3u_ssl": "https://c1.radioboss.fm/playlist/92/stream.m3u",
    "pls_uri": "c1.radioboss.fm/playlist/92/stream.pls",
    "http": "http://c1.radioboss.fm:8092/stream",
    "ssl": "https://c1.radioboss.fm:18092/stream",
    "port80": "http://c1.radioboss.fm/stream/92",
    "port443": "https://c1.radioboss.fm/stream/92",
    "page": "https://c1.radioboss.fm/u/92",
    "artwork": "https://c1.radioboss.fm/w/artwork/92.png",
    "mounts": [
      {
        "name": "rock",
        "m3u": "http://c1.radioboss.fm/playlist/92/rock.m3u",
        "m3u_ssl": "https://c1.radioboss.fm/playlist/92/rock.m3u",
        "http": "http://c1.radioboss.fm:8092/rock",
        "ssl": "https://c1.radioboss.fm:18092/rock"
      }
    ]
  },
  "recent": [
    {
      "title": "[1] LiquidDNB Show - LiquidDNB.com"
    },
    {
      "title": "Corona feat. Ice MC - The Rhythm Of The Night"
    }
  ]
}