curl --request GET \
--url https://radiotools.rivi.software/api/v1/stations/{stationSlug}/track-history \
--header 'Authorization: Bearer <token>'import requests
url = "https://radiotools.rivi.software/api/v1/stations/{stationSlug}/track-history"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://radiotools.rivi.software/api/v1/stations/{stationSlug}/track-history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://radiotools.rivi.software/api/v1/stations/{stationSlug}/track-history",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://radiotools.rivi.software/api/v1/stations/{stationSlug}/track-history"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://radiotools.rivi.software/api/v1/stations/{stationSlug}/track-history")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://radiotools.rivi.software/api/v1/stations/{stationSlug}/track-history")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"contractVersion": 1,
"stationId": "station-rivier",
"items": [
{
"artist": "The Riverlights",
"title": "Morning Sun",
"album": "Open Water",
"durationSeconds": 210,
"artworkUrl": "https://images.example.com/riverlights/open-water.jpg",
"isPlaying": true,
"observedAt": "2026-10-05T08:00:00.000Z",
"receivedAt": "2026-10-05T08:00:01.000Z",
"id": "observation-rivier-001"
}
],
"nextCursor": null
}List track history
Tenant token with listener:read behind the public station gate. Omits encoder sourceTrackId and provider eventId. Each item may include artworkUrl when ingest or artwork lookup supplied it. Page with the returned cursor (id + observedAt).
curl --request GET \
--url https://radiotools.rivi.software/api/v1/stations/{stationSlug}/track-history \
--header 'Authorization: Bearer <token>'import requests
url = "https://radiotools.rivi.software/api/v1/stations/{stationSlug}/track-history"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://radiotools.rivi.software/api/v1/stations/{stationSlug}/track-history', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://radiotools.rivi.software/api/v1/stations/{stationSlug}/track-history",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://radiotools.rivi.software/api/v1/stations/{stationSlug}/track-history"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://radiotools.rivi.software/api/v1/stations/{stationSlug}/track-history")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://radiotools.rivi.software/api/v1/stations/{stationSlug}/track-history")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"contractVersion": 1,
"stationId": "station-rivier",
"items": [
{
"artist": "The Riverlights",
"title": "Morning Sun",
"album": "Open Water",
"durationSeconds": 210,
"artworkUrl": "https://images.example.com/riverlights/open-water.jpg",
"isPlaying": true,
"observedAt": "2026-10-05T08:00:00.000Z",
"receivedAt": "2026-10-05T08:00:01.000Z",
"id": "observation-rivier-001"
}
],
"nextCursor": null
}Authorizations
Station-scoped listener credential. Send Authorization: Bearer <token>, for example Bearer rtm_…. Sending the rtm_ token alone without Bearer returns 401 UNAUTHENTICATED. In the interactive playground, enter only the raw rtm_ token; the playground adds the prefix. Listener REST and GraphQL: listener:read. Listener devices: push:register.
Path Parameters
Public station slug from the station settings; distinct from the internal station ID.
3 - 63Query Parameters
Maximum number of items per page. See the bounds and default below.
1 <= x <= 100Opaque continuation value from nextCursor. Omit on the first request; pass the returned value unchanged.
512Response
Cursor-paginated observations; legitimate repeats stay separate
Public JSON contract version. The current version is 1; tolerate additional fields within this version.
1 1
Station identifier associated with this response.
"station-rivier"
Reported observations on this page. Repeated titles at different times remain separate entries.
Show child attributes
Show child attributes
[
{
"artist": "The Riverlights",
"title": "Morning Sun",
"album": "Open Water",
"durationSeconds": 210,
"artworkUrl": "https://images.example.com/riverlights/open-water.jpg",
"isPlaying": true,
"observedAt": "2026-10-05T08:00:00.000Z",
"receivedAt": "2026-10-05T08:00:01.000Z",
"id": "observation-rivier-001"
}
]
Continuation cursor for the next page; null means there are no more items. Do not construct or decode it.
512null
Was this page helpful?