Apple Music

Apple Music

Artist / Album / Track

per_call

Covers the Apple Music catalog trio in one endpoint: artists return artwork, genres, editorial notes, top songs and album list; albums return release date, record label, copyright, genres and the ordered tracks; tracks return duration, ISRC where available, preview URL and the parent album. For music analytics, catalog reconciliation and label marketing teams.

What you get

Each call returns one record record. There is no pagination.

Endpoint

GET /v1/apple-music/artist-album-track

Price

$1.50

per 1,000 calls · $0.0015 per call

Cost per call

1 credit

Failed calls never charged

Parameters

url
required
string

The public Apple Music artist, album or song URL to resolve.

fresh
optional
enum

Bypass cached data and force a live fetch for this one call. Use it for daily monitoring or any figure you are tracking over time. Accepts `true`, `1`, `false` or `0`; anything else returns 400 `invalid_fresh`. Defaults to false and costs exactly the same as a cached call.

One of: true, 1, false, 0

Example request

Live call. Successful calls are charged; failed and empty results are not.

curl
curl "https://fastfetchz.com/v1/apple-music/artist-album-track?url=https%3A%2F%2Fmusic.apple.com%2Fus%2Fartist%2Fcoldplay%2F471744" \
  -H "X-API-Key: $FASTFETCHZ_KEY"

Example response

200 application/json
{
  "success": true,
  "service": {
    "platform": "Apple Music",
    "name": "Artist / Album / Track",
    "slug": "artist-album-track"
  },
  "credits_charged": 1,
  "credits_remaining": 99,
  "latency_ms": 214,
  "data": {
    "id": "471744",
    "kind": "artist",
    "name": "Coldplay",
    "url": "https://music.apple.com/us/artist/coldplay/471744",
    "artwork": {
      "url": "https://is1-ssl.mzstatic.com/image/thumb/AMCArtistImages221/v4/63/94/ac/6394acdd-a223-049c-e373-5a3597c3858e/9947797f-59c5-420d-9c1d-81be5a7b5889_ami-identity-627a3a5a7feb2fd65e55602f252c9aa8-2024-06-17T12-11-33.334Z_cropped.png/1200x1200bb.jpg",
      "width": 1681,
      "height": 1681,
      "bgColor": "0090d5",
      "textColor1": "0d0912",
      "textColor2": "121118",
      "textColor3": "0b2439",
      "textColor4": "0f2a3e"
    },
    "editorial_notes": null,
    "top_songs": [
      {
        "id": "1122773680",
        "kind": "song",
        "title": "Viva La Vida",
        "subtitle": "Viva La Vida or Death and All His Friends · 2008",
        "album": null,
        "url": "https://music.apple.com/us/album/viva-la-vida/1122773394?i=1122773680",
        "artwork": {
          "url": "https://is1-ssl.mzstatic.com/image/thumb/Music115/v4/52/aa/85/52aa851f-15b7-6322-f91f-df84b15b7b19/190295978044.jpg/1200x1200bb.jpg",
          "width": 1535,
          "height": 1535,
          "bgColor": "181f35",
          "textColor1": "eae5d2",
          "textColor2": "d7cbbc",
          "textColor3": "c0bdb2",
          "textColor4": "b1a9a1"
        },
        "duration_ms": 241445,
        "track_number": null,
        "disc_number": 1,
        "artist_name": "Coldplay",
        "explicit": false,
        "preview_url": "https://audio-ssl.itunes.apple.com/itunes-assets/AudioPreview211/v4/b0/19/60/b0196060-7786-24c0-8c56-8f628fe89f52/mzaf_6359036195995635532.plus.aac.ep.m4a",
        "track_count": null
      },
      {
        "id": "1122782283",
        "kind": "song",
        "title": "Yellow",
        "subtitle": "Parachutes · 2000",
        "album": null,
        "url": "https://music.apple.com/us/album/yellow/1122782080?i=1122782283",
        "artwork": {
          "url": "https://is1-ssl.mzstatic.com/image/thumb/Music221/v4/f5/93/8c/f5938c49-964c-31d1-4b33-78b634f71fb7/190295978075.jpg/1200x1200bb.jpg",
          "width": 1425,
          "height": 1425,
          "bgColor": "000000",
          "textColor1": "f09e17",
          "textColor2": "e4740c",
          "textColor3": "c07e12",
          "textColor4": "b75c0a"
        },
        "duration_ms": 269208,
        "track_number": null,
        "disc_number": 1,
        "artist_name": "Coldplay",
        "explicit": false,
        "preview_url": "https://audio-ssl.itunes.apple.com/itunes-assets/AudioPreview221/v4/66/f3/1a/66f31a76-a6ed-cb4c-f353-23310a7ae9a8/mzaf_3953800019455541488.plus.aac.ep.m4a",
        "track_count": null
      }
    ],
    "albums": [
      {
        "id": "1751728791",
        "kind": "album",
        "title": "Moon Music",
        "subtitle": "2024",
        "album": null,
        "url": "https://music.apple.com/us/album/moon-music/1751728791",
        "artwork": {
          "url": "https://is1-ssl.mzstatic.com/image/thumb/Music211/v4/af/3c/0f/af3c0fe2-1c4f-8499-67a8-14a8e41fdbf8/5021732410535.jpg/1200x1200bb.jpg",
          "width": 4000,
          "height": 4000,
          "bgColor": "004069",
          "textColor1": "7ae5a2",
          "textColor2": "9cdd99",
          "textColor3": "62c496",
          "textColor4": "7dbe8f"
        },
        "duration_ms": null,
        "track_number": null,
        "disc_number": null,
        "artist_name": "2024",
        "explicit": false,
        "preview_url": null,
        "track_count": 11
      },
      {
        "id": "1576349937",
        "kind": "album",
        "title": "Music of the Spheres",
        "subtitle": "2021",
        "album": null,
        "url": "https://music.apple.com/us/album/music-of-the-spheres/1576349937",
        "artwork": {
          "url": "https://is1-ssl.mzstatic.com/image/thumb/Music125/v4/df/60/00/df600071-c5c7-24e7-e4d7-1a6b71fa44e7/190296529818.jpg/1200x1200bb.jpg",
          "width": 4000,
          "height": 4000,
          "bgColor": "161616",
          "textColor1": "f6d329",
          "textColor2": "55a3f8",
          "textColor3": "c9ad25",
          "textColor4": "4987cb"
        },
        "duration_ms": null,
        "track_number": null,
        "disc_number": null,
        "artist_name": "2021",
        "explicit": true,
        "preview_url": null,
        "track_count": 12
      }
    ],
    "seo": {
      "title": null,
      "description": null,
      "canonical_url": "https://music.apple.com/us/artist/coldplay/471744"
    }
  }
}

Limits

  • Maximum per call: 1 records.
  • Minimum per call: 1 record — a target with less data returns fewer records, and an empty result is still a successful call.
  • Each call fetches a full page of up to 1 and costs the same either way. Pass limit to receive fewer than that in the response.
  • This endpoint returns a single record per call and is not paginated.

What this costs in practice

10,000 records = 10,000 calls × 1 credits per call = 10,000 credits = $0.00

Priced at the Custom pack rate: 1,000,000 credits for $0.00.

Open in the pricing calculator

Error codes

401invalid_api_keyMissing or unrecognized X-API-Key header. No credits are charged.
402insufficient_creditsYour balance is below the cost of the call. Top up to continue.
403account_suspended / key_revokedThe account is suspended or the key was revoked.
429rate_limitedOver your account's requests-per-second limit. Retrying helps: the body carries retry_after_seconds and the response carries a Retry-After header. Not charged.
429monthly_cap_reachedThis key used the monthly call cap you set for it. Retrying will not help — raise the cap, use another key, or wait for the next calendar month. No Retry-After header is sent. Not charged.
500upstream_errorUnexpected failure while fulfilling the request. Not charged.