Skip to main content
GET
Search music

Authorizations

x-magnific-api-key
string
header
required

Your Magnific API key. Learn how to obtain an API key

Query Parameters

query
string

Free text to search for. Leave it out to browse.

genre
string

Genre names, comma separated, as the catalog writes them: Rock,Lofi.

mood
string

Mood names, comma separated, as the catalog writes them: Happy,Epic.

time_range
enum<string>

Only tracks added in the last 7, 30 or 90 days.

Available options:
7d,
30d,
90d
order_by
enum<string>

Sort order; - for descending. relevance when query is given, -popularity otherwise.

Available options:
relevance,
popularity,
-popularity,
created_at,
-created_at,
title,
-title,
seconds,
-seconds,
bpm,
-bpm
limit
integer
default:20

Items per page, up to 100 (20 when absent). It may change between pages.

Required range: 1 <= x <= 100
cursor
string

The next_cursor of the previous page; absent for the first. Opaque: send it as given.

Maximum string length: 64

Response

A page of items. Premium items appear only when your plan includes them.

data
object[]
required
meta
object
required