SoundCloud API

Get SoundCloud data as clean JSON with one key: 13 endpoints, 1 to 3 credits per call, the same response shape as every other platform.

What you get#

Onekey exposes SoundCloud as 13 endpoints behind one API key: 5 endpoints return one record (data is an object) and 8 endpoints return a list (data is an array). Every answer uses the same envelope (success, data, metadata, error), the cost is reported in metadata.credits_charged, and fields are mapped onto the unified schema so the code you write for SoundCloud also works for the rest of the music & audio category.

Endpoints#

EndpointWhat it doesParametersCreditsStatus
followersFollowers of a SoundCloud user (numeric id).id*3beta may need a pack
oembedSoundCloud embed metadata for a track/set URL (oEmbed).url*1stable
profileSoundCloud artist page card: name, bio snippet, avatar.user*1stable may need a pack
relatedTracks related to a SoundCloud track (numeric id).id*3beta may need a pack
search_playlistsSearch SoundCloud playlists by keyword.q*3beta may need a pack
search_tracksSearch SoundCloud tracks by keyword.q*3beta may need a pack
search_usersSearch SoundCloud users by keyword.q*3beta may need a pack
trackSoundCloud track by user/track slug (resolve): plays, likes, comments, duration.user*, track*1beta may need a pack
track_commentsComments on a SoundCloud track (numeric id).id*3beta may need a pack
track_oembedSoundCloud track/playlist oEmbed: title, artist, artwork, description.user*, track*1stable
trendingSoundCloud top/trending tracks chart.-3beta may need a pack
userSoundCloud user profile by slug (resolve).user*1beta may need a pack
user_tracksTracks uploaded by a SoundCloud user (numeric id).id*3beta may need a pack

A * marks a required parameter. Each endpoint name links to its reference page with the full parameter table, caching window and a recorded response.

Make a request#

This calls soundcloud.oembed (1 credit, stable). Replace YOUR_API_KEY with your key; sign up, no card. 1,000 free credits cover the open-platform endpoints. Hard-to-reach platforms (X, TikTok, Instagram, Reddit, and others marked on their page) need a verified email and a purchased pack.

curl "https://api.onekey.dev/v1/soundcloud/oembed?url=https%3A%2F%2Fsoundcloud.com%2Fforss%2Fflickermood" \
  -H "x-api-key: YOUR_API_KEY"

Fields you get back#

These unified fields come back from SoundCloud, with the same names as on every other platform. The count is how many of its 13 mapped endpoints return the field; a field the source lacks is null, never missing. 2 platform-specific fields (ext.<name>) come on top, documented on each endpoint page.

FieldTypeEndpoints
content.textstring13
author.urlURL11
author.usernamestring10
author.avatarUrlURL9
author.idstring9
content.titlestring8
media.thumbnailUrlURL8
content.idstring7
author.displayNamestring6
content.createdAtISO 8601 date6
content.urlURL6
engagement.commentsinteger5
engagement.likesinteger5
engagement.sharesinteger5
engagement.viewsinteger5
media.durationSecondsnumber5
author.contentCountinteger3
author.followersinteger3
author.followinginteger3
author.verifiedboolean3

The full schema is in Unified schema.

Pricing#

SoundCloud calls cost 1 to 3 credits, flat per endpoint. Free when served from cache (0.2 credit for a cached response over 100 KB). Invalid, failed or not-found calls are not charged. See pricing for credit packs.