<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Signal Live Radio</title>
    <description>The latest articles on DEV Community by Signal Live Radio (@signalliveradio).</description>
    <link>https://dev.to/signalliveradio</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4243872%2F321f2f1c-3171-48ab-8563-0553ee59703f.png</url>
      <title>DEV Community: Signal Live Radio</title>
      <link>https://dev.to/signalliveradio</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/signalliveradio"/>
    <language>en</language>
    <item>
      <title>Finding live radio streams near any US ZIP code with the free Radio Browser API</title>
      <dc:creator>Signal Live Radio</dc:creator>
      <pubDate>Sat, 14 Nov 2026 05:09:56 +0000</pubDate>
      <link>https://dev.to/signalliveradio/finding-live-radio-streams-near-any-us-zip-code-with-the-free-radio-browser-api-2g1e</link>
      <guid>https://dev.to/signalliveradio/finding-live-radio-streams-near-any-us-zip-code-with-the-free-radio-browser-api-2g1e</guid>
      <description>&lt;p&gt;I make a small radio app, Signal Live Radio, and its station directory comes from Radio Browser (radio-browser.info), a free, community-run database of internet radio streams. If you've ever wanted to build something that plays "the stations near here", it's a great place to start. Here's how to query it.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. Pick a server
&lt;/h2&gt;

&lt;p&gt;Radio Browser runs several mirrors. Their docs ask clients to look up the server list instead of hard-coding one, and to send a descriptive User-Agent.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -s https://all.api.radio-browser.info/json/servers
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;For the examples below I use &lt;code&gt;de1.api.radio-browser.info&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Search by state
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -s -A &lt;span class="s2"&gt;"my-radio-app/1.0"&lt;/span&gt; &lt;span class="s2"&gt;"https://de1.api.radio-browser.info/json/stations/search?countrycode=US&amp;amp;state=Texas&amp;amp;hidebroken=true&amp;amp;order=clickcount&amp;amp;reverse=true&amp;amp;limit=10"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;hidebroken=true&lt;/code&gt; drops streams that failed the last check.&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;order=clickcount&amp;amp;reverse=true&lt;/code&gt; puts the most-played stations first.&lt;/li&gt;
&lt;li&gt;Each result has &lt;code&gt;url_resolved&lt;/code&gt;, which is the stream URL you hand to your audio player.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  3. Search near a point
&lt;/h2&gt;

&lt;p&gt;Stations that have coordinates can be searched by distance (in meters):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl -s -A &lt;span class="s2"&gt;"my-radio-app/1.0"&lt;/span&gt; &lt;span class="s2"&gt;"https://de1.api.radio-browser.info/json/stations/search?geo_lat=40.71&amp;amp;geo_long=-74.00&amp;amp;geo_distance=20000&amp;amp;hidebroken=true&amp;amp;limit=20"&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;To go from a ZIP code to a point, you need a ZIP-to-coordinates table. The US Census Bureau publishes a free ZCTA "gazetteer" file with a center latitude and longitude for each ZIP Code Tabulation Area. Load it once, look up the ZIP, then run the geo search.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Don't trust geo alone
&lt;/h2&gt;

&lt;p&gt;Not every station has coordinates, so a geo-only search misses some. A practical approach is to merge two queries, one by distance and one by state, then dedupe on &lt;code&gt;stationuuid&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. Be a good citizen
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Send a real User-Agent.&lt;/li&gt;
&lt;li&gt;When a user actually plays a station, call &lt;code&gt;/json/url/{stationuuid}&lt;/code&gt;. That counts the click, which helps keep the popularity ranking useful for everyone.&lt;/li&gt;
&lt;li&gt;Cache results, because station lists don't change minute to minute.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The app
&lt;/h2&gt;

&lt;p&gt;If you just want to listen instead of build, Signal Live Radio is free with ads. Type a ZIP code to see live stations for that area, browse by genre, and save Presets. No account. It streams over the internet and is not an AM/FM tuner.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;iPhone / Mac (Apple M1 or later): &lt;a href="https://apps.apple.com/us/app/signal-live-radio/id6826375725" rel="noopener noreferrer"&gt;https://apps.apple.com/us/app/signal-live-radio/id6826375725&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Android: &lt;a href="https://play.google.com/store/apps/details?id=com.appfactory.staticking&amp;amp;referrer=utm_source%3Ddev_to%26utm_medium%3Dlisting%26utm_campaign%3Dfree_ads" rel="noopener noreferrer"&gt;https://play.google.com/store/apps/details?id=com.appfactory.staticking&amp;amp;referrer=utm_source%3Ddev_to%26utm_medium%3Dlisting%26utm_campaign%3Dfree_ads&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Search "Signal Live Radio" on the App Store or Google Play.&lt;/p&gt;

</description>
      <category>api</category>
      <category>javascript</category>
      <category>mobile</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
