Loprok Developer Platform v1.0
Loprok Music & Streaming APIs
Integrate Loprok beat catalogs, HLS video streams, audio player widgets, and creator analytics into your applications.
Platform APIs
Beats & Catalog API
GET /v1/beats/searchSearch instrumentals by genre (Afrobeats, Amapiano, Trap, Drill), BPM range, musical key, price tier, and licensing rights.
Teels Video Stream API
GET /v1/teels/trendingAccess short video metadata, HLS stream playlist URLs (.m3u8), author details, and engagement statistics.
Creator Royalties & Analytics API
GET /v1/creators/analyticsTrack stream counts, battle upvotes, beat sale commissions, and historical creator payout ledgers.
Request Code Sample
// Fetch Trending Afrobeats & Amapiano Instrumentals
fetch('https://developer.loprok.com/v1/beats/search?genre=afrobeats&bpm_min=100&bpm_max=125&limit=10', {
headers: {
'Authorization': 'Bearer LOPROK_API_KEY_YOUR_KEY_HERE',
'Content-Type': 'application/json'
}
})
.then(res => res.json())
.then(data => {
console.log('Found beats:', data.beats);
});Embed Widget Generator
Generate iframe snippets to embed Loprok beats or Teels videos on external websites.
Generated HTML Embed Code
<iframe
src="https://loprok.com/beat/demo-beat-123/embed?theme=dark"
width="100%"
height="180"
frameborder="0"
allow="autoplay; clipboard-write; encrypted-media"
loading="lazy"
></iframe>