curl --request GET \
--url https://radiotools.rivi.software/api/v1/stations/{stationSlug}/programs \
--header 'Authorization: Bearer <token>'import requests
url = "https://radiotools.rivi.software/api/v1/stations/{stationSlug}/programs"
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}/programs', 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}/programs",
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}/programs"
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}/programs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://radiotools.rivi.software/api/v1/stations/{stationSlug}/programs")
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,
"timezone": "Europe/Amsterdam",
"fromDate": "2026-10-05",
"throughDate": "2026-10-11",
"programs": [
{
"id": "581497a3-e8b9-47ad-ade4-e1bf3895450a",
"title": "Rivier Morning",
"profileId": null,
"presenters": [
{
"id": "94443b88-96b7-4813-8e9c-fd70dfbf8a04",
"title": "Alex de Vries"
}
],
"slots": [
{
"weekday": 1,
"startTime": "07:00",
"durationMinutes": 180,
"timezone": "Europe/Amsterdam",
"intervalWeeks": 1,
"fromDate": "2026-09-07",
"throughDate": "2026-12-20",
"presenters": [
{
"id": "94443b88-96b7-4813-8e9c-fd70dfbf8a04",
"title": "Alex de Vries"
}
]
}
]
}
],
"truncated": false
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "The request contains invalid parameters or input.",
"requestId": "28e5d867-1f87-4ca7-bca9-4ebc09b36ba3",
"issues": [
{
"path": "query",
"message": "Check the parameter types and bounds documented for this operation."
}
]
}
}{
"error": {
"code": "UNAUTHENTICATED",
"message": "A valid station credential with the required scope is needed.",
"requestId": "28e5d867-1f87-4ca7-bca9-4ebc09b36ba3"
}
}{
"error": {
"code": "FORBIDDEN",
"message": "The credential does not permit this operation.",
"requestId": "28e5d867-1f87-4ca7-bca9-4ebc09b36ba3"
}
}{
"error": {
"code": "NOT_FOUND",
"message": "The resource is missing, unpublished, disabled, or unavailable for this station. A switched-off station module returns MODULE_DISABLED.",
"requestId": "28e5d867-1f87-4ca7-bca9-4ebc09b36ba3"
}
}{
"error": {
"code": "REVISION_CONFLICT",
"message": "The request conflicts with the current resource revision.",
"requestId": "28e5d867-1f87-4ca7-bca9-4ebc09b36ba3"
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "Too many requests. Reduce the request frequency.",
"requestId": "28e5d867-1f87-4ca7-bca9-4ebc09b36ba3"
}
}{
"error": {
"code": "PROVIDER_UNAVAILABLE",
"message": "An upstream service is temporarily unavailable.",
"requestId": "28e5d867-1f87-4ca7-bca9-4ebc09b36ba3"
}
}List programs
Retrieve public program summaries for the requested inclusive date window. The window is limited to 31 days; narrow it when truncated is true.
curl --request GET \
--url https://radiotools.rivi.software/api/v1/stations/{stationSlug}/programs \
--header 'Authorization: Bearer <token>'import requests
url = "https://radiotools.rivi.software/api/v1/stations/{stationSlug}/programs"
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}/programs', 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}/programs",
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}/programs"
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}/programs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://radiotools.rivi.software/api/v1/stations/{stationSlug}/programs")
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,
"timezone": "Europe/Amsterdam",
"fromDate": "2026-10-05",
"throughDate": "2026-10-11",
"programs": [
{
"id": "581497a3-e8b9-47ad-ade4-e1bf3895450a",
"title": "Rivier Morning",
"profileId": null,
"presenters": [
{
"id": "94443b88-96b7-4813-8e9c-fd70dfbf8a04",
"title": "Alex de Vries"
}
],
"slots": [
{
"weekday": 1,
"startTime": "07:00",
"durationMinutes": 180,
"timezone": "Europe/Amsterdam",
"intervalWeeks": 1,
"fromDate": "2026-09-07",
"throughDate": "2026-12-20",
"presenters": [
{
"id": "94443b88-96b7-4813-8e9c-fd70dfbf8a04",
"title": "Alex de Vries"
}
]
}
]
}
],
"truncated": false
}{
"error": {
"code": "VALIDATION_ERROR",
"message": "The request contains invalid parameters or input.",
"requestId": "28e5d867-1f87-4ca7-bca9-4ebc09b36ba3",
"issues": [
{
"path": "query",
"message": "Check the parameter types and bounds documented for this operation."
}
]
}
}{
"error": {
"code": "UNAUTHENTICATED",
"message": "A valid station credential with the required scope is needed.",
"requestId": "28e5d867-1f87-4ca7-bca9-4ebc09b36ba3"
}
}{
"error": {
"code": "FORBIDDEN",
"message": "The credential does not permit this operation.",
"requestId": "28e5d867-1f87-4ca7-bca9-4ebc09b36ba3"
}
}{
"error": {
"code": "NOT_FOUND",
"message": "The resource is missing, unpublished, disabled, or unavailable for this station. A switched-off station module returns MODULE_DISABLED.",
"requestId": "28e5d867-1f87-4ca7-bca9-4ebc09b36ba3"
}
}{
"error": {
"code": "REVISION_CONFLICT",
"message": "The request conflicts with the current resource revision.",
"requestId": "28e5d867-1f87-4ca7-bca9-4ebc09b36ba3"
}
}{
"error": {
"code": "RATE_LIMITED",
"message": "Too many requests. Reduce the request frequency.",
"requestId": "28e5d867-1f87-4ca7-bca9-4ebc09b36ba3"
}
}{
"error": {
"code": "PROVIDER_UNAVAILABLE",
"message": "An upstream service is temporarily unavailable.",
"requestId": "28e5d867-1f87-4ca7-bca9-4ebc09b36ba3"
}
}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.
Query Parameters
First calendar date in the requested window (YYYY-MM-DD). The window includes this day.
Last calendar date in the requested window (YYYY-MM-DD). At most 31 inclusive days.
Response
Success; no-store
Public JSON contract version. The current version is 1; tolerate additional fields within this version.
1 1
IANA timezone used to interpret station calendar dates, for example Europe/Amsterdam.
1 - 100"Europe/Amsterdam"
First date in the requested window, inclusive.
"2026-10-05"
Last date in the requested window, inclusive.
"2026-10-11"
Public program summaries in the selected date window.
500Show child attributes
Show child attributes
[
{
"id": "581497a3-e8b9-47ad-ade4-e1bf3895450a",
"title": "Rivier Morning",
"profileId": null,
"presenters": [
{
"id": "94443b88-96b7-4813-8e9c-fd70dfbf8a04",
"title": "Alex de Vries"
}
],
"slots": [
{
"weekday": 1,
"startTime": "07:00",
"durationMinutes": 180,
"timezone": "Europe/Amsterdam",
"intervalWeeks": 1,
"fromDate": "2026-09-07",
"throughDate": "2026-12-20",
"presenters": [
{
"id": "94443b88-96b7-4813-8e9c-fd70dfbf8a04",
"title": "Alex de Vries"
}
]
}
]
}
]
True when the result was capped. Request a smaller date window to retrieve remaining data.
false
Was this page helpful?