1. Platforms
  2. Apple Music

Apple Music Scraper API

Pull Apple Music artists, tracks and albums as JSON. Failed requests are free.

100 free credits. No card needed.

Data

What you get from Apple Music.

Artists

Name, bio and location.

Tracks and albums

Song title, artists, album, length and explicit flag.

Search

Songs, albums and artists by keyword.

Uses

What you can build with Apple Music data.

Look up music

Pull artists, albums and tracks into your own app.

Find music

Search songs, albums and artists by keyword.

Example

Your first request.

  1. Get a keySign up and get 100 free credits. No card needed.
  2. Send a requestPass a handle, URL or keyword with your key.
  3. Use the JSONThe same shape comes back from every platform.
1import os2import requests34params = {5    "url": "https://music.apple.com/us/artist/taylor-swift/159260351",6}7res = requests.get(8    "https://api.socialscrape.dev/v1/apple-music/artist",9    headers={"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]},10    params=params,11)12body = res.json()1314if body["ok"]:15    print(body["data"])16else:17    print(body["error"]["code"], body["error"]["message"])
200 OKSample response
{
  "ok": true,
  "credits_charged": 1,
  "credits_remaining": 4999,
  "cached": false,
  "cached_at": null,
  "request_id": "req_e96f2f41c789fb5c9aa99adc",
  "data": {
    "object": "profile",
    "platform": "apple_music",
    "id": "159260351",
    "handle": null,
    "name": "Taylor Swift",
    "headline": null,
    "url": "https://music.apple.com/us/artist/taylor-swift/159260351",
    "kind": "artist",
    "bio": "The country world feigned surprise when, after three albums of Music Row-indebte...",
    "avatar_url": "https://is1-ssl.mzstatic.com/image/thumb/AMCArtistImages221/v4/6d/67/88/6d67888b...",
    "banner_url": null,
    "verified": null,
    "is_private": null,
    "external_url": null
    ...
  },
  "cursor": null,
  "has_more": null
}

Pricing

Pay only for data you get.

  • An artist1 credit
  • A page of search results1 credit
  • A failed requestFree

Starter

$13

1,000 credits

$13.00 per 1,000

Get an API key
Most popular

Growth

$55

25,000 credits

$2.20 per 1,000

Get an API key

Scale

$349

230,000 credits

$1.52 per 1,000

Get an API key

Packs never expire. Monthly plans too. See pricing

Reference

Every Apple Music endpoint

FAQ

Questions

What does the Apple Music API cost?

Most requests cost 1 credit, and transcripts have their own rule; each endpoint page states it. New accounts get 100 free credits. See pricing.

Does it need a Apple Music login?

No. You send your SocialScrape key and never a platform password.

Is it live?

Yes. The endpoints are live: built, tested against recorded responses and watched by canaries. Get an API key.