Skip to main content
GET
/
v1
/
music
/
{music-id}
/
download
Download music
curl --request GET \
  --url https://api.freepik.com/v1/music/{music-id}/download \
  --header 'x-freepik-api-key: <api-key>'
{
  "download_url": "https://cdn.freepik.com/music/track.mp3",
  "id": 1,
  "title": "Summer Vibes"
}
Get a direct download URL for a music audio file. See the Music API overview for authentication and usage guidance.

Authorizations

x-freepik-api-key
string
header
required

Your Freepik API key. Required for authentication. Learn how to obtain an API key

Path Parameters

music-id
integer
required

Unique numeric identifier of the music item

Response

OK

id
integer
required

Unique identifier of the music item

Example:

1

title
string
required

Music title

Example:

"Summer Vibes"

download_url
string
required

Direct URL to download the music file

Example:

"https://cdn.freepik.com/music/track.mp3"