Music

Download music

Get a direct download URL for a music audio file. Returns the music ID, title, and a CDN-hosted download link.

get/v1/music/{music-id}/download

Request

  • Base URL: https://api.magnific.com
  • URL: https://api.magnific.com/v1/music/{music-id}/download
  • Auth: API key in header x-magnific-api-key

Path parameters

music-idinteger required

Unique numeric identifier of the music item

Response

OK

idinteger required

Unique identifier of the music item

titlestring required

Music title

download_urlstring required

Direct URL to download the music file

Example response

{
  "download_url": "https://cdn.freepik.com/music/track.mp3",
  "id": 1,
  "title": "Summer Vibes"
}

Changes

No recorded changes to this operation across all 1 revision of this API.