How to monitor radio broadcasts

Monitor radio broadcasts with Emysound

Posted by Sergiu Ciumac on June 03, 2021 · 4 mins read

With Emysound you can now monitor radio broadcasts streamed over HTTP and other sources. This can be especially handy if you are looking to detect copyright infringement or get advanced insights on how your data is used on a specific radio or TV stream.

To start, you need to upload tracks to the Emysound platform. You can do it with API commands or via the dashboard interface.

Backoffice screen that shows how to insert track in Emysound Cloud.

Once tracks are inserted, register the stream you want to monitor.

Backoffice screen that shows how to add a stream for monitoring in Emysound Cloud.

Once tracks are inserted and streams are registered, Emy will continuously monitor these broadcasts. You can then download match information and get advanced analytics and insights.

Using API to register streams for monitoring

Log in to Emysound dashboard. Navigate to API Keys screen and copy the Application ID and JSON API Key. Use the application ID as username and JSON API Key as password when accessing the API via HTTP protocol.

Backoffice screen with API Keys

Below is an example of a cUrl command that sends a request with username Admin and empty password.


curl 'https://api.emysound.com/api/v1.1/tracks' \
    -H 'Authorization: Basic Admin:' \
    -F 'track.id=test-id' \
    -F 'track.title=test-title' \
    -F 'track.artist=test-artist' \
    -F 'track.metaFields[test-meta-key]=test-meta-value' \
    -F 'track.mediaType=Audio,Video' \
    -F 'insertOriginalPoints=true' \
    -F 'file=@ad.mp4'

Once tracks are inserted just register the stream for continuous monitoring.


curl --request POST \
  --url https://api.emysound.com/api/v1.1/streams \
  --header 'Authorization: Basic Admin:' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/*+json' \
  --data '
{
  "streamId": "CNN",
  "streamUrl": "https://tunein.streamguys1.com/cnn-new"
}

If you are looking to monitor streams from a particular country or region you can use My Tuner to search for the stations.

Registered matches can later be exported to JSON via the matches API.


curl --request GET \
  --url 'https://api.emysound.com/api/v1.1/matches?limit=50&sinceDays=90' \
  --header 'Authorization: Basic Admin:' \
  --header 'Accept: application/json'


Provided reports will give you detailed information about when a match occurred, how many times, and on which particular station.

The ability to forward JSON notification requests to configurable endpoints will be added to Emysound in a short timeframe. Receiving real-time webhook requests will give you an option to take action immediately as the match occurs.