LogoLogo
  • BFF.fm Developer Platform & APIs
  • Audio
    • Live Broadcast
    • Shows & Podcasts
  • APIs & Data
    • Now Playing
    • Schedules
  • About BFF.fm
    • About BFF.fm
    • BFF.fm on Github
    • Developer Rules
    • Code of Conduct
Powered by GitBook
On this page

Was this helpful?

  1. Audio

Live Broadcast

Get BFF.fm playback live in your app.

MP3 Audio Stream

GET https://stream.bff.fm/1/mp3.format

The live BFF.fm broadcast is available encoded in MP3, packaged in a variety of formats.

Path Parameters

Name
Type
Description

format

string

The playlist format desired: `mp3`, `xspf`, `pls`, `m3u`

Query Parameters

Name
Type
Description

app_id

string

You may include this parameter to identify your app in our stats, so that we can understand who's building cool stuff for BFF.fm and feature you!

Headers

Name
Type
Description

User-Agent

string

The name of your app, so that we can better understand a little bit about how our listeners prefer to hear BFF.fm

mp3.mp3
HTTP/1.0 200 OK
Access-Control-Expose-Headers: ETag, If-None-Match
Access-Control-Allow-Credentials: true
X-Loudness: -16.089101
icy-br: 128
icy-pub: 1
icy-description: BFF.fm
icy-audio-info: ice-samplerate=44100;ice-bitrate=128;ice-channels=2
Access-Control-Allow-Origin: *
icy-url: http://www.bff.fm
Instance-id: b753d6e5219ea5c48947a2de2cb08a58
Cache-Control: no-cache
Server: AIS Streaming Server 8.0.14
icy-genre: Pop
Expires: Mon, 26 Jul 1997 05:00:00 GMT
icy-metaint: 0
Access-Control-Allow-Headers: ETag, If-None-Match
Pragma: no-cache
icy-name: BFF.fm
Connection: close
Content-Type: audio/mpeg

[MP3 Binary Data]
mp3.m3u
http://stream.bff.fm/1/mp3.mp3
mp3.pls
[playlist]
File1=http://stream.bff.fm/1/mp3.mp3
Title1=BFF.fm – Best Frequencies Forever
Length1=-1
NumberOfEntries=1
Version=2
mp3.xspf
<?xml version="1.0" encoding="UTF-8"?>
<playlist xmlns="http://xspf.org/ns/0/" version="1">
  <title>BFF.fm – Best Frequencies Forever</title>
  <creator>Best Frequencies, Inc</creator>
  <info>https://bff.fm</info>
  <image>https://a.bff.fm/w/assets/favicons/apple-touch-icon/670e7f66554fa4d50219e02bee256e233047dc1e.png</image>
  <trackList>
    <track>
      <location>http://stream.bff.fm/1/mp3.mp3</location>
      <title>BFF.fm</title>
      <info>https://bff.fm</info>
    </track>
  </trackList>
</playlist>

PreviousBFF.fm Developer Platform & APIsNextShows & Podcasts

Last updated 6 years ago

Was this helpful?