Scraperize
Apple Music

Apple Music Search API

To get apple Music search results by type, call GET /v1/apple-music/search?query=… with your API key. You get clean JSON back.

GET/v1/apple-music/search
curl "https://api.scraperize.com/v1/apple-music/search?query=taylor%20swift" \
  -H "x-api-key: YOUR_API_KEY"
Cost
1 credit / call
Only successful calls are charged. Errors are free.
Pagination
Single response
Everything comes back in one call.
Caching
0 credits
Set cache_max_age to reuse a recent result for free.
Rate limit
Per team / minute
Over the limit: 429 with a Retry-After header.

Parameters

queryRequired
What to search for.
typeOptional
What to return: all (default) or one kind.One of 8 values.
cache_max_ageOptional
Optional. Return a cached result if one this age or newer exists — served for 0 credits with meta.cached=true and meta.cachedAt. Otherwise a fresh scrape runs (1 credit) and refreshes the cache. Omit to always scrape fresh.One of 5 values.

Send your key in the x-api-key header. Full API reference

Example response

200 OK · application/json
{
  "data": {
    "query": "taylor swift",
    "type": "all",
    "count": 137,
    "topResults": [
      {
        "kind": "artist",
        "id": "159260351",
        "name": "Taylor Swift",
        "headline": null,
        "subtitle": "Artist",
        "url": "https://music.apple.com/us/artist/taylor-swift/159260351",
        "artworkUrl": "https://is1-ssl.mzstatic.com/image/thumb/AMCArtistImages221/v4/6d/67/88/6d67888b-9e7f-53af-7853-0f91d6fd2332/ami_U003aid…",
        "isExplicit": false
      }
    ],
    "songs": [
      {
        "id": "6814997425",
        "name": "Patient Zero",
        "url": "https://music.apple.com/us/album/patient-zero/6814997249?i=6814997425",
        "albumId": "6814997249",
        "albumName": null,
        "releaseYear": null,
        "artists": [
          {
            "id": "159260351",
            "name": "Taylor Swift",
            "url": "https://music.apple.com/us/artist/taylor-swift/159260351"
          }
        ],
        "artistName": null,
        "durationMs": null,
        "trackNumber": null,
        "discNumber": null,
        "composer": null,
        "previewUrl": null,
        "isExplicit": false,
        "isPopular": null,
        "artworkUrl": "https://is1-ssl.mzstatic.com/image/thumb/Music221/v4/a0/dd/fd/a0ddfd72-ee9e-f046-6466-a5dbefc696fa/26UM1IM21436.rgb.jpg/…"
      }
    ],
    "albums": [
      {
        "kind": "album",
        "id": "6814997249",
        "name": "The Life of a Showgirl: The Encore",
        "headline": null,
        "subtitle": "Taylor Swift",
        "url": "https://music.apple.com/us/album/the-life-of-a-showgirl-the-encore/6814997249",
        "artworkUrl": "https://is1-ssl.mzstatic.com/image/thumb/Music221/v4/a0/dd/fd/a0ddfd72-ee9e-f046-6466-a5dbefc696fa/26UM1IM21436.rgb.jpg/…",
        "isExplicit": true
      }
    ],
    "artists": [
      {
        "kind": "artist",
        "id": "159260351",
        "name": "Taylor Swift",
        "headline": null,
        "subtitle": null,
        "url": "https://music.apple.com/us/artist/taylor-swift/159260351",
        "artworkUrl": "https://is1-ssl.mzstatic.com/image/thumb/AMCArtistImages221/v4/6d/67/88/6d67888b-9e7f-53af-7853-0f91d6fd2332/ami_U003aid…",
        "isExplicit": false
      }
    ],
    "playlists": [
      {
        "kind": "playlist",
        "id": "pl.3950454ced8c45a3b0cc693c2a7db97b",
        "name": "Taylor Swift Essentials",
        "headline": null,
        "subtitle": "Apple Music Pop",
        "url": "https://music.apple.com/us/playlist/taylor-swift-essentials/pl.3950454ced8c45a3b0cc693c2a7db97b",
        "artworkUrl": "https://is1-ssl.mzstatic.com/image/thumb/AMCArtistImages221/v4/6d/67/88/6d67888b-9e7f-53af-7853-0f91d6fd2332/ami_U003aid…",
        "isExplicit": false
      }
    ],
    "stations": [
      {
        "kind": "station",
        "id": "ra.a-159260351",
        "name": "Taylor Swift",
        "headline": null,
        "subtitle": null,
        "url": "https://music.apple.com/us/station/taylor-swift/ra.a-159260351",
        "artworkUrl": "https://is1-ssl.mzstatic.com/image/thumb/AMCArtistImages221/v4/6d/67/88/6d67888b-9e7f-53af-7853-0f91d6fd2332/ami_U003aid…",
        "isExplicit": false
      }
    ],
    "musicVideos": [
      {
        "kind": "music-video",
        "id": "1445005781",
        "name": "Shake It Off",
        "headline": null,
        "subtitle": "Taylor Swift",
        "url": "https://music.apple.com/us/music-video/shake-it-off/1445005781",
        "artworkUrl": "https://is1-ssl.mzstatic.com/image/thumb/Video2/v4/02/e7/57/02e7574c-81f8-ed99-16ef-4156276fd41c/vidtrkimg_0084393001384…",
        "isExplicit": false
      }
    ],
    "radioEpisodes": [
      {
        "kind": "radio-episode",
        "id": "ra.1593740731",
        "name": "Taylor Swift",
        "headline": null,
        "subtitle": "New Music Daily Radio",
        "url": "https://music.apple.com/us/station/taylor-swift/ra.1593740731",
        "artworkUrl": "https://is1-ssl.mzstatic.com/image/thumb/Features126/v4/21/bd/3a/21bd3a4a-47d1-9c24-1b3d-d01d38eaf3e8/U0MtTVMtV1ctRXAxMD…",
        "isExplicit": false
      }
    ],
    "fetchedAt": "2026-11-10T16:02:31.760Z"
  },
  "meta": {
    "requestId": "req_8f0c2b7e-1a2b-4c3d-9e8f-0a1b2c3d4e5f",
    "creditsCharged": 1,
    "creditsRemaining": 4999,
    "cached": false
  }
}

A real response, shortened to one item per list.

More Apple Music endpoints

FAQ

Apple Music Search API questions

How much does the Apple Music Search API cost?

1 credit per successful call. Errors and cached results are free, and new accounts start with 100 free credits, no card required. See pricing.

Do I need a Apple Music account or API key?

No. You only need a Scraperize API key, sent in the x-api-key header. Scraperize returns publicly available data. No Apple Music login or developer app is needed.

How fresh is the data?

Each call fetches the data live. To trade freshness for cost, pass cache_max_age (e.g. 1h, 1d) to get a recent cached result instantly for 0 credits.

Where are the full parameters and response fields?

In the API reference, with every parameter, field and error.

Try the Apple Music Search API

Grab your key and 100 free credits, no card required, and run this call in minutes.