Radio Station Website Development: Player, Schedule and App API
What a radio station website needs: a live player that reconnects, now-playing info, a show schedule staff can edit, a mobile app API and SEO show pages.
A radio station website has one job that most business sites do not: it has to keep playing. Visitors arrive to listen live, check what is on air, find a presenter or a show, and come back through the station's mobile app. I have built a web radio platform for RadioAsia with a live player, a scheduling engine and the JSON API behind the station's Flutter app, and later launched We FM 93.3 on the same platform. This guide covers what I plan for in any radio station website project.
How the pieces fit together
The website does not produce the audio. The station's playout software sends the live signal to a streaming server (Icecast, SHOUTcast or a hosted streaming provider), which delivers it to listeners. The website plays that stream, shows what is on air and publishes show and presenter pages. An admin panel lets staff manage shows, presenters and the weekly schedule. A JSON API serves the same schedule and stream details to the mobile app. Keeping one database and one API for the website and the app means a schedule change made once appears everywhere.
1. A live player that survives real networks
The player is the most important part of the site, and it needs more care than an <audio> tag with a URL. Serve the stream over HTTPS: browsers block an http stream on an https page as mixed content, so check this with your streaming provider before launch. Browsers also block autoplay with sound, so show a large, obvious play button rather than trying to start audio on page load.
Live streams drop: a listener's mobile connection changes, the encoder restarts, the streaming server is briefly unreachable. Listen for the player's error and stalled events, show a clear "Reconnecting…" state, and retry with a short back-off. When retrying a live stream, reload the source instead of resuming the old buffer, so the listener rejoins the live point rather than hearing stale audio. If the stream stays down, say so plainly instead of leaving a spinner running.
Add the Media Session API so the station name and current show appear on the phone's lock screen and in the notification area, with working play and pause controls.
2. Keep the music playing between pages
On a normal multi-page site, clicking a link reloads the page and stops the audio. Decide early how the site handles this. The common options are a player that opens in its own small window, a site built so that only the content area changes while the player stays loaded, or a persistent player bar that keeps playing during navigation. Each affects how pages are built, so decide it during planning.
3. Now playing and on-air information
Listeners want to know which show is on and, for music stations, which track is playing. Most streaming servers expose the current track title; Icecast, for example, has a JSON status endpoint. Do not let every visitor's browser poll the streaming server directly. Have your server fetch the information every few seconds, cache it, and let the website and the app read that cached value from your API. This protects the streaming server and keeps the website fast when many people are listening.
4. A schedule engine staff can update themselves
The schedule is the heart of a radio website, and it is the part that changes every week. Store shows and their weekly time slots in the database, with presenters linked to shows, and let staff edit them in the admin panel without calling a developer. The website then works out which show is on air now and which is up next, on the server, so the website and the app always agree.
A few details cause most schedule bugs. Store times in the station's own time zone and calculate on-air status in that zone, not the server's. Handle shows that run past midnight, for example 22:00 to 02:00, as one slot instead of two broken ones. Allow one-off changes for special broadcasts and holidays that override the regular weekly grid without editing it. And decide what the site shows when no show is scheduled, such as a default "non-stop music" block.
5. One API for the website and the mobile app
Many stations want an Android and iOS app alongside the website. The app needs the same things as the site: stream URLs, now playing, today's schedule, show and presenter details. Serve them from versioned JSON endpoints with sensible cache headers, so the app stays fast and an older app build keeps working after the website changes. Put the stream URL in the API rather than hard-coding it in the app; if the streaming provider changes, you update one setting instead of releasing a new app. The app itself needs background audio so playback continues with the screen off. I cover the shared-API approach in more detail in one API for a Flutter app and web dashboard.
6. Build it as a platform if you run more than one station
Broadcasters and networks often run several stations. If the website is built so that the station name, logo, colours, stream URL, schedule and legal pages are data rather than code, a second station can go live on the same platform in a fraction of the time. That is how We FM 93.3 was launched after RadioAsia: same player, same schedule engine, its own branding, schedule and privacy and legal pages. Each station should still have its own domain, its own analytics and its own content, so search engines treat it as a separate site.
7. SEO for a radio station website
The live player itself does not rank; the pages around it do. Give every show and every presenter its own page with a unique title, a real description of the show, its regular time slot and links to related shows. Make sure the schedule is rendered as HTML text a search engine can read, not only drawn by JavaScript after the page loads. Add structured data for the station on the home page, keep URLs stable when shows change time slots, and make the site fast on mobile, where most listeners are. My SEO checklist for business websites applies to radio sites too.
A launch checklist
Before going live, confirm that: the stream plays over HTTPS on desktop and mobile browsers; the player has a clear play button, a reconnecting state and lock-screen controls; audio behaviour during page navigation is decided and tested; now-playing data is cached by your server; staff can edit shows, presenters and the schedule themselves; on-air status is correct across midnight and in the station's time zone; the app reads stream URLs and the schedule from a versioned API; and show and presenter pages have unique titles and readable text.
Planning a new station website, a companion app or a platform for several stations? See my live streaming and web radio development service. If you also want live video, read how I add Agora live streaming to an existing website, or send a short brief and I will reply with a plan.
Case studies using this approach
RadioAsia web radio & app API
Live radio website with a show scheduling engine and the API that powers its Flutter mobile app.
Read case study →RadioWe FM 93.3 station website
A second radio station launched on the same platform as RadioAsia, with player, schedule and legal pages.
Read case study →Hire me for this
Live streaming & web radio
I build live video features with the Agora RTC SDK and complete web radio platforms with players, schedules and mobile app…
Learn more →ServiceSEO websites & landing pages
Your website is often the first thing a client sees. I build fast, animated, mobile-first sites with the technical SEO that helps…
Learn more →ServiceFlutter & React Native apps
One codebase, two app stores. I build Android and iOS apps in Flutter or React Native that share the same backend as your web…
Learn more →