100 free credits. No credit card required. Get a key

Apple Music API

Read public Apple Music data in one call: artists, albums, songs with previews, search and most-played charts per country. Responses come in Apple’s own iTunes Search API and RSS chart JSON, over REST or MCP.

Endpoints
5
From
1 credit · $0.01
Failed calls
Refunded
Access
REST · MCP · SDK

Apple Music album API

Endpoint details →
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/applemusic/albums/1440913923",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"album": {
"wrapperType": "collection",
"collectionType": "Album",
"artistId": 159260351,
"collectionId": 1440913923,
"artistName": "Taylor Swift",
"collectionName": "Taylor Swift (Bonus Track Version)",
"collectionCensoredName": "Taylor Swift (Bonus Track Version)",
"artistViewUrl": "https://music.apple.com/us/artist/taylor-swift/159260351?uo=4",
"collectionViewUrl": "https://music.apple.com/us/album/taylor-swift-bonus-track-version/1440913923?uo=4",
"artworkUrl100": "https://is1-ssl.mzstatic.com/image/thumb/Music221/v4/be/e1/48/bee148d6-d16c-d8f7-0173-d6cf6d684aa1/08PNDIM00678.rgb.jpg/…",
"collectionPrice": 9.99,
"collectionExplicitness": "notExplicit",
"trackCount": 15,
"copyright": "℗ 2008 Taylor Swift",
"country": "USA",
"currency": "USD",
"releaseDate": "2006-10-24T07:00:00Z",
"primaryGenreName": "Country",
"amgArtistId": 816977,
"artworkUrl60": "https://is1-ssl.mzstatic.com/image/thumb/Music221/v4/be/e1/48/bee148d6-d16c-d8f7-0173-d6cf6d684aa1/08PNDIM00678.rgb.jpg/…"
},
"tracks": [
{
"wrapperType": "track",
"kind": "song",
"artistId": 159260351,
"collectionId": 1440913923,
"trackId": 1440913928,
"artistName": "Taylor Swift",
"collectionName": "Taylor Swift (Bonus Track Version)",
"trackName": "Tim McGraw",
"trackViewUrl": "https://music.apple.com/us/album/tim-mcgraw/1440913923?i=1440913928&uo=4",
"previewUrl": "https://audio-ssl.itunes.apple.com/itunes-assets/AudioPreview211/v4/7b/6e/8c/7b6e8c80-0d55-60a7-5c34-d901eba1f781/mzaf_1…",
"artworkUrl100": "https://is1-ssl.mzstatic.com/image/thumb/Music221/v4/be/e1/48/bee148d6-d16c-d8f7-0173-d6cf6d684aa1/08PNDIM00678.rgb.jpg/…",
"trackPrice": 1.29,
"releaseDate": "2006-06-19T12:00:00Z",
"trackExplicitness": "notExplicit",
"discNumber": 1,
"trackNumber": 1,
"trackTimeMillis": 232107,
"country": "USA",
"currency": "USD",
"primaryGenreName": "Country",
"isStreamable": true,
"collectionCensoredName": "Taylor Swift (Bonus Track Version)",
"trackCensoredName": "Tim McGraw",
"artistViewUrl": "https://music.apple.com/us/artist/taylor-swift/159260351?uo=4",
"…": "7 more fields"
},
{
"wrapperType": "track",
"kind": "song",
"artistId": 159260351,
"collectionId": 1440913923,
"trackId": 1440913991,
"artistName": "Taylor Swift",
"collectionName": "Taylor Swift (Bonus Track Version)",
"trackName": "Picture to Burn",
"trackViewUrl": "https://music.apple.com/us/album/picture-to-burn/1440913923?i=1440913991&uo=4",
"previewUrl": "https://audio-ssl.itunes.apple.com/itunes-assets/AudioPreview211/v4/d0/47/2a/d0472a19-d67e-b27c-8d50-78e9c7c07def/mzaf_4…",
"artworkUrl100": "https://is1-ssl.mzstatic.com/image/thumb/Music221/v4/be/e1/48/bee148d6-d16c-d8f7-0173-d6cf6d684aa1/08PNDIM00678.rgb.jpg/…",
"trackPrice": 1.29,
"releaseDate": "2006-10-24T12:00:00Z",
"trackExplicitness": "notExplicit",
"discNumber": 1,
"trackNumber": 2,
"trackTimeMillis": 173067,
"country": "USA",
"currency": "USD",
"primaryGenreName": "Country",
"isStreamable": true,
"collectionCensoredName": "Taylor Swift (Bonus Track Version)",
"trackCensoredName": "Picture to Burn",
"artistViewUrl": "https://music.apple.com/us/artist/taylor-swift/159260351?uo=4",
"…": "7 more fields"
},
"… 13 more"
]
}

What people build with it

Artist analytics

Listeners, plays and followers for artists and tracks.

Catalogue data

Albums, tracks and playlists as structured records.

A&R scouting

Find artists whose numbers are moving.

Pricing

Pay per call with credit packs that never expire, or keyless per call. No subscription. 100 free credits to start.

All packs →
ProviderPer 1,000Unit
Groundsocial$1.00 → $0.40standard calls; $0.01 per call keyless
ScrapeCreators$1.88 → $0.99credits

Other providers’ prices from their public pages, in their own currency. A credit buys a different amount on each.

Apple Music API questions

Do I need an Apple Music account or API key?

No. Every call reads what Apple Music shows a logged-out visitor. You only need a Groundsocial API key, or none at all with pay-per-call.

How much does the Apple Music API cost?

From 1 credit per call. Credits cost $1.00 to $0.40 per 1,000 depending on the pack, or $0.01 per call keyless. Failed calls are refunded. You start with 100 free credits.

What format is the data in?

Responses come in Apple’s own iTunes Search API and RSS chart JSON, not a lossy cross-platform schema, so field names match what Apple Music itself uses.

Can an AI agent use it?

Yes. Every Apple Music endpoint is an MCP tool (applemusic_album_get, …), and agents can sign themselves up with POST /v1/agent/signup.

Is it official?

No. Groundsocial is an independent API for public data. Apple Music is a trademark of Apple Inc. We are not affiliated with or endorsed by Apple.

All platforms →

Apple Music is a trademark of Apple Inc. We are not affiliated with or endorsed by Apple.