---
title: "Download music"
method: GET
path: "/v1/music/{music-id}/download"
tags: ["Music"]
---

# Download music

`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`

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

## Path parameters

- `music-id` integer, required

## Response `200`

OK

- MusicDownloadResponse
  - `id` integer, required: Unique identifier of the music item
  - `title` string, required: Music title
  - `download_url` string, required: Direct URL to download the music file

## Other responses

- `401`: Unauthorized - The client must authenticate itself to get the requested response.
- `404`: Not Found - The server can not find the requested resource.
- `500`: Internal Server Error - The server has encountered a situation it doesn't know how to handle.

---

[API](https://skmtc.dev/magnific/apis/magnific-api.md) · [All operations](https://skmtc.dev/magnific/apis/magnific-api/llms.txt) · [OpenAPI document](https://skmtc.dev/magnific/apis/magnific-api/revisions/60711fb082c7?raw)
