← Back to Developer Portal
Developer Reference / beats-api

Beats & Instrumental Catalog API

RESTful endpoint for searching, filtering, and querying beat stems, genres, BPMs, and licensing terms.

GET /v1/beats/searchv1.0 REST API

Overview & Usage

The Beats API allows developers to search Loprok's global instrumental database. Filter beats by genre (Afrobeats, Amapiano, Trap, Drill), key, tempo (BPM), lease rights, and creator pricing.

Code Example & Request Syntax

// Search Afrobeats Instrumentals
fetch('https://developer.loprok.com/v1/beats/search?genre=afrobeats&bpm_min=100&bpm_max=125&limit=10', {
  headers: {
    'Authorization': 'Bearer YOUR_LOPROK_API_KEY',
    'Content-Type': 'application/json'
  }
})
.then(res => res.json())
.then(data => console.log(data));