cURL
curl --request GET \ --url https://api.freepik.com/v1/music/{music-id}/download \ --header 'x-freepik-api-key: <api-key>'
200
Example
{ "download_url": "https://cdn.freepik.com/music/track.mp3", "id": 1, "title": "Summer Vibes" }
Get a direct download URL for a music audio file. Returns the music ID, title, and a CDN-hosted download link.
Your Freepik API key. Required for authentication. Learn how to obtain an API key
Unique numeric identifier of the music item
OK
Unique identifier of the music item
1
Music title
"Summer Vibes"
Direct URL to download the music file
"https://cdn.freepik.com/music/track.mp3"
Was this page helpful?