Public APIs
SoundCloud favicon

SoundCloud

Music

With SoundCloud API you can build applications that will give more power to control your content.

SoundCloud's website screenshot

About SoundCloud

The SoundCloud API provides endpoints for authentication, track upload and playback, social features (follow and like), and search, with a base URL at api.soundcloud.com and a separate authentication URL at secure.soundcloud.com. It uses OAuth 2.1 with PKCE, supporting both an Authorization Code flow for applications that act on a user's behalf (uploading, accessing private content) and a Client Credentials flow for applications accessing only public resources such as search, playback, and URL resolution. Access tokens expire after approximately one hour and are renewed using single-use refresh tokens.

Uploads accept source formats including AIFF, WAVE, FLAC, OGG, MP2, MP3, AAC, AMR, and WMA, with a limit of up to 4 GB per file and 24 hours of audio per track; uploaded audio is transcoded into streaming formats such as AAC. Client Credentials tokens are rate-limited to 50 tokens per 12 hours per application and 30 tokens per hour per IP address, and all clients are treated as confidential, requiring a client secret to obtain a token.

Using the API requires a registered application: a SoundCloud account with Artist Pro is needed to register an app and obtain a client_id and client_secret. The documentation is intended for developers building applications that integrate SoundCloud upload, playback, social, and search functionality, including guidance for AI coding assistants via OpenAPI-first prompt templates.

Key features

  • Track upload and playback via API with transcoding into high-quality streaming formats like AAC
  • OAuth 2.1 with PKCE authentication, including Authorization Code and Client Credentials flows
  • Social features including follow and like endpoints
  • Search and pagination endpoints for browsing content
  • SoundCloud URL resolution and oEmbed support
  • Widget API and embeddable support buttons/logos

Frequently asked questions

What authentication method does the SoundCloud API use?

It uses OAuth 2.1 with PKCE required for the authorization code exchange. Access tokens expire after about 1 hour and refresh tokens are single-use.

Do I need an account to use the API?

Yes, you need a SoundCloud account with Artist Pro to register an application and obtain a client_id and client_secret.

What audio formats and upload limits does the API support?

Supported source formats include AIFF, WAVE, FLAC, OGG, MP2, MP3, AAC, AMR, and WMA, with uploads limited to 4 GB per file and 24 hours of audio per track.

What are the rate limits for Client Credentials tokens?

Client Credentials tokens are limited to 50 tokens per 12 hours per application and 30 tokens per 1 hour per IP address.

Can the API access public resources without a user login?

Yes, the Client Credentials flow authenticates the application itself for accessing public resources like search, playback, and URL resolution without a user session.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product