GroundsocialDocs

API · Apple Music

GET /applemusic/artists/{id}

An Apple Music artist with up to 50 albums and the top 25 songs.

RequestGET /v1/applemusic/artists/{id}
Operation idapplemusic.artist.get
Cost1 credit, refunded if the call fails
AuthAPI key: Authorization: Bearer <key> or x-api-key.

An Apple Music artist with up to 50 albums and the top 25 songs.

Path parameters

NameTypeRequiredDescription
idstringyesAn Apple Music artist id or music.apple.com link (URL-encoded). Example: 159260351.

Query parameters

NameTypeRequiredDescription
countrystringnoStorefront, ISO 3166-1 alpha-2 in any case (default us, or the link’s). uk reads as gb. Example: gb.

Responses

StatusMeaningSchema
200The artist, albums and top songs.AppleMusicArtistResponse
400Invalid input. Nothing was charged.Error
401Missing or invalid API key.Error
402Not enough credits, a spend cap was reached, or payment is required.Error
403The target is private, or the account is suspended.Error
404No Apple Music item by that id in that storefront.Error
429Too many requests. Wait for Retry-After seconds.Error
503Apple Music is temporarily unavailable. Retryable; nothing was charged.Error

AppleMusicArtistResponse fields

FieldTypeDescription
artistAppleMusicArtist
albumsAppleMusicAlbum[]Up to 50, as Apple orders them.
songsAppleMusicTrack[]Top songs, up to 25.

Errors use one shape everywhere; see Errors for every code and what to do.