BlogCore API

SoundCloud Download API: Get the Audio and a Transcript From a Track Link

SoundCloud streams tracks in segments and keeps originals behind sign-in. The official route for your own tracks, and one Importly call for the audio and a transcript.

On this page5 sections

If your app takes SoundCloud links (a podcast tool, a music-analysis product, a transcription or clipping app), you need the audio file itself, and SoundCloud doesn't make that easy for a link someone else uploaded:

  • There's no file to grab. Public tracks play as a stream of short audio segments, not one MP3. You have to fetch the playlist, download every segment and join them into a file before you can store or process it.
  • The original upload is locked. The uploader's original file is only offered when they turn downloads on, and even then only to signed-in users. For most tracks your users paste, the stream is all there is.
  • It breaks on the server. Code that works from your laptop can get rate-limited or blocked once it runs from AWS, GCP, Fly or a serverless function, and SoundCloud changes the client details unofficial tools depend on.
  • No captions. SoundCloud doesn't publish transcripts, so a transcript means running speech-to-text yourself on the audio you just stitched together.

The official route, if the tracks are yours

SoundCloud's API is the right choice when you work with your own account's tracks or with users who sign in with SoundCloud. You register an app, use OAuth, and can stream tracks through your app and download the ones whose owners have enabled downloads. It's built for playing and managing content, not for getting a file from any public link a user pastes.

For a handful of tracks from your own machine, an open-source command-line downloader also works and costs nothing. What it costs you is upkeep: updating it when SoundCloud changes something, a step to join the segments into one file, and retries and error handling around it all.

One call with Importly

Importly takes the SoundCloud link your user pasted and returns the audio as a single file, plus a transcript if you ask for one.

bash
curl https://api.importly.io/import \
  -H "Authorization: Bearer $IMPORTLY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://soundcloud.com/<artist>/<track>",
    "includeVideo": false,
    "includeTranscript": true,
    "transcriptProvider": "importly",
    "webhookUrl": "https://your.app/webhooks/import"
  }'

When the job finishes, the webhook (or GET /import/status?id=<jobId>) gives you a signed link to the audio file plus the title, duration and artwork, and the timestamped transcript. The link lasts 7 days; set "store": true to have the file copied into your own S3, R2 or B2 bucket instead.

A few things worth knowing:

  • Set includeVideo to false. SoundCloud is audio only, and this tells Importly to return just the audio.
  • Pick the bitrate. audioQuality sets the ceiling: low (up to 64 kbps) is plenty for speech and transcription, medium (the default, up to 128 kbps) or high (up to 192 kbps) for music.
  • Transcripts need speech-to-text. SoundCloud tracks have no captions, so add "transcriptProvider": "importly" for AI speech-to-text at $0.01 a minute, or bring your own Deepgram, OpenAI or AssemblyAI key for $0.005 a minute. Without a provider the import still succeeds and the transcript comes back skipped.
  • Just the transcript: POST /transcribe with the same link and "provider": "importly" if you don't need to keep the audio.
  • Check before you pay: POST /metadata/basic returns the title and duration for $0.003, so you can turn away a three-hour DJ set before downloading it. Or set maxCostDollars and Importly checks the price for you.
  • Private and removed tracks fail fast with a clear code, so you can tell the user instead of retrying. Failed imports aren't charged.

What it costs

Downloads are $0.002 per MB, with a $0.01 minimum per import. A 4-minute track at the default bitrate is a few MB, so it costs the $0.01 minimum. A one-hour podcast episode is roughly 40 to 70 MB depending on the bitrate, about $0.08 to $0.14. Speech-to-text adds $0.01 a minute. New accounts get $3 of free credit, no card. See pricing for the full list.

Have your AI agent build it in

Connect https://mcp.importly.io/mcp to Claude Code, Cursor or another coding agent and ask it to add SoundCloud imports to your app. It gets working code for your stack, writes the integration and tests real calls with your API key, and your backend uses the same key. The steps are in Have your agent build Importly into your app.

FAQ

Does SoundCloud have an API for downloading tracks?

Only for tracks you have rights to. The official API lets registered apps stream tracks and download the ones whose owners enabled downloads. It doesn't give you a file for any public link.

Why do I get many small files instead of one MP3?

SoundCloud streams public tracks as short segments listed in a playlist. A downloader has to fetch all of them and join them into one file. Importly returns the joined file.

Can I transcribe a SoundCloud podcast?

Yes. Add includeTranscript with transcriptProvider: "importly" to the import, or call POST /transcribe on the link. It's $0.01 a minute, and the audio download is included when you only ask for the transcript.

Can I get the track title, artist and artwork?

Yes. Every completed import includes the title, duration and thumbnail, and POST /metadata returns the full metadata for a link without downloading it.

Related: Audio extraction API, Video downloader API, Transcripts, Supported sites.

Keep reading

Put video and audio links to work in your app

One API for files, transcripts and metadata. Free to try, no card required.

Try free →