Radio Reddit API Documentation

For mobile application devs we are providing a simple interface to the current state of the Radio Reddit stream.

The resources are available as XML and JSON:

Exmple XML (formatted for readability):

<?xml version="1.0" encoding="UTF-8"?>
	<playlist>metal / hard rock</playlist>
			<artist>American Hollow</artist>
			<reddit_title>Illumineye by American Hollow (playbass)</reddit_title>
			<title>Bounce Per Ounce</title>
			<reddit_title>Bounce Per Ounce by Ruin (Psyingo)</reddit_title>
			<title>Obie the Overlord</title>
			<reddit_title>Obie the Overlord by DAE (Jimmy8DMT)</reddit_title>

The root tag radioreddit has just a few children:

  • online - returns TRUE when the main stream is online, FALSE when the stream is offline.
  • playlist (or dj) - defines the name of the playlist that is currently active or the name of the DJ currently logged in
  • and songs - has children of type song that defines several attributes of the currently playing song as well as previous songs.

The songs tag has several (8-10 depending on recent IDs and PSAs) children of type song with the following important children:

  • reddit_title - is the title we use for vote tracking via Reddit's dynamic JS buttons
  • reddit_url - is the permalink we use for vote tracking via Reddit's dynamic JS buttons
  • download_url - if the song is download enabled by the artist, this element gives the download location

How we track votes on Radio Reddit

The following JS code is shown to illustrate how we use reddit_title, reddit_url and reddit_target to track song up/down votes:

<script type="text/javascript">
  reddit_url = "";
  reddit_title = "The Wind from Space by Voodoo Pharmacology (voodoopharm)";
  reddit_target = "radioreddit";
  reddit_bgcolor = "f4f2f2";
<script type="text/javascript" src="">

help tools