Endpoints
5 endpoints return albums on Apple Music and Spotify.
Schema
Single-item endpoints return this object as data; list endpoints return an array of them as data with a page object. The standard meta comes with every response.
platformstringPlatform ID (applemusic, spotify, soundcloud, …).
idstringPlatform-native album ID (string), the one in its page's URL.
urlstring uriCanonical album page URL.
typestringnullableWhat kind of release it is, as the platform says: album, single, ep or compilation; null when the platform does not say. New values may be added; treat unknown values as album.
One ofalbumsingleepcompilation
titlestringThe release's title as the platform shows it (with an edition or a suffix like "- Single" where it writes one).
descriptionstringnullableAbout the release, as plain text (the service's editorial notes, or what its uploader wrote); null when it has none or the platform shows none.
artist_namestringnullableWho the platform credits for the release, as one display string (it can name more people than have an account linked: artists holds the linked ones); null when the source does not name them.
artistsobject[]The platform accounts of the artists credited on the release, main artist first, in the platform's order; [] when none is linked, as on a Various Artists compilation (listed in unknown_fields when the source cannot see them).
ShowHide 6 child fields
idstringnullablePlatform-native account ID; null when only the handle is known.
usernamestringnullableHandle without the @; null when the account has none.
display_namestringnullableDisplay name shown on the profile.
urlstring urinullableCanonical profile URL.
avatar_urlstring urinullableProfile picture URL. Platform CDN URLs can expire within hours.
is_verifiedbooleannullablePlatform verification badge; null where the platform has no badge.
cover_urlstring urinullableCover art URL at the largest size the platform serves; null when it has none.
released_atstring date-timenullableWhen it was released, RFC 3339 UTC. A release date with no time (nearly all) is midnight UTC of that date, listed in approximate_fields, and so is a year or month alone (its first day). Null when the platform states none.
labelstringnullableThe record label as the platform names it; null when none is shown.
upcstringnullableThe release's barcode: its UPC or EAN, digits only; null when the platform does not show it.
copyrightsobject[]The release's copyright lines as the platform shows them; [] when none.
ShowHide 2 child fields
typestringnullablec: the copyright in the work (©); p: in the sound recording (℗); null when the line does not say or states both. New values may be added.
One ofcp
textstringThe line as the platform shows it.
genresstring[]Genres the platform files it under, as shown (not normalized), the main one first; [] when none (listed in unknown_fields when the source cannot see them).
is_explicitbooleannullableMarked as holding explicit content (by the platform, or on any of its tracks); null when the platform does not say.
duration_msintegernullableTotal length of the release in milliseconds; null when neither the platform nor a complete tracks list gives it.
tracksobject[]The release's tracks in album order (by disc, then track number). A list of albums, whose source shows none, answers [] and lists tracks in unknown_fields; a list the source could only read part of is listed in approximate_fields.
ShowHide 12 child fields
idstringPlatform-native track ID (string): the one the platform's track endpoint takes and answers.
urlstring urinullableThe track's page; null when the source does not show it.
titlestringnullableThe track's title as the platform shows it; null when the source names the track only by its ID.
artist_namestringnullableWho the platform credits for this track, as one display string (a feature included); null when the source does not name them.
artistsobject[]The platform accounts of the artists credited on this track, in the platform's order; [] when none is linked (listed in unknown_fields as tracks[].artists when the source cannot see them).
ShowHide 6 child fields
idstringnullablePlatform-native account ID; null when only the handle is known.
usernamestringnullableHandle without the @; null when the account has none.
display_namestringnullableDisplay name shown on the profile.
urlstring urinullableCanonical profile URL.
avatar_urlstring urinullableProfile picture URL. Platform CDN URLs can expire within hours.
is_verifiedbooleannullablePlatform verification badge; null where the platform has no badge.
track_numberintegernullableIts position on its disc, from 1; null when the source does not state it (tracks stay in album order).
disc_numberintegernullableThe disc it is on, from 1; null when the platform does not say (a release of one disc, on platforms without discs).
duration_msintegernullableLength of the track in milliseconds; null when the source does not state it.
is_explicitbooleannullableMarked as explicit by the platform; null when it does not say.
isrcstringnullableInternational Standard Recording Code, 12 characters without hyphens; null when the platform does not show it.
play_urlstring urinullableAudio file URL: a short preview, where the platform serves only one. Signed links expire within hours; null when not exposed.
metricsobjectCounts at fetch time; null = hidden or not exposed, 0 = zero.
ShowHide 1 child field
view_countintegernullablePlays; null when the platform does not show them.
metricsobjectCounts at fetch time; null = hidden or not exposed, 0 = zero.
ShowHide 1 child field
track_countintegernullableTracks on the release as the platform counts them, null when it does not state a count; tracks answers fewer only when listed in approximate_fields or unknown_fields.
platform_specificobjectFields only this platform has, under its ID (platform_specific.<platform>); each null when unknown.
ShowHide 3 child fields
soundcloudobjectnullableA SoundCloud album set's own fields.
ShowHide 10 child fields
permalinkstringnullableThe set's name in its link (soundcloud.com/<artist>/sets/<permalink>).
tagsstring[]The uploader's tags, without the quotes SoundCloud keeps around a tag of several words; [] when none.
licensestringnullableThe license the set is published under (all-rights-reserved, cc-by, …).
published_atstring date-timenullableWhen the set went public on SoundCloud, RFC 3339 UTC; null when SoundCloud does not say.
uploaded_atstring date-timenullableWhen the set was created on SoundCloud, RFC 3339 UTC.
last_modified_atstring date-timenullableWhen the uploader last changed the set, RFC 3339 UTC.
embeddable_bystringnullableWho may embed the player (all, me, none).
purchase_urlstring urinullableThe buy link the uploader set; null when none.
purchase_titlestringnullableThe label of the buy link; null when SoundCloud's default is used.
metricsobjectCounts at fetch time; null = hidden or not exposed, 0 = zero.
ShowHide 2 child fields
like_countintegernullableLikes of the set (its tracks' likes are their own).
repost_countintegernullableReposts of the set.
spotifyobjectnullableA Spotify release's own fields.
ShowHide 5 child fields
release_date_precisionstringnullableHow much of released_at Spotify states: day, month or year. New values may be added.
One ofdaymonthyear
is_pre_releasebooleannullableAnnounced and not out yet.
pre_release_ends_atstring date-timenullableWhen a pre-release comes out, RFC 3339 UTC; null on a release that is out.
is_playablebooleannullableSpotify plays it in the country SocialTap asked from, which is not necessarily yours.
popularityintegernullableSpotify's own score for this release, 0 to 100 and recent plays weighing most.
applemusicobjectnullableAn Apple Music album's own fields.
ShowHide 10 child fields
storefrontstringnullableThe Apple Music store this answer is from, as a lowercase country code (us, jp): titles, availability, track lists and links differ by store.
rankintegernullablePosition on the requested chart (1 = top); null off a chart.
editorial_summarystringnullableApple's one-line note on the album; null when none.
content_ratingstringnullableexplicit, or clean for an edited version of something explicit; null when Apple marks neither.
audio_traitsstring[]The audio formats it comes in (atmos, lossless, lossy-stereo, spatial, …); [] when none or the source does not show them (listed in unknown_fields). New values may be added.
is_completebooleannullableEvery track of the release is available in this store.
is_prereleasebooleannullableAnnounced, and not released yet.
is_mastered_for_itunesbooleannullableCarries Apple's Mastered for iTunes badge, which Apple now calls Apple Digital Master.
more_by_artistobject[]Apple's other releases by the same artist, as many as its page shows at first; [] when none or the source does not show them (listed in unknown_fields).
ShowHide 10 child fields
idstringApple Music's ID of the item (string).
kindstringWhat it is. New values may be added.
One ofsongmusic_videoalbumplaylistartiststation
urlstring urinullableIts page; null when Apple does not state it.
titlestringnullableIts title, or an artist's name.
artist_namestringnullableWho Apple credits for it, or a playlist's curator; null on an artist.
cover_urlstring urinullableIts artwork at the largest size Apple states; null when none.
released_atstring date-timenullableIts release date, midnight UTC of that date; null when Apple does not state it.
track_countintegernullableAn album's tracks, null on other kinds.
duration_msintegernullableA song's or music video's length in milliseconds, null on other kinds.
is_explicitbooleannullableApple marks it explicit; null on kinds it does not mark.
other_versionsobject[]Other versions of the release (the clean or explicit one, a deluxe edition); [] when none or the source does not show them (listed in unknown_fields).
ShowHide 10 child fields
idstringApple Music's ID of the item (string).
kindstringWhat it is. New values may be added.
One ofsongmusic_videoalbumplaylistartiststation
urlstring urinullableIts page; null when Apple does not state it.
titlestringnullableIts title, or an artist's name.
artist_namestringnullableWho Apple credits for it, or a playlist's curator; null on an artist.
cover_urlstring urinullableIts artwork at the largest size Apple states; null when none.
released_atstring date-timenullableIts release date, midnight UTC of that date; null when Apple does not state it.
track_countintegernullableAn album's tracks, null on other kinds.
duration_msintegernullableA song's or music video's length in milliseconds, null on other kinds.
is_explicitbooleannullableApple marks it explicit; null on kinds it does not mark.
approximate_fieldsstring[]JSON paths of values that are date-only, rounded by the platform or parsed from display text (released_at from a date, duration_ms from "1 hour 1 minute"). A list path means the list may be incomplete. [] when all exact.
unknown_fieldsstring[]JSON paths of lists whose [] means unknown rather than none (a source that cannot see them), tracks[].artists for that list on every track; null already means unknown for every other field. [] when every list is known.
Item errors
Besides the request-level errors every endpoint can return, album endpoints return:
| Code | HTTP | Retry | Meaning | What to do |
|---|---|---|---|---|
not_found | 404 | No | The item does not exist or was deleted. On GET /v1/requests/{id}/response: the response was not kept (details.reason says why). | Check the link or ID. Do not retry. |
private_or_unavailable | 403 | No | The item exists but is not public: it is private, age- or region-restricted, or needs a login to view. It shares 403 with forbidden (which is about the key), so branch on the code. | Only public items can be fetched. Do not retry. |