Sources › Music › SoundCloud › Download Audio
Request
https://api.zapi.ink/v1/music:soundcloud/downloadSend your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 5 minutes.
Parameters
| Name | Type | In | Required | Description |
|---|---|---|---|---|
| url | string | query | Yes | Track URL or numeric track ID Example: https://soundcloud.com/user-167787390/the-weeknd-blinding-lights |
| format | enum: progressive | hls | auto | query | No | Preferred stream format. 'progressive' = direct MP3, 'hls' = m3u8 playlist, 'auto' = progressive then hls. Default 'auto' |
Code examples
curl -X GET "https://api.zapi.ink/v1/music:soundcloud/download?url=https%3A%2F%2Fsoundcloud.com%2Fuser-167787390%2Fthe-weeknd-blinding-lights&format=" \ -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
const res = await fetch("https://api.zapi.ink/v1/music:soundcloud/download?url=https%3A%2F%2Fsoundcloud.com%2Fuser-167787390%2Fthe-weeknd-blinding-lights&format=", { method: "GET", headers: { "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx" }, }); const data = await res.json(); console.log(data);
import requests res = requests.get( "https://api.zapi.ink/v1/music:soundcloud/download", params={"url":"https://soundcloud.com/user-167787390/the-weeknd-blinding-lights","format":""}, headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"}, ) print(res.json())
Example response
{ "project": "music:soundcloud", "data": { "url": "https://soundcloud.com/user-167787390/the-weeknd-blinding-lights", "image": "https://i1.sndcdn.com/artworks-12n314eZNB8i9ydb-S3uaYg-t500x500.jpg", "title": "The Weeknd - Blinding Lights full", "artist": { "id": 978685288, "url": "https://soundcloud.com/user-167787390", "name": "Minh Prime" }, "format": "progressive", "preset": "mp3_1_0", "quality": "sq", "trackId": 1316258221, "audioUrl": "https://cf-media.sndcdn.com/ZPlWIUpUD7Jz.128.mp3?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKjovL2NmLW1lZGlhLnNuZGNkbi5jb20vWlBsV0lVcFVEN0p6LjEyOC5tcDMqIiwiQ29uZGl0aW9uIjp7IkRhdGVMZXNzVGhhbiI6eyJBV1M6RXBvY2hUaW1lIjoxNzc5Nzk5NjI3fX19XX0_&Signature=I3rUiJxNPG-w0EX09syvaWj2gUMIbyV9zWa1RT8F709Kkh458aLGURv50p3p57YS6aXfLHAHRsz0eWF9UTIqYXe62FAYEeZe2zz5zIySPd-7hJqz3Jtg55ce9rvGnZYz53PuTRmgG~5WrlZHJ6aG8RX6~wJ1ncxqb63-Z8eZ7ejMWBPHC9GPQ51ABnrtx3z2nj9~NjZ-u8KVNIQ~hRGFmy5oP~9dZBukD9u6Gcl9KlOFDDeEIcX7xoP64KRAdZuev4PnkyGA~LtjRwBuDAFhiDoH-31Y~9hP3gxgHZIv9EGjPM-ngt~CA9QTBaw1wjj6EkZmrliq9xsqdzl~eGIYcQ__&Key-Pair-Id=APKAI6TU7MMXM5DG6EPQ", "mimeType": "audio/mpeg", "durationMs": 762820 }, "timestamp": "2026-06-07T13:48:39Z" }
Frequently asked questions
How do I call the SoundCloud Download Audio API?
Send a GET request to https://api.zapi.ink/v1/music:soundcloud/download?url=https%3A%2F%2Fsoundcloud.com%2Fuser-167787390%2Fthe-weeknd-blinding-lights with your Zapi key in the x-api-key header. Parameters — required: url; optional: format. The response is JSON in the { project, data, timestamp } envelope.
What does the SoundCloud Download Audio API return?
Return the direct audio stream URL for a track. The example response has the fields url, image, title, artist, format, preset, quality, trackId.
Is the SoundCloud Download Audio API free?
Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.
Can an AI assistant call the SoundCloud Download Audio API?
Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "soundcloud" and endpoint "download".
What other SoundCloud API endpoints are there?
It has 3 endpoints. Besides Download Audio: Search, Track Detail.
