Data API
REST and Feed endpoints for Station, Schedule, Show, Genre, and Language data, all in JSON.
Since 2.3.0, Radio Station includes an API covering your Station data.
Data Endpoints
Available via WordPress REST API routes and/or WordPress Feed Links (each independently toggled in Plugin Settings). Output is JSON by default.
Station Data (on every endpoint)
timezone, stream_url, station_url, schedule_url, language, timestamp, date_time, endpoints (list of available routes/URLs), and success.
Show Data (referenced throughout)
Each [Show] object includes: id, name, slug, url, latest (audio URL), website, hosts, producers, genres, and languages.
Endpoint List
| Endpoint | Path | Returns |
|---|---|---|
| Radio Discovery | /wp-json/radio/ · /feed/radio/ |
Base discovery endpoint listing all other routes/feeds. |
| Station | /wp-json/radio/station/ |
Every other endpoint's data combined into one call. |
| Broadcast | /wp-json/radio/broadcast/ |
Current Show and next scheduled Show. |
| Schedule | /wp-json/radio/schedule/ |
Weekly Show Schedule by day, ordered by shift time, with conflict/override/encore flags. |
| Shows | /wp-json/radio/shows/ |
All Shows (or a filtered show argument), ordered by name. |
| Genres | /wp-json/radio/genres/ |
All Genres with their associated Shows. |
| Languages | /wp-json/radio/languages/ |
All Languages with their associated Shows. |
| Pro Episodes / Hosts / Producers | — | PRO-only endpoints for the matching data types. |
Genres and Languages endpoints accept a single or comma-separated filter argument (genre=, language=) to retrieve specific records only.